2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.base/scope.exp: Remove obsolete setup_xfail for
4 hp_cc_compiler.
5
6 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
7
8 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
9 decorations.
10
11 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
12
13 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
14 and "(aCC)" decorations. Remove obsolete doco about old
15 test results.
16
17 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
18
19 * gdb.cp/exception.exp: Fix typo in doco.
20
21 2004-01-09 Mark Kettenis <kettenis@gnu.org>
22
23 * gdb.base/gdb1476.exp: Fix typo.
24
25 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
26
27 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
28 file.
29
30 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
31
32 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
33 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
34 Use gdb_compile. Remove restriction on gcc. Add some patterns
35 for recent version of gdb. Delete second half, which was a copy
36 of the first half with different build flags. This test is
37 still disabled because it is still not ready for production.
38
39 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
40
41 * gdb.cp/exception.cc: Add copyright notice.
42 * gdb.cp/exception.exp: Add a notice that this file is broken
43 because of line number changes caused by addition of copyright
44 notice.
45
46 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
47
48 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
49 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
50
51 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
52
53 * gdb.cp/classes.exp: Accept gnu abi 2.
54 * gdb.cp/derivation.exp: Likewise.
55 * gdb.cp/overload.exp: Likewise.
56 * gdb.cp/virtfunc.exp: Likewise.
57
58 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
59
60 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
61 semicolon after end of function.
62
63 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
64
65 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
66 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
67 boilerplate code for compiling and running the program under
68 test. Add some string method tests.
69
70 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
71
72 * gdb.cp/bs15503.cc: Add copyright notice.
73 * gdb.cp/bs15503.exp: Adjust line number.
74
75 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
76
77 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
78 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
79
80 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
81
82 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
83 hp_cc_compiler.
84
85 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
86
87 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
88 * gdb.cp/ctti.exp: Use the marker instead of "next".
89 With gcc, run further before bailing.
90
91 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
92
93 * gdb.cp/cttiadd.cc: Add copyright notice.
94 * gdb.cp/cttiadd1.cc: Likewise.
95 * gdb.cp/cttiadd2.cc: Likewise.
96 * gdb.cp/cttiadd3.cc: Likewise.
97
98 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
99
100 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
101 Use gdb_test, gdb_test_multiple. Use floating-point values that
102 have exact representations in IEEE-ish formats.
103
104 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
105
106 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
107 compilers. Delete duplicate call to get_compiler_info.
108 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
109 * gdb.base/volatile.exp: Likewise.
110
111 2004-01-07 Mark Kettenis <kettenis@gnu.org>
112
113 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
114 memory at address 0.
115
116 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
117
118 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
119 to test for hp-ux assembler. Fix copyright years.
120
121 2004-01-07 Andrew Cagney <cagney@redhat.com>
122
123 * gdb.base/fileio.c (strerrno): Add "EBUSY".
124
125 2004-01-07 Andrew Cagney <cagney@redhat.com>
126
127 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
128 when creating the read-only file. From analysis by Roland McGrath
129 and Elena Zannoni.
130
131 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
132
133 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
134
135 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
136
137 * gdb.base/cvexpr.c: Be type-safe with function pointers and
138 data pointers.
139
140 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
141
142 * gdb.cp/m-static.exp: Compile one source file at a time.
143 Delete unused call to get_compiler_info.
144
145 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
146
147 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
148 * gdb.base/call-rt-st.exp: Likewise.
149 * gdb.base/nodebug.exp: Likewise.
150 * gdb.base/volatile.exp: Likewise.
151 * gdb.cp/ref-types.exp: Likewise.
152 * gdb.cp/templates.exp: Likewise.
153
154 2004-01-05 Mark Kettenis <kettenis@gnu.org>
155
156 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
157
158 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
159
160 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
161 hppa*-hp-hpux*.
162
163 2004-01-04 Mark Kettenis <kettenis@gnu.org>
164
165 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
166 x86_64-*-*.
167
168 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
169 sparc64-*-* and sparc*-solaris2*.
170
171 2004-01-04 Mark Kettenis <kettenis@gnu.org>
172
173 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
174 return ${tests}" test. The ${tests} already mentions the
175 filename.
176
177 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
178
179 * gdb.cp/local.exp: Accept gcc abi 2.
180
181 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
182
183 * gdb.cp/templates.exp: Accept gcc abi 2.
184
185 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
186
187 * lib/compiler.cc: Remove supports_template_debugging.
188 * gdb.cp/templates.exp: Do not test supports_template_debugging.
189
190 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
191
192 * gdb.cp/namespace.exp: Accept gcc abi 2.
193
194 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
195
196 * gdb.cp/method.exp: Accept gcc abi 2.
197
198 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
199
200 * gdb.cp/classes.exp: Generate identical results as old version.
201 * gdb.cp/derivation.exp: Likewise.
202 * gdb.cp/overload.exp: Likewise.
203 * gdb.cp/virtfunc.exp: Likewise.
204
205 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
206
207 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
208 mysterious bug with sourceware version of expect.
209
210 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
211
212 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
213 current versions of gcc, including gcc abi 2. Remove gratuitous
214 restart of test program. Use gdb_test_multiple and gdb_test for
215 all tests. Add patterns to xfail missing "const" in "const char *"
216 and kfail PR gdb/1155.
217
218 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
219
220 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
221 current versions of gcc, including gcc abi 2. Remove gratuitous
222 restart of test program. Use gdb_test_multiple and gdb_test for
223 all tests. Add patterns to kfail PR gdb/1498.
224
225 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
226
227 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
228 current versions of gcc, including gcc abi 2. Use "breakpoint"
229 and "continue" instead of restarting the target program. Use
230 gdb_test_multiple and gdb_test for all tests.
231
232 2004-01-01 Mark Kettenis <kettenis@gnu.org>
233
234 * gdb.asm/asm-source.exp: Update copyright year. Link statically
235 for *-*-solaris2*.
236
237 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
238
239 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
240 current versions of gcc, including gcc abi 2. Use "breakpoint"
241 and "continue" instead of restarting the target program several
242 times. Use gdb_test_multiple and gdb_test for all tests.
243
244 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
245
246 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
247 source files.
248
249 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
250
251 * gdb.base/environ.exp: Handle compiling test case from multiple
252 source files.
253
254 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
255
256 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
257
258 2003-12-17 Jim Blandy <jimb@redhat.com>
259
260 * gdb.base/freebpcmd.c: Add copyright notice.
261
262 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
263
264 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
265
266 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
267
268 2003-12-13 Jim Blandy <jimb@redhat.com>
269
270 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
271
272 2003-12-12 Kevin Buettner <kevinb@redhat.com>
273
274 * gdb.asm/frv.inc: New file.
275 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
276
277 2003-12-09 Fred Fish <fnf@redhat.com>
278
279 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
280 functions to break1.c and leave prototypes behind. Add more
281 "set breakpoint NN here" comments.
282 * gdb.base/break1.c: New file.
283
284 * gdb.base/break.exp: Handle compiling test case from multiple
285 source files and change source file references as needed.
286 * gdb.base/completion.exp: Ditto.
287 * gdb.base/condbreak.exp: Ditto.
288 * gdb.base/define.exp: Ditto.
289 * gdb.base/ena-dis-br.exp: Ditto.
290 * gdb.base/info-proc.exp: Ditto.
291 * gdb.base/maint.exp: Ditto.
292 * gdb.base/until.exp: Ditto.
293
294 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
295 hardcoded line numbers.
296 * gdb.base/define.exp: Ditto.
297 * gdb.base/ena-dis-br.exp: Ditto.
298 * gdb.base/maint.exp: Ditto.
299 * gdb.base/until.exp: Ditto.
300
301 * gdb.base/completion.exp: Use "break1" for completion tests since
302 "break" is no longer a unique prefix.
303
304 2003-12-06 Andrew Cagney <cagney@redhat.com>
305
306 * gdb.base/structs.exp (test_struct_returns): When applicable, set
307 "return_value_unimplemented". When an unimplemented struct return
308 architecture, report incorrect values as a KFAIL
309
310 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
311
312 * gdb.cp/rtti.exp: Accept new wording of warning from
313 cp_lookup_rtti_type.
314
315 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
316
317 Partial fix for PR testsuite/1456.
318 * gdb.base/scope.exp (test_at_main): Replace references to
319 gcc_compiled with calls to test_compiler_info.
320 (test_at_foo): Likewise.
321 (test_at_bar): Likewise.
322
323 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
324
325 Partial fix for PR testsuite/1456.
326 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
327 to test_compiler_info.
328
329 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
330
331 * gdb.base/so-impl-ld.exp: Update copyright notice.
332
333 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
334
335 Partial fix for PR testsuite/1456.
336 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
337 to test_compiler_info.
338
339 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
340
341 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
342 from current versions of gdb. Clean up regular expressions.
343 Delete redundant timeout case.
344
345 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
346
347 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
348 from current versions of gdb. Clean up regular expressions.
349 Delete redundant timeout case.
350
351 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
352
353 Partial fix for PR testsuite/1456.
354 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
355 gcc_compiled with call to test_compiler_info.
356
357 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
358
359 Partial fix for PR testsuite/1456.
360 * gdb.base/list.exp (test_list_function): Delete unused declaration
361 of gcc_compiled.
362
363 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
364
365 Partial fix for PR testsuite/1456.
366 * gdb.base/complex.exp: Replace reference to gcc_compiled with
367 call to test_compiler_info.
368
369 2003-11-29 Mark Kettenis <kettenis@gnu.org>
370
371 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
372 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
373 it to create the appropriate note.inc.
374 * gdb.asm/asmsrc1.s: Include "note.inc".
375 * gdb.asm/netbsd.inc: New file.
376 * gdb.asm/empty.inc: New file.
377
378 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
379
380 Partial fix for PR testsuite/1456.
381 * gdb.base/constvars.exp: Replace references to gcc_compiled with
382 calls to test_compiler_info.
383
384 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
385
386 Partial fix for PR testsuite/1456.
387 * gdb.base/volatile.exp: Replace references to gcc_compiled with
388 calls to test_compiler_info.
389
390 2003-11-27 Mark Kettenis <kettenis@gnu.org>
391
392 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
393 pattern for the KFAILs.
394
395 2003-11-25 Adam Fedor <fedor@gnu.org>
396
397 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
398 * gdb.objc/objcdecode.m: New file.
399
400 2003-11-25 Adam Fedor <fedor@gnu.org>
401
402 * gdb.objc/nondebug.exp: Test for PR objc/1236.
403 * gdb.objc/nondebug.m: New file.
404
405 2003-11-26 Ben Elliston <bje@wasabisystems.com>
406
407 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
408 NetBSD as it does on FreeBSD. Modelled on a similar change by
409 Mark Kettenis on 2003-05-30.
410 (link-flags): Set to "--entry _start" regardless of target.
411 Special linker flags are to be appended to $link-flags.
412 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
413
414 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
415
416 * gdb.cp/method.exp: Accept output of new demangler.
417
418 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
419
420 * gdb/class2.exp: New file.
421 * gdb/class2.cc: New file.
422
423 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
424
425 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
426 of new demangler.
427
428 2003-11-23 Mark Kettenis <kettenis@gnu.org>
429
430 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
431 of gdb_test "run".
432
433 2003-11-23 Mark Kettenis <kettenis@gnu.org>
434
435 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
436 "continue" into "run".
437
438 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
439
440 Partial fix for PR testsuite/1456.
441 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
442 call to test_compiler_info.
443 * gdb.cp/ctti.exp: Likewise.
444 * gdb.cp/derivation.exp: Likewise.
445 * gdb.cp/member-ptr.exp: Likewise.
446 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
447 reference to gcc_compiled.
448
449 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
450
451 Fix PR testsuite/1463.
452 * gdb.base/structs.exp (start_structs_test): Call
453 get_debug_format before using the debug format.
454
455 2003-11-22 Andrew Cagney <cagney@redhat.com>
456
457 * lib/gdb.exp (gdb_test_multiple): Add simple example.
458 * gdb.base/structs.exp: Use gdb_test_multiple.
459
460 2003-11-20 Andrew Cagney <cagney@redhat.com>
461
462 * gdb.base/structs.exp: Handle and recover from internal errors.
463 Replace "foo${n}" with "foo<n>" in test messages.
464
465 * gdb.base/structs.exp: Update copyright. Rewrite.
466 * gdb.base/structs.c: Update copyright. Rewrite.
467
468 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
469 resync count exceeded.
470
471 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
472 from the internal error.
473 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
474 Original from Jim Blandy.
475 (gdb_test_multiple): Use gdb_internal_error_resync.
476
477 2003-11-19 Andrew Cagney <cagney@redhat.com>
478
479 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
480 KFAIL.
481
482 2003-11-17 Mark Kettenis <kettenis@gnu.org>
483
484 New testcase for PR backtrace/1435.
485 * gdb.arch/i386-unwind.exp: New file.
486 * gdb.arch/i386-unwind.c: New file.
487
488 2003-11-17 Andrew Cagney <cagney@redhat.com>
489
490 * lib/gdb.exp (compiler_info): New global.
491 (test_compiler_info): New function.
492 (get_compiler_info): Set compiler_info.
493 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
494 "compiler_info" to gcc-<major>-<minor>.
495
496 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
497
498 * gdb.trace/configure: Remove.
499
500 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
501
502 * gdb.base/break.c: Add comments to aid finding line numbers for
503 breakpoints.
504 * gdb.base/break.exp: Remove all references to explicit line
505 numbers.
506
507 2003-11-11 Nick Clifton <nickc@redhat.com>
508
509 * gdb.base/shreloc.exp: Do not run for targets which do not
510 support shared objects.
511
512 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
513
514 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
515 Don't run tests if nofileio flag is given.
516
517 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
518
519 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
520 as well as 'Watchpoint'.
521
522 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
523
524 Reported by Jim Ingham <jingham@apple.com>:
525 * gdb.base/annota1.exp: Match at least one occurrence of the
526 signal handler annotation.
527
528 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
529
530 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
531 as well as 'Watchpoint'.
532
533 2003-11-05 Michael Chastain <mec@shout.net>
534
535 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
536
537 2003-11-03 Kris Warkentin <kewarken@qnx.com>
538
539 * gdb.arch/gdb1291.c: New test file.
540 * gdb.arch/gdb1291.exp: New test script.
541 * gdb.arch/gdb1431.c: New test file.
542 * gdb.arch/gdb1431.exp: New test script.
543
544 2003-10-22 Michael Chastain <mec@shout.net>
545
546 * gdb.mi/pthreads.c: Add copyright notice.
547
548 2003-10-22 Michael Chastain <mec@shout.net>
549
550 * gdb.threads/pthreads.c: Add copyright notice.
551
552 2003-10-20 Michael Chastain <mec@shout.net>
553
554 * gdb.base/gdb1056.exp: New test script.
555
556 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
557
558 * gdb.threads/killed.exp: Use gdb_run_cmd.
559
560 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
561
562 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
563 create a core file.
564 * gdb.threads/gcore-thread.exp: Likewise.
565
566 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
567
568 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
569 type, based on char type.
570 (struct bit_flags_short_t): New bitfield type, based on short type.
571 (init_bit_flags_char): New fuction.
572 (init_bit_flags_short): Ditto.
573 (print_bit_flags_char): Ditto.
574 (print_bit_flags_short): Ditto.
575 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
576
577 2003-10-11 Michael Chastain <mec@shout.net>
578
579 * gdb.base/call-rt-st.exp: Update copyright year.
580
581 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
582
583 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
584 * gdb.disasm/sh3.s: Ditto.
585
586 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
587
588 * gdb.threads/switch-threads.exp: New test.
589 * gdb.threads/switch-threads.c: New source file.
590
591 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
592
593 * gdb.base/ending-run.exp: Add sh specific case.
594
595 2003-10-06 Andrew Cagney <cagney@redhat.com>
596
597 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
598 * gdb.disasm/mn10200.exp: Delete obsolete file.
599
600 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
601
602 * ChangeLog: Correct an entry command.exp -> commands.exp.
603 * gdb.base/commands.exp (bp_deleted_in_command_test)
604 (temporary_breakpoint_commands): Check noargs.
605
606 2003-09-25 David Carlton <carlton@kealia.com>
607
608 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
609 of some print tests, where appropriate. Add tests for C::D::cd,
610 E::ce, F::cXfX, G::XgX.
611 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
612
613 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
614
615 * lib/java.exp (java_init): Import target_alias before using it.
616
617 2003-09-25 David Carlton <carlton@kealia.com>
618
619 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
620
621 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
622
623 * gdb.base/selftest.exp: Accomodate more instruction reordering
624 weirdness.
625
626 2003-09-17 Michael Chastain <mec@shout.net>
627
628 * gdb.cp/gdb1355.exp: New file.
629 * gdb.cp/gdb1355.c: New file.
630
631 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
632
633 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
634 * gdb.asm/sh.inc: New file.
635
636 2003-09-11 David Carlton <carlton@kealia.com>
637
638 * gdb.cp/namespace.exp: Add tests for namespace types.
639 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
640 (test_namespace): New.
641
642 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
643
644 * gdb.base/relocate.exp: Handle new gdb output at startup.
645 * gdb.stabs/weird.exp: Ditto.
646
647 2003-09-08 Michael Chastain <mec@shout.net>
648
649 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
650
651 2003-09-07 Michael Chastain <mec@shout.net>
652
653 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
654 'parse error'.
655
656 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
657
658 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
659
660 2003-08-30 Michael Chastain <mec@shout.net>
661
662 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
663 * gdb.gdb/observer.exp: Ditto.
664 * gdb.gdb/xfullpath.exp: Ditto.
665
666 2003-08-29 Mark Kettenis <kettenis@gnu.org>
667
668 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
669 *-*-*bsd*.
670
671 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
672
673 * gdb.base/dump.exp: Skip for ia64.
674
675 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
676
677 * gdb.asm/asm-source.exp: Add ia64 support.
678 * gdb.asm/ia64.inc: New file.
679
680 2003-08-22 Michael Chastain <mec@shout.net>
681
682 * gdb.cp: New directory.
683 * gdb.cp/*: Copy from gdb.c++/*.
684 * gdb.c++/*: Remove.
685 * Makefile.in: Change gdb.c++ to gdb.cp.
686 * configure.in: Ditto.
687 * configure: Regnerate.
688
689 2003-08-18 Mark Kettenis <kettenis@gnu.org>
690
691 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
692 * gdb.arch/i386-prologue.c (gdb1338): Add function.
693
694 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
695
696 * mi-var-display.exp (-var-list-children weird): Accept function
697 pointers with argument types.
698 * mi1-var-display.exp (-var-list-children weird): Likewise.
699 * mi2-var-display.exp (-var-list-children weird): Likewise.
700
701 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
702
703 * gdb.base/annota3.exp: Add missing newline.
704
705 2003-08-06 Michael Chastain <mec@shout.net>
706
707 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
708
709 2003-08-12 Michael Snyder <msnyder@redhat.com>
710
711 * gdb.base/float.exp: Add test for SH.
712
713 2003-08-10 Mark Kettenis <kettenis@gnu.org>
714
715 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
716
717 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
718
719 * gdb.base/completion.exp: Remove reduntant completion test
720 on filename.
721
722 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
723
724 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
725 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
726 gdb.trace/save-trace.exp: Make sure that full pathnames are
727 escaped correctly.
728
729 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
730
731 * configure.in: Don't generate config.h from config.hin.
732 * configure: Regenerate.
733 * config.hin: Remove file.
734 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
735 * gdb.threads/pthreads.c: Ditto.
736
737 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
738
739 From Kei Sakamoto <sakamoto.kei@renesas.com>:
740 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
741 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
742 Replace ld24 with seth/add3.
743
744 2003-08-02 Andrew Cagney <cagney@redhat.com>
745
746 * gdb.base/annota3.exp: New file.
747 * gdb.base/annota3.c: New file.
748 * gdb.c++/annota3.exp: New file.
749 * gdb.c++/annota3.cc: New file.
750
751 2003-07-29 Michael Chastain <mec@shout.net>
752
753 * gdb.threads/tls.c (spin): Check errno only if sem_wait
754 actually failed.
755 (do_pass): Likewise.
756 * gdb.threads/tls.exp: Always initialize no_of_threads.
757
758 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
759
760 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
761 pattern.
762 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
763 * gdb.threads/tls.exp: Recognize one case of the host library not
764 supporting TLS.
765
766 2003-07-27 Andrew Cagney <cagney@redhat.com>
767
768 * gdb.base/fileio.exp: Use SH when running commands using
769 remote_exec.
770
771 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
772
773 From Kei Sakamoto <sakamoto.kei@renesas.com>:
774 * gdb.base/relocate.c (dummy): New padding array.
775
776 2003-07-22 Michael Snyder <msnyder@redhat.com>
777
778 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
779
780 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
781 patterns to be more general, accepting old and new output.
782 Some output chars (such as '+') also must be quoted.
783 Some addresses are displayed numerically instead of
784 symbolically.
785
786 2003-07-23 Michael Snyder <msnyder@redhat.com>
787
788 * gdb.base/return2.exp: Don't test long-long return.
789
790 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
791 * gdb.disasm/t01_mov.exp: Ditto.
792 * gdb.disasm/t02_mova.s: Ditto.
793 * gdb.disasm/t02_mova.exp: Ditto.
794 * gdb.disasm/t03_add.s: Ditto.
795 * gdb.disasm/t03_add.exp: Ditto.
796 * gdb.disasm/t04_sub.s: Ditto.
797 * gdb.disasm/t04_sub.exp: Ditto.
798 * gdb.disasm/t05_cmp.s: Ditto.
799 * gdb.disasm/t05_cmp.exp: Ditto.
800 * gdb.disasm/t06_ari2.s: Ditto.
801 * gdb.disasm/t06_ari2.exp: Ditto.
802 * gdb.disasm/t07_ari3.s: Ditto.
803 * gdb.disasm/t07_ari3.exp: Ditto.
804 * gdb.disasm/t08_or.s: Ditto.
805 * gdb.disasm/t08_or.exp: Ditto.
806 * gdb.disasm/t09_xor.s: Ditto.
807 * gdb.disasm/t09_xor.exp: Ditto.
808 * gdb.disasm/t10_and.s: Ditto.
809 * gdb.disasm/t10_and.exp: Ditto.
810 * gdb.disasm/t11_logs.s: Ditto.
811 * gdb.disasm/t11_logs.exp: Ditto.
812 * gdb.disasm/t12_bit.s: Ditto.
813 * gdb.disasm/t12_bit.exp: Ditto.
814 * gdb.disasm/t13_otr.s: Ditto.
815 * gdb.disasm/t13_otr.exp: Ditto.
816
817 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
818
819 * gdb.threads/tls.exp :Add kfail for 'info address' case.
820
821 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
822
823 * gdb.threads/tls.c : New file.
824 * gdb.threads/tls.exp : New file.
825 * gdb.threads/tls-main.c : New file.
826 * gdb.threads/tls-shared.c : New file.
827 * gdb.threads/tls-shared.exp : New file.
828
829 2003-07-22 Andreas Schwab <schwab@suse.de>
830
831 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
832
833 2003-07-20 Andreas Schwab <schwab@suse.de>
834
835 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
836 due to insn reordering.
837
838 2003-07-15 Andrew Cagney <cagney@redhat.com>
839
840 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
841
842 2003-07-15 Michael Chastain <mec@shout.net>
843
844 * gdb.base/gdb1250.exp: New file.
845 * gdb.base/gdb1250.c: New file.
846
847 2003-07-09 Michal Ludvig <mludvig@suse.cz>
848
849 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
850 expansion of size_t to 'unsigned long', not only to 'unsigned'.
851
852 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
853
854 * gdb.threads/tls.c: New file.
855 * gdb.threads/tls.exp: New file.
856 * gdb.threads/tls-main.c: New file.
857 * gdb.threads/tls-shared.c: New file.
858 * gdb.threads/tls-shared.exp: New file.
859
860 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
861
862 * gdb.base/annota1.exp: Make sure that we properly escape the
863 full path of the source file. Xfail more permissive patterns,
864 due to a compiler debug info problem.
865
866 2003-07-07 Andreas Schwab <schwab@suse.de>
867
868 * gdb.asm/m68k.inc: New file.
869 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
870
871 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
872 arguments"): Also match negative number.
873
874 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
875
876 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
877
878 * gdb.base/store.c (charest): New typedef.
879 (add_char): Rename to add_charest, update.
880 (wack_char): Rename to wack_charest, update types. Return l + r
881 to keep r live across the call.
882 (wack_short, wack_int, wack_long, wack_longest, wack_float)
883 (wack_double, wack_doublest): Return l + r to keep r live across
884 the call.
885 * gdb.base/store.exp: Accomodate store.c changes.
886
887 2003-06-30 David Carlton <carlton@kealia.com>
888
889 * gdb.c++/maint.exp (test_invalid_name): New.
890 (test_first_component): Add tests for invalid names.
891
892 2003-06-29 Michael Chastain <mec@shout.net>
893
894 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
895 output of '<VTT for class>' for virtual base classes.
896
897 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
898
899 * gdb.base/completion.exp: Tab-complete "complet" instead of
900 "compl".
901 * gdb.base/complex.exp, gdb.base/complex.c: New files.
902
903 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
904
905 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
906 * gdb.base/volatile.exp: Likewise.
907
908 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
909
910 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
911 gdb/1265.
912
913 2003-06-28 Michael Chastain <mec@shout.net>
914 Daniel Jacobowitz <drow@mvista.com>
915
916 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
917 initial line count of 'captured_main' from 26 to 32.
918 (test_with_self): Allow xmalloc call to be interleaved with the
919 preceding two lines.
920
921 2003-06-24 Joel Brobecker <brobecker@gnat.com>
922
923 * gdb.base/bang.exp: New testcase.
924
925 2003-06-23 Joel Brobecker <brobecker@gnat.com>
926
927 * gdb.base/langs.exp: Add some tests for the "minimal" language
928 support.
929
930 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
931
932 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
933 the testcase.
934
935 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
936
937 * gdb.base/relocate.exp: Test add-symbol-file with a variable
938 offset.
939
940 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
941
942 * gdb.c++/pr-1210.cc: New file.
943 * gdb.c++/pr-1210.exp: New file.
944
945 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
946
947 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
948 000-exec-continue.
949
950 2003-06-15 Mark Kettenis <kettenis@gnu.org>
951
952 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
953 on *-*-*bsd* instead of *-*-freebsd*.
954
955 2003-06-14 Andrew Cagney <cagney@redhat.com>
956
957 * gdb.base/store.exp: Test longest and doublest. Test all
958 parameters. Weaken return statement match.
959 * gdb.base/store.c: Add longest and doublest - aka long long and
960 long double functions. Put all parameters into local register
961 variables. Use negative values.
962
963 2003-06-14 Andrew Cagney <cagney@redhat.com>
964
965 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
966 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
967 exit status.
968 * gdb.base/fileio.exp: Disable target when nointerrupts and
969 noinferiorio, instead of limiting it to remote. Use remote_exec
970 instead of system.
971
972 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
973
974 * gdb.base/float.exp: Add ia64 support.
975
976 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
977
978 * gdb.base/fileio.exp: Run only on remote targets.
979
980 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
981
982 * gdb.base/fileio.c: New file, testing File-I/O.
983 * gdb.base/fileio.exp: Ditto.
984
985 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
986
987 * gdb.base/shreloc.exp: New file, check symbol values obtained from
988 shared objects after relocation at load time (gdb PR/1132).
989 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
990 as above, part of the shared object relocation test.
991
992 2003-06-08 Mark Kettenis <kettenis@gnu.org>
993
994 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
995 fully filled history list.
996 * gdb.base/gdb_history: New file.
997
998 * gdb.base/signals.exp: XFAIL "continue to func1" on
999 i*86-*-freebsd*.
1000
1001 * gdb.base/attach.exp: When trying to attach to a nonexistent
1002 process, make it possible to specify the PID based on the target,
1003 and do so for *-*-freebsd*.
1004
1005 2003-06-02 Richard Henderson <rth@redhat.com>
1006
1007 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1008
1009 2003-06-02 Richard Henderson <rth@redhat.com>
1010
1011 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1012
1013 2003-06-02 Richard Henderson <rth@redhat.com>
1014
1015 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1016
1017 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
1018
1019 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1020 of globalvar.
1021
1022 2003-06-01 Mark Kettenis <kettenis@gnu.org>
1023
1024 * gdb.asm/asm-source.exp: Check for memory read errors in
1025 disassembler test on *BSD too.
1026
1027 2003-06-01 Richard Henderson <rth@redhat.com>
1028
1029 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1030 for .frame.
1031 (gdbasm_call): Lose ldgp.
1032 (gdbasm_startup): Add frame information.
1033 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1034
1035 2003-05-31 Mark Kettenis <kettenis@gnu.org>
1036
1037 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1038 i?86-*-*.
1039
1040 2003-05-30 Mark Kettenis <kettenis@gnu.org>
1041
1042 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1043 FreeBSD.
1044
1045 2003-05-29 Richard Henderson <rth@redhat.com>
1046
1047 * gdb.asm/alpha.inc: New file.
1048 * gdb.asm/asm-source.exp: Use it.
1049
1050 2003-05-29 Jim Blandy <jimb@redhat.com>
1051
1052 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1053 'core.PID'.
1054
1055 2003-05-22 Jim Blandy <jimb@redhat.com>
1056
1057 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1058 backtrace.
1059
1060 2003-05-20 David Carlton <carlton@math.stanford.edu>
1061
1062 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1063 this time.
1064
1065 2003-05-19 David Carlton <carlton@bactrian.org>
1066
1067 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1068 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1069
1070 2003-05-19 David Carlton <carlton@bactrian.org>
1071
1072 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1073 namespace tests.
1074 Bump copyright date.
1075 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1076 (main): Call C::D::marker2.
1077 * gdb.c++/namespace1.cc: New file.
1078
1079 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1080
1081 Roland McGrath <roland@redhat.com>
1082 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1083 there is no manager thread.
1084
1085 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1086
1087 * gdb.threads/schedlock.exp: Remove assumption that all threads
1088 will run in a particular small time slice. Also ensure we break
1089 in one of the child threads rather than the main thread.
1090
1091 2003-05-07 Jim Blandy <jimb@redhat.com>
1092
1093 Add support for assembly source testing on the s390x.
1094 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1095 architecture.
1096 * gdb.asm/s390x.inc: New file.
1097
1098 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1099 succession of 'if' statements.
1100
1101 2003-05-05 Andrew Cagney <cagney@redhat.com>
1102
1103 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1104
1105 2003-05-05 Andrew Cagney <cagney@redhat.com>
1106
1107 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1108 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1109
1110 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1111
1112 * gdb.base/charset.exp: Update based on new behavior of set/show
1113 charset commands.
1114
1115 2003-05-01 Andrew Cagney <cagney@redhat.com>
1116
1117 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1118 variable do not give memory errors.
1119
1120 2003-04-30 Adam Fedor <fedor@gnu.org>
1121
1122 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1123 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1124 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1125 gdb.objc/basicclass.m: : New files
1126
1127 * lib/gdb.exp (gdb_compile_objc): New procedure.
1128
1129 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
1130
1131 * gdb.base/signals.exp: Make backtrace tests more specific.
1132
1133 2003-04-23 David Carlton <carlton@bactrian.org>
1134
1135 * gdb.c++/maint.exp (test_first_component): Add tests for
1136 'operator' in more locations.
1137
1138 2003-04-16 Kevin Buettner <kevinb@redhat.com>
1139
1140 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1141
1142 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
1143
1144 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1145 func marke' instead. Update test name.
1146
1147 2003-04-15 David Carlton <carlton@math.stanford.edu>
1148
1149 * gdb.c++/maint.exp: New file.
1150
1151 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1152
1153 * gdb.threads/schedlock.c: Change type of thread function argument
1154 to long, to avoid warnings on 64-bit platforms.
1155
1156 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1157
1158 * gdb.base/attach.exp: Add new message from ptrace in case of
1159 attaching to nonexistent process.
1160
1161 2003-04-11 Jim Blandy <jimb@redhat.com>
1162
1163 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1164 gdb.c++/userdef.cc: Place comments on the lines to which the
1165 marker function might return.
1166 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1167 gdb.c++/userdef.exp: Look for those comments to check that we've
1168 returned to the right place, instead of checking line numbers.
1169
1170 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
1171
1172 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1173 match on sourcefile name, instead of directory name.
1174
1175 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
1176
1177 * gdb.base/completion.exp: Use string_to_regexp to match the
1178 working directory name.
1179
1180 2003-04-09 Jim Blandy <jimb@redhat.com>
1181
1182 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1183 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1184 after an inferior function call, report the failure, but allow the
1185 test to continue.
1186
1187 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1188
1189 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1190 with -DPROTOTYPES.
1191
1192 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1193
1194 * gdb.base/break.exp: Revert last patch.
1195
1196 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1197
1198 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1199 with -DPROTOTYPES.
1200
1201 2003-04-02 Andrew Cagney <cagney@redhat.com>
1202
1203 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1204 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1205 matching directories by the name breakpoint.
1206 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1207 Make "continue to marker1" consistent.
1208 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1209 message consistent.
1210 * lib/gdb.exp: Put "the program is no longer running", and "the
1211 program exited" in parenthesis.
1212 * lib/mi-support.exp: Ditto.
1213
1214 2003-04-02 Bob Rossi <bob_rossi@cox.net>
1215
1216 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1217
1218 2003-03-29 Andrew Cagney <cagney@redhat.com>
1219
1220 * gdb.base/sizeof.c (main): Print the value of '\377'.
1221 * gdb.base/sizeof.exp: Check the sign of '\377'.
1222
1223 2003-03-27 Michael Chastain <mec@shout.net>
1224
1225 * gdb.base/gdb1090.exp: New file.
1226 * gdb.base/gdb1090.cc: New file.
1227
1228 2003-03-27 J. Brobecker <brobecker@gnat.com>
1229
1230 * gdb.gdb/observer.exp: New regression test.
1231
1232 2003-03-27 Michael Chastain <mec@shout.net>
1233
1234 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1235 * gdb.base/ptype.exp: Likewise.
1236
1237 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
1238
1239 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1240
1241 2003-03-26 Michael Chastain <mec@shout.net>
1242
1243 * gdb.base/ptype.exp: Actually use some typedef'd types.
1244
1245 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1246
1247 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1248 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1249
1250 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1251
1252 * gdb.base/default.exp: Fix regular expression.
1253
1254 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1255
1256 * gdb.base/args.exp: Fix regular expression.
1257
1258 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1259
1260 * gdb.base/help.exp: Allow Win32 child process.
1261
1262 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1263
1264 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1265 when stepping out of main().
1266
1267 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1268
1269 * gdb.base/default.exp: Check for win32 specific message when calling
1270 "run" without executable.
1271
1272 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1273
1274 * gdb.base/args.exp: Expect .exe in output.
1275
1276 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1277
1278 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1279 Cygwin native.
1280
1281 2003-03-17 Andrew Cagney <cagney@redhat.com>
1282
1283 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1284 vector registes.
1285 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1286 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1287
1288 2003-03-17 David Carlton <carlton@math.stanford.edu>
1289
1290 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1291 test, for PR breakpoints/38.
1292 Call test_watchpoint_and_breakpoint.
1293 * gdb.base/watchpoint.c (func3): New function.
1294 (main): Call func3.
1295
1296 2003-03-04 David Carlton <carlton@math.stanford.edu>
1297
1298 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1299 Garply<Garply<char> >:: garply".
1300 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1301 with respect to PR c++/1111; note also PR c++/1113.
1302 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1303 respect to PR c++/1062.
1304 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1305
1306 2003-03-03 David Carlton <carlton@math.stanford.edu>
1307
1308 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1309 with respect to PR c++/57.
1310 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1311 c++/826.
1312 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1313 respect to PR c++/57.
1314
1315 2003-03-03 David Carlton <carlton@math.stanford.edu>
1316
1317 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1318 respect to PR c++/33 into FAILs.
1319
1320 2003-03-03 Michael Chastain <mec@shout.net>
1321
1322 * configure.in: Update copyright years.
1323
1324 2003-03-03 Michael Chastain <mec@shout.net>
1325
1326 * Makefile.in: Update copyright years.
1327
1328 2003-02-28 David Carlton <carlton@math.stanford.edu>
1329
1330 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1331 print class instead of struct and/or superfluous protection
1332 specifiers, as long as the resulting output is equivalent to the
1333 source code.
1334 Delete FIXME from end of messages on tests that don't need
1335 fixing.
1336
1337 2003-02-28 David Carlton <carlton@math.stanford.edu>
1338
1339 * gdb.c++/templates.exp (do_tests): Allow const in the two
1340 Foo<volatile char *>::foo tests.
1341
1342 2003-02-27 Michael Snyder <msnyder@redhat.com>
1343
1344 * gdb.base/restore.c (main): Return zero, so exit code
1345 will be consistant.
1346
1347 2003-02-26 David Carlton <carlton@math.stanford.edu>
1348
1349 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1350 char *>::foo" test with respect to PR c++/33. Create a new test
1351 which is identical to that one except that it doesn't put the
1352 space between the "char" and the "*"; KFAIL it, too.
1353
1354 2003-02-26 David Carlton <carlton@math.stanford.edu>
1355
1356 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1357 template types into either PASSes or KFAILs (corresponding to PR
1358 c++/57). Tweak indentation. Update copyright.
1359
1360 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1361
1362 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1363
1364 2003-02-13 Michael Chastain <mec@shout.net>
1365
1366 * gdb.base/exprs.exp: Remove i960 remnants.
1367 * gdb.base/funcargs.exp: Likewise.
1368 * gdb.base/list.exp: Likewise.
1369 * gdb.base/ptype.exp: Likewise.
1370
1371 2003-02-14 David Carlton <carlton@math.stanford.edu>
1372
1373 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1374 pEe->D::vg()" from XFAIL to KFAIL.
1375
1376 2003-02-13 Jason Molenda (jmolenda@apple.com)
1377
1378 * gdb.base/maint.exp: Update maint print statistics regexp to include
1379 new entries.
1380
1381 2003-02-13 Michael Chastain <mec@shout.net>
1382
1383 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1384
1385 2003-02-12 Michael Chastain <mec@shout.net>
1386
1387 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1388 * gdb.c++/inherit.exp: Likewise.
1389 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1390 * gdb.c++/templates.exp: Likewise.
1391 * gdb.c++/virtfunc.exp: Likewise.
1392
1393 2003-02-06 Jason Molenda (jason-cl@molenda.com)
1394
1395 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1396 why the code is written that way.
1397
1398 2003-02-05 Michael Chastain <mec@shout.net>
1399
1400 * gdb.base/dump.exp: Add missing copyright line.
1401
1402 2003-02-05 Jason Molenda (jason-cl@molenda.com)
1403
1404 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1405 at the beginning so the breakpoint doesn't get set on the loop.
1406
1407 2003-02-05 Michael Chastain <mec@shout.net>
1408
1409 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1410 output for configurations with gcc 2.95.3.
1411
1412 2003-02-05 Keith Seitz <keiths@redhat.com>
1413 Andrew Cagney <ac131313@redhat.com>
1414
1415 * gdb.mi/mi-cli.exp: New file.
1416
1417 2003-02-04 Michael Chastain <mec@shout.net>
1418
1419 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1420 Call perror and then continue.
1421
1422 2003-02-03 Michael Chastain <mec@shout.net>
1423
1424 * gdb.c++/pr-1023.cc: New file.
1425 * gdb.c++/pr-1023.exp: New file.
1426
1427 2003-02-05 Jim Blandy <jimb@redhat.com>
1428
1429 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1430 it's local to foobar. Check for it there, and check that it's not
1431 present in main.
1432 * gdb.c++/local.cc (marker2): New function.
1433 (foobar): Call marker1.
1434 (main): Call marker2 instead of marker1.
1435
1436 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1437
1438 * gdb.disasm/mn10200.exp: Obsolete file.
1439 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1440 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1441 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1442
1443 2003-02-04 David Carlton <carlton@math.stanford.edu>
1444
1445 * gdb.c++/overload.exp: Test intToChar(1).
1446 * gdb.c++/overload.cc (intToChar): New.
1447 (main): Call intToChar.
1448
1449 2003-02-03 David Carlton <carlton@math.stanford.edu>
1450
1451 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1452 'might_kfail' arg.
1453 KFAIL some of the continue_to_bp_overloaded calls, according to
1454 PR c++/1025.
1455
1456 2003-02-01 Michael Chastain <mec@shout.net>
1457
1458 * gdb.base/advance.c (marker1): New marker function.
1459 * gdb.base/advance.exp: When the 'advance' command lands on the
1460 return breakpoint, it can legitimately stop on either the
1461 current line or the next line. Accommodate both outcomes.
1462 * gdb.base/until.exp: Likewise.
1463
1464 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1465
1466 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1467 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1468 now a list, not a tuple.
1469 * gdb.mi/mi-var-display.exp: Ditto.
1470 * gdb.mi/gdb792.exp: Ditto.
1471
1472 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1473
1474 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1475 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1476 stack backtraces.
1477 * gdb.mi/mi-syn-frame.c: Part of same.
1478
1479 2003-02-01 Mark Kettenis <kettenis@gnu.org>
1480
1481 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1482 gdb.mi/mi1-pthreads.exp: Return instead of calling
1483 gdb_suppress_entire_file.
1484
1485 2003-02-01 Mark Salter <msalter@redhat.com>
1486
1487 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1488
1489 2003-01-31 Mark Salter <msalter@redhat.com>
1490
1491 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1492 Support empty arg.
1493
1494 2003-01-30 Michael Chastain <mec@shout.net>
1495
1496 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1497 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1498 has been fixed in gdb/readline on 2003-01-09.
1499
1500 2003-01-29 Michael Snyder <msnyder@redhat.com>
1501
1502 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1503 * gdb.base/display.exp: Allow for leading underscore in symbol.
1504 * gdb.base/args.exp: Skip if target does not support args passing.
1505
1506 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
1507
1508 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
1509 gdb_test. Accept a list of expect arguments as the third
1510 parameter.
1511 (gdb_test): Use it.
1512
1513 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
1514
1515 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1516 allow for different test tree configurations. Update some
1517 tescases accordingly.
1518 * gdb.arch/altivec-regs.exp: Ditto.
1519 * gdb.asm/asm-source.exp: Ditto.
1520 * gdb.base/advance.exp: Ditto.
1521 * gdb.base/display.exp: Ditto.
1522 * gdb.base/long_long.exp: Ditto.
1523 * gdb.base/mips_pro.exp: Ditto.
1524 * gdb.base/overlays.exp: Ditto.
1525 * gdb.base/relocate.exp: Ditto.
1526 * gdb.base/setshow.exp: Ditto.
1527 * gdb.base/step-line.exp: Ditto.
1528 * gdb.base/step-test.exp: Ditto.
1529 * gdb.base/until.exp: Ditto.
1530 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1531
1532 2003-01-17 David Carlton <carlton@math.stanford.edu>
1533
1534 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1535 corresponding to PR c++/945.
1536 Update copyright.
1537
1538 2003-01-17 David Carlton <carlton@math.stanford.edu>
1539
1540 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1541 corresponding to PR c++/68.
1542
1543 2003-01-17 David Carlton <carlton@math.stanford.edu>
1544
1545 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1546 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1547 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1548
1549 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
1550
1551 * gdb.base/break.exp: Fix change of default location, because of
1552 removal of until tests.
1553 * gdb.base/help.exp: Update test for new 'until' help message.
1554 Add test for help on 'advance'.
1555 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1556
1557 2003-01-15 Mark Kettenis <kettenis@gnu.org>
1558
1559 * gdb.base/default.exp: Adapt "info float" test for recent changes
1560 to that command. Add test for "info vector".
1561 * gdb.base/float.exp: New file. Add test for "info float" that
1562 resembles the old test in gdb.base/default.exp.
1563
1564 2003-01-15 David Carlton <carlton@math.stanford.edu>
1565
1566 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1567
1568 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
1569
1570 * gdb.base/break.exp: Move the tests of until command from here...
1571 * gdb.base/until.exp: ... to here. New file. Add other tests.
1572 * gdb.base/advance.c: New file.
1573 * gdb.base/advance.exp: New file.
1574
1575 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
1576
1577 * gdb.base/args.c: New file.
1578 * gdb.base/args.exp: New file.
1579
1580 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
1581
1582 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1583
1584 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
1585
1586 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1587
1588 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
1589
1590 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1591 dates.
1592
1593 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1594
1595 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1596
1597 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1598
1599 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1600 (ptype &*"foo").
1601 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1602
1603 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1604
1605 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1606 * gdb.mi/mi1-console.exp: Likewise.
1607
1608 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1609
1610 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1611 * gdb.mi/mi1-console.exp: Likewise.
1612
1613 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1614
1615 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1616
1617 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1618
1619 * gdb.base/detach.exp: New test.
1620
1621 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1622
1623 * Makefile.in (ALL_SUBDIRS): New variable.
1624 (subdirs, clean, distclean): Use it.
1625 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1626 regenerating Makefile, since it is generated from the top level.
1627 * gdb.asm/Makefile.in: Likewise.
1628 * gdb.base/Makefile.in: Likewise.
1629 * gdb.c++/Makefile.in: Likewise.
1630 * gdb.disasm/Makefile.in: Likewise.
1631 * gdb.java/Makefile.in: Likewise.
1632 * gdb.mi/Makefile.in: Likewise.
1633 * gdb.threads/Makefile.in: Likewise.
1634 * gdb.trace/Makefile.in: Likewise.
1635
1636 2003-01-09 David Carlton <carlton@math.stanford.edu>
1637
1638 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1639 Add copyright year 2003.
1640
1641 2003-01-06 Michael Chastain <mec@shout.net>
1642
1643 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1644 When selecting a thread, 'line' and 'file' are optional.
1645 * gdb.mi/mi1-pthreads.exp: Likewise.
1646
1647 2003-01-06 Andreas Schwab <schwab@suse.de>
1648
1649 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1650 failures.
1651
1652 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1653
1654 Fix PR gdb/844
1655 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1656 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1657
1658 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1659 instead of calling gdb_suppress_entire_file.
1660 * gdb.threads/print-threads.exp: Likewise.
1661 * gdb.threads/schedlock.exp: Likewise.
1662
1663 * gdb.threads/killed.exp: Return instead of calling
1664 gdb_suppress_entire_file.
1665 * gdb.threads/linux-dp.exp: Likewise.
1666 * gdb.threads/pthreads.exp: Likewise.
1667
1668 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1669
1670 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1671 stabs.
1672 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1673 * gdb.base/whatis.exp: Always allow (void) after function names.
1674
1675 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1676
1677 * gdb.c++/casts.exp: Correct regexp.
1678
1679 2003-01-04 Mark Kettenis <kettenis@gnu.org>
1680
1681 * configure.in: Call AC_CONFIG_HEADER. Don't call
1682 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1683 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1684 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1685 aforementioned directories in the AC_OUPUT call.
1686 * config.hin: New file.
1687 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1688 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1689 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1690 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1691 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1692 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1693 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1694 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1695 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1696 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1697 gdb.threads/configure.in, gdb.threads/configure,
1698 gdb.threads/config.in, gdb.trace/configure.in,
1699 gdb.trace/configure: Removed.
1700
1701 2003-01-03 Michael Chastain <mec@shout.net>
1702
1703 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1704 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1705
1706 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
1707
1708 * gdb.base/store.exp: Fix regular expressions.
1709
1710 2002-12-28 Mark Kettenis <kettenis@gnu.org>
1711
1712 * configure.in: Rewrite.
1713 * configure: Regenerated.
1714
1715 2003-01-03 David Carlton <carlton@math.stanford.edu>
1716
1717 * gdb.base/psymtab.exp: New file.
1718 * gdb.base/psymtab1.c: Ditto.
1719 * gdb.base/psymtab2.c: Ditto.
1720
1721 2002-12-23 Adam Fedor <fedor@gnu.org>
1722
1723 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1724
1725 2002-12-23 David Carlton <carlton@math.stanford.edu>
1726
1727 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1728 and current_directory initialization.
1729
1730 2002-12-22 Jim Blandy <jimb@redhat.com>
1731
1732 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
1733 rather than as part of the output file name.
1734
1735 * gdb.base/attach.exp: There's no need to copy the test program to
1736 /tmp; that was only ever necessary on HP/UX, and this test is
1737 entirely disabled there anyway.
1738
1739 2002-12-21 Jim Blandy <jimb@redhat.com>
1740
1741 * gdb.c++/psmang.exp: Doc fix.
1742
1743 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
1744 test.
1745
1746 2002-12-20 David Carlton <carlton@math.stanford.edu>
1747
1748 * gdb.c++/annota2.exp: KFAIL annotate-quit.
1749
1750 2002-12-18 Michael Chastain <mec@shout.net>
1751
1752 * gdb.c++/annota2.exp: Add copyright year 2002.
1753
1754 2002-12-17 David Carlton <carlton@math.stanford.edu>
1755
1756 * gdb.c++/try_catch.cc: Add marker comments.
1757 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
1758 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
1759 * gdb.c++/m-static.cc: Ditto.
1760 * gdb.c++/m-static1.cc: Ditto.
1761 * gdb.c++/try_catch.cc: Ditto.
1762
1763 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
1764
1765 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
1766 to see whether we are using the new -environment-directory
1767 command which resets via -r or the old version of the command
1768 which may prompt the user. Part of fix for gdb/741.
1769
1770 2002-12-13 Andrew Cagney <ac131313@redhat.com>
1771
1772 * gdb.fortran/types.exp: Update obsolete comment.
1773 * gdb.fortran/exprs.exp: Ditto.
1774 * lib/gdb.exp: Delete obsolete code.
1775 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
1776 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
1777 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
1778 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
1779 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
1780 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
1781 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
1782 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
1783 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
1784 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
1785 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
1786 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
1787 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
1788 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
1789 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
1790 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
1791 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
1792 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
1793 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
1794 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
1795 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
1796 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
1797 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
1798 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
1799 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
1800 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
1801 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
1802 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
1803 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
1804 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
1805 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
1806 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
1807 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
1808 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
1809 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
1810 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
1811 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
1812
1813 2002-12-11 David Carlton <carlton@math.stanford.edu>
1814
1815 * gdb.c++/m-data.exp: Add test for members that shadow global
1816 variables: see PR gdb/804.
1817 * gdb.c++/m-data.cc: Ditto.
1818
1819 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
1820
1821 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
1822
1823 2002-12-06 David Carlton <carlton@math.stanford.edu>
1824
1825 * gdb.base/store.c: Don't declare functions static.
1826
1827 2002-12-04 Andrew Cagney <ac131313@redhat.com>
1828
1829 * gdb.base/store.exp, gdb.base/store.c: New files.
1830
1831 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1832
1833 * gdb.base/selftest.exp: Update for current gdb.
1834
1835 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1836
1837 * gdb.base/maint.exp: Only dump symbols from one source file
1838 or objfile.
1839
1840 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
1841
1842 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
1843 function call.
1844
1845 2002-11-25 Jim Blandy <jimb@redhat.com>
1846
1847 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
1848 function appearing in error message.
1849
1850 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
1851
1852 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
1853
1854 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
1855
1856 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
1857 for mi1 and current mi is in correct format. New mi startup message
1858 should be in mi console format. This is part of fix for PR gdb/604.
1859
1860 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1861
1862 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
1863 which explicitly prints the zero offset as "+0".
1864
1865 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
1866
1867 * gdb.threads/schedlock.c (args): Make unsigned.
1868
1869 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
1870
1871 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
1872 numbers. Allow "foo2|selected stack frame".
1873 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
1874 * gdb.asm/asmsrc2.s: Likewise.
1875 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
1876 comments.
1877 * gdb.asm/mips.inc: New file.
1878
1879 2002-10-18 Adam Fedor <fedor@gnu.org>
1880
1881 * gdb.base/default.exp: Update expected output to include 'ObjC'.
1882 * gdb.base/help.exp: Likewise.
1883
1884 2002-10-17 Kevin Buettner <kevinb@redhat.com>
1885
1886 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
1887 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
1888
1889 2002-10-02 Jim Blandy <jimb@redhat.com>
1890
1891 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
1892
1893 2002-10-01 Andrew Cagney <ac131313@redhat.com>
1894
1895 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
1896 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
1897 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
1898 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
1899 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
1900 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
1901 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
1902
1903 2002-09-29 Andrew Cagney <ac131313@redhat.com>
1904
1905 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
1906 * mi0-disassemble.exp, mi0-eval.exp: Delete.
1907 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
1908 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
1909 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
1910 * mi0-var-block.exp, mi0-var-child.exp: Delete.
1911 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
1912
1913 2002-09-27 Kevin Buettner <kevinb@redhat.com>
1914
1915 * gdb.base/annota1.exp (info break): Make directory components of
1916 path optional since not all compilers emit this debug information.
1917
1918 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
1919 step ends up stepping out of the function instead of stopping on
1920 the epilogue.
1921
1922 2002-09-26 Keith Seitz <keiths@redhat.com>
1923
1924 * lib/insight-support.exp (gdbtk_start): Figure out where
1925 the insight executable is based on where gdb is. Use this
1926 executable to start insight instead of gdb.
1927
1928 2002-09-25 Andrew Cagney <cagney@redhat.com>
1929
1930 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
1931
1932 2002-09-24 Andrew Cagney <ac131313@redhat.com>
1933
1934 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
1935 test_isolated_complaints.
1936 (test_empty_complaint): New function.
1937 (test_empty_complaints): New function. Check no output when no
1938 complaints.
1939
1940 2002-09-19 Jim Blandy <jimb@redhat.com>
1941
1942 * gdb.base/charset.exp, gdb.base/charset.c: New files.
1943
1944 2002-09-19 Andrew Cagney <ac131313@redhat.com>
1945
1946 * gdb.gdb/complaints.exp: New file.
1947
1948 2002-09-18 Andrew Cagney <ac131313@redhat.com>
1949
1950 * gdb.base/maint.exp: Check `help maint internal-warning'.
1951
1952 2002-09-18 David Carlton <carlton@math.stanford.edu>
1953
1954 * gdb.c++/m-static.exp: Remove breakpoints depending on line
1955 numbers, and replace them by a single breakpoint after the
1956 constructors are all finished.
1957 Add test 4.
1958 * gdb.c++/m-static.cc: Add test 4.
1959 * gdb.c++/m-static.h: New file.
1960 * gdb.c++/m-static1.cc: New file.
1961
1962 * gdb.c++/printmethod.exp: New file.
1963 * gdb.c++/printmethod.cc: New file.
1964
1965 * gdb.c++/pr-574.exp: New file.
1966 * gdb.c++/pr-574.cc: New file.
1967
1968 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1969
1970 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1971 embedded targets which never actually exit.
1972
1973 2002-09-18 Fernando Nasser <fnasser@redhat.com>
1974
1975 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1976 "don't step after run" as unresolved or unsupported, instead of xfail.
1977
1978 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1979
1980 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1981 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1982 Add newline to expected string in "step out of main (status wrapper)"
1983 case.
1984
1985 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
1986
1987 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1988 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1989
1990 2002-09-17 Tom Tromey <tromey@redhat.com>
1991
1992 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1993 \000, not \0, in double-quoted string.
1994
1995 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
1996
1997 * gdb.base/commands.exp: Don't expect a "Program exited normally"
1998 string after running the commands execution on breakpoint tests.
1999
2000 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
2001
2002 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2003
2004 2002-09-12 Joel Brobecker <brobecker@gnat.com>
2005
2006 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2007
2008 2002-09-10 Keith Seitz <keiths@redhat.com>
2009
2010 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2011 runto proc.
2012 (mi_run_to_main): Use mi_runto.
2013 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2014
2015 2002-09-10 Keith Seitz <keiths@redhat.com>
2016
2017 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2018 regexp for stopping at main. Could have multiple event notifications.
2019 Don't assume that main was declared with no parameters.
2020 (mi_next): Use mi_step_to.
2021 (mi_step): Use mi_next_to.
2022
2023 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
2024
2025 * gdb.base/default.exp: Fix expected string in `info float' test.
2026
2027 2002-09-09 Ben Elliston <bje@redhat.com>
2028
2029 * config/mips.exp: Update comments.
2030 * config/mips-idt.exp: Likewise.
2031 * config/nind.exp: Likewise.
2032 * config/slite.exp: Likewise.
2033 * config/sparclet.exp: Likewise.
2034 * config/udi.exp: Likewise.
2035 * config/vx.exp: Likewise.
2036 * config/vxworks29k.exp: Likewise.
2037
2038 2002-09-05 Jim Blandy <jimb@redhat.com>
2039
2040 * gdb.threads/killed.exp: Fix test failure message.
2041
2042 2002-09-04 Keith Seitz <keiths@redhat.com>
2043
2044 * lib/mi-support.exp: Update copyright.
2045 (mi_gdb_test): Increase the priority of the expected pattern
2046 so that it matches gdb_test.
2047
2048 2002-09-03 Keith Seitz <keiths@redhat.com>
2049
2050 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2051 Use integer comparison instead of string comparison for testing
2052 whether binary was built.
2053
2054 2002-09-03 Jim Blandy <jimb@redhat.com>
2055
2056 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2057
2058 2002-08-29 Jim Blandy <jimb@redhat.com>
2059
2060 * gdb.threads/pthreads.exp: Move the portable thread compilation
2061 code into a function in lib/gdb.exp, and call that from here.
2062 * lib/gdb.exp (gdb_compile_pthreads): New function.
2063
2064 2002-08-29 Keith Seitz <keiths@redhat.com>
2065
2066 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2067 expect_out so that callers can get at it.
2068
2069 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
2070
2071 * gdb.threads/print-threads.c: New file.
2072 * gdb.threads/print-threads.exp: New file.
2073 * gdb.threads/schedlock.c: New file.
2074 * gdb.threads/schedlock.exp: New file.
2075
2076 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
2077
2078 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2079 not altivec.c.
2080
2081 2002-08-17 Mark Kettenis <kettenis@gnu.org>
2082
2083 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2084 targets. The problem should be fixed now.
2085
2086 2002-08-15 Mark Kettenis <kettenis@gnu.org>
2087
2088 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2089 2002-07-24 change that removes final dots from error messages.
2090
2091 2002-08-13 Tom Tromey <tromey@redhat.com>
2092
2093 * gdb.base/readline.exp: New file.
2094
2095 2002-08-01 Andrew Cagney <ac131313@redhat.com>
2096
2097 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2098 supress message.
2099
2100 2002-08-01 Andrew Cagney <cagney@redhat.com>
2101
2102 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2103 CHILL_FOR_TARGET and CHILL_LIB.
2104 * configure.in (configdirs): Remove gdb.chill.
2105 * configure: Regenerate.
2106 * lib/gdb.exp: Obsolete references to chill.
2107 * gdb.fortran/types.exp: Ditto.
2108 * gdb.fortran/exprs.exp: Ditto.
2109
2110 2002-07-30 Kevin Buettner <kevinb@redhat.com>
2111
2112 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2113 set Irix-specific compile and link flags.
2114
2115 2002-07-29 Kevin Buettner <kevinb@redhat.com>
2116
2117 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2118 source files. The ``-o'' option doesn't work with the ``-E'' option
2119 when using the Irix compiler.
2120
2121 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
2122
2123 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2124 Improve support for reusing an exec file. Copy exec file
2125 to target, and run gdbserver on the target instead of on the host.
2126
2127 2002-07-18 Jim Blandy <jimb@redhat.com>
2128
2129 * gdb.base/ending-run.exp: Don't expect to see the program end in
2130 some orderly fashion when we're running on a real stand-alone
2131 board.
2132
2133 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2134 targets that don't support interrupts.
2135
2136 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2137
2138 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2139 systems.
2140 Move comments in expect statements to inside the actions, so that they
2141 don't get matched against.
2142
2143 2002-07-10 Mark Kettenis <kettenis@gnu.org>
2144
2145 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2146 function when asleep" test.
2147
2148 2002-07-10 Andrew Cagney <ac131313@redhat.com>
2149
2150 * gdb.base/page.exp: Rewrite to handle problems with very long
2151 `info set' output. Update copyright.
2152
2153 2002-06-26 Andrew Cagney <ac131313@redhat.com>
2154
2155 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2156 gdb.threads-hp.
2157 * gdb.hp/configure: Regenerate.
2158 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2159 * gdb.hp/gdb.threads-hp/configure: Delete file.
2160 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2161
2162 2002-06-22 Andrew Cagney <ac131313@redhat.com>
2163
2164 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2165 setlocale, bindtextdomain and textdomain.
2166
2167 2002-06-11 Jim Blandy <jimb@redhat.com>
2168
2169 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2170 preprocessor macro information is present.
2171
2172 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2173 tests.
2174
2175 2002-06-06 Michael Snyder <msnyder@redhat.com>
2176
2177 * gdb.base/overlays.exp: Record addresses of overlay
2178 functions in TCL variables rather than in GDB variables,
2179 to avoid having GDB convert them to pointers (with loss
2180 of information).
2181
2182 * gdb.base/d10v.ld: Merge in several years worth of
2183 default linker script changes.
2184 * gdb.base/long_long.exp: Add check for sizeof (long double).
2185
2186 2002-06-06 Michal Ludvig <mludvig@suse.cz>
2187
2188 * gdb.asm/asm-source.exp: Add x86-64 target.
2189 * gdb.asm/x86_64.inc: New.
2190
2191 2002-05-30 Michael Chastain <mec@shout.net>
2192
2193 From Benjamin Kosnik <bkoz@redhat.com>:
2194 * gdb.c++/m-static.cc: New file.
2195 * gdb.c++/m-static.exp: New file.
2196
2197 2002-05-28 Michael Snyder <msnyder@redhat.com>
2198
2199 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2200 precision.
2201
2202 2002-05-27 Michael Chastain <mec@shout.net>
2203
2204 From Benjamin Kosnik <bkoz@redhat.com>:
2205 * gdb.c++/m-data.cc: New file.
2206 * gdb.c++/m-data.exp: New file.
2207
2208 2002-05-27 Michael Chastain <mec@shout.net>
2209
2210 From Benjamin Kosnik <bkoz@redhat.com>:
2211 * gdb.c++/try_catch.cc: New file.
2212 * gdb.c++/try_catch.exp: New file.
2213
2214 2002-05-27 Michael Chastain <mec@shout.net>
2215
2216 * gdb.c++/local.exp: Accept more nested types in output.
2217
2218 2002-05-26 Michael Chastain <mec@shout.net>
2219
2220 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2221
2222 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2223
2224 * lib/gdb.exp (gdb_wrapper_init): Just because
2225 gdb_wrapper_file exists, this does not mean that the file
2226 should not be rebuilt. That is what gdb_wrapper_initialized
2227 is for.
2228 (default_gdb_init): Reset gdb_wrapper_initialized.
2229
2230 2002-05-23 Michael Snyder <msnyder@redhat.com>
2231
2232 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2233 the precision of the floating point test results.
2234 * gdb.base/call-rt-st.exp: Ditto.
2235
2236 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2237 * gdb.base/call-rt-st.exp: Ditto.
2238
2239 2002-05-19 Michael Chastain <mec@shout.net>
2240
2241 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2242
2243 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
2244
2245 * configure.in (configdirs): Add gdb.arch.
2246 * configure: Regenerate.
2247
2248 2002-05-17 Jim Blandy <jimb@redhat.com>
2249
2250 * gdb.base/completion.exp: Recognize the more detailed error
2251 messages produced by the macro expander's lexical analyzer.
2252
2253 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2254
2255 * gdb.arch/altivec-abi.c: New file.
2256 * gdb.arch/altivec-abi.exp: New file.
2257 * gdb.arch/altivec-regs.c: New file.
2258 * gdb.arch/altivec-regs.exp: New file.
2259
2260 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
2261
2262 * gdb.base/maint.exp (maint print type): Update for new type
2263 structure.
2264
2265 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2266
2267 * gdb.arch: New directory.
2268 * gdb.arch/configure.in: New file.
2269 * gdb.arch/configure: New file.
2270 * gdb.arch/Makefile.in: New file.
2271
2272 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
2273
2274 * gdb.asm/asm-source.exp: Add v850 as supported target.
2275 * gdb.asm/v850.inc: New file.
2276
2277 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
2278
2279 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2280
2281 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
2282
2283 * gdb.base/break.exp: Check 'break "marker2"'.
2284
2285 2002-05-10 Michael Snyder <msnyder@redhat.com>
2286
2287 * gdb.base/long_long.exp: Fix typo.
2288
2289 2002-05-10 Jim Blandy <jimb@redhat.com>
2290
2291 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2292 a bug.
2293
2294 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2295 Recognize more detailed error message produced by the macro
2296 expander's lexical analyzer.
2297 * lib/gdb.exp (test_print_reject): Same.
2298
2299 2002-05-09 Mark Kettenis <kettenis@gnu.org>
2300
2301 * gdb.c++/method.exp: Fix typo.
2302
2303 2002-05-08 Michael Snyder <msnyder@redhat.com>
2304
2305 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2306 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2307 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2308 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2309 Add iftarget clause for strongarm.
2310
2311 2002-05-06 Michael Snyder <msnyder@redhat.com>
2312
2313 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2314 (gdb_continue_to_end): Accept output from status wrapper.
2315 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2316 Clean up fail messages to match pass messages.
2317
2318 Enable the "needs_status_wrapper" testsuite feature.
2319 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2320 (gdb_compile): Conditionally call gdb_wrapper_init.
2321 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2322 * gdb.c++/method.exp: Recognize output from status wrapper.
2323
2324 2002-05-06 Ben Elliston <bje@redhat.com>
2325 From Graydon Hoare <graydon@redhat.com>
2326
2327 * config/sid.exp: Include support for "rawsid" protocol.
2328
2329 2002-05-03 Jim Blandy <jimb@redhat.com>
2330
2331 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2332 * gdb.c++/hang3.C: New file.
2333
2334 2002-05-04 Andrew Cagney <ac131313@redhat.com>
2335
2336 * gdb.base/default.exp: Remove obsolete code.
2337 * gdb.c++/misc.exp: Ditto. Update copyright.
2338 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2339 * gdb.base/whatis.exp: Ditto. Update copyright.
2340 * gdb.base/scope.exp: Ditto. Update copyright.
2341 * gdb.base/ptype.exp: Ditto. Update copyright.
2342 * gdb.base/printcmds.exp: Ditto. Update copyright.
2343 * gdb.base/opaque.exp: Ditto. Update copyright.
2344 * gdb.base/list.exp: Ditto.
2345 * gdb.base/funcargs.exp: Ditto. Update copyright.
2346 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2347 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2348 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2349 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2350 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2351 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2352
2353 2002-05-02 Michael Snyder <msnyder@redhat.com>
2354
2355 * gdb.base/watchpoint.exp: Add xscale target.
2356 * gdb.base/long_long.exp: Add xscale target.
2357 * gdb.base/default.exp: Add xscale target.
2358
2359 2002-05-01 Jim Blandy <jimb@redhat.com>
2360
2361 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2362 gdb.c++/hang.exp: New test.
2363
2364 2002-05-01 Fred Fish <fnf@redhat.com>
2365
2366 * gdb.base/completion.exp: Handle completions of "./Make" for
2367 more than one completion possibility, as is the case when we
2368 build and test in the source tree.
2369
2370 2002-04-29 Anthony Green <green@redhat.com>
2371
2372 * gdb.java/jmisc1.exp: New file.
2373 * gdb.java/jmisc2.exp: New file.
2374
2375 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
2376
2377 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2378
2379 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
2380
2381 * gdb.base/help.exp: Change 'help status' to allow for target
2382 dependent output differences.
2383
2384 2002-04-22 Michael Chastain <mec@shout.net>
2385
2386 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2387
2388 2002-04-22 Michael Chastain <mec@shout.net>
2389
2390 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2391
2392 2002-04-17 David S. Miller <davem@redhat.com>
2393
2394 * gdb.asm/sparc64.inc: New file.
2395 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2396
2397 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
2398
2399 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2400 instruction file directly into the build tree. Clean up at end of
2401 test.
2402
2403 2002-04-18 David S. Miller <davem@redhat.com>
2404
2405 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2406 handle 64-bit platforms correctly.
2407 * gdb.base/maint.exp: Likewise.
2408
2409 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2410
2411 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2412 ``-fpic'' when compiling files comprising a shared library, but
2413 it does need additional linker flags in order to find shared
2414 libraries at run time.
2415
2416 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2417
2418 * gdb.base/cvexpr.c (use): New function.
2419 (main): Invoke use() on all global variables to prevent
2420 some linkers from deleting these otherwise unused symbols.
2421
2422 2002-04-17 Michael Chastain <mec@shout.net>
2423 From David S. Miller <davem@redhat.com>
2424
2425 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2426 handle 64-bit platforms correctly.
2427
2428 2002-04-12 Michael Snyder <msnyder@redhat.com>
2429 From Jim Blandy <jimb@redhat.com>
2430 * gdb.base/foo.c (foox): Remove section attribute; the linker
2431 script can handle this instead.
2432 * gdb.base/bar.c (barx): Same.
2433 * gdb.base/baz.c (bazx): Same.
2434 * gdb.base/grbx.c (grbxx): Same.
2435
2436 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2437 manager doesn't automatically unmap overlays unnecessarily.
2438
2439 2002-04-10 Martin M. Hunt <hunt@redhat.com>
2440
2441 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2442 stepping out of main.
2443
2444 2002-04-09 Michael Chastain <mec@shout.net>
2445
2446 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2447 scope so that the nested scope tests will make sense.
2448 * gdb.c++/local.exp: Write patterns that actually work with gcc
2449 (the HP patterns "were never known to work with gcc").
2450 Keep the old aCC patterns too.
2451
2452 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
2453
2454 * gdb.base/attach.exp: Correct target board test.
2455
2456 2002-04-08 Michael Chastain <mec@shout.net>
2457
2458 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2459 in a const method. Add some xfail and fail cases for configurations
2460 that do not emit the "const ...".
2461
2462 2002-04-07 Michael Chastain <mec@shout.net>
2463
2464 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2465 Accept "A * const" and "const A * const" as type of "this".
2466 Fix spelling of getFunky throughout. Make messages uniform.
2467
2468 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2469
2470 Work around for PR gdb/285:
2471 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2472
2473 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2474
2475 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2476 instructions file at run time instead of configure time.
2477 Sometimes we run the test in a directory that is not the one we
2478 configured in.
2479 * gdb.asm/configure.in: Delete creation of symlink.
2480 * gdb.asm/configure: Regenerate.
2481
2482 2002-04-05 J. Brobecker <brobecker@gnat.com>
2483
2484 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2485 xfullpath () function.
2486
2487 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2488
2489 * gdb.asm/Makefile.in: Correct dependencies.
2490
2491 * gdb.asm/powerpc.inc: New file.
2492 * gdb.asm/asm-source.exp: Add PowerPC.
2493 * gdb.asm/configure.in: Likewise.
2494 * gdb.asm/configure: Regenerated.
2495
2496 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2497
2498 * gdb.base/relocate.exp: New file.
2499 * gdb.base/relocate.c: New file.
2500
2501 2002-04-04 Fred Fish <fnf@redhat.com>
2502
2503 * gdb.base/step-test.exp: Update comment regarding stopping in
2504 memcpy/bcopy calls inserted as part of the compiler runtime.
2505
2506 2002-04-04 Michael Snyder <msnyder@redhat.com>
2507
2508 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2509
2510 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
2511
2512 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2513 (gdb_expect): Remove $notransfer hack.
2514
2515 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
2516
2517 * gdb.c++/classes.exp ("calling method for small class"): Match
2518 updated register output.
2519
2520 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2521
2522 Fix PR gdb/452
2523 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2524 when finished. Make gdb_file_cmd send "exec-file" when
2525 appropriate.
2526
2527 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2528
2529 * gdb.base/attach.exp: Remove extra setup_xfail.
2530
2531 2002-03-26 Michael Snyder <msnyder@redhat.com>
2532
2533 * gdb.base/default.exp: Add tests for dump, append, and restore.
2534 * gdb.base/help.exp: Add tests for dump, append, and restore.
2535 * gdb.base/dump.exp: New file, test dump, append and restore.
2536 * gdb.base/dump.c: New file.
2537
2538 2002-03-27 Michael Snyder <msnyder@redhat.com>
2539
2540 * gdb.base/help.exp: Modify expect strings to reflect
2541 clean-ups in help messages.
2542
2543 2002-03-26 Fred Fish <fnf@redhat.com>
2544
2545 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2546 have debugging info for those functions and the compiler uses them
2547 internally to copy structs around.
2548
2549 2002-03-26 Fred Fish <fnf@redhat.com>
2550
2551 * gdb.base/list.exp: Revert the change made yesterday and add note
2552 about why we don't list the default lines for remote targets.
2553
2554 2002-03-25 Michael Snyder <msnyder@redhat.com>
2555
2556 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2557
2558 2002-03-25 Fred Fish <fnf@redhat.com>
2559
2560 * gdb.base/list.exp: This test works on remote targets so remove
2561 the short circuit for remote targets. Update copyright.
2562
2563 2002-03-25 Fred Fish <fnf@redhat.com>
2564
2565 * gdb.base/attach.exp: Fix logic error that was suppressing this
2566 test for all non hppa*-*-hpux* targets, instead of the hp target.
2567 Move comments closer to the suppression point. Also now need to
2568 check that we are running natively.
2569
2570 2002-03-22 Michael Snyder <msnyder@redhat.com>
2571
2572 * gdb.base/default.exp: Add test for gcore. Update copyright.
2573 * gdb.base/help.exp: Add test for gcore. Update copyright.
2574
2575 2002-03-06 Fred Fish <fnf@redhat.com>
2576
2577 * gdb.base/funcargs.c: Remove extraneous ';' character.
2578 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2579
2580 2002-03-04 Michael Chastain <mec@shout.net>
2581
2582 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2583 accommodate gcc v3 function signature.
2584 * gdb.mi/mi0-var-cmd-exp: Ditto.
2585
2586 2002-02-24 Andrew Cagney <ac131313@redhat.com>
2587
2588 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2589 ``GNU/Linux'' or ``Linux kernel''
2590 * testsuite/gdb.threads/pthreads.c: Ditto.
2591
2592 2002-02-24 Michael Chastain <mec@shout.net>
2593
2594 * gdb.threads/pthreads.c (thread1): Add a return statement.
2595 (thread2): Likewise.
2596 (foo): Likewise.
2597
2598 2002-02-23 Michael Chastain <mec@shout.net>
2599
2600 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2601 to placate gcc.
2602
2603 2002-02-23 Michael Chastain <mec@shout.net>
2604
2605 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2606 test "ptype bint". The test passes on all my stabs configurations.
2607
2608 2002-02-21 Jim Blandy <jimb@redhat.com>
2609
2610 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2611 filename at a time, and watch for the ones we want to see.
2612
2613 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2614 types of pointers to prototyped functions.
2615
2616 2002-02-20 Andrew Cagney <ac131313@redhat.com>
2617
2618 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2619 signed, unsigned and straight char.
2620 (padding_char, padding_short, padding_int, padding_long,
2621 padding_long_long, padding_float, padding_double,
2622 padding_long_double): New global variables.
2623 (fill, fill_structs): New functions.
2624
2625 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2626 for correctly sized writes. Update copyright.
2627 (get_valueof): New procedure.
2628 (get_sizeof): Call get_valueof.
2629 (check_valueof): New procedure.
2630 (check_padding): New procedure.
2631
2632 2002-02-20 Michael Chastain <mec@shout.net>
2633
2634 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2635 to setup_xfail. Document some of the remaining calls.
2636
2637 2002-02-18 Michael Chastain <mec@shout.net>
2638
2639 * gdb.c++/userdef.exp: Update copyright year.
2640
2641 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
2642
2643 * gdb.c++/userdef.exp: Test overloaded operators properly.
2644 Remove xfails.
2645
2646 2002-02-14 Michael Snyder <msnyder@redhat.com>
2647
2648 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2649
2650 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
2651
2652 * gdb.base/a2-run.exp: Check for a remote target properly.
2653 * gdb.base/annota1.exp: Likewise.
2654 * gdb.base/list.exp: Likewise.
2655 * gdb.base/reread.exp: Likewise.
2656 * gdb.base/scope.exp: Likewise.
2657 * gdb.base/shlib-call.exp: Likewise.
2658 * gdb.base/term.exp: Likewise.
2659 * gdb.c++/annota2.exp: Likewise.
2660
2661 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
2662
2663 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2664
2665 2002-02-10 Michael Chastain <mec@shout.net>
2666
2667 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2668 (call_after_alloca): Ditto.
2669
2670 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2671
2672 * gdb.base/ending-run.exp: Guard "cont" test with
2673 gdb_skip_stdio_test.
2674
2675 2002-02-06 Jim Blandy <jimb@redhat.com>
2676
2677 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2678 from here...
2679 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2680 To here. Disable this test on non-HP platforms. Add big comment.
2681
2682 2002-02-04 Michael Snyder <msnyder@redhat.com>
2683
2684 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2685 other than d10v and m32r.
2686
2687 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
2688
2689 * gdb.base/default.exp: Rewrite test patterns to reduce time
2690 taken to match them.
2691
2692 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2693
2694 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2695 Allow a start function above main.
2696 * gdb.threads/linux-dp.exp: Fix copyright date.
2697
2698 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2699
2700 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2701 (check_philosopher_stack): Check for manager thread before checking
2702 for a just-starting thread.
2703
2704 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
2705
2706 From Neil Booth <neil@daikokuya.demon.co.uk>:
2707 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2708 warnings.
2709
2710 2002-01-21 Fred Fish <fnf@redhat.com>
2711
2712 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2713 not caller.
2714
2715 2002-01-21 Jim Blandy <jimb@redhat.com>
2716
2717 * gdb.base/reread.exp: Check that GDB properly re-reads the
2718 executable file when it changes while no inferior is running.
2719
2720 2002-01-21 Fred Fish <fnf@redhat.com>
2721
2722 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2723 optionally accept the "shlib events" variation.
2724
2725 2002-01-21 Jim Blandy <jimb@redhat.com>
2726
2727 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2728 call `fflush' after every `printf', so that the output is produced
2729 at predictable points, regardless of whatever buffering does (or
2730 doesn't) take place.
2731 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
2732 at different points.
2733
2734 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2735
2736 * gdb.c++/inherit.exp: Update copyright years.
2737 * gdb.c++/method.exp: Likewise.
2738
2739 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
2740
2741 * gdb.c++/classes.exp: Update for improved v3 support and skipping
2742 artificial methods/arguments.
2743 * gdb.c++/derivation.exp: Likewise.
2744 * gdb.c++/inherit.exp: Likewise.
2745 * gdb.c++/method.exp: Likewise.
2746 * gdb.c++/virtfunc.exp: Likewise.
2747
2748 2002-01-18 Andrew Cagney <ac131313@redhat.com>
2749
2750 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
2751 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
2752 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
2753 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
2754 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
2755 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
2756
2757 2002-01-17 Jim Blandy <jimb@redhat.com>
2758
2759 * gdb.asm/asm-source.exp (info symbol): Take another shot at
2760 anchoring the pattern matching the entry point symbol's name.
2761
2762 2002-01-17 Andrew Cagney <ac131313@redhat.com>
2763
2764 * gdb.base/maint.exp: Update ``maint internal-error'' to match
2765 continue/quit query. Update copyright.
2766
2767 2002-01-14 Michael Snyder <msnyder@redhat.com>
2768
2769 * gdb.base/gcore.exp: Remove extra debugging output.
2770
2771 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2772
2773 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
2774 for slightly dubious v2 mangled string.
2775
2776 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
2777
2778 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
2779
2780 2002-01-10 Jason Merrill <jason@redhat.com>
2781
2782 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
2783
2784 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
2785 constructors.
2786 * gdb.c++/derivation.exp: Likewise.
2787 * gdb.c++/templates.exp: Likewise.
2788 * gdb.c++/virtfunc.exp: Likewise.
2789
2790 2002-01-10 Michael Snyder <msnyder@redhat.com>
2791
2792 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2793
2794 2002-01-08 Michael Snyder <msnyder@redhat.com>
2795
2796 * gdb.base/gcore.exp: New test for generate-core-file command.
2797 * gdb.base/gcore.c: Testcase for above.
2798 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
2799
2800 2002-01-08 Jason Merrill <jason@redhat.com>
2801
2802 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
2803
2804 2002-01-07 Fred Fish <fnf@redhat.com>
2805
2806 * gdb.c++/overload.exp: Remove unconditional xfails for:
2807 print foo_instance1.overloadargs(1)
2808 print foo_instance1.overloadargs(1, 2)
2809 print foo_instance1.overloadargs(1, 2, 3)
2810 print foo_instance1.overloadargs(1, 2, 3, 4)
2811 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
2812 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
2813 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
2814 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
2815 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
2816 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
2817 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
2818 print foo_instance1.overload1arg()
2819 print foo_instance1.overload1arg((char)arg2)
2820 print foo_instance1.overload1arg((signed char)arg3)
2821 print foo_instance1.overload1arg((unsigned char)arg4)
2822 print foo_instance1.overload1arg((int)arg7)
2823 print foo_instance1.overload1arg((unsigned int)arg8)
2824 print foo_instance1.overload1arg((float)arg11)
2825 print foo_instance1.overload1arg((double)arg12)
2826
2827 2002-01-07 Michael Snyder <msnyder@redhat.com>
2828
2829 * gdb.base/huge.exp: New test. Print a very large target data object.
2830 (skip_huge_test): New test variable. Define if you want to skip this
2831 test. The test reads an 8 megabyte data object from the target, so it
2832 might be very time consuming on remote targets with a slow connection.
2833 * gdb.base/huge.c: New file. Test case for above.
2834
2835 2002-01-07 Fred Fish <fnf@redhat.com>
2836
2837 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
2838 g_instance.bfoo, and g_instance.cfoo.
2839
2840 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
2841
2842 * gdb.base/break.c (multi_line_if_conditional): New function.
2843 (multi_ilne_while_conditional): Likewise.
2844 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
2845 IF or WHILE condition puts the breakpoint at the start of
2846 the condition.
2847
2848 * gdb.base/selftest.exp (backtrace through signal handler): Remove
2849 hppa*-*-hpux* expected failure.
2850 * gdb.base/structs.exp (do_function_calls): Similarly.
2851
2852 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
2853 watchpoints.
2854
2855 2002-01-06 Andrew Cagney <ac131313@redhat.com>
2856
2857 Fix PR gdb/66.
2858 * gdb.base/structs.exp: Replace skip for a29k with skip for
2859 gdb,cannot_call_functions.
2860 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
2861 * gdb.base/callfuncs.exp: Ditto.
2862 * gdb.base/call-rt-st.exp: Ditto.
2863 * gdb.base/call-strs.exp: Ditto.
2864 * gdb.base/callfwmall.exp: Ditto.
2865 * gdb.base/scope.exp: Obsolete xfail a29k.
2866 * gdb.c++/misc.exp: Ditto.
2867 * gdb.c++/cplusfuncs.exp: Ditto.
2868 * gdb.base/ptype.exp: Ditto.
2869 * gdb.base/printcmds.exp: Ditto.
2870 * gdb.base/opaque.exp: Ditto.
2871 * gdb.base/list.exp: Ditto.
2872 * gdb.base/funcargs.exp: Ditto.
2873 * gdb.base/default.exp: Ditto.
2874
2875 2002-01-04 Michael Snyder <msnyder@redhat.com>
2876
2877 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
2878 * gdb.base/maint.exp: Add tests for maint info sections options.
2879
2880 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
2881
2882 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
2883
2884 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
2885
2886 * gdb.asm/arm.inc: New file.
2887 * gdb.asm/asm-source.exp: Add arm targets.
2888 * gdb.asm/configure.in: Ditto.
2889 * gdb.asm/configure: Recreated from configure.in.
2890
2891 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
2892
2893 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
2894 with HP's compiler.
2895 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
2896 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
2897 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
2898 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
2899
2900 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
2901 either HP's compilers or GCC.
2902
2903 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
2904 a SIGBUS or SIGSEGV.
2905
2906 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
2907
2908 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
2909 can be compiled with either HP's compiler or GCC.
2910
2911 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
2912 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
2913 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
2914
2915 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
2916 to match current gdb output. Update due to using auto-solib-limit
2917 for limiting instead of overloading auto-solib-add.
2918 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
2919 test program.
2920
2921 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
2922 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
2923 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
2924 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
2925 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
2926 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
2927 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
2928 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
2929 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
2930 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
2931 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
2932 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
2933 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
2934
2935 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
2936 a SIGTRAP to the inferior.
2937
2938 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
2939
2940 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
2941 Substitute call to target_link by call to gdb_compile.
2942
2943 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
2944
2945 * gdb.base/break.exp: Fix HP specific search string when testing
2946 backtracing in a called function.
2947
2948 * gdb.base/constvars.exp: Only set lang to C++ if we're
2949 compiling the test with HP's compilers.
2950 * gdb.base/volatile.exp: Similarly.
2951
2952 2001-12-19 Jim Blandy <jimb@redhat.com>
2953
2954 * gdb.base/printcmds.exp: Expect the null character to be printed
2955 as '\0', and the '\013' to be printed as '\v'.
2956 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
2957 * gdb.base/setvar.exp: Same.
2958
2959 2001-12-17 Jim Blandy <jimb@redhat.com>
2960
2961 * gdb.base/completion.exp: Rather than completing very long
2962 filenames, which can make the readline library produce output we
2963 don't recognize, cd to the directory first, and then complete
2964 using nice, short relative paths.
2965
2966 * gdb.base/completion.exp: On some systems, there is, in fact, a
2967 variable named `b' in scope, since GDB treats all static
2968 variables as being in scope. So use `no_var_named_this'
2969 instead of `b'.
2970
2971 * gdb.base/corefile.exp: Recognize the message saying that GDB
2972 can't find the core file's registers as a failure.
2973
2974 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2975
2976 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2977 test expect string more specific.
2978
2979 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
2980
2981 * gdb.asm/asm-source.exp: Add support for xstormy16.
2982 * gdb.asm/configure.in: Ditto.
2983 * gdb.asm/configure: Rebuild.
2984 * gdb.asm/xstormy16.inc: New file.
2985
2986 2001-12-10 Fred Fish <fnf@redhat.com>
2987
2988 * gdb.base/maint.exp: Update to match changes in type dumping code.
2989
2990 2001-12-10 Jim Blandy <jimb@redhat.com>
2991
2992 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2993 matching the entry point symbol's name at the beginning of the
2994 line.
2995
2996 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
2997
2998 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2999 gdb.c++/inherit.exp, gdb.c++/method.exp,
3000 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3001 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3002 and class layout support.
3003
3004 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3005
3006 * gdb.c++/classes.exp: Add test for static member function.
3007 * gdb.c++/misc.cc: Add class with static member function.
3008
3009 2001-12-07 Jim Blandy <jimb@redhat.com>
3010
3011 If GDB says it can't find the struct the function returned, report
3012 those tests as `unsupported'.
3013 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3014 Rewrite subsequent tests to use it.
3015
3016 If GDB says it can't find the struct the function returned, report
3017 those tests as `unsupported'.
3018 * gdb.base/structs.exp (call_struct_func): New function.
3019 (do_function_calls): Use call_struct_func to call the functions
3020 returning structs.
3021
3022 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3023 whether functions are prototyped or not, so we can't possibly pass
3024 arguments to t_float_values2 properly.
3025
3026 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3027 value of `timeout' for targets other than the mips*tx39-*.
3028
3029 2001-12-06 Michael Snyder <msnyder@redhat.com>
3030
3031 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3032 and detect whether the start symbol has a leading underscore.
3033
3034 2001-12-04 Jim Blandy <jimb@redhat.com>
3035
3036 * gdb.base/completion.exp: Clarify indentation.
3037
3038 2001-12-03 Jim Blandy <jimb@redhat.com>
3039
3040 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3041 variables on the S/390, not `.word'.
3042
3043 2001-11-30 Jim Blandy <jimb@redhat.com>
3044
3045 Add assembly-source tests for s390-ibm-linux.
3046 * gdb.asm/s390.inc: New file.
3047 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3048 the S/390 architecture.
3049 * gdb.asm/configure: Regenerated.
3050
3051 2001-11-30 Michael Snyder <msnyder@redhat.com>
3052
3053 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3054 next, info source, info sources, info line, global and static
3055 variables, and static functions.
3056 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3057 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3058 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3059 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3060 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3061 (gdbasm_leave): Restore frame pointer.
3062 (gdbasm_startup): Copy stack set-up from crt0.S.
3063
3064 2001-11-26 Fernando Nasser <fnasser@redhat.com>
3065
3066 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3067 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3068 to a local (non-static) variable. Copy tstruct.a to a static buffer
3069 and return a pointer to that buffer.
3070 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3071
3072 2001-11-24 Mark Kettenis <kettenis@gnu.org>
3073
3074 * gdb.asm/configure.in: Fix recognition of ix86 target.
3075 * gdb.asm/configure: Regenerate.
3076
3077 2001-11-21 Michael Snyder <msnyder@redhat.com>
3078
3079 * gdb.asm/sparc.inc: New file.
3080 * gdb.asm/asm-source.exp: Recognize sparc target.
3081 * gdb.asm/configure.in: Recognize sparc target.
3082 * gdb.asm/configure: Regenerate.
3083
3084 2001-11-21 Michael Snyder <msnyder@redhat.com>
3085
3086 * gdb.asm/m32r.inc: New file.
3087 * gdb.asm/asm-source.exp: Recognize m32r target.
3088 * gdb.asm/configure.in: Recognize m32r target.
3089 * gdb.asm/configure: Regenerate.
3090
3091 2001-11-20 Michael Snyder <msnyder@redhat.com>
3092
3093 * gdb.asm/i386.inc: New file.
3094 * gdb.asm/asm-source.exp: Recognize ix86 target.
3095 * gdb.asm/configure.in: Recognize ix86 target.
3096 * gdb.asm/configure: Regenerate.
3097
3098 * gdb.c++/namespace.exp: Fix quotes in output messages.
3099
3100 2001-11-14 Michael Snyder <msnyder@redhat.com>
3101
3102 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3103 qualifier in a type cast expression, to designate an address
3104 in the instruction space (Harvard architecture).
3105
3106 2001-11-13 Michael Snyder <msnyder@redhat.com>
3107
3108 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3109 Tests for expressions using 'const' and 'volatile'.
3110
3111 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
3112
3113 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3114
3115 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
3116
3117 * lib/mi-support.exp (mi_run_to_helper): Move comments
3118 outside of gdb_expect.
3119
3120 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
3121
3122 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3123 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3124 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3125 mi0_run_to): New functions.
3126 * gdb.mi/mi-simplerun.exp: Use them.
3127 * gdb.mi/mi0-simplerun.exp: Likewise.
3128 * gdb.mi/mi-var-cmd.exp: Likewise.
3129 * gdb.mi/mi0-var-cmd.exp: Likewise.
3130
3131 2001-11-10 Andrew Cagney <ac131313@redhat.com>
3132
3133 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3134 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3135
3136 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3137
3138 * gdb.base/restore.exp: Include $expected value in restored test
3139 message.
3140
3141 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3142
3143 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3144 implemented.
3145
3146 2001-11-08 Michael Snyder <msnyder@redhat.com>
3147
3148 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3149 Add pass/fail message for stop at breakpoint in call dummy function.
3150
3151 2001-11-07 Michael Snyder <msnyder@redhat.com>
3152
3153 * gdb.c++/templates.exp (test_template_breakpoints):
3154 If we get an overload menu, but it does not match what
3155 we expect, we still need to issue the "cancel" command.
3156 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3157 making the whitespace optional. Argument for "new" may be
3158 "unsigned" as well as "unsigned int/long".
3159 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3160 making the whitespace optional. Also replace "(void) with
3161 "((void|)), making the keyword "void" optional.
3162 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3163 making the whitespace optional. Also replace "(void) with
3164 "((void|)), making the keyword "void" optional.
3165 * gdb.base/callfuncs.c (t_float_values): This function must
3166 _not_ be prototyped, and the following function (t_float_values2)
3167 must be prototyped (if the compiler supports it), so that GDB
3168 can be tested against both cases. Usually one case involves
3169 promotion of float to double, while the other does not.
3170 * gdb.base/callfwmall.c: Ditto.
3171 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3172 includes a stack frame for "start".
3173
3174 2001-11-05 Jim Blandy <jimb@redhat.com>
3175
3176 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3177 pointers are 32 bits long, and that offsets of relocs are always
3178 stored in the data (REL-style), and not in the reloc entry itself
3179 (RELA-style).
3180 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3181 stabs.
3182
3183 2001-11-01 Michael Snyder <msnyder@redhat.com>
3184
3185 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3186 and regular expression operators by using quoting.
3187
3188 2001-10-31 Michael Snyder <msnyder@redhat.com>
3189
3190 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3191 depending on what the symbol table contains.
3192 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3193 the output of the ptype command. Similarly, accept both "const &"
3194 and "const&".
3195
3196 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
3197
3198 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3199 symbol `STORAGE' to allow to choose the storage class of
3200 the local datastructures.
3201 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3202 compiler directive.
3203
3204 2001-10-30 Michael Snyder <msnyder@redhat.com>
3205
3206 * gdb.base/jump.exp: Allow it to run for all targets.
3207
3208 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3209
3210 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3211 with new double_array size.
3212 (main): Change storage class of all local variables to static.
3213 Reduce size of double_array to 9.
3214 * gdb.base/call-ar-st.exp: Increase timeout value.
3215 Change expected output for double array to match new size in
3216 call-ar-st.c.
3217
3218 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3219
3220 * gdb.base/ending-run.exp: Create identical output when passing
3221 `step to end of run' case. Add regular expression branch satisfying
3222 Stormy16 target.
3223
3224 2001-10-28 Mark Kettenis <kettenis@gnu.org>
3225
3226 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3227 that we catch the expected failure under Linux/x86.
3228
3229 2001-10-29 Orjan Friberg <orjanf@axis.com>
3230
3231 * gdb.base/setvar.exp: Escape curly braces.
3232 * gdb.stabs/weird.exp: Ditto.
3233
3234 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
3235
3236 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3237 * gdm.mi/mi0-hack-cli.exp: Likewise.
3238
3239 2001-10-25 Andrew Cagney <ac131313@redhat.com>
3240
3241 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3242 messages.
3243
3244 2001-10-21 Andrew Cagney <ac131313@redhat.com>
3245
3246 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3247 checking MI enabled.
3248
3249 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
3250
3251 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3252
3253 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
3254
3255 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3256 if gdb child process crashes, just signal an error.
3257
3258 2001-10-02 Jim Blandy <jimb@redhat.com>
3259
3260 * lib/gdb.exp (test_xfail_format): Simplify.
3261
3262 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3263 front of the variable name `format'. Simplify `if'.
3264
3265 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3266
3267 * gdb.threads/pthreads.exp: Wait for output and delay
3268 before sending ^C.
3269
3270 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3271
3272 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3273 some incorrect output instead of timing out.
3274 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3275
3276 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
3277
3278 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3279 check to allow additional `int'.
3280
3281 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
3282
3283 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3284 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3285
3286 2001-09-27 Michael Snyder <msnyder@redhat.com>
3287
3288 * lib/gdb.exp (test_debug_format): New proc.
3289 (setup_xfail_format): Use new proc test_debug_format.
3290 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3291 proc; use new service proc test_debug_format.
3292 Replace all other "gcc_compiled" tests with this test.
3293 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3294 proc; use new service proc test_debug_format.
3295 Replace all other "gcc_compiled" tests with this test.
3296
3297 2001-09-27 Michael Snyder <msnyder@redhat.com>
3298
3299 * gdb.base/cvexpr.exp: New file.
3300 * gdb.base/cvexpr.c: New file
3301 Test for expressions using const and volatile keywords.
3302
3303 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
3304
3305 * gdb.base/constvars.exp: Check for different orders of keywords
3306 and additional "int" strings in output.
3307
3308 2001-09-22 Andrew Cagney <ac131313@redhat.com>
3309
3310 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3311 responses from "help maint".
3312
3313 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
3314
3315 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3316 to localhost:NNN instead of :NNN, in case Xvfb is listening
3317 only on TCP.
3318
3319 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
3320
3321 * gdb.base/recurse.exp: When checking leaving the watchpoint
3322 scope, recognize when gdb is in function's epilogue and pass.
3323
3324 2001-09-18 Keith Seitz <keiths@redhat.com>
3325
3326 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3327 support for running tests against sid targets.
3328 (gdbtk_done): Ditto.
3329
3330 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
3331
3332 * gdb.base/ending-run.c (main): Set stdout buffersize
3333 to the same reasonable value for any target.
3334 * gdb.base/ending-run.exp: Add a regular expression
3335 to make testsuite happy on Sanyo Stormy16 target.
3336
3337 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
3338
3339 * gdb.base/display.c (do_loops): Add float variable `f'.
3340 Increment f in loop.
3341 * gdb.base/display.exp: Increment timeout by 60 seconds.
3342 Change float display test to use variable `f'.
3343
3344 2001-09-17 Jim Blandy <jimb@redhat.com>
3345
3346 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3347 overflowing the limited breakpoint tables on some ROM monitors
3348 (like the ROM68K).
3349
3350 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
3351
3352 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3353 the "-ac" (disable access control) flag.
3354
3355 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
3356
3357 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3358 ints.
3359
3360 2001-08-30 Keith Seitz <keiths@redhat.com>
3361
3362 * lib/gdb.exp: Move all insight-related functionality into
3363 separate file.
3364 * lib/insight-support.exp: New file.
3365
3366 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
3367
3368 * config/sid.exp (sid_start): Never set sid verbosity; disable
3369 expect_background {} that consumed its stdout; tolerate </dev/null.
3370 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3371
3372 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3373
3374 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3375 CLI jump command to start it.
3376 (mi_run_to_main): Fail immediatly when unexpected output.
3377
3378 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3379
3380 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3381 beginning of function. Fix PR gdb/191.
3382
3383 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
3384
3385 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3386 what to force sid endianness to.
3387
3388 2001-08-15 Keith Seitz <keiths@redhat.com>
3389
3390 * lib/gdb.exp (gdbtk_start): Don't set environment
3391 variables for TCL_LIBRARY and friends. Insight will
3392 now figure these out for itself.
3393
3394 2001-08-02 Michael Snyder <msnyder@redhat.com>
3395
3396 * gdb.base/completion.exp: Remove the symbol "a64l" from
3397 the expect string; this is target-specific, and not related
3398 to what is being tested.
3399
3400 2001-08-02 Dave Brolley <brolley@redhat.com>
3401
3402 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3403
3404 2001-07-25 Michael Snyder <msnyder@redhat.com>
3405
3406 * gdb.base/consecutive.exp: New file. Test stepping over
3407 breakpoints on consecutive instructions.
3408 * gdb.base/consecutive.c: New file.
3409
3410 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3411 curly braces in regular expressions.
3412
3413 2001-07-25 Michael Snyder <msnyder@redhat.com>
3414
3415 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3416 legitimate output from stepping out of main.
3417
3418 2001-07-22 Keith Seitz <keiths@redhat.com>
3419
3420 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3421 the empty string, do not run the tests.
3422
3423 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3424
3425 * gdb.base/long_long.exp: Detect size of pointer. Take into
3426 account 2-byte pointers when testing for p/a results.
3427
3428 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3429
3430 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3431 and defined to 1K for m68hc11.
3432 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3433 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3434 (sizeof_random_data): New variable to tell the size of the data table;
3435 don't test past this size; always run to main.
3436
3437 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3438
3439 * gdb.base/return2.exp: return of long long and double fails for
3440 68HC11; don't execute these tests on that platform.
3441 * gdb.base/return.exp: Return of a double fails for 68hc11.
3442
3443 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3444
3445 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3446 tests that print a float.
3447 * call-rt-st.exp: Likewise.
3448
3449 2001-07-12 Mark Kettenis <kettenis@gnu.org>
3450
3451 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3452 running this test on Linux.
3453
3454 2001-06-24 Michael Chastain <chastain@redhat.com>
3455
3456 * gdb.base/arithmet.exp: Remove some tests to make all test names
3457 unique.
3458
3459 2001-07-03 Michael Snyder <msnyder@redhat.com>
3460
3461 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3462 the output of the ptype command.
3463
3464 2001-07-02 Michael Snyder <msnyder@redhat.com>
3465
3466 * gdb.base/completion.exp: Don't assume that break.c is the only
3467 source file that may contain functions named "marker".
3468 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3469
3470 2001-06-28 Andrew Cagney <ac131313@redhat.com>
3471
3472 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3473 of files to delete.
3474
3475 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3476 * gdb.disasm/h8300s.exp: New file.
3477 gdb.disasm/h8300s.s: Likewise.
3478
3479 2001-06-27 Andrew Cagney <ac131313@redhat.com>
3480
3481 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3482 empty breakpoint tables.
3483
3484 2001-06-25 Andrew Cagney <ac131313@redhat.com>
3485
3486 * lib/mi-support.exp: Update args=... part of stop-reason
3487 patterns. Accept either a list or a tuple.
3488
3489 2001-06-23 Andrew Cagney <ac131313@redhat.com>
3490
3491 * lib/mi-support.exp: Remove local emacs variable defining
3492 change-log-default-name.
3493
3494 2001-06-22 Michael Chastain <chastain@redhat.com>
3495
3496 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3497 This is operationally compatible with the previous version.
3498
3499 2001-06-13 Jim Blandy <jimb@redhat.com>
3500
3501 * lib/gdb.exp (gdb_test): Doc fix.
3502
3503 2001-06-10 Michael Chastain <chastain@redhat.com>
3504
3505 * gdb.base/exprs.exp: Remove a duplicate test.
3506
3507 2001-06-06 Jim Blandy <jimb@redhat.com>
3508
3509 * gdb.base/return2.exp (main): Use values to test float and double
3510 returns that are not NaN's, to avoid being confused by IEEE
3511 comparison rules.
3512
3513 2001-06-04 Michael Snyder <msnyder@redhat.com>
3514
3515 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3516 non-zero if control_c fails. Terminate the test on failure,
3517 rather than wait for 12 more tests to time out.
3518
3519 2001-06-06 Jim Blandy <jimb@redhat.com>
3520
3521 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3522 Don't forget to match the GDB prompt.
3523
3524 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3525
3526 2001-06-04 Jim Blandy <jimb@redhat.com>
3527
3528 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3529 command.
3530
3531 2001-05-31 Kevin Buettner <kevinb@redhat.com>
3532
3533 * gdb.base/annota1.exp (info break): Match four or more spaces
3534 after "Address".
3535
3536 2001-05-31 Michael Chastain <chastain@redhat.com>
3537
3538 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3539 (dm_type_int_star): Likewise.
3540 (dm_type_long_star): Likewise.
3541 (dm_type_void_star): Likewise.
3542
3543 2001-05-29 Kevin Buettner <kevinb@redhat.com>
3544
3545 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3546 to a known value in order to get consistent results regardless
3547 of the setting of INPUTRC or the presence or contents of .inputrc.
3548
3549 2001-05-24 Michael Snyder <msnyder@redhat.com>
3550
3551 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3552 Don't require that the main thread and the manager thread are the
3553 first in the list.
3554
3555 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3556 debugging. If test fails, issue an "unsupported" not a "fail".
3557
3558 2001-05-24 Jim Blandy <jimb@redhat.com>
3559
3560 Don't assume that short is shorter than int.
3561 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3562 assume that shorts are smaller than ints. On a 16-bit machine,
3563 this isn't true.
3564 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3565 an int, is not equal to ~0 stored in an unsigned char. This tests
3566 the same thing that the previous test meant to, but works on
3567 16-bit machines, too.
3568 ("print unsigned char != (~0)"): Same test, complemented.
3569
3570 2001-05-24 Michael Snyder <msnyder@redhat.com>
3571
3572 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3573 test for (full_coverage == 0). This makes the test run faster,
3574 and prevents dejagnu getting out of step.
3575
3576 2001-05-23 Kevin Buettner <kevinb@redhat.com>
3577
3578 * gdb.base/finish.exp (finish_void): Revise pattern for
3579 stopping on the call statement to not permit stopping at
3580 the start of the instructions comprising the call sequence.
3581
3582 2001-05-19 Michael Chastain <chastain@redhat.com>
3583
3584 * gdb.base/callfuncs.exp: Make all test names unique.
3585 * gdb.base/commands.exp: Make all test names unique.
3586 * gdb.base/condbreak.exp: Make all test names unique.
3587 * gdb.base/dbx.exp: Make all test names unique.
3588 * gdb.base/default.exp: Make all test names unique.
3589 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3590 and TIMEOUT messages to their corresponding PASS message.
3591 * gdb.base/ending-run.exp: Make all test names unique.
3592 * gdb.base/long_long.exp: Remove duplicate test.
3593
3594 2001-05-21 Kevin Buettner <kevinb@redhat.com>
3595
3596 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3597 stop on the call statement as well as the statement after the
3598 call.
3599
3600 2001-05-21 Michael Snyder <msnyder@redhat.com>
3601
3602 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3603
3604 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3605
3606 * gdb.base/completion.exp: Revamp test. Make it execute on all
3607 platforms.
3608
3609 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3610
3611 * config/gdbserver.exp (gdb_load): Handle the case
3612 in which the arguments to gdbserver are given in the
3613 baseboard configuration file.
3614 Also handle the case in which the server needs to do a
3615 load.
3616
3617 2001-05-07 Keith Seitz <keiths@cygnus.com>
3618
3619 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3620 set up the display for testing.
3621 (gdbtk_start): Convert all paths to paths that tcl will like.
3622 Export target information to environment.
3623 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3624 necessary.
3625 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3626 (to_tcl_path): New proc to convert a given pathname into
3627 a path acceptible as an argument to a tcl command.
3628 (_gdbtk_export_target_info): New proc to export target info
3629 into the environment for gdbtk testing.
3630 (gdbtk_done): New proc to signal end-of-test.
3631
3632 2001-05-06 Jim Blandy <jimb@redhat.com>
3633
3634 * restore.c: Make the code of caller0 correspond to its comment.
3635
3636 2001-05-03 Michael Snyder <msnyder@redhat.com>
3637
3638 * config/sid.exp (gdb_target_sid): Check for error messages.
3639 On error or timeout, don't make expect exit (which will terminate
3640 all subsequent tests); instead just make gdb exit.
3641 (gdb_load): Check for error messages. On error or timeout,
3642 return a negative value.
3643
3644 2001-04-24 Jim Blandy <jimb@redhat.com>
3645
3646 * gdb.c++/templates.exp: If we see the prompt for the overload
3647 list, but we haven't recognized any of the longer patterns,
3648 arrange for this test to fail, not hang.
3649
3650 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3651 variations.
3652
3653 2001-04-22 Michael Chastain <chastain@redhat.com>
3654
3655 * gdb.c++/local.exp: Use the 'runto' library function.
3656 * gdb.c++/namespace.exp: Likewise.
3657 * gdb.c++/overload.exp: Likewise.
3658
3659 2001-03-26 Kevin Buettner <kevinb@redhat.com>
3660
3661 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3662 * gdb.base/step-line.exp: New file. Test step/next in presence of
3663 #line directives.
3664 * gdb.base/step-line.c: New file. Test program for the above.
3665 * gdb.base/step-line.inp: New file. We pretend that this file has
3666 been transformed by some other tool into step-line.c.
3667
3668 2001-03-21 Jim Blandy <jimb@redhat.com>
3669
3670 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3671 unmangled operator names.
3672
3673 2001-03-20 Jim Blandy <jimb@redhat.com>
3674
3675 * gdb.threads/linux-dp.exp: Recognize an additional message
3676 generated by GDB when it doesn't understand how to debug threads
3677 on the target system.
3678
3679 2001-03-19 Andrew Cagney <ac131313@redhat.com>
3680
3681 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3682
3683 2001-03-12 Michael Chastain <chastain@redhat.com>
3684
3685 * gdb.c++/derivation.exp: Use the 'runto' library function.
3686
3687 2001-03-12 Michael Chastain <chastain@redhat.com>
3688
3689 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3690
3691 2001-02-24 Michael Chastain <chastain@redhat.com>
3692
3693 * gdb.c++/ref-types.exp: Change handwritten code to library
3694 function 'runto'.
3695
3696 2001-03-16 Orjan Friberg <orjanf@axis.com>
3697
3698 * gdb.base/signals.exp: Set count to 0 explicitly.
3699
3700 2001-03-15 Mark Salter <msalter@redhat.com>
3701
3702 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3703 (gdb_target_monitor): Add check of gdb_target_cmd return value.
3704 (gdb_load): Add support for additional target_info: gdb_download_size
3705 and gdb_load_timeout.
3706
3707 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3708
3709 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3710 file -- to prevent failing when the compile fails but we have no
3711 intention of running the tests anyway.
3712
3713 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3714 tests if set.
3715
3716 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3717 integers.
3718
3719 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3720 * gdb.c++/namespace.exp: Ditto.
3721
3722 2001-03-07 Orjan Friberg <orjanf@axis.com>
3723
3724 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3725 * gdb.base/pointers.exp: Relax pattern match of decimals.
3726
3727 2001-03-06 Kevin Buettner <kevinb@redhat.com>
3728
3729 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3730 config/cpu32bug.exp, config/dve.exp, config/est.exp,
3731 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
3732 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
3733 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
3734 config/sh.exp, config/sid.exp, config/slite.exp,
3735 config/sparclet.exp, config/udi.exp, config/unknown.exp,
3736 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
3737 config/vxworks.exp, config/vxworks29k.exp,
3738 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
3739 gdb.base/all-bin.exp, gdb.base/annota1.exp,
3740 gdb.base/arithmet.exp, gdb.base/assign.exp,
3741 gdb.base/async.exp, gdb.base/attach.exp,
3742 gdb.base/bitfields.exp, gdb.base/bitops.exp,
3743 gdb.base/break.exp, gdb.base/call-ar-st.exp,
3744 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
3745 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
3746 gdb.base/commands.exp, gdb.base/completion.exp,
3747 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
3748 gdb.base/constvars.exp, gdb.base/corefile.exp,
3749 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
3750 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
3751 gdb.base/ending-run.exp, gdb.base/environ.exp,
3752 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
3753 gdb.base/finish.exp, gdb.base/foll-exec.exp,
3754 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
3755 gdb.base/funcargs.exp, gdb.base/help.exp,
3756 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
3757 gdb.base/logical.exp, gdb.base/long_long.exp,
3758 gdb.base/maint.exp, gdb.base/mips_pro.exp,
3759 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
3760 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
3761 gdb.base/pointers.exp, gdb.base/printcmds.exp,
3762 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
3763 gdb.base/regs.exp, gdb.base/relational.exp,
3764 gdb.base/remote.exp, gdb.base/reread.exp,
3765 gdb.base/restore.exp, gdb.base/return2.exp,
3766 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
3767 gdb.base/selftest.exp, gdb.base/setshow.exp,
3768 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
3769 gdb.base/sigall.exp, gdb.base/signals.exp,
3770 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
3771 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
3772 gdb.base/step-test.exp, gdb.base/structs.c,
3773 gdb.base/structs.exp, gdb.base/structs2.exp,
3774 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
3775 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
3776 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
3777 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3778 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
3779 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
3780 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
3781 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
3782 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
3783 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
3784 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
3785 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
3786 gdb.fortran/types.exp, gdb.java/jmisc.exp,
3787 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
3788 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
3789 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
3790 gdb.trace/circ.exp, gdb.trace/collection.exp,
3791 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
3792 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
3793 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
3794 gdb.trace/report.exp, gdb.trace/save-trace.exp,
3795 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
3796 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
3797 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
3798 notices.
3799
3800 2001-02-27 Michael Snyder <msnyder@cygnus.com>
3801
3802 * gdb.base/varargs.c (find_max_double): Fix printf format string:
3803 first arg is int not float.
3804
3805 2001-02-22 Michael Snyder <msnyder@cygnus.com>
3806
3807 * gdb.base/reread.exp: Unsupported for non-native targets;
3808 doesn't work for remote debugging.
3809
3810 2001-02-19 Fernando Nasser <fnasser@redhat.com>
3811
3812 From Drew Moseley <dmoseley@redhat.com>
3813 * gdb.base/ending-run.exp: Properly handle the BSP state when
3814 stepping past the end of main.
3815
3816 2001-02-19 John Moore <jmoore@redhat.com>
3817
3818 * gdb.base/commands.exp (infrun_breakpoint_command_test):
3819 Converted HPUX fix for non-expected items following multiple
3820 step commands into general solution for all platforms.
3821
3822 2001-02-18 Michael Chastain <chastain@redhat.com>
3823
3824 * gdb.c++/classes.exp (do_tests): Change runto statements
3825 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3826 statements demangler agnostic.
3827 * gdb.c++/virtfunc.exp (do_tests): Likewise.
3828 (gdb_virtfunc_restart): Likewise.
3829
3830 2001-02-14 Michael Chastain <chastain@redhat.com>
3831
3832 * gdb.c++/inherit.exp (do_tests): Change runto statements
3833 from "runto 'foo(void)'" to "runto 'foo'". This makes the
3834 statements demangler agnostic.
3835
3836 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
3837
3838 * gdb.threads/pthreads.exp: Unify pass/fail messages for
3839 ``continue to bkpt at common_routine in thread 2'' and ``stopped
3840 before calling common_routine 15 times'' tests.
3841
3842 2001-02-11 Michael Chastain <chastain@redhat.com>
3843
3844 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
3845 Helps the test script figure out which demangler is in use.
3846 (dm_type_foo_ref): Ditto.
3847 (dm_type_int_star): Ditto.
3848 (dm_type_long_star): Ditto.
3849 (dm_type_unsigned_int): Ditto.
3850 (dm_type_void): Ditto.
3851 (dm_type_void_star): Ditto.
3852 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
3853 Probe the gdb demangler and set variables to accommodate
3854 formatting differences.
3855 (info_func_regexp): New function. Same as info_func, but
3856 matches against a regexp.
3857 (info_func): Match against a literal string.
3858 (print_addr_2): New function. Match against a literal string,
3859 which can be different from the input to gdb.
3860 (print_addr): Simply call print_addr_2 with the same argument twice.
3861 (test_lookup_operator_functions): Use demangler formatting variables.
3862 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
3863 the tests in the same order as the C++ class declaration.
3864 (test_paddr_operator_functions): Ditto.
3865 (test_paddr_overloaded_functions): Ditto.
3866 (test_paddr_hairy_functions): Use demangler formatting variables.
3867 Add reference to gdb/19 for related tests.
3868 (do_tests): Call probe_demangler.
3869
3870 2001-01-30 Kevin Buettner <kevinb@redhat.com>
3871
3872 * gdb.c++/templates.cc (printf): Remove unused function definition.
3873
3874 2001-01-26 Felix Lee <flee@redhat.com>
3875
3876 * sid.exp (sid_exit): Pass host, not target, to remote_close.
3877
3878 2001-01-25 matthew green <mrg@redhat.com>
3879
3880 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
3881 up sid.
3882 (sid_exit): Call `remote_pop_conn' after GDB is gone.
3883
3884 2001-01-25 matthew green <mrg@redhat.com>
3885
3886 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
3887 Deprecate $sid_spawn_id.
3888 (sid_exit): Remove code necessary only for `spawn.'
3889
3890 2001-01-25 matthew green <mrg@redhat.com>
3891
3892 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
3893
3894 2001-01-28 Michael Chastain <chastain@redhat.com>
3895
3896 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
3897 to call when tests fail. It takes gdb out of the overloaded
3898 function choice menu back to the main prompt, so that the test
3899 program stays synchronized.
3900 (set_bp_overloaded): New proc to collect all the common
3901 code for setting a breakpoint on an overloaded name. Calls
3902 take_gdb_out_of_choice_menu when needed.
3903 (menu_overload1arg): New variable to collect the repeated
3904 instances of the expected menu for an overloaded name. Change
3905 the regular expression to handle changes in g++ type encoding:
3906 "void" can be either "void" or "", and "unsigned int" can be
3907 either "unsigned int" or "unsigned".
3908 (continue_to_bp_overloaded): Change regular expressions to handle
3909 changes in g++ type encoding.
3910 (no proc): Call take_gdb_out_of_choice_menu when needed.
3911 Remove redundant calls to "info break". Accept either "canceled"
3912 or "cancelled". Change regular expressions in "info break"
3913 calls to handle changes in g++ type encoding. Give all tests
3914 unique strings.
3915
3916 2001-01-17 Ben Elliston <bje@redhat.com>
3917
3918 * config/sid.exp: New file.
3919
3920 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
3921
3922 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
3923
3924 2000-12-21 Michael Snyder <msnyder@cygnus.com>
3925
3926 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
3927 Add a RE to accept a non-ascii char if one is ever presented.
3928
3929 2000-12-20 Fernando Nasser <fnasser@redhat.com>
3930
3931 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
3932
3933 2000-12-18 Michael Snyder <msnyder@cygnus.com>
3934
3935 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
3936 in regexp. One '\' does not suffice on Linux.
3937
3938 2000-12-09 Michael Chastain <chastain@redhat.com>
3939
3940 * gdb.base/break.exp (test_clear_command): Use a marker function
3941 rather than 'main' for the test function. Also move this
3942 test to an execution point where the marker function names are
3943 guaranteed to be bound to functions. (Executing tests after a
3944 'finish' from main runs into name conflicts with local names
3945 in __libc_start_main).
3946
3947 2000-12-07 Michael Snyder <msnyder@cygnus.com>
3948
3949 * gdb.base/finish.exp: New test for gdb's "finish" command.
3950 * gdb.base/return2.exp: New test for gdb's "return" command.
3951 * gdb.base/return2.c: New source file for above.
3952
3953 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3954
3955 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
3956 * gdb.base/miscexprs.exp: Ditto.
3957 * gdb.base/pointers.exp: Ditto.
3958 * gdb.c++/derivation.exp: Ditto.
3959 * gdb.c++/local.exp: Ditto.
3960 * gdb.c++/namespace.exp: Ditto.
3961 * gdb.c++/overload.exp: Ditto.
3962 * gdb.c++/ref-types.exp: Ditto.
3963
3964 2000-12-05 Michael Snyder <msnyder@cygnus.com>
3965
3966 * gdb.base/constvars.exp: Test result of "up" command.
3967 * gdb.base/miscexprs.exp: Ditto.
3968 * gdb.base/pointers.exp: Ditto.
3969 * gdb.base/scope.exp: Ditto.
3970 * gdb.c++/derivation.exp: Ditto.
3971 * gdb.c++/local.exp: Ditto.
3972 * gdb.c++/namespace.exp: Ditto.
3973 * gdb.c++/overload.exp: Ditto.
3974 * gdb.c++/ref-types.exp: Ditto.
3975
3976 2000-11-22 Michael Chastain <chastain@redhat.com>
3977
3978 * mips_pro.exp: Accept either "middle -> top -> main" or
3979 "middle -> main" in the backtrace, because gcc can optimize
3980 tail calls to jumps. Remove setup_xfail for the hppa case.
3981 Add a comment with the original warning messages from PR 3016,
3982 which was filed in 1993, to preserve them for posterity.
3983
3984 2000-11-17 Nick Duffek <nsd@redhat.com>
3985
3986 * lib/gdb.exp (gdb_test): Override timeout with board info.
3987
3988 2000-11-17 Nick Duffek <nsd@redhat.com>
3989
3990 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3991 the second kill and detach messages.
3992
3993 2000-11-17 Nick Duffek <nsd@redhat.com>
3994
3995 * configure.in: Add AC_EXEEXT.
3996 * configure: Regenerate.
3997 * Makefile.in (just-check): Export EXEEXT.
3998 * lib/gdb.exp ($EXEEXT): Import from environment.
3999 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4000 expect "maint dump-me" on Cygwin.
4001 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4002 $EXEEXT.
4003
4004 2000-11-17 Nick Duffek <nsd@redhat.com>
4005
4006 * gdb.base/break.exp: Test backtrace and finish from called
4007 function on all platforms, not just HP-UX.
4008
4009 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4010
4011 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4012 code from gdb_target_monitor, so it can be used independantly
4013 for gdbserver. Also comment out an unnecessary PUTS.
4014
4015 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4016
4017 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4018 * gdb.base/corefile.exp: Expect the message "Program is being
4019 debugged already" when we send the "corefile" command, since
4020 the preceeding gdb_load may have connected gdb to a remote target.
4021 * gdb.base/display.exp: Disable hardware watchpoints if new
4022 board info variable "no_hardware_watchpoints" is true.
4023 Replace single-letter commands with more readable ones.
4024 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4025 if new board info variable "no_hardware_watchpoints" is true.
4026 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4027 to see if stdio (printf) testing is possible.
4028 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4029 board info variable "no_hardware_watchpoints" is true. Use new
4030 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4031
4032 2000-11-13 Fernando Nasser <fnasser@redhat.com>
4033
4034 From Orjan Friberg <orjanf@axis.com>:
4035 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4036 in array print pattern match.
4037
4038 2000-11-09 Fernando Nasser <fnasser@redhat.com>
4039
4040 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4041 spelling "cancelled" to U.S. spelling "canceled" to match changes
4042 made to gdb.
4043 * gdb.c++/ovldbreak.exp: Ditto.
4044
4045 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4046
4047 * gdb.base/callfuncs.c (main): Moved to end of file, call
4048 t_double_values to initialize the FPU before inferior calls are made.
4049 * gdb.base/callfuncs.exp: Test for register preservation after calling
4050 inferior functions. Add tests for continuining, finishing and
4051 returning from a stop in a call dummy.
4052
4053 2000-10-24 Michael Snyder <msnyder@cygnus.com>
4054
4055 * gdb.base/commands.exp: Break up long lines, and re-indent.
4056
4057 2000-10-19 Michael Snyder <msnyder@cygnus.com>
4058
4059 * config/gdbserver.exp: Rewritten from the ground up, to make it
4060 compatible with the current dejagnu tree, and to make it work with
4061 the new "gdbserver" in libremote.
4062
4063 2000-10-16 Michael Snyder <msnyder@cygnus.com>
4064
4065 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4066 * gdb.base/varargs.exp: Skip entire test if no printf support.
4067 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4068 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4069
4070 2000-10-13 Michael Snyder <msnyder@cygnus.com>
4071
4072 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4073 no floating point support.
4074 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4075 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4076 * gdb.base/call-rt-st.exp: Ditto.
4077 * gdb.base/call-strs.exp: Ditto.
4078
4079 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4080
4081 * gdb.base/sizeof.c: include <stdio.h>.
4082
4083 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4084 'finish', otherwise uncaptured gdb_prompt would potentially
4085 throw remaining test points out of sync.
4086
4087 2000-07-26 Scott Bambrough <scottb@netwinder.org>
4088
4089 * gdb.base/recurse.exp: Run tests for all targets.
4090 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4091 gnu-oldld case on ARM.
4092 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4093 for ARM targets.
4094
4095 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4096
4097 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4098 * gdb.java/configure: Rebuild.
4099
4100 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4101
4102 * gdb.java/jv-exp.exp: New file.
4103
4104 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4105
4106 * configure: Rebuilt.
4107 * configure.in (configdirs): Add gdb.java.
4108 * gdb.java/jmisc.java: New file.
4109 * gdb.java/jmisc.exp: New file.
4110 * gdb.java/Makefile.in: New file.
4111 * gdb.java/configure: Rebuilt.
4112 * gdb.java/configure.in: New file.
4113 * lib/java.exp: New file.
4114
4115 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4116
4117 * gdb.base/exprs.exp: Test casts to a pointer including over and
4118 underflow.
4119
4120 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4121
4122 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4123 and the compilers sizes.
4124
4125 2000-07-09 Nick Duffek <nsd@redhat.com>
4126
4127 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4128 (use_methods): New function.
4129 (main): Call use_methods().
4130 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4131 (do_tests): Call test_method_param_class.
4132
4133 2000-07-09 Nick Duffek <nsd@redhat.com>
4134
4135 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4136 spelling.
4137 (test_enums): New procedure. Move enum tests from end of script
4138 to here. Set breakpoint on function name instead of line number.
4139 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4140 (enums2): New marker function.
4141 (enums1): New function.
4142 (main): Call enums1(). Move enum tests to enums1().
4143
4144 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4145
4146 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4147 compile/link program. Update line numbers.
4148 * gdb.asm/d10v.inc: Define ``startup''.
4149 * gdb.asm/asmsrc1.s: Add definition of _start.
4150
4151 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4152
4153 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4154
4155 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4156
4157 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4158 of 'help maint print' command.
4159
4160 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4161
4162 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4163 they use gdb_expect_list.
4164
4165 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4166
4167 * gdb.base/commands.exp: Use ``set remote
4168 memory-read-packet-size'' instead of ``set endian big'' to test
4169 long commands.
4170
4171 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
4172
4173 * gdb.c++/templates.exp (do_tests): Make all of these work under
4174 g++, and stop skipping them.
4175
4176 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4177 work under g++.
4178
4179 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4180 initialization.
4181
4182 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4183
4184 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4185 the regular expression: accept an (almost) arbitrary sequence of
4186 "frames-invalid" and "breakpoints-invalid" messages both before
4187 and after the "starting" message.
4188
4189 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4190
4191 * gdb.c++/local.exp: This test has never been known to work with g++.
4192
4193 2000-05-18 Michael Snyder <msnyder@cygnus.com>
4194
4195 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4196 Relax the regular expression a little, make it pass on Solaris 8.
4197
4198 2000-05-12 Kevin Buettner <kevinb@redhat.com>
4199
4200 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4201 a call, do not require that gdb stop on the line after the call.
4202 Instead, it is permissible for gdb to stop on the line of the
4203 call itself.
4204
4205 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
4206
4207 * gdb.base/break.exp (bp on small function, optimized file):
4208 Add a second pass pattern. The behavior differs here between stabs
4209 and dwarf for one-line functions. Stabs preserves two line symbols
4210 (one before the prologue and one after) with the same line number,
4211 but dwarf regards these as duplicates and discards one of them.
4212 Therefore the address after the prologue (where the breakpoint is)
4213 has no exactly matching line symbol, and GDB reports the breakpoint
4214 as if it were in the middle of a line rather than at the beginning.
4215
4216 2000-05-08 Michael Snyder <msnyder@cygnus.com>
4217
4218 * gdb.base/interrupt.exp: Make "pass" message say "send"
4219 rather than "send_gdb" (for consistancy).
4220
4221 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4222
4223 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4224 * gdb.c++/templates.cc: Properly check for GCC version number.
4225 * lib/compiler.cc: Likewise
4226
4227 2000-04-28 Michael Snyder <msnyder@cygnus.com>
4228
4229 * gdb.base/break.exp: When compiled with -O2 optimization,
4230 gdb may not stop at the first line of main, due to code motion.
4231
4232 2000-04-26 Michael Snyder <msnyder@cygnus.com>
4233
4234 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4235 This test depends on parsing the printf output from the target.
4236 Since the sparclet stub doesn't do stdio, this will never work.
4237 * gdb.base/call-rt-st.exp: ditto.
4238 * gdb.base/call-strs: ditto.
4239
4240 2000-04-24 Michael Snyder <msnyder@cygnus.com>
4241
4242 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4243
4244 * gdb.base/ending-run.exp: After connecting to a remote target,
4245 but before running, the target will appear to be in a random
4246 location. Specify both a file and a line for breakpoints.
4247 Also, the function that calls main may be called 'init'
4248 rather than 'start'.
4249
4250 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4251
4252 * gdb.base/help.exp: Update output for add-symbol-file command.
4253
4254 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
4255
4256 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4257 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4258
4259 2000-04-07 J.T. Conklin <jtc@redback.com>
4260
4261 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4262
4263 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4264
4265 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4266
4267 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4268 values that can be represented exactly.
4269 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4270 above change, and to not check against the directory part of the source
4271 file name.
4272 (step into print_long_arg_list): Likewise.
4273 (print print_small_structs from print_long_arg_list): Likewise.
4274 (print print_long_arg_list): Likewise.
4275
4276 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4277
4278 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4279
4280 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4281
4282 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4283
4284 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
4285
4286 * gdb.base/commands.exp (deprecated_command_test): Add test for
4287 deprecate with no arguments.
4288
4289 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4290
4291 * gdb.base/break.exp: Add new test for setting breakpoints on
4292 optimized code so we can test breakpoints work even when function
4293 prologues may be optimized away
4294
4295 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4296
4297 From David Whedon <dwhedon@gordian.com>
4298 * gdb.base/commands.exp : Added command deprecator tests.
4299
4300 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
4301
4302 * gdb.base/help.exp: Added test for new apropos command.
4303
4304 2000-03-21 Kevin Buettner <kevinb@redhat.com>
4305
4306 * gdb.base/pointers.c (usevar): New function.
4307 (main): Make sure that global variables v_int_pointer2, rptr,
4308 and y are all referenced someplace in the program by calling
4309 usevar() on them. [Some linkers delete symbols which are
4310 never referenced. The space remains, but there's no way to
4311 get a (symbolic) handle on the variable from the debugger.]
4312
4313 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4314
4315 * gdb.base/printcmds.c: Add typedeffed arrays.
4316
4317 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4318 procedure to test arrays that are typedef'd.
4319
4320 2000-03-13 James Ingham <jingham@leda.cygnus.com>
4321
4322 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4323 the library directories.
4324
4325 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4326
4327 * configure.in (configdirs): Add sub directory gdb.mi.
4328 * configure: Re-generate.
4329
4330 * gdb.mi: New directory.
4331
4332 2000-02-25 Scott Bambrough <scottb@netwinder.org>
4333
4334 * gdb.base/long_long.exp: Correct test suite failure when printing
4335 a long long value as a double on ARM platforms.
4336
4337 2000-02-16 Jim Blandy <jimb@redhat.com>
4338
4339 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4340 default source file is set properly before running this test.
4341
4342 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4343
4344 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4345 gdbtk/library directory, not in gdbtcl2.
4346
4347 2000-02-04 Jim Blandy <jimb@redhat.com>
4348
4349 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4350 backslash from regexp pattern.
4351
4352 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4353 procedure. Use it to run all the "continue to bp overloaded"
4354 tests. Note that this changes the names of the tests slightly.
4355 If the breakpoint hit message includes a hex PC value, because
4356 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4357 from the real source code, still consider that a pass.
4358
4359 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4360 XFAIL here if the breakpoint message contains a hex address. Note
4361 similar change on 1999-11-02.
4362
4363 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4364
4365 * gdb.base/ptype.exp: Establish a default source file before
4366 calling get_debug_format.
4367
4368 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4369
4370 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4371
4372 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4373
4374 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4375 of successive stepi commands -- while in the prologue we should see
4376 the function entry bracket.
4377
4378 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4379
4380 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4381 reach __change_mode() when stepping through the end of main().
4382
4383 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4384
4385 * gdb.base/default.exp: Fix expected pattern.
4386 * gdb.base/help.exp: Same.
4387
4388 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4389
4390 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4391 Don't use xfail's because that affects only the following test.
4392
4393 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4394 solaris or linux.
4395
4396 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4397
4398 2000-01-07 Michael Snyder <msnyder@cygnus.com>
4399
4400 * gdb.base/display.exp: Some yacc parsers like to say
4401 "A syntax error" rather than "A parse error". Accept both.
4402
4403 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4404
4405 * gdb.base/default.exp: Remove OS dependent string from "target
4406 remote" test.
4407 * gdb.base/help.exp: Same for "help target remote" test.
4408
4409 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4410
4411 From Jim Kingdon <kingdon@redhat.com>:
4412
4413 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4414 prompt (cleanup rather than necessity, but still might keep output
4415 from spilling to next test).
4416
4417 2000-01-02 Fred Fish <fnf@cygnus.com>
4418
4419 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4420 AIX, which defines them in <sys/types.h>.
4421
4422 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
4423
4424 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4425 float" test.
4426
4427 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
4428
4429 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
4430
4431 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4432 outermost frame disallowed".
4433
4434 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4435
4436 * gdb.base/setvar.exp: New tests for setting the value of a struct
4437 with a constant list.
4438
4439 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4440
4441 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4442 require the user to type a cast before setting the value of a struct.
4443
4444 1999-12-06 Jim Blandy <jimb@cygnus.com>
4445
4446 * gdb.base/default.exp: Expect the new 'info float' command on
4447 all i386 platforms.
4448
4449 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4450 LinuxThreads libraries that don't support debugging.
4451
4452 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4453
4454 * gdb.base/remote.c: Fill the buffer with truely random data.
4455 Change the buffer type to ``unsigned char'' to simplify size
4456 arithmetic.
4457
4458 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4459 stub only handles 400-1 byte packets. Verify that the download
4460 worked.
4461
4462 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4463
4464 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4465 tests, using UNRESOLVED for the untested cases. Also, does not wait
4466 for a timeout if the prompt was received before a recognizable pattern.
4467
4468 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4469
4470 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4471
4472 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4473
4474 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4475 watchpoints.
4476
4477 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
4478
4479 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4480
4481 * gdb.c++/local.exp: Be more flexible in recognizing local class
4482 name mangling. Don't allow horribly truncated method names.
4483 * gdb.c++/derivation.exp: Expect protected inheritance.
4484 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4485 * gdb.c++/virtfunc.exp: Likewise.
4486 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4487 when printing a nested enum.
4488
4489 1999-11-22 Jim Blandy <jimb@cygnus.com>
4490
4491 * gdb.base/step-test.exp: Properly await GDB's response to setting
4492 a breakpoint on the call to large_struct_by_value.
4493
4494 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4495 just because we have debug info for the `start' function.
4496
4497 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4498
4499 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4500 "Unknown signal" messages, which indicate (on LinuxThreads) that
4501 GDB doesn't know how to debug threads on this system. This is
4502 better than hanging while philosopher 0 dumps chatter into gdb.log.
4503
4504 1999-11-18 Tom Tromey <tromey@cygnus.com>
4505
4506 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4507
4508 1999-11-18 Fred Fish <fnf@cygnus.com>
4509
4510 * gdb.base/coremaker2.c: Add sample program for generating
4511 cores that is more self contained than coremaker.c. Eventually
4512 I'll add more code to this and tie it into the testsuite.
4513
4514 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4515
4516 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4517
4518 1999-11-10 Jimmy Guo <guo@cup.hp.com>
4519
4520 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4521 from $srcdir/lib/.
4522 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4523 and gdb.c++/.
4524
4525 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4526
4527 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4528 'continue with watch' test point.
4529
4530 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4531
4532 Merged from p2linux-990323-branch:
4533
4534 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4535
4536 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4537
4538 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4539 {limit,fixed}''. Test ``set download-write-size''.
4540
4541 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4542
4543 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4544 gdb_expect_list.
4545
4546 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4547
4548 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4549
4550 1999-11-03 Mark Salter <msalter@cygnus.com>
4551
4552 * gdb.base/break.exp: Fix "stub continue" pattern.
4553
4554 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4555
4556 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4557
4558 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4559
4560 * gdb.base/display.exp ("finish"): Add timeout clause.
4561
4562 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4563 plain prompt clause, so this doesn't have to time out in order to
4564 fail.
4565
4566 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4567 breakpoint hit messages include an address.
4568
4569 * gdb.base/display.exp: Don't forget to escape parens in regular
4570 expressions. Unix regexp notatation sucks.
4571
4572 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4573
4574 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4575 order for 'signalled' message.
4576
4577 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4578
4579 From Jimmy Guo <guo@cup.hp.com>:
4580 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4581 * gdb.base/annota1.c: Add code for tests to work with.
4582
4583 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4584
4585 * gdb.base/remote.exp: New test for remote downloading settings.
4586 * gdb.base/remote.c: New file with large .data.
4587
4588 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4589
4590 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4591 for LinuxThreads support, merged from the Code Fusion branch.
4592
4593 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4594
4595 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4596 containing exp_continue into a while within an expect. Don't
4597 attempt a start more than three times. Check return value from
4598 gdb_load.
4599
4600 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4601
4602 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4603 a pass case.
4604
4605 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
4606
4607 * gdb.base/break.c (main): Added a statement that we can step
4608 off of.
4609 * gdb.base/break.exp: Added tests for setting a breakpoint
4610 at an offset and stepping onto a breakpoint.
4611
4612 1999-10-01 Fred Fish <fnf@cygnus.com>
4613
4614 * gdb.base/help.exp (help add-symbol-file): Update to match current
4615 gdb output.
4616
4617 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4618
4619 * gdb.base/break.exp: Code locations are in hex, don't forget!
4620 (For HP-UX.)
4621
4622 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4623
4624 * condbreak.exp: Use break.c as test program.
4625 * condbreak.c: Remove, redundant with break.c.
4626
4627 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4628
4629 * config/monitor.exp (gdb_target_monitor): Disable X- and
4630 Z-packets if the target needs it.
4631
4632 1999-09-13 James Ingham <jingham@leda.cygnus.com>
4633
4634 * gdb.c++/overload.exp: Added tests for listing overloaded
4635 functions with function pointers in the arg, explicitly calling
4636 out the version you want.
4637
4638 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4639
4640 * long_long.exp: Add variations of test cases that work for
4641 targets with 16-bit ints and 32-bit doubles.
4642
4643 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4644
4645 * break.c (main): Compare a possibly-uninitialized argc with an
4646 unlikely value that fits in 16 bits.
4647
4648 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4649
4650 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4651 0xfeeb, don't want negative numbers if ints are 16 bits.
4652
4653 * lib/gdb.exp (skip_cplus_tests): New proc.
4654 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4655 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4656 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4657 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4658 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4659 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4660 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4661 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4662
4663 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4664
4665 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4666
4667 * gdb.base/corefile.exp (up): Allow a parameter to appear
4668 in the frame that we're going up to.
4669
4670 From Jim Blandy <jimb@cygnus.com>:
4671
4672 * gdb.base/default.exp (info float): Expect some output now.
4673
4674 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4675 returning floating-point values to fail on the x86.
4676 * gdb.base/callfwmall.exp (do_function_calls): Same.
4677
4678 * gdb.base/list.exp (test_listsize): Correct expectations for
4679 listing line 1 with listsize 2. Also, listing a single line
4680 works now, as does listing three lines. [Kevin's note: There
4681 were a number of other cases fixed too where the expectations
4682 differed...]
4683
4684 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4685
4686 * gdb.base/selftest.exp: Add case for when version prints as
4687 constant string instead of char pointer.
4688
4689 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4690
4691 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4692 stepping out of main.
4693
4694 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4695 G++ used.
4696
4697 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4698 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4699
4700 * gdb.c++/ovldbreak.exp: Update match string in test that
4701 includes a warning of multiple breakpoints.
4702
4703 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4704
4705 * gdb.base/display.exp: Improve precision of step-after-finish
4706 added yesterday.
4707
4708 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4709 test.
4710
4711 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4712 configs when using G++, not just hppa*.
4713
4714 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4715
4716 * gdb.base/async.c: New file.
4717 * gdb.base/async.exp: New file.
4718
4719 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4720
4721 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4722 PA64.
4723
4724 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4725
4726 * gdb.base/display.exp: "finish" can leave us mid-line on many
4727 targets, deal with it. Add a small constant to main, instead of
4728 1000 since main+1000 may not be a valid address in the target.
4729
4730 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
4731 on hpux11.
4732
4733 * gdb.base/attach.exp: Handle another hpux11 error message variant
4734 when attaching to a process that does not exist.
4735
4736 1999-08-19 J.T. Conklin <jtc@redback.com>
4737
4738 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
4739 characters in 'continue to 1241' test.
4740
4741 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
4742
4743 * gdb.base/call-ar-st.exp: Add a shorter match case for the
4744 stop in print_long_arg_list, define and use a whitespace
4745 variable in print_small_structs test, add an XFAIL for Solaris.
4746 * gdb.base/dbx.exp: XFAIL func commands until somebody is
4747 interested enough to fix.
4748
4749 1999-08-13 Keith Seitz <keiths@cygnus.com>
4750
4751 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
4752 (dbx_gdb_load): Remove. Use gdb_load instead, since that
4753 proc knows about targets other than the natives.
4754 (test_assign): Use "gdb_run_cmd" to "run" the target.
4755 Check that we've actually hit the breakpoint at main.
4756 When we attempt to assign a value to a local variable, check
4757 that the variable is in the current scope, i.e., don't use
4758 a test with an empty result.
4759
4760 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
4761
4762 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
4763 command.
4764
4765 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
4766
4767 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4768 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
4769 gdb.compat, gdb.threads-hp.
4770 gdb.hp/configure, gdb.hp/configure.in: New files.
4771 gdb.hp/Makefile.in: Recurse into new subdirs.
4772 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
4773 gdb.hp/gdb.objdbg: New directory, tests for debugging info
4774 in object files.
4775 gdb.hp/tools: New directory, aux tools for HP-specific tests.
4776
4777 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
4778
4779 * gdb.base/display.exp: Help expect by putting a newline in the
4780 funky printf, remove a bogus p/a test.
4781
4782 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4783
4784 * gdb.base/display.exp: Make sure that when we say 'run', we are
4785 connected to the target. This is necessary when running not
4786 natively.
4787
4788 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
4789
4790 * gdb.base/step-test.exp: Removed some extraneous messages.
4791
4792 * gdb.base/long_long.exp: Don't run memory examination tests
4793 on little-endian targets (they will need a different set of
4794 results to match).
4795
4796 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
4797
4798 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
4799 until somebody decides to fix GDB.
4800
4801 * gdb.base/long_long.c: Stop compiler complaint by specifying long
4802 constant as "ULL".
4803 * gdb.base/long_long.exp: Loosen x/c test, add partial result
4804 matches for a couple x/2 commands.
4805
4806 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
4807
4808 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
4809 by merging in ref-types2 tests.
4810 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
4811
4812 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4813 * gdb.c++/Makefile.in: Add standard actions.
4814 (EXECUTABLES): Rename from PROGS, update list.
4815 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
4816 from gdb.hp.
4817 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
4818 foo and bar locals.
4819 * gdb.c++/anon-union.exp: Fix tests to match.
4820 * gdb.c++/classes.exp: Run if HP compiler used, add extra
4821 expect matches to handle output variations.
4822 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
4823 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
4824 output, add HP alternatives for new and delete prints.
4825 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
4826 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
4827 * gdb.c++/demangle.exp: Use $style when reporting failure.
4828 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
4829 * gdb.c++/inherit.exp: Run if HP compiler used, add some
4830 match alternatives.
4831 * gdb.c++/local.exp: Add match alternatives or xfails for HP
4832 compilers.
4833 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
4834 * gdb.c++/method.exp: Add match alternatives.
4835 * gdb.c++/misc.cc: Add bool types.
4836 * gdb.c++/misc.exp: Add tests for bool types.
4837 * gdb.c++/overload.exp: Add xfails.
4838 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
4839 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
4840 add some more template parameter tests (only for HP currently).
4841 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
4842 * gdb.c++/virtfunc.cc: Add return type and value for main.
4843 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
4844 match alternatives.
4845
4846 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4847
4848 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
4849
4850 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
4851
4852 * gdb.base/signals.exp: Don't expect getting a backtrace from
4853 within a signal handler to fail on Linux.
4854
4855 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
4856
4857 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4858 * lib/gdb.exp: Remove some gratuitious semicolons.
4859 (delete_breakpoints): Increase timeout.
4860 (gdb_expect): Add -notransfer option.
4861 (gdb_test): Use -notransfer option.
4862 (get_compiler_info): Add f77 case.
4863 (get_compiler): New proc, split out from gdb_preprocess, add f77
4864 case.
4865 (gdb_preprocess): Call get_compiler.
4866
4867 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
4868 * gdb.base/attach.exp, gdb.base/display.exp,
4869 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
4870 gdb.base/long_long.exp, gdb.base/printcmds.exp,
4871 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
4872 third arg to gdb_test.
4873 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
4874 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
4875 HP-UX xfails, add others.
4876 * gdb.base/completion.exp: Reflect name change of self-test.
4877 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
4878 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
4879 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
4880 HP failure number.
4881 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
4882 useless HP-UX 10.30 references.
4883 * gdb.base/maint.exp: Loosen matches.
4884 * gdb.base/pointers.c (main): Declare more_code.
4885 * gdb.base/pointers.exp: Match on output of a `next'.
4886 * gdb.base/structs.c: Add prototypes.
4887 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
4888 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
4889
4890 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4891
4892 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
4893 command.
4894
4895 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4896
4897 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
4898 Fix run to main failures. Watchpoint can be hardware watchpoint.
4899
4900 * gdb.base/annota1.exp: Clean up some more, in case printf has
4901 debug info. Deal with lack of signal hanlder info in stack.
4902
4903 From Jim Kingdon <kingdon@redhat.com>:
4904 * gdb.base/annota1.exp: If printf has debug info, deal with it.
4905
4906 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
4907
4908 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
4909 gdb.base/foll-vfork.exp: Don't run for crosses.
4910
4911 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4912
4913 * gdb.base/configure.in: Check for gdbvars.exp instead of
4914 a1-selftest.exp.
4915 * gdb.base/configure: Re-generate.
4916
4917 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
4918
4919 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
4920 in trying to run first and name is too long.
4921
4922 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
4923 pointers2.c and pointers2.exp, respectively.
4924 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
4925 doschk happier.
4926
4927 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
4928
4929 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
4930 callfuncs2.c and callfuncs2.exp.
4931
4932 * gdb.base/list.exp: Remove mistaken xfails.
4933 * gdb.base/list0.h: Add optional prototypes.
4934
4935 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
4936
4937 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
4938 calling malloc.
4939 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
4940 * ptype.exp: Move test for get_debug_format to before its first
4941 use.
4942
4943 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4944
4945 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
4946 * gdb.base/annota2.cc, annota2.exp: Move from here.
4947 * gdb.c++/annota2.cc, annota2.exp: To here.
4948 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
4949
4950 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
4951
4952 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
4953 a consistent format.
4954
4955 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
4956
4957 From Jimmy Guo <guo@cup.hp.com> and others at HP:
4958 * lib/gdb.exp (get_compiler_info): Add detection for assorted
4959 HP compilers, also set the globals $true and $false.
4960
4961 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4962 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4963 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4964 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4965 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4966 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4967 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4968 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4969 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4970 whatis.c} Add C++ compatible function definitions and return
4971 types, add includes for library functions.
4972 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4973 * gdb.base/step-test.c (myglob): Rename from glob.
4974 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4975 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4976 files, move here from gdb.hp.
4977 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4978 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4979 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4980 Adjust line numbers in regexps.
4981
4982 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4983 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4984 instead of 0/1.
4985
4986 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4987 foll-vfork.exp: New files, move here from gdb.hp.
4988 * gdb.base/page.exp: New file, test of pagination command.
4989
4990 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4991 recursion test.
4992 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4993
4994 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4995 gdb.base/solib.exp: Fix compiler invocation process.
4996
4997 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4998 HP-UX 11, turn off overload resolution explicitly.
4999 * gdb.base/commands.exp: Set argument list explicitly, add
5000 watchpoint test.
5001 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5002 them work.
5003 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5004 expressions properly.
5005 * gdb.base/corefile.exp: Loosen the match slightly.
5006 * gdb.base/default.exp: Allow "Error accessing memory" message
5007 also.
5008 * gdb.base/display.exp: Skip over x/0 j if PA64.
5009 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5010 * gdb.base/interrupt.exp: Ditto.
5011 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5012 in use.
5013 * gdb.base/list.exp: Add xfails for HP-UX.
5014 * gdb.base/long_long.exp: Refine some of the numeric matches.
5015 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5016 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5017 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5018 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5019 * gdb.base/ptype.exp: Succeed on more varieties of output.
5020 * gdb.base/scope.exp: Add xfails for HP-UX.
5021 * gdb.base/sect-cmd.exp: Add more cases.
5022 * gdb.base/setvar.exp: Add xfails for HP-UX.
5023 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5024 * gdb.base/signals.exp: Match on void symbolically.
5025 * gdb.base/step-test.exp: Add case for PA64.
5026 * gdb.base/term.exp: Add exit and restart.
5027 * gdb.base/twice.exp: Clean up after self.
5028 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5029 * gdb.base/whatis.exp: Allow more ways to pass tests.
5030
5031 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5032 no longer useful.
5033
5034 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5035
5036 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5037 list of patterns.
5038 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5039 print_double_array(double_array)", "continuing to breakpoint
5040 1018", "print print_double_array(array_d)" and "continuing to
5041 1034" tests.
5042
5043 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5044
5045 * Makefile.in: Add empty html and install-html targets.
5046
5047 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5048
5049 * config/mt-*: Remove, these haven't been used since 1996.
5050
5051 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5052
5053 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5054 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5055 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5056
5057 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5058
5059 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5060 simpler match case for the ptype of the big class.
5061
5062 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5063
5064 * gdb.exp: Fix test for gdb_prompt existence.
5065
5066 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5067
5068 * gdb.exp (gdb_test): Add fail after calls to perror.
5069
5070 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5071
5072 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5073
5074 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5075
5076 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5077
5078 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5079
5080 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5081 malloc() is linked in.
5082
5083 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5084
5085 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5086 step at end.
5087
5088 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5089
5090 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5091
5092 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5093
5094 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5095
5096 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5097 * gdb.base/mips_pro.exp: Likewise.
5098
5099 1999-06-02 Keith Seitz <keiths@cygnus.com>
5100
5101 * gdb.c++/templates.cc: Change all "new" operators to throw
5102 an exception.
5103 * gdb.c++/cplusfuncs.cc: Likewise.
5104
5105 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5106
5107 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5108
5109 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5110 * gdb.base/ending-run.exp: When stepping out of main, accept a
5111 step into an arbitrary assembler file.
5112
5113 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5114
5115 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5116 "breakpoint-invalid" to be printed.
5117 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5118 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5119 * gdb.base/annota2.cc: Initialize a.x to 0.
5120
5121 1999-05-17 Keith Seitz <keiths@cygnus.com>
5122
5123 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5124 when "skip_float_tests" set.
5125 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5126 "print print_ten_doubles", and "step into print_long_arg_list".
5127 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5128 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5129 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5130 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5131 "skip_float_tests" is set.
5132 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5133 when "skip_float_tests" set.
5134
5135 1999-05-06 Keith Seitz <keiths@cygnus.com>
5136
5137 * gdb.base/annota2.cc: Include stdio.h.
5138
5139 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5140
5141 * gdb.base/crossload.exp: Remove, this has been disabled ever
5142 since BFD stopped including all targets, and cross-GDB gets
5143 plenty of testing anyway.
5144 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5145 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5146 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5147 * gdb.base/README: Remove, was doc for this.
5148 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5149 needed.
5150
5151 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5152
5153 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5154 output.
5155
5156 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5157 * gdb.base/annota2.exp: New file. More annotation tests.
5158 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5159 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5160
5161 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
5162
5163 * config/cfdbug.exp: New file.
5164
5165 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5166
5167 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5168 Marcus Daniel's and Dale Hawkins's demangler crashes.
5169
5170 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5171 test_lucid_style_demangling, test_arm_style_demangling,
5172 test_hp_style_demangling): Try Tom Tromey's core-dumping
5173 identifier under each demangling style.
5174
5175 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5176
5177 * gdb.c++/demangle.exp: Include the current demangling style
5178 in all test names.
5179 (current_demangling_style): New global variable.
5180 (set_demangling_style, test_demangling_core, test_demangling,
5181 test_demangling_exact): New functions.
5182 (test_gnu_style_demangling, test_lucid_style_demangling,
5183 test_arm_style_demangling, test_hp_style_demangling): Use those,
5184 instead of calling gdb_test and gdb_test_exact directly.
5185 (catch_demangling_errors): New function, which reports errors
5186 signalled by the demangling test functions in an orderly way.
5187 (do_tests): Use catch_demangling_errors.
5188
5189 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5190
5191 * gdb.base/signals.exp (test_handle_all_print): Use () for
5192 grouping in expressions, not {}.
5193
5194 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5195 initialized yet.
5196
5197 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5198
5199 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5200 are listed.
5201
5202 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5203
5204 * gdb.stabs/weird.exp: Test for CC being defined before
5205 looking at its value.
5206
5207 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5208
5209 * gdb.base/call-ar-st.exp: Remove stray '#'.
5210 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5211 "short int" and "long int".
5212 * gdb.c++/overload.cc: Cast the string added in the previous
5213 change, to mollify finicky HP compiler.
5214 * gdb.hp/reg-test.exp (testfile): Fix file name.
5215 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5216
5217 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5218 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5219 alternate form of enum ptype.
5220
5221 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5222
5223 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5224 * gdb.hp/*.exp: Change all to run compiler probe only after
5225 passing skip_hp_tests, so as not to waste time on guaranteed
5226 failure.
5227
5228 * gdb.c++/overload.cc: Pass string instead of char addr, always
5229 init ccpfoo.
5230 * gdb.c++/templates.cc: Fix syntax error.
5231
5232 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5233
5234 * gdb.base/commands.exp: Add test for correct position of '>'
5235 when issuing the 'commands' command after a 'while' or 'if'
5236 command.
5237
5238 1999-03-18 James Ingham <jingham@cygnus.com>
5239
5240 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5241
5242 * gdb.c++/method.exp: It was testing an uninitialized int on the
5243 stack and assuming it was positive.
5244
5245 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5246
5247 * gdb.base/step-test.exp: Catch a case where finish is broken and
5248 keep it from killing the rest of the tests.
5249 Use gdb_continue_to_end.
5250
5251 * gdb.base/sigall.exp: use gdb_continue_to_end.
5252
5253 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5254
5255 * gdb.base/display.exp: use runto_main, not run.
5256
5257 * gdb.base/default.exp: Check for the current error message in the
5258 r abbreviation test.
5259 Add strongarm to the targets that know info float.
5260
5261 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5262 run which doesn't work with monitors.
5263
5264 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5265
5266 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5267
5268 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5269 program. Traps the case (in Cygmon) when the program never really
5270 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5271 more places, so I used my name. Sorry Mark...
5272
5273 * config/monitor.exp (gdb_target_monitor): added another
5274 target_info parameter: remotebinarydownload. This will set the
5275 remotebinarydownload flag if this is causing some boards trouble.
5276
5277 1999-03-18 Mark Salter <msalter@cygnus.com>
5278
5279 * lib/gdb.exp (continue_to_exit): New function.
5280
5281 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5282 * gdb.base/ending-run.exp: Ditto.
5283 * gdb.base/step-test.exp: Ditto.
5284
5285 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5286
5287 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5288 (suggested by Art Haas <ahaas@neosoft.com>).
5289
5290 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5291
5292 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5293
5294 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5295
5296 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5297 descriptions of types (short unsigned int vs unsigned short, etc).
5298
5299 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5300
5301 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5302 a call to strlen; sometimes we do have sources.
5303
5304 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5305
5306 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5307 character, so GDB won't print garbage after its end.
5308
5309 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5310 breakpoint there instead. Sometimes GCC emits memcpy to handle
5311 the large structures being passed by value, so we step into that
5312 instead of sum_array_print, which obscures what we're really testing.
5313 * gdb.base/step-test.exp: However, we do want a test that notices
5314 the bizarre steps into memcpy, so do that here. Add check for
5315 stepping into function calls that pass large structures by value.
5316 ("Is that a noun clause, or are you just happy to see me?")
5317 Remove all references to specific line numbers.
5318 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5319 New type and function.
5320 (main): Call large_struct_by_value, passing it a large struct by value.
5321 * lib/gdb.exp (gdb_get_line_number): New function.
5322
5323 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5324 more portable.
5325
5326 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5327
5328 * lib/gdb.exp: Doc fixes.
5329
5330 1999-03-05 Nick Clifton <nickc@cygnus.com>
5331
5332 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5333
5334 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5335
5336 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5337 commands. They're not germane to this test, and they don't work
5338 that way on remote targets.
5339
5340 1999-03-01 James Ingham <jingham@cygnus.com>
5341
5342 * Changelog entries merged over from gdb development branch.
5343
5344 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5345
5346 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5347 for outputting results of test run.
5348
5349 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
5350
5351 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5352
5353 1999-02-25 Felix Lee <flee@cygnus.com>
5354
5355 * lib/gdb.exp (debug_format): initialize
5356
5357 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5358
5359 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5360 * gdb.base/call-rt-st.c: Ditto.
5361
5362 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5363
5364 * gdb.threads/pthreads.exp (horiz): New variable.
5365 (test_startup): Fix regexps that capture thread numbers.
5366
5367 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5368
5369 * gdb.base/smoke.exp: Disambiguate two test case names (both
5370 called ``print'').
5371
5372 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5373
5374 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5375 compilation.
5376
5377 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5378
5379 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5380 actual output formatting.
5381 * gdb.base/smoke.exp: GDB removes leading 0's.
5382 * gdb.base/volatile.exp: Don't check type of remuneration;
5383 that variable is no longer defined in constvars.c.
5384 * gdb.base/step-test.c (main): Exit with explicit exit code.
5385 * gdb.base/step-test.exp: Remove two nexti checks--they are
5386 not portable.
5387
5388 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5389
5390 * gdb.base/help.exp ("help delete display"): Fix test to match
5391 gdb's output.
5392
5393 * gdb.base/long_long.c (known_types): Initialize values to zero.
5394 * gdb.base/long_long.exp: Step one more line
5395 so 'dec' is initialized in "get to known place". GDB removes
5396 leading zeros. Explicitly ask for hex formatting. Use
5397 unique test case names.
5398
5399 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5400
5401 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5402
5403 * gdb.c++/method.exp: Add missing close brace.
5404
5405 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5406
5407 * gdb.base/maint.exp: Use 'set height 0' to disable page
5408 prompting, not 'set height 400'.
5409
5410 Fix a bunch of timeouts.
5411 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5412 four separate tests, so expect doesn't take forever to match a ton
5413 of text against a regexp with lots of .* forms.
5414 ("maint print psymbols", "maint print symbols"): Make some of
5415 these greps more selective, so that expect doesn't try to wade
5416 through huge piles of output and time out.
5417
5418 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5419
5420 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5421 tests: one which doesn't expect shlib events to be reported, and
5422 another which does, but is XFAIL for all platforms other than
5423 HP/UX.
5424
5425 * gdb.base/break.exp: Teach the test suite that the `catch
5426 fork', `catch vfork', and `catch exec' commands produce error
5427 messages on platforms that don't provide these features.
5428
5429 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5430
5431 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5432 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5433 (shortening names from solib_threshold.exp etc), won't run on
5434 anything but HP-UX for the foreseeable future.
5435 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5436 reflect move.
5437
5438 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5439
5440 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5441 gdb.trace/Makefile.in (clean): Remove all test executables.
5442
5443 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5444
5445 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5446 successfully re-sets breakpoints in shared libraries.
5447 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5448
5449 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5450
5451 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5452 and compiled w/o GCC.
5453
5454 * gdb.hp/watch-cmd.exp: ditto.
5455
5456 * gdb.hp/watch-hp.exp: ditto.
5457
5458 * gdb.hp/xdb1.exp: ditto.
5459
5460 * gdb.hp/xdb2.exp: ditto.
5461
5462 * gdb.hp/dbx.exp: ditto.
5463
5464 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5465
5466 * constvars.c: Remove C++-isms.
5467 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5468 with GCC.
5469
5470 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5471
5472 The following changes are part of the HP merge.
5473
5474 * gdb.base/break.exp: new tests to verify that catchpoints for
5475 fork, vfork, and exec don't trigger inappropriately.
5476
5477 * gdb.base/opaque.exp: compile one file at a time, then link.
5478
5479 * gdb.base/signals.exp: be more restrictive about which hppa
5480 systems receive a setup_xfail. new tests.
5481
5482 * gdb.base/solib_threshold.build: new file.
5483 * gdb.base/solib_threshold.exp: new file.
5484 * gdb.base/solib_threshold.link_opts: new file.
5485 * gdb.base/solib_threshold.mk: new file.
5486 * gdb.base/gen_solib_threshold.c: new file.
5487
5488 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5489 tests. New tests for enums inside classes.
5490
5491 * gdb.c++/compiler.cc: indicate support of template debugging.
5492
5493 * gdb.c++/demangle.exp: run hp style demangling tests.
5494
5495 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5496 tests.
5497
5498 * gdb.c++/misc.cc: changes to support new tests.
5499
5500 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5501 to support new tests.
5502
5503 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5504 gcc, then skip these tests.
5505
5506 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5507
5508 The following files are part of the HP merge; some had longer
5509 names at HP, but have been renamed to be no more than 14
5510 characters in length.
5511
5512 * gdb.hp/ambiguous.cc: new file.
5513 * gdb.hp/ambiguous.exp: new file.
5514 * gdb.hp/attach.exp: new file.
5515 * gdb.hp/attach2.exp: new file.
5516 * gdb.hp/classes-hp.exp: new file.
5517 * gdb.hp/ctti.exp: new file.
5518 * gdb.hp/ctti-add.cc: new file.
5519 * gdb.hp/ctti-add1.cc: new file.
5520 * gdb.hp/ctti-add2.cc: new file.
5521 * gdb.hp/ctti-add3.cc: new file.
5522 * gdb.hp/dbx.exp: new file.
5523 * gdb.hp/exception.cc: new file.
5524 * gdb.hp/exception.exp: new file.
5525 * gdb.hp/foll-exec.c: new file.
5526 * gdb.hp/foll-exec.exp: new file.
5527 * gdb.hp/foll-fork.c: new file.
5528 * gdb.hp/foll-fork.exp: new file.
5529 * gdb.hp/foll-vfork.c: new file.
5530 * gdb.hp/foll-vfork.exp: new file.
5531 * gdb.hp/inherit-hp.exp: new file.
5532 * gdb.hp/more-steps.exp: new file.
5533 * gdb.hp/namespace.cc: new file.
5534 * gdb.hp/namespace.exp: new file.
5535 * gdb.hp/optimize.exp: new file.
5536 * gdb.hp/pxdb.c: new file.
5537 * gdb.hp/pxdb.exp: new file.
5538 * gdb.hp/quicksort.exp: new file.
5539 * gdb.hp/reg-test.exp: new file.
5540 * gdb.hp/reg-test.s: new file.
5541 * gdb.hp/sized-enum.c: new file.
5542 * gdb.hp/sized-enum.exp: new file.
5543 * gdb.hp/start-stop.exp: new file.
5544 * gdb.hp/templ-hp.cc: new file.
5545 * gdb.hp/templ-hp.exp: new file.
5546 * gdb.hp/thr-lib.c: new file.
5547 * gdb.hp/thr-lib.exp: new file.
5548 * gdb.hp/thr-lib.h: new file.
5549 * gdb.hp/thr-liblib.c: new file.
5550 * gdb.hp/virtfun-hp.c: new file.
5551 * gdb.hp/virtfun-hp.exp: new file.
5552 * gdb.hp/watch-cmd.exp: new file.
5553 * gdb.hp/watch-hp.exp: new file.
5554 * gdb.hp/xdb1.exp: new file.
5555 * gdb.hp/xdb2.exp: new file.
5556 * gdb.hp/xdb3.exp: new file.
5557
5558 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5559
5560 The following files are part of the HP merge; some had longer
5561 names at HP, but have been renamed to be no more than 14
5562 characters in length.
5563
5564 * gdb.base/ss.h: new file.
5565 * gdb.base/call-ar-st.c: new file.
5566 * gdb.base/call-ar-st.exp: new file.
5567 * gdb.base/call-rt-st.c: new file.
5568 * gdb.base/call-rt-st-exp: new file.
5569 * gdb.base/call-strs.exp: new file.
5570 * gdb.base/ena-dis-br.exp: new file.
5571 * gdb.base/environ.exp: new file.
5572 * gdb.base/long_long.exp: new file.
5573 * gdb.base/sect-cmd.exp: new file.
5574 * gdb.base/shlib-cl2.exp: new file.
5575 * gdb.base/smoke.exp: new file.
5576 * gdb.base/so-impl-ld.c: new file.
5577 * gdb.base/so-impl-ld.exp: new file.
5578 * gdb.base/so-indr-cl.c: new file.
5579 * gdb.base/so-indr-cl.exp: new file.
5580 * gdb.base/varargs.exp: new file.
5581 * gdb.base/volatile.exp: new file.
5582 * gdb.base/whatis-exp.exp: new file.
5583 * gdb.base/display.exp: new file.
5584 * gdb.c++/derivation.exp: new file.
5585 * gdb.c++/local.exp: new file.
5586 * gdb.c++/member-ptr.exp: new file.
5587 * gdb.c++/overload.exp: new file.
5588 * gdb.c++/ovldbreak.exp: new file.
5589 * gdb.c++/ref-types.exp: new file.
5590 * gdb.c++/ref-types2.exp: new file.
5591 * gdb.c++/userdef.exp: new file.
5592
5593 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5594
5595 * gdb.base/default.exp: Reflect wording change in remote.c.
5596
5597 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
5598
5599 * gdb.base/help.exp: Update to reflect current text.
5600
5601 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5602
5603 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5604 they're stack variables and contain garbage.
5605 * gdb.c++/anon-union.exp: new file.
5606
5607 The following changes were made by David Taylor
5608 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5609 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5610 in changes by HP.
5611
5612 * gdb.base/bitops.exp: new file.
5613 * gdb.base/default.exp: change expected messages for catch and
5614 info catch tests to reflect HP merge changes.
5615 * gdb.base/enable-disable-break.exp
5616 * gdb.base/ending-run.c: new file.
5617 * gdb.base/long_long.c: new file.
5618 * gdb.base/maint.exp: new file.
5619 * gdb.base/pointers2.exp: new file.
5620 * gdb.base/shlib-call2.exp: new file.
5621 * gdb.base/solib.exp: new file.
5622 * gdb.base/step-test.c: new file.
5623 * gdb.c++/anon-union.cc: new file.
5624 * gdb.c++/local.cc: new file.
5625 * gdb.c++/member-pointer.cc: new file.
5626 * gdb.c++/method.cc: new file.
5627 * gdb.c++/ref-types.cc: new file.
5628 * gdb.c++/ref-types2.cc: new file.
5629 * gdb.c++/userdef.cc: new file.
5630
5631 * gdb.base/scope.exp: compile one file at a time, then link.
5632 * gdb.base/langs.exp: ditto.
5633 * gdb.base/list.exp: ditto.
5634
5635 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5636
5637 The following changes were made by David Taylor
5638 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5639 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5640 in changes by HP.
5641
5642 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5643 skip tests. When compiling pass c++ flag to gdb_compile.
5644 * gdb.c++/
5645
5646 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5647 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5648 (skip_hp_tests): new function.
5649 (gdb_preprocess): new function.
5650
5651 * configure.in (hpdir): decide whether to configure gdb.hp.
5652 * configure: regenerated.
5653
5654 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5655 to delete on clean.
5656 (EXECUTABLES): update to reflect new additions.
5657 * gdb.base/commands.exp: update message expected.
5658 * gdb.base/default.exp: add copyright notice.
5659 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5660 * gdb.base/help.exp: update messages to reflect current text.
5661 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5662 targets for recurse tests.
5663 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5664 skip this file.
5665
5666 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5667 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5668 compilation.
5669 * gdb.c++/misc.exp: ditto.
5670 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5671 run the tests. tell gdb_compile that it's a c++ compilation.
5672
5673 * gdb.threads/pthreads.exp: fix typo in message.
5674
5675 * gdb.base/all-bin.exp: new file.
5676 * gdb.base/arithmet.exp: new file.
5677 * gdb.base/assign.exp: new file.
5678 * gdb.base/completion.exp: new file.
5679 * gdb.base/cond-expr.exp: new file.
5680 * gdb.base/condbreak.exp: new file.
5681 * gdb.base/define.exp: new file.
5682 * gdb.base/dollar.exp: new file.
5683 * gdb.base/environment.exp: new file.
5684 * gdb.base/eval-skip.exp: new file.
5685 * gdb.base/jump.exp: new file.
5686 * gdb.base/logical.exp: new file.
5687 * gdb.base/pointers.exp: new file.
5688 * gdb.base/relational.exp: new file.
5689 * gdb.base/section_command.exp: new file.
5690 * gdb.base/whatis-expr.exp: new file.
5691
5692 * gdb.base/all-types.c: new file.
5693 * gdb.base/call-array-struct.c: new file.
5694 * gdb.base/call-return-struct.c: new file.
5695 * gdb.base/call-strings.c: new file.
5696 * gdb.base/callfuncs2.c: new file.
5697 * gdb.base/condbreak.c: new file.
5698 * gdb.base/constvars.c: new file.
5699 * gdb.base/display.c: new file.
5700 * gdb.base/int-type.c: new file.
5701 * gdb.base/jump.c: new file.
5702 * gdb.base/miscexprs.c: new file.
5703 * gdb.base/pointers.c: new file.
5704 * gdb.base/pointers2.c: new file.
5705 * gdb.base/shmain.c: new file.
5706 * gdb.base/shr1.c: new file.
5707 * gdb.base/shr2.c: new file.
5708 * gdb.base/solib.c: new file.
5709 * gdb.base/solib1.c: new file.
5710 * gdb.base/solib2.c: new file.
5711 * gdb.base/varargs.c: new file.
5712 * gdb.c++/derivation.cc: new file.
5713 * gdb.c++/overload.cc: new file.
5714 * gdb.c++/ovldbreak.cc: new file.
5715 * gdb.hp/attach.c: new file.
5716 * gdb.hp/attach2.c: new file.
5717 * gdb.hp/average.c: new file.
5718 * gdb.hp/compiler.c: new file.
5719 * gdb.hp/compiler.cc: new file.
5720 * gdb.hp/execd-program.c: new file.
5721 * gdb.hp/follow-exec.c: new file.
5722 * gdb.hp/follow-fork.c: new file.
5723 * gdb.hp/follow-vfork-and-exec.c: new file.
5724 * gdb.hp/misc-hp.cc: new file.
5725 * gdb.hp/more-steps.c: new file.
5726 * gdb.hp/optimize.c: new file.
5727 * gdb.hp/quicksort.c: new file.
5728 * gdb.hp/run-hp.c: new file.
5729 * gdb.hp/start-stop.c: new file.
5730 * gdb.hp/sum.c: new file.
5731 * gdb.hp/templates-hp.cc: new file.
5732 * gdb.hp/thread-local-in-lib.c: new file.
5733 * gdb.hp/thread-local-in-lib.h: new file.
5734 * gdb.hp/thread-local-in-lib.lib.c: new file.
5735 * gdb.hp/vforked-program.c: new file.
5736 * gdb.hp/virtfunc-hp.cc: new file.
5737 * gdb.hp/watchpoint-hp.c: new file.
5738 * gdb.hp/xdb.c: new file.
5739 * gdb.hp/xdb0.c: new file.
5740 * gdb.hp/xdb0.h: new file.
5741 * gdb.hp/xdb1.c: new file.
5742
5743 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
5744
5745 The following change was made by Edith Epstein
5746 <eepstein@cygnus.com> as part of a project to merge in changes
5747 originally made by HP; HP did not create ChangeLog entries.
5748
5749 * gdb.c++/demangle.exp: changed the expected output for some
5750 ARM-style mangling -- removed second reference to datatype.
5751 For example, maint demangle __dt__11T1__pt__2_cFv
5752 T1<char>::~T1<char>(void)
5753 becomes,
5754 maint demangle __dt__11T1__pt__2_cFv
5755 T1<char>::~T1(void)
5756
5757 (test_hp_style_demangling): new hp specific demangling test cases.
5758
5759 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
5760
5761 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
5762 * gdb.trace/backtrace.exp: Likewise.
5763 * gdb.trace/circ.exp: Likewise.
5764 * gdb.trace/collection.exp: Likewise.
5765 * gdb.trace/deltrace.exp: Likewise.
5766 * gdb.trace/infotrace.exp: Likewise.
5767 * gdb.trace/limits.exp: Likewise.
5768 * gdb.trace/packetlen.exp: Likewise.
5769 * gdb.trace/passc-dyn.exp: Likewise.
5770 * gdb.trace/passcount.exp: Likewise.
5771 * gdb.trace/report.exp: Likewise.
5772 * gdb.trace/save-trace.exp: Likewise.
5773 * gdb.trace/tfind.exp: Likewise.
5774 * gdb.trace/tracecmd.exp: Likewise.
5775 * gdb.trace/while-dyn.exp: Likewise.
5776 * gdb.trace/while-stepping.exp: Likewise.
5777
5778 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
5779
5780 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5781
5782 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
5783
5784 From Brendan Kehoe:
5785 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
5786 int return types.
5787
5788 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
5789
5790 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
5791 remote dos host testing right.
5792
5793 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
5794
5795 * gdb.base/corefile.exp: remove some xfails.
5796
5797 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
5798
5799 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
5800 have different timestamps.
5801
5802 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
5803
5804 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
5805 gdb.base/default.exp: Replace "exec" with "executable".
5806
5807 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
5808
5809 * gdb.base/default.exp: Change else if to elseif from previous
5810 delta.
5811
5812 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
5813
5814 * gdb.base/default.exp: Add brace missing from previous delta.
5815
5816 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
5817
5818 * gdb.base/default.exp: Support test for info float for all
5819 varieties of arm toolchain.
5820
5821 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
5822
5823 * gdb.trace/*.exp: remove "remote_download" command.
5824
5825 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
5826
5827 * gdb.trace/*.exp: remove -gdwarf from compile.
5828
5829 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
5830
5831 * gdb.trace/configure.in(AC_INIT): typo
5832 * gdb.trace/configure: regenerated
5833
5834 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
5835
5836 * config/m68k-emc.exp: New file.
5837 * lib/<emc-support.exp trace-support.exp}: New files.
5838 * configure.in: add new test directory gdb.trace.
5839 * gdb.trace/{configure configure.in Makefile.in}: New files.
5840 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
5841 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
5842 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
5843 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
5844 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
5845 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
5846 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
5847
5848 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
5849
5850 * gdb.c++/classes.exp: Change all regular expressions to match
5851 arbitrary combinations of newline/carriage-return, so that they
5852 will work equally well on Unix and Windows.
5853 * gdb.c++/inherit.exp: ditto.
5854 * gdb.c++/virtfunc.exp: ditto.
5855
5856 1998-08-11 Dawn Perchik <dawn@cygnus.com>
5857
5858 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
5859
5860 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
5861
5862 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
5863 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
5864 to use a0-a3/d0-d3 as needed.
5865
5866 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
5867
5868 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
5869 * gdb.disasm/am33.exp: Corresponding changes.
5870
5871 1998-07-11 Felix Lee <flee@cygnus.com>
5872
5873 * gdb.base/callfuncs.exp: add cmp10 test.
5874 * gdb.base/callfuncs.c (cmp10): new function.
5875
5876 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
5877
5878 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
5879 into two parts to get around a synchronization problem in expect.
5880
5881 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
5882
5883 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
5884
5885 * configure.in: Add options for gdbtk testsuite.
5886
5887 * configure: Regenerate.
5888
5889 * gdb.gdbtk: New directory to hold gdbtk tests.
5890
5891 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5892
5893 * gdb.fortran/types.exp: Escape brackets in expect patterns
5894 for test_float_literal_types_accepted tests.
5895 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
5896 before run test.
5897
5898 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
5899
5900 * am33.exp: Just compile, do not link the testcase.
5901 * am33.s: Add ".am33" pseudoop to force am33 mode.
5902
5903 1998-06-25 Felix Lee <flee@cygnus.com>
5904
5905 * gdb.base/setshow.exp: make sure $pc is sane.
5906
5907 * gdb.stabs/weird.exp: split expect patterns properly.
5908
5909 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
5910
5911 * gdb.disasm/am33.s: New disassembler testfile for the am33.
5912 * gdb.disasm/am33.exp: Run it.
5913
5914 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
5915
5916 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
5917 match processing (and eliminate spurious timeouts when running).
5918
5919 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
5920
5921 * gdb.base/signals.exp (test_handle_all_print): put back Mach
5922 exception test, but conditionalize it on target [mach | gnu].
5923
5924 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
5925
5926 * gdb.base/overlays.exp: fixup compile line for linker script.
5927
5928 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
5929
5930 * gdb.fortran/types.exp: don't guess at float size.
5931
5932 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
5933
5934 * gdb.base/exprs.exp: delete test that depends on int size.
5935
5936 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
5937
5938 * config/sim.exp: Removed checks for target triplets.
5939 (gdb_target_sim): Use gdb,target_sim_options.
5940
5941 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
5942
5943 * gdb.base/reread.exp: New file.
5944 * gdb.base/reread1.c: New file.
5945 * gdb.base/reread2.c: New file.
5946
5947 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
5948
5949 * config/sim.exp: Use 'target sim -sparclite' when running
5950 SPARClite programs.
5951
5952 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
5953
5954 * gdb.base/structs2.exp: New file.
5955 * gdb.base/structs2.c: New file.
5956
5957 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
5958
5959 * gdb.asm/common.inc: New file.
5960 * gdb.asm/d10v.inc: New file.
5961 * asm-source.exp: Pass -I's to gas to find .inc files.
5962 Update line numbers in expected output.
5963 * asmsrc1.s: Rewrite.
5964 * asmsrc2.s: Rewrite.
5965 * configure.in: Create arch.inc symlink.
5966 * configure: Regenerate.
5967 * Makefile.in (distclean): Delete arch.inc.
5968
5969 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5970
5971 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5972 (t_enum_value2): ditto
5973 (t_enum_value3): ditto
5974 (main): ditto
5975 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5976
5977 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5978 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5979 change.
5980 Use gdb_test instead of send_gdb/gdb_expect sequences.
5981
5982 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5983
5984 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5985 not void.
5986
5987 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5988
5989 * gdb.base/branches.c: Code with lots of loops and
5990 subroutines. Used to test gdbs ability to single step through PC
5991 changes, especially to test mips-tdep.c:mips_next_pc
5992
5993 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5994
5995 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5996 more rigorous EGCS C++ error checking.
5997
5998 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5999
6000 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6001 tests.
6002 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6003 function when asleep.
6004 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6005 for i*86 Linux and SVR4 signal handling problems.
6006 Remove linux xfail for `next to handler in signals_tests_1', fixed
6007 by recent infrun.c change.
6008 Limit backtrace to 10 frames to avoid timeout problems with infinite
6009 stack backtraces.
6010 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6011 target.[ch] change.
6012
6013 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6014
6015 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6016 for a newline from gdb before continuing.
6017 (default_gdb_exit): Just look for y or n.
6018 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6019 it does, fail the rests of the tests in the file.
6020
6021 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6022
6023 * config/cygmon.exp: New file.
6024
6025 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6026
6027 * gdb.base/list.exp: Fix problem with "list default lines around
6028 main" test on remote targets.
6029
6030 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6031 run test on remote targets.
6032
6033 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6034
6035 * gdb.asm: New directory.
6036 * configure.in: Configure it.
6037 * configure: Regenerate.
6038 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6039 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6040
6041 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6042
6043 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6044
6045 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
6046
6047 * gdb.base/overlays (several files): Merge the two overlay
6048 managers into one. Change variables (foox, barx, bazx, grbxx)
6049 back into ints but force them to load in their proper sections.
6050
6051 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6052
6053 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6054 on-chip insn memory and IMAP1 to upper 128k.
6055 (D10VCopy): Handle memory regions crossing 16k boundaries.
6056 (D10VCopy): Transfer data in 32 bit chunks.
6057
6058 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6059
6060 * gdb.base/overlays.c (main): Exit normally when result is
6061 correct.
6062
6063 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6064 map. Include space for printf in .text segment.
6065
6066 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6067 updated d10v memory VMA/LMA map.
6068 (D10VCopy): Call D10VTranslate.
6069
6070 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6071
6072 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6073
6074 * gdb.base/bar.c (barx, bar): Change variable to small array so
6075 that it won't be put into the .sdata - small data -
6076 section. Update reference.
6077 * gdb.base/baz.c (bazx, baz): Ditto.
6078 * gdb.base/foo.c (foox, foo): Ditto.
6079 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6080
6081 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6082 to be arrays.
6083
6084 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
6085
6086 * gdb.base/overlays.exp: fix up and get working again.
6087 Add tests for backtraces from an overlay function.
6088
6089 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6090
6091 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6092 "calling function with watchpoint enabled".
6093
6094 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6095
6096 * gdb.base/break.exp (test_next_with_recursion): Remove
6097 gdb_suppress_tests for d10v-*-*.
6098 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6099 pending review of whether it is useful or not.
6100
6101 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6102
6103 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6104
6105 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6106
6107 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6108 * config/dve.exp: New file to support Densan boards.
6109
6110 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6111
6112 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6113 reads and BSD.
6114
6115 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6116
6117 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6118 response.
6119
6120 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6121
6122 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6123
6124 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6125 test.
6126
6127 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6128 target_sizeof_long and target_bigendian_p.
6129 (structs_by_value, structs_by_reference): Check values according
6130 to targets word size and endianess.
6131
6132 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6133
6134 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6135 output.
6136
6137 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6138
6139 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6140 Update test of set args help to match source change.
6141
6142 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6143
6144 * gdb.base/default.exp: Expect help system output to be in
6145 alphabetical order.
6146 * gdb.base/help.exp: Ditto.
6147
6148 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6149
6150 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6151 "i*86-pc-linux-gnu*".
6152 * gdb.base/interrupt.exp: Ditto.
6153 * gdb.base/corefile.exp: Ditto.
6154
6155 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6156 define vxworks when building the testcase.
6157
6158 * gdb.base/ptype.exp: Fix testnames to be unique.
6159 * gdb.base/radix.exp: Ditto.
6160 * gdb.base/term.exp: Ditto.
6161 * gdb.base/whatis.exp: Ditto.
6162 * gdb.c++/classes.exp: Ditto.
6163
6164 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6165
6166 * gdb.base/callfuncs.exp: Fix indentation.
6167
6168 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6169 suppress_flag has been set.
6170 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6171 target feature.
6172
6173 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6174
6175 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6176 the testcase.
6177
6178 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6179 set_debug_traps() and breakpoint().
6180 * gdb.c++/misc.cc (main): Ditto.
6181 * gdb.c++/templates.cc (main): Ditto.
6182 * gdb.c++/virtfunc.cc (main): Ditto.
6183
6184 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6185
6186 * lib/gdb.exp(gdb_step_for_stub): New function.
6187 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6188 exists, reload the executable and do a "continue" instead of
6189 doing a jump.
6190 (runto_main): Use gdb_step_for_stub.
6191
6192 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6193 tests to have unique names.
6194 * gdb.base/callfuncs.exp: Ditto.
6195 * gdb.base/commands.exp: Ditto.
6196 * gdb.base/default.exp: Ditto.
6197 * gdb.base/help.exp: Ditto.
6198 * gdb.base/list.exp: Ditto.
6199 * gdb.base/opaque.exp: Ditto.
6200 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6201 similar tests.
6202
6203 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6204 * gdb.c++/cplusfuncs.cc: Ditto.
6205 * gdb.c++/virtfunc.cc: Ditto.
6206
6207 * config/monitor.exp: Keep track of the last file we saw, rather
6208 than trying to get the info from gdb.
6209
6210 * gdb.fortran/types.exp: Move comment to previous line.
6211
6212 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6213
6214 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6215 target mode.
6216
6217 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6218
6219 From Bob Manson:
6220 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6221 string from GDB when it connects.
6222
6223 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6224
6225 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6226
6227 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6228 if we can't get a debug format from GDB (we may be testing an
6229 older GDB). Use a 10 second timeout when checking for the format.
6230
6231 * gdb.stabs/weird.exp: Fix quoting.
6232
6233 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6234
6235 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6236
6237 * config/arm-ice.exp: New file.
6238
6239 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6240
6241 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6242 until it has been modified to work with the new testsuite.
6243
6244 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6245 testcase won't compile, cause all of the testcases in the file to
6246 fail instead.
6247
6248 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6249 (gdb_clear_suppressed): New procedure.
6250 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6251 it contains a positive value.
6252
6253 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6254
6255 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6256
6257 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6258
6259 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6260
6261 * lib/gdb.exp (setup_xfail_format): New function.
6262 (get_debug_format): New function to get debug format.
6263 (debug_format): New global variable to hold last value set
6264 by get_debug_format.
6265 * gdb.base/list.exp: Call get_debug_format and expect some
6266 tests to fail for DWARF 1 and COFF formats.
6267 * gdb.c++/ptype.exp: Ditto.
6268 * gdb.c++/classes.exp: Ditto.
6269 * gdb.c++/cplusfuncs.exp: Ditto.
6270 * gdb.c++/inherit.exp: Ditto.
6271 * gdb.c++/templates.exp: Ditto.
6272 * gdb.c++/virtfunc.exp: Ditto.
6273
6274 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6275
6276 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6277 host doesn't have a currently-open connection.
6278
6279 * config/sparclet.exp: Cleanups and fixes to make it generic for
6280 any gdb stub target. Handle cases where gdb doesn't respond when
6281 interrupted in a sane fashion.
6282
6283 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6284 same thing in a totally different way.
6285
6286 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6287 setting "timeout".
6288 (gdb_start): We set the global gdb_prompt variable in
6289 default_gdb_init now.
6290
6291 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6292
6293 * gdb.base/printcmds.exp: Fix "check for floating addition"
6294 regexp to accept results within approx +/- .01 of exact value.
6295 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6296
6297 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6298
6299 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6300 properly.
6301 (gdb_expect): Add optional timeout parameter, and add timeout
6302 value to various calls.
6303 (gdb_suppress_tests): Only give one warning message per group.
6304
6305 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6306
6307 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6308 global variables. Handle getting a value for $timeout more
6309 gracefully.
6310
6311 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6312
6313 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6314 initialize.
6315 (default_gdb_init): New procedure; allow gdb_init to be overridden
6316 by a target configuration file.
6317 (gdb_expect): Pass the timeout to remote_expect.
6318
6319 * config/monitor.exp(gdb_load): Fix typo in regexp.
6320
6321 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6322
6323 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6324
6325 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6326
6327 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6328 here. Call gdb_target_exec before rebooting the target, to make
6329 sure the connection to the target is closed.
6330 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6331 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6332 Also detect "Timeout reading from remote" error.
6333
6334 * config/gdbserver.exp: Pass the executable being loaded to
6335 gdb_target_monitor. Don't call gdb_file_cmd here; let
6336 gdb_target_monitor do it.
6337
6338 * gdb.disasm/hppa.exp: Don't use exec_output.
6339
6340 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6341
6342 * gdb.base/list.exp: If we're debugging a non-native target,
6343 try to set the pc register to point to the start of the
6344 program before doing the first list command.
6345
6346 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6347 test_calls after restarting.
6348
6349 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6350 reloading.
6351
6352 * gdb.base/watchpoint.exp: Fix typo.
6353
6354 * gdb.base/setshow.exp: Check for use_gdb_stub.
6355
6356 * gdb.base/break.exp: Fix continue until exit test for the gdb
6357 stub case.
6358 * gdb.base/langs.exp: Ditto.
6359
6360 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6361 gdb_load_offset. If we weren't given a file to load, figure out
6362 what the current file is and use it.
6363
6364 * config/i386-bozo.exp: New file.
6365
6366 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6367
6368 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6369 feature.
6370
6371 * config/proelf.exp: New entry.
6372
6373 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6374
6375 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6376 of regexps.
6377
6378 * gdb.base/watchpoint.exp: Don't run the test_stepping
6379 tests if gdb can't call functions on the target.
6380
6381 * gdb.base/setshow.exp: Don't run the set prompt tests if
6382 the board has gdb_prompt set.
6383
6384 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6385
6386 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6387 * gdb.base/commands.exp: Likewise.
6388 * gdb.base/setshow.exp: Likewise.
6389
6390 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6391
6392 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6393 feature.
6394
6395 * config/i960.exp: New file.
6396
6397 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6398
6399 * gdb.base/funcargs.exp: Check for gdb,short_int target
6400 feature instead of looking for explicit target triplets.
6401
6402 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
6403
6404 * gdb.base/printcmds.exp: add a couple more tests a la
6405 "p 123DEADBEEF", to check parse_number.
6406 * top.c: change "to enable to enable" to "to enable" in a couple
6407 of help strings.
6408
6409 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6410
6411 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6412 on the mn10300.
6413
6414 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6415
6416 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6417 where the test executable is run with explicit args.
6418 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6419
6420 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6421
6422 * gdb.base/run.c: Use FAKEARGV to build test executable that
6423 does not require a command line arg, since most simulators
6424 don't currently support passing such an arg into the simulated
6425 program.
6426 * gdb.base/commands.exp: Change tests to insert the proper
6427 value as the arg to the first recursive factorial call. Change
6428 compilation line to define FAKEARGV at compile time.
6429
6430 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6431
6432 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6433 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6434 function with watchpoint enabled" test.
6435
6436 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6437
6438 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6439 Don't call gdb_test when the command doesn't return to a gdb prompt.
6440
6441 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6442 "Tests restarted" messages.
6443
6444 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6445
6446 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6447
6448 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
6449
6450 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6451 for INFO SYMBOL; add help tests for OVERLAY commands.
6452 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6453 add tests for OVERLAY commands
6454 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6455 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6456 * gdb.base/sigall.c: add usestubs code frag
6457 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
6458
6459 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6460
6461 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6462 failures.
6463 (gdb_stop_suppressing_tests): Note that tests have restarted.
6464
6465 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6466
6467 * config/h8300.exp: New file.
6468
6469 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6470
6471 * gdb.base/setshow.exp: Check for the existence of a
6472 feature, not its value.
6473
6474 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6475
6476 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6477
6478 * gdb.base/scope.exp: It's now init0(), not init().
6479
6480 * gdb.base/scope0.c: For now, change init() to be init0().
6481
6482 * config/monitor.exp: Use gdb_serial in preference to serial
6483 or netport.
6484
6485 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6486 and it's not already set.
6487
6488 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6489
6490 * gdb.base/setshow.exp: Only test the run command if the target
6491 isn't using a stub and if it supports argument passing.
6492
6493 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6494
6495 * config/udi.exp(gdb_start): Make sure UDICONF is set
6496 properly before starting gdb.
6497
6498 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6499
6500 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6501 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6502 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6503
6504 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6505
6506 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6507 specialized code to reboot the board, use remote_reboot instead.
6508
6509 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6510
6511 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6512
6513 * config/monitor.exp: Make sure we disconnect from the target.
6514 Also, try a reboot/reload cycle instead of failing if the
6515 load fails.
6516
6517 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6518
6519 * gdb.base/default.exp: Don't set match_max.
6520 * gdb.base/help.exp: Ditto.
6521 * gdb.base/list.exp: Ditto.
6522 * gdb.base/signals.exp: Ditto.
6523
6524 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6525 set, use remote_ld to download the testcase instead of
6526 the GDB loader.
6527
6528 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6529
6530 * config/vr5000.exp: New file.
6531
6532 * config/monitor.exp(gdb_target_monitor): Add pattern for
6533 "Ending remote" to detect errors in connecting.
6534
6535 * gdb.base/setshow.exp: Add .* within auto language test.
6536
6537 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6538 target feature.
6539
6540 * config/monitor.exp(gdb_load): Check for a failure when loading,
6541 and reboot the board if necessary.
6542
6543 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6544 a set of tests. Remove print.* from the patterns being checked.
6545
6546 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6547
6548 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6549 refer to gdb_spawn_id.
6550
6551 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6552 longer used.
6553 * config/sparclet.exp: Ditto.
6554 * config/sparclet-old.exp: Ditto.
6555 * config/slite.exp: Ditto.
6556 * config/sim.exp: Ditto.
6557 * gdb.base/funcargs.exp: Ditto.
6558
6559 * lib/gdb.exp:Remove references to gdb_spawn_id.
6560 (gdb_expect): Move to remote.exp.
6561
6562 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6563
6564 * config/monitor.exp: Detect the "Couldn't establish connection"
6565 message from GDB.
6566
6567 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6568
6569 * gdb.base/bitfields.exp: Use runto instead of explicit
6570 gdb_run_cmd/gdb_expect sequences.
6571
6572 * gdb.base/break.exp(text_next_with_recursion): Add match for
6573 gdb_expect call.
6574
6575 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6576 We also need to handle the "A program is being debugged already"
6577 prompt from gdb. Use gdb_test to set the baud rate.
6578
6579 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6580 to 20000. Really. I mean it.
6581
6582 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6583
6584 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6585 fails. If suppress_flag is set, skip perror message about not
6586 being able to send to GDB.
6587 (send_gdb): If suppress_flag is set, don't try to send commands to
6588 GDB.
6589 (gdb_expect): If suppress_flag is set, always fail immediately.
6590 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6591 (gdb_init): Call gdb_stop_suppressing_tests.
6592 (default_gdb_exit): Ditto.
6593 (default_gdb_start): Ditto.
6594
6595 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6596 gdb_stop_suppressing_tests as appropriate.
6597 * gdb.base/break.exp: Ditto.
6598 * gdb.base/callfuncs.exp: Ditto.
6599 * gdb.base/commands.exp: Ditto.
6600 * gdb.base/exprs.exp: Ditto.
6601 * gdb.base/funcargs.exp: Ditto.
6602 * gdb.base/list.exp: Ditto.
6603 * gdb.base/recurse.exp: Ditto.
6604 * gdb.base/scope.exp: Ditto.
6605 * gdb.base/structs.exp: Ditto.
6606 * gdb.c++/inherit.exp: Ditto.
6607
6608 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6609
6610 * config/vr4300.exp: New file.
6611
6612 * gdb.*/*.exp: Call gdb_expect instead of expect.
6613
6614 * lib/gdb.exp(gdb_expect): New function.
6615
6616 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6617
6618 * lib/gdb.exp(gdb_init): New function.
6619
6620 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6621 for each individual variable set.
6622
6623 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6624 name.
6625
6626 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6627
6628 * gdb.base/scope.exp: Use gdb_test.
6629
6630 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6631 aborting; the testsuite driver will do that for us (see
6632 gdb_finish). Also, use gdb_test in a few more places.
6633
6634 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6635
6636 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6637
6638 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6639
6640 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6641 and "add_tests" are not at the same address.
6642
6643 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6644
6645 * gdb.base/ptype.exp: Use gdb_test.
6646
6647 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6648
6649 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6650 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6651 left in. No longer expect them to fail.
6652
6653 * gdb.stabs/*.mt; Deleted, no longer used.
6654 * gdb.stabs/configure.in: Remove references to target makefile
6655 frags.
6656 * gdb.stabs/configure: Rebuilt.
6657
6658 * gdb.disasm/*.mt: Deleted, no longer used.
6659 * gdb.disasm/configure.in: Remove references to target makefile
6660 frags. Use "sh3.s" as the unique filename for this directory.
6661 * gdb.disasm/configure: Rebuilt.
6662
6663 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6664 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6665 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6666
6667 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6668
6669 * config/udi.exp: Use mondfe,name instead of remote_host.
6670
6671 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6672
6673 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6674 a function with a watchpoint enabled on the mn10200.
6675
6676 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6677 before trying to create it!
6678
6679 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6680
6681 * config/vx.exp: Use hostname instead of netport.
6682
6683 * config/vxworks.exp: New file.
6684
6685 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6686
6687 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6688 gdb before assuming everything worked. Send a ^C if a timeout
6689 occurs.
6690
6691 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6692 $gdb_spawn_id directly.
6693 (gdb_run_cmd): Try _start as well as start. Use the target feature
6694 gdb,start_symbol as the symbol to start from when jumping.
6695
6696 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6697
6698 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6699 redundant) test.
6700
6701 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6702 it doesn't lose for 16bit integer systems.
6703
6704 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6705
6706 * gdb.fortran/types.exp: If the target doesn't support "double"
6707 data types, then expect "real" types to only be 4 bytes.
6708
6709 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6710 call tests if the target doesn't support inferior function calls.
6711
6712 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6713 in printf tests.
6714
6715 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6716
6717 * gdb.base/help.exp: Disable "help set", "help show", and
6718 "help support". Simplify regexp for "help stack".
6719
6720 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6721 to 60 seconds. Temporarily set match_max to 15000 around the
6722 "info copying" test.
6723
6724 * gdb.base/nodebug.exp: Don't try to do an inferior function
6725 call if the target doesn't support them.
6726 * gdb.base/printcmds.exp: Likewise.
6727 * gdb.base/setvar.exp: Likewise.
6728 * gdb.base/structs.exp: Likewise.
6729 * gdb.c++/templates.exp: Likewise.
6730 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
6731
6732 * gdb.base/recurse.exp: Enable for the mn10200.
6733
6734 * configure.in: Do configure gdb.stabs directory for *-*-elf
6735 targets.
6736 * configure: Rebuilt.
6737
6738 * gdb.base/break.exp: Check for gdb,noresults before testing
6739 exit status and/or results from the target.
6740 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
6741 * lib/gdb.exp: Remove old (now bogus) initialization of
6742 noinferior, noargs, noresults and nosignals.
6743
6744 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
6745
6746 * config/sh.exp: New file.
6747
6748 * config/slite.exp: Try to connect multiple times to the board
6749 before rebooting. Only send a "monitor run" if need_monitor_run
6750 is set.
6751
6752 * gdb.base/break.exp: Don't do the "stub continue" test if
6753 the target has gdb_stub set.
6754
6755 * gdb.base/callfuncs.exp: Increase the timeout.
6756
6757 * gdb.base/interrupt.exp: Don't even try to compile the testcase
6758 if the target has gdb,noinferiorio set.
6759
6760 * gdb.base/list.exp: Increase match_max to 10000 characters.
6761
6762 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
6763
6764 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
6765 target.
6766
6767 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
6768
6769 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
6770
6771 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
6772 trying to delete the copy of gdb. Catch the file delete so we
6773 don't die if the delete fails; also, the file should be copied to
6774 the host, not to the build.
6775
6776 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
6777
6778 * lib/gdb.exp(gdb_test): Surround the result pattern with
6779 parenthesis in case it contains multiple regexps separated
6780 with |.
6781
6782 * gdb.base/watchpoint.exp: Use gdb_test.
6783 * gdb.base/default.exp: Ditto.
6784
6785 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
6786
6787 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
6788
6789 * gdb.base/scope.exp: Use gdb_test.
6790 * gdb.c++/classes.exp: Ditto.
6791 * gdb.c++/inherit.exp: Ditto.
6792
6793 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
6794
6795 * gdb.base/crossload.exp: Don't use execute_anywhere, use
6796 remote_exec instead.
6797 * gdb.base/corefile.exp: Don't be ridiculous.
6798 * gdb.base/*.c: Add missing stub invocations.
6799
6800 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
6801
6802 * config/slite.exp: Miscellaneous fixes.
6803
6804 * lib/gdb.exp: Fix runto.
6805
6806 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
6807 the target.
6808
6809 * gdb.base/watchpoint.exp: Fix regexp.
6810
6811 * lib/gdb.exp(default_gdb_exit): Add a catch to the
6812 close and wait commands, as the descriptor may now be
6813 invalid. Always call "remote_close host".
6814
6815 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
6816
6817 Major rewrite for testsuite revision.
6818
6819 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
6820 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
6821 instead of relying on spawn_id to always contain a valid
6822 spawn id.
6823 (get_compiler_info): New procedure to build the ${binfile}.ci
6824 file, instead of replicating this in N different places.
6825 (gdb_compile): New procedure.
6826
6827 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
6828 appropriate arguments) instead of compile. Use gdb_test in a lot
6829 more places. Use send_gdb instead of send. Always run gdb_start
6830 at the start of a testcase, as this is no longer done magically.
6831
6832 config/*-gdb.exp: Rename without the -gdb suffix.
6833
6834 config/mips.exp: Use remote_close instead of exit_remote_shell.
6835 config/monitor.exp: Use target_info instead of looking at
6836 baud, timeout, etc.
6837 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
6838
6839 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6840
6841 * gdb.c++/templates.exp (test_ptype_of_templates),
6842 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
6843 Update expect patterns for destructors and assignment operators
6844 to match corresponding c-typeprint.c changes.
6845 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
6846 to destructor breakpoint test, GDB should be able to set the
6847 destructor breakpoint without specifying arguments.
6848
6849 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
6850
6851 * gdb.threads/pthreads.exp: Change result for failure to compile due
6852 to lack of pthreads runtime support from an error to simply an
6853 unsupported test, per dejagnu standards.
6854
6855 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6856
6857 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
6858 where GDB exits to reduce pattern match time.
6859 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
6860
6861 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
6862
6863 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
6864
6865 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
6866 * gdb.base/default.exp: ditto.
6867 * gdb.base/nodebug.exp: ditto.
6868 * gdb.base/printcmds.exp: ditto.
6869 * gdb.base/ptype.exp: ditto.
6870 * gdb.base/setvar.exp: ditto.
6871 * gdb.base/structs.exp: ditto.
6872 * gdb.base/setshow.c: Guard against uninitialized values of argc.
6873
6874 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
6875
6876 * configure, */configure: Rebuild with autoconf 2.12.
6877
6878 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
6879
6880 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
6881 use new i*86-pc-linux*-gnu quads.
6882 * gdb.base/corefile.exp: Ditto.
6883 * gdb.base/signals.exp: Ditto.
6884 * gdb.base/sigall.exp: Ditto.
6885 * gdb.base/interrupt.exp: Ditto.
6886
6887 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
6888 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
6889 RedHat 4.0.
6890
6891 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
6892 linux. This allows the test case to at least compile on latest
6893 linux, but still not run due to missing the threads runtime library.
6894
6895 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6896
6897 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
6898 directory to search gdb directory. Accept and step over conditional
6899 stack alignment code. Consume $prompt in failure cases.
6900 Reset timeout to $oldtimeout instead of some arbitrary value.
6901 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
6902 timeout problems with infinite stack backtraces.
6903 * gdb.base/ptype.exp (ptype struct link, union tu_link):
6904 Accept function parameters for linkfunc member.
6905
6906 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
6907
6908 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
6909 (CXXFLAGS): Remove, unreferenced.
6910 (B_OPTIONS): Add for -B options and add code to initialize with
6911 previous -B options and also add -B option to pick up cross compiled
6912 runtime.
6913 (TARGET_INCLUDES): Add for -I options and add code to initialize when
6914 doing cross compiles.
6915 (target_alias): Declare global.
6916 (xgcc): Set variable to full path of gcc in build tree. Use findfile
6917 to verify that gcc exists in build tree, and if so set CC to that
6918 gcc and to use B_OPTIONS and TARGET_INCLUDES.
6919
6920 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
6921
6922 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
6923 ptype test for anonymous union. Fixup testcase to match
6924 current gcc debug output.
6925
6926 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
6927
6928 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
6929 force argument to an unsigned long type.
6930
6931 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
6932
6933 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
6934 tests and anonymous union print/ptype tests.
6935 * gdb.base/list.exp (test_forward-search): Increase timeout by
6936 5 minutes for the "search extremely long line" case.
6937 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
6938 completely optional and that the pass/fail messages use the command as
6939 the message if that third arg is a null string.
6940 (gdb_test_exact): Arrange that a null string pattern means match a
6941 null string output rather than any output, which might include random
6942 errors.
6943 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
6944 backtrace test.
6945 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
6946 always failing and failure is now exposed by gdb.exp changes.
6947
6948 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
6949
6950 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
6951 weren't being noted.
6952
6953 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6954
6955 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
6956 * gdb.stabs/weird.exp: Remove v_comb xfails.
6957
6958 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
6959
6960 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6961 list.exp scope.exp watchpoint.exp]
6962 Make all timeout error msgs explicitly say "(timeout)".
6963
6964 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
6965
6966 * config/monitor.exp: Increase download timeout to 1000 seconds.
6967
6968 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
6969
6970 * config/m32r.exp: Increase timeout to 120 seconds.
6971
6972 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6973
6974 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6975 and accept older ordering as obsolescent gcc or gdb.
6976 * gdb.c++/templates.exp: Ditto.
6977 * gdb.c++/virtfunc.exp: Ditto.
6978
6979 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6980
6981 * gdb.base/coremaker.c: Add code to mmap some data so we
6982 can check that it ends up in the core file.
6983 * gdb.base/corefile.exp: Add test to read mmapped data
6984 from core file.
6985
6986 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
6987
6988 * config/m32r.exp: New file.
6989
6990 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6991
6992 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6993 that cflags can contains -gstabs, and work correctly for other tests.
6994
6995 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
6996
6997 * gdb.base/setshow.exp: New file, tests show and set.
6998 * gdb.base/setshow.c: New file, tests show and set.
6999 * gdb.base/help.exp: Add test for help set|show annotate.
7000 * gdb.base/default.exp: Add test for set|show annotate.
7001
7002 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7003
7004 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7005 errors unique.
7006 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7007 explicitly.
7008
7009 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7010
7011 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7012 and width commands. This is done elsewhere.
7013 * (gdb_start): Don't call gdb_start_sim here. That's already
7014 done in gdb_load. This fixes lots of failures in default.exp.
7015
7016 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7017
7018 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7019 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7020 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7021 in the same we we treat other failures (since it may be an expected
7022 condition), rather than as an error.
7023 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7024 old test format.
7025
7026 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7027
7028 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7029 (distclean maintainer-clean realclean): No need to remove files
7030 twice. Nuke the duplicates.
7031 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7032 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7033 Remove config.h along with other config files.
7034
7035 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7036
7037 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7038 "p func1 ()" and note that rests of tests are skipped.
7039 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7040 setup_xfails for "print func2::coremaker_local".
7041 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7042 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7043 affected by the previous run test.
7044 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7045 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7046 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7047 "pass int powerset tuple" and "pass modeless int powerset tuple".
7048 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7049 "real write 4" and "real write 8".
7050 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7051 setup_xfails for "print vs1 after tuple assign 2",
7052 "print \$i after tuple assign 2", and
7053 "print vs2 after tuple assign 2".
7054 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7055 meaningful error message and return -1 so the caller can
7056 suppress further tests and avoid a cascade of errors.
7057
7058 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7059
7060 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7061 format for printing version.
7062 * gdb.base/default.exp: Ditto.
7063 * gdb.base/interrupt.exp: Fix problem with cascade of
7064 errors if child process dies while calling a function.
7065
7066 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7067
7068 * Makefile.in (VPATH): Add
7069 * Makefile.in (Makefile, config.status): Fix rules so things get
7070 remade when necessary.
7071
7072 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7073
7074 * Makefile.in (just-check): Add path to sibling expect dir
7075 to environment variable specified by RPATH_ENVVAR.
7076
7077 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7078
7079 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7080 (just-check): Add shared library paths for libstdc++, tk,
7081 tcl, bfd, and opcodes to the environment variable specified
7082 in RPATH_ENVVAR.
7083 * configure.in: Add support to recognize --enable-shared flag
7084 and generate correct value for RPATH_ENVVAR.
7085 * configure: Regenerated with autoconf.
7086
7087 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7088
7089 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7090 include all osf versions.
7091 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7092 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7093 when target is linux. When failing to build pthreads test
7094 executable, give more meaningful message.
7095 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7096 arg for pthread_create.
7097
7098 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7099
7100 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7101 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7102 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7103 and -lpthreads (everybody else).
7104 (test_startup): Fail gracefully if threads are not supported.
7105 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7106 "p/c array_index("abcdef",2)" when not gcc compiled.
7107 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7108 "print func2::coremaker_local" when not gcc compiled.
7109 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7110 "ptype on opaque struct tagname (statically)",
7111 "ptype on opaque struct tagname (dynamically) 1", and
7112 "ptype on opaque struct tagname (dynamically) 2"
7113 for not compiled with gcc.
7114 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7115 backtrace when compiled with gcc.
7116 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7117 than always return success.
7118
7119 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7120
7121 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7122
7123 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7124
7125 * gdb.base/structs.exp: Undo last change.
7126
7127 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7128
7129 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7130 encapsulate all the steps/nexts done during self test, starting
7131 at main, and makes them less sensitive to optimization issues.
7132 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7133 signal handler" test.
7134 * gdb.threads/pthreads.exp: Only run this for native configs.
7135 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7136 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7137 tests.
7138 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7139 for "runto test_calls(void)" test.
7140
7141 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7142
7143 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7144 and don't expect address info in breakpoint confirmations.
7145
7146 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7147
7148 * gdb.base/list.exp (test_forward_search): Increase timeout
7149 temporarily by 60 seconds for searching extremely long line,
7150 and then reset to old value when done. Increase expect input
7151 buffer to 10000.
7152
7153 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7154
7155 * gdb.base/list.exp (test_forward_search): Fix to handle very
7156 long source line without overflowing expect's input buffer.
7157
7158 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7159
7160 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7161 "buffer_full".
7162
7163 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7164 "buffer_full".
7165
7166 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7167 "buffer_full".
7168
7169 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7170 "buffer_full".
7171
7172 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7173
7174 * configure.in (configdirs): Add gdb.threads.
7175 * configure: Regenerated with autoconf.
7176 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7177 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7178 * gdb.threads/configure: New, generated with autoconf.
7179
7180 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7181
7182 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7183
7184 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7185
7186 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7187 each signal's status in the output of "handle all print".
7188 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7189 the \r\n sequence that immediately precedes the gdb prompt.
7190 * gdb.base/a1-selftest.exp: Save original timeout and restore
7191 after test.
7192
7193 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7194
7195 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7196 symbol.
7197
7198 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7199
7200 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7201
7202 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7203
7204 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7205 timeout by 60 seconds.
7206
7207 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7208
7209 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7210 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7211 error return.
7212
7213 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7214
7215 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7216 gdb initialization, also report how long dejagnu waited. Restore
7217 old timeout before doing error return. Temporarily increase timeout
7218 by 3 minutes to allow for slow startups over heavy NFS use.
7219
7220 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7221
7222 * lib/gdb.exp: Report timeout value for verbosity level 2.
7223 * config/gdbserver.exp: Ditto.
7224 * config/hppro.exp: Ditto.
7225 * config/mips-gdb.exp: Ditto.
7226 * config/monitor.exp: Ditto.
7227 * config/netware.exp: Ditto.
7228 * config/sim-gdb.exp: Ditto.
7229 * config/slite-gdb.exp: Ditto.
7230 * config/udi-gdb.exp: Ditto.
7231 * config/unix-gdb.exp: Ditto.
7232 * config/vx-gdb.exp: Ditto.
7233 * gdb.base/a1-selftest.exp: Ditto.
7234 * gdb.base/a2-run.exp: Ditto.
7235 * gdb.base/break.exp: Ditto.
7236 * gdb.base/corefile.exp: Ditto.
7237 * gdb.base/list.exp: Ditto.
7238 * gdb.base/recurse.exp: Ditto.
7239 * gdb.base/scope.exp: Ditto.
7240 * gdb.base/signals.exp: Ditto.
7241
7242 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7243
7244 * gdb.threads/Makefile.in (docdir): Removed.
7245
7246 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7247
7248 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7249 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7250 @srcdir@.
7251 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7252 autoconf 2.5 or higher.
7253 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7254
7255 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7256
7257 * configure: Regenerated.
7258 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7259 avoid name clashes with SunOS headers.
7260
7261 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7262
7263 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7264
7265 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7266
7267 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7268 prototype information ends up in the compiler info file.
7269
7270 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7271
7272 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7273 attempting to regenerate it. Eliminate use of a temporary file
7274 and just generate the info file directly. Source it immediately,
7275 for consistency of use.
7276 * gdb.base/corefile.exp: Ditto
7277 * gdb.base/exprs.exp: Ditto.
7278 * gdb.base/funcargs.exp: Ditto.
7279 * gdb.base/langs.exp: Ditto.
7280 * gdb.base/list.exp: Ditto.
7281 * gdb.base/mips_pro.exp: Ditto.
7282 * gdb.base/nodebug.exp: Ditto.
7283 * gdb.base/opaque.exp: Ditto.
7284 * gdb.base/ptype.exp: Ditto.
7285 * gdb.base/scope.exp: Ditto.
7286 * gdb.base/setvar.exp: Ditto.
7287 * gdb.base/signals.exp: Ditto.
7288 * gdb.base/whatis.exp: Ditto.
7289 * gdb.c++/templates.exp: Ditto.
7290 * gdb.c++/virtfunc.exp: Ditto.
7291 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7292 whether or not to add -lstdc++ to the compile command line args.
7293
7294 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7295
7296 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7297 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7298 Increase timeout, a lot of single stepping might be needed if the
7299 target has no hardware watchpoints.
7300
7301 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7302
7303 * gdb.base/break.exp: Ignore compiler warnings when compiling
7304 break.c.
7305 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7306 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7307 from remote-sim.
7308 * gdb.base/exprs.exp: Add h8300 xfails.
7309 * gdb.base/funcargs.exp: Likewise.
7310 * gdb.base/nodebug.exp: Likewise.
7311 * gdb.base/printcmds.exp: Likewise.
7312 * gdb.base/ptype.exp: Likewise.
7313 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7314 h8300 xfails.
7315 * gdb.base/return.exp: Handle float/double precision problems
7316 on the h8300.
7317 * gdb.base/funcargs.c: Explicitly make last constant argument to
7318 call_after_alloca_subr an unsigned long type.
7319 * gdb.base/return.c: Include stdio.h.
7320
7321 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7322
7323 * config/abug.exp: New file for the older Motorola Bug monitor
7324 that runs on the mvme13x series VME boards.
7325 * config/monitor.exp: Use the new config array for target settings
7326 if they exist.
7327
7328 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7329
7330 * sim-gdb.exp: Make the SH simulator allocate less space when
7331 it is targeted.
7332
7333 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7334
7335 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7336 test.
7337
7338 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7339
7340 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7341 "rs6000-*-*" for "list function in include file" when gcc compiled.
7342 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7343 for "p ctable1[120]".
7344 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7345 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7346 Remove setup_xfail for "rs6000-*-*" for
7347 "print 'scope0.c'::filelocal before run".
7348 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7349 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7350 since some compilers don't allow both options to be given
7351 on the same command line. Create object file and move it.
7352
7353 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7354
7355 * gdb.base/corefile.exp: Always regenerate the core file, since
7356 we always regenerate the coremaker program. Detect special case
7357 where registers cannot be read from core file.
7358
7359 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7360
7361 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7362 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7363 * gdb.c++/templates.exp: Only match on basename of file since
7364 some formats like xcoff don't encode directory information.
7365 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7366 and rs6000 AIX xcoff targets.
7367 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7368 * configure: Regenerate.
7369 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7370 here, rather than in distclean.
7371
7372 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7373
7374 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7375 defined, and use it to compile the test case with -O2. The
7376 native compilation still uses no optimization.
7377 * gdb.base/mips_pro.c: Remove inline assembly code since
7378 it is compiled PIC by default, which results in assembler
7379 warnings that make the testsuite think the compilation
7380 was unsuccessful.
7381
7382 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7383
7384 * gdb.c++/misc.exp: Add note to message for
7385 "print s.a for foo struct" that this is a known gcc 2.7.2
7386 and earlier bug.
7387
7388 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7389
7390 * gdb.base/break.exp: Fix pattern for matching "Delete all
7391 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7392 setup_xfail for deleting all breakpoints test. Fix various
7393 timeout messages to include "(timeout)".
7394 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7395 for "p t_float_values2(3.14159,float_val2)".
7396 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7397 for "continue to call2g" when gcc compiled.
7398 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7399 "up to foo in langs.exp", "show language at foo in langs.exp",
7400 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7401 and "show language at fsub in langs.exp".
7402 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7403 "list line 1 in include file", "list message for lines past EOF",
7404 "list function in include file", "list list0.h:foo", and
7405 "list filename:function; nonexistant function".
7406 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7407 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7408 and "ptype t_char_array" to be for native cc only.
7409
7410 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7411
7412 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7413 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7414 "print func2::coremaker_local", and "backtrace in corefile.exp".
7415
7416 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7417
7418 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7419 "bt in signals.exp". This problem only appears when running
7420 the testsuite, and then only intermittently.
7421
7422 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7423
7424 * gdb.base/return.exp (return_tests): Differentiate between
7425 two tests of continuing.
7426
7427 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7428
7429 * */Makefile.in (maintainer-clean): Remove config.log.
7430 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7431 * gdb.c++/Makefile.in (PROGS): Add inherit.
7432 (clean): Remove *.ci.
7433
7434 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7435
7436 * gdb.c++/misc.cc: Add test code from Mike Stump.
7437 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7438
7439 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7440
7441 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7442 to "alpha-*-osf2*" and add comment.
7443 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7444 setup_xfail for "step over execarg initialization" and
7445 "step over corearg initialization".
7446 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7447 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7448 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7449 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7450 "print func2::coremaker_local", and "backtrace in corefile.exp".
7451 * gdb.base/signals.exp: Build and source signals.ci.
7452 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7453 to be for gcc only.
7454 * lib/gdb.exp: Move verbose statements outside conditionals.
7455
7456 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7457
7458 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7459 Feb 3 procfs.c change.
7460
7461 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7462
7463 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7464
7465 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7466
7467 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7468 from dejagnu's apparent default of 10 seconds, which gives random
7469 results when running the tests over NFS on moderately loaded systems.
7470 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7471
7472 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7473
7474 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7475 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7476 result reports.
7477
7478 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7479
7480 * configure.in (CY_AC_PATH_TCLH): Remove.
7481 * configure: Regenerate.
7482
7483 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7484
7485 * gdb.c++/Makefile.in (clean): Add missing '{'.
7486
7487 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7488
7489 * lib/gdb.exp: Provide a default value for noinferior.
7490
7491 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7492 Load libgloss.exp.
7493
7494 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7495
7496 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7497 the executable, not the .o to run the tests from.
7498
7499 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7500
7501 * gdb.base/break.exp: Don't test for program exit or exit status
7502 if $noresults if nonzero.
7503 * gdb.base/langs.exp: Likewise.
7504 * gdb.base/watchpoint.exp: Likewise.
7505
7506 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7507 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7508 trying to compile the testcase.
7509
7510 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7511
7512 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7513 * gdb.base/signals.exp (continue to handler): Likewise.
7514
7515 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7516
7517 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7518
7519 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7520
7521 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7522
7523 * gdb.base/corefile.exp: Recognize "not found" as failure
7524 when trying to determine if a core file was generated.
7525 If no core file was generate the first time, try again without
7526 the ulimit -c to work around braindamaged shells.
7527
7528 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7529
7530 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7531 [] tests with "test" and enclose string in quotes.
7532 * gdb.stabs/configure: Rebuild
7533
7534 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7535
7536 Changes in sync with expect:
7537 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7538 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7539 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7540 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7541 argument to AC_REQUIRE.
7542 * configure: Regenerated.
7543
7544 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7545
7546 * gdb.base/corefile.exp: When generating a core, discard any
7547 error messages about ulimit not found and the "core dumped"
7548 message from the shell that runs the coredumper.
7549
7550 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7551
7552 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7553
7554 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7555 which sed script to run. Expect failure for v_comb test
7556 on PA targets too.
7557
7558 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7559
7560 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7561 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7562
7563 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7564
7565 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7566 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7567 "sparc-sun-solaris*" xfails for "p v_comb".
7568 * lib/gdb.exp (default_gdb_start): Fix typo.
7569 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7570 messages to not include the full program name that caused
7571 the core dump since some systems (such as solaris) apparently
7572 truncate this path to about 80 characters.
7573 When generating a core file first try increasing the core file
7574 size limit to unlimited since some systems may default it to
7575 zero, and it is harmless to try it. Move the test for failing
7576 to generate a core file to where it will actually get executed.
7577 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7578 new gdb result from g++ debug info improvements and make old
7579 pattern obsolescent. Also account for size_t differences
7580 (may be int or long).
7581 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7582 initialization before function call is placed in the delay slot
7583 and thus appears to be skipped over by commands such as "next".
7584
7585 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7586
7587 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7588
7589 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7590
7591 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7592 input source file; fix code to compile test to deal with this
7593 convention.
7594 * gdb.c++/*.exp: Likewise.
7595
7596 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7597
7598 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7599 "bt in signals.exp".
7600
7601 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7602
7603 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7604 "step over execarg initialization" and
7605 "step over corearg initialization".
7606
7607 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7608
7609 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7610 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7611
7612 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7613
7614 From Rob Savoye (rob@poseidon.cygnus.com)
7615 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7616 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7617 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7618 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7619 configure.in}: Major reworking for autoconfig.
7620 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7621 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7622 New files.
7623 * config/unix-gdb.exp: Make GDB global.
7624 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7625 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7626 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7627 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7628 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7629 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7630 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7631 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7632 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7633 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7634 pr-8136.exp, result.exp, string.exp, tuples.exp},
7635 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7636 to returns as necessary, arrange for test to compile own testcase
7637 executable.
7638 * lib/gdb.exp: Changes for testsuite to compile own test cases.
7639
7640 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7641
7642 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7643 clear_xfail at end of test which might not call either pass or fail.
7644 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7645 "backtrace through signal handler".
7646
7647 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7648
7649 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7650 continuing from a job control stop signal.
7651 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7652
7653 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7654
7655 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7656 * gdb.base/corefile.exp: Likewise.
7657 * gdb.base/funcargs.exp: Likewise.
7658
7659 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7660
7661 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7662 * config/monitor.exp: Add support for setting baud rate.
7663
7664 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7665
7666 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7667 i*86-*-linux* xfails for "backtrace through signal handler".
7668 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7669 "print func2::coremaker_local".
7670 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7671 alpha-dec-osf2* xfail for
7672 "delete all breakpoints when none".
7673
7674 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7675
7676 * gdb.base/break.exp: Change test that deletes all breakpoints
7677 when no user breakpoints are installed. A post 4.15 change
7678 causes gdb to no longer prompt in this case.
7679
7680 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7681
7682 * gdb.base/return.exp (return_tests): Change xfail for test
7683 "correct value returned double test" to stop xfailing at
7684 Solaris 2.5. Apparently the bug has been fixed.
7685
7686 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7687
7688 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7689 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7690
7691 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7692
7693 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7694 * gdb.disasm/hppa.s: Corresponding changes.
7695
7696 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7697
7698 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7699 makefile fragment.
7700 * config/mt-hpux: Deleted.
7701
7702 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7703
7704 * Many files: When warning about suppressed tests due to a
7705 nonexistant test binary, avoid incrementing the warning count.
7706
7707 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7708
7709 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
7710
7711 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7712
7713 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7714 "sparc-*-solaris2*".
7715
7716 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7717
7718 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7719 Add global and local variables and initialize them.
7720 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7721 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7722 extracts the file name and terminating signal from the core file.
7723 * TODO: Remove note about tests for correct mapping of corefile.
7724 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7725 from optimizing it away.
7726 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7727 handles common blocks.
7728
7729 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7730
7731 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
7732 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
7733
7734 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
7735
7736 * Makefile.in (maintainer-clean): New target, synonym for
7737 realclean.
7738 * gdb.base/Makefile.in (maintainer-clean): Likewise.
7739 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
7740 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
7741 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
7742 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
7743 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
7744
7745 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
7746
7747 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
7748 xfails when not gcc compiled for "print foo::funclocal".
7749 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
7750 "print foo::funclocal at foo",
7751 "print 'scope1.c'::foo::funclocal at foo",
7752 "print foo::funclocal_bss at foo",
7753 "print 'scope1.c'::foo::funclocal_bss at foo",
7754 "print foo::funclocal_ro at foo",
7755 "print 'scope1.c'::foo::funclocal_ro at foo",
7756 "print bar::funclocal at foo" and
7757 "print 'scope1.c'::bar::funclocal at foo".
7758 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
7759 gcc compiled for "print foo::funclocal at bar".
7760 Expand all messages to ensure that they identify that
7761 the test is at bar().
7762 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
7763 gcc compiled for:
7764 "ptype on opaque struct pointer (statically)",
7765 "ptype on opaque struct tagname (statically)",
7766 "ptype on opaque struct pointer (dynamically) 1",
7767 "ptype on opaque struct tagname (dynamically) 1",
7768 "ptype on opaque struct pointer (dynamically) 2" and
7769 "ptype on opaque struct tagname (dynamically) 2
7770 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
7771 gcc compiled for:
7772 "p datalocal"
7773 "whatis datalocal",
7774 "ptype datalocal",
7775 "p bsslocal",
7776 "whatis bsslocal", and
7777 "ptype bsslocal".
7778 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
7779 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
7780 when not gcc compiled.
7781 * gdb.base/funcargs.exp (float_and_integral_args): Add
7782 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
7783 compiled.
7784 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
7785 "backtrace from call6a" when not gcc compiled.
7786 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
7787 "backtrace from call7a" when not gcc compiled.
7788 * gdb.base/callfuncs.exp (do_function_calls):
7789 Add "hppa*-*-hpux*" xfail when not gcc compiled for
7790 "p t_char_array_values(char_array_val2,char_array_val1)",
7791 "p t_char_array_values(char_array_val1,char_array_val2)",
7792 "p t_char_array_values("carray 1","carray 2")",
7793 "p t_char_array_values("carray 1",char_array_val2)",
7794 "p t_char_array_values(char_array_val1,"carray 2")",
7795 "p sum_args(1,{2})",
7796 "p sum_args(2,{2,3})",
7797 "p sum_args(3,{2,3,4})",
7798 "p sum_args(4,{2,3,4,5})"
7799 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
7800 "backtrace in corefile.exp" when not gcc compiled.
7801
7802 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7803
7804 * gdb.base/signals.exp: Rewrite `handle all print' test as
7805 a procedure. Accept blanks or TABs as whitespace, increase
7806 timeout and expect input buffer size for the large output
7807 from the command. Remove "i*86-*-bsdi2.0" xfail.
7808
7809 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7810
7811 * gdb.base/setvar.exp: Add new testcases for truncation when
7812 assigning invalid values to bitfields.
7813
7814 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
7815
7816 * gdb.base/callfuncs.exp (do_function_calls): Remove
7817 mips-sgi-irix* xfail for
7818 "call inferior func with struct - returns char *"
7819 and fix test so that an optional (unsigned char *) cast is
7820 accepted in the result.
7821
7822 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
7823
7824 * gdb.base/funcargs.exp (float_and_integral_args): Remove
7825 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7826 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
7827 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7828 that accidentally got checked in.
7829
7830 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
7831
7832 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
7833 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
7834 compiled test.
7835 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
7836 Add mips-sgi-irix5* xfail for not gcc compiled.
7837 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
7838 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
7839 "p top", "whatis top", "p middle", and "whatis middle".
7840 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
7841 "whatis signed char" for not gcc compiled.
7842 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
7843 "set variable signed char=-1 (-1)" and
7844 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
7845 * gdb.base/funcargs.exp (float_and_integral_args):
7846 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
7847 Add mips-sgi-irix* xfail when not gcc compiled for
7848 "continue to call2b".
7849 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
7850 "continue to call2g".
7851 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
7852 "backtrace from call6a"
7853 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
7854 "backtrace from call7k".
7855 Add mips-sgi-irix5* xfail when not gcc compiled for
7856 "backtrace from call7a".
7857 (localvars_after_alloca): Fix gdb_test cmds for
7858 "print * after runto ...".
7859 Remove rs6000-*-* xfails for
7860 "print i after runto localvars_after_alloca" and
7861 "print l after runto localvars_after_alloca"
7862 for all compilers.
7863 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
7864 when not compiled with gcc, for:
7865 "print signed char == (minus)",
7866 "print signed char != (minus)",
7867 "print signed char < (minus)",
7868 "print signed char > (minus)".
7869 * gdb.base/callfuncs.exp (do_function_calls):
7870 Add mips-sgi-irix* xfail, when compiled with native compiler, for
7871 "call inferior func with struct - returns char *".
7872 * gdb.base/return.exp (return_tests): Change xfail for
7873 "correct value returned double test" to include Solaris 2.4.
7874 * gdb.base/funcargs.exp (float_and_integral_args):
7875 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
7876
7877 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7878
7879 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
7880 enumeration bitfields if compiling with GNU C.
7881 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
7882 to empty' prompt.
7883
7884 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
7885
7886 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
7887 test for PRO targets.
7888
7889 * gdb.base/funcargs.exp: Avoid ever setting more than 8
7890 breakpoints in the inferior at any given time by making
7891 two groups of breakpoints for call2*, call6* and call7*
7892 tests.
7893
7894 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7895
7896 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
7897 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
7898 from optimizing it away.
7899 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
7900 "call inferior func with struct".
7901
7902 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
7903
7904 * configure.in: Only configure gdb.chill for particular targets.
7905
7906 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
7907
7908 * gdb.base/Makefile.in: Add action to .c.o transformation
7909 rule that generates a .ci file for each .o file and remove
7910 explicit .c.o rules except for callfuncs.o.
7911 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
7912 generates a .ci file for each .o file and remove explicit
7913 .cc.o rules.
7914 (clean): Remove *.tmp *.ci files.
7915 (EXECUTABLES): Remove templ-info.exp.
7916 * gdb.base/compiler.c: New file.
7917 * gdb.c++/compiler.cc: New file
7918 * gdb.base/scope.exp: Source gdb.base/scope.ci.
7919 Change rs6000-*-* xfail for
7920 "print 'scope0.c'::filelocal_ro" and
7921 "print 'scope1.c'::filelocal" and
7922 "print 'scope1.c'::filelocal_bss" and
7923 "print 'scope1.c'::filelocal_ro" and
7924 "print 'scope1.c'::foo::funclocal" and
7925 "print 'scope1.c'::foo::funclocal_ro" and
7926 "print 'scope1.c'::bar::funclocal" and
7927 "print 'scope0.c'::filelocal_ro" and
7928 "print 'scope1.c'::filelocal at foo" and
7929 "print 'scope1.c'::filelocal_bss at foo" and
7930 "print 'scope1.c'::filelocal_ro at foo" and
7931 "print 'scope1.c'::foo::funclocal at foo" and
7932 "print 'scope1.c'::foo::funclocal_bss at foo" and
7933 "print 'scope1.c'::foo::funclocal_ro at foo" and
7934 "print 'scope1.c'::bar::funclocal at foo" and
7935 "print 'scope0.c'::filelocal_ro" and
7936 "print 'scope1.c'::filelocal" and
7937 "print 'scope1.c'::filelocal_bss" and
7938 "print 'scope1.c'::filelocal_ro" and
7939 "print 'scope1.c'::foo::funclocal" and
7940 "print 'scope1.c'::foo::funclocal_bss" and
7941 "print 'scope1.c'::foo::funclocal_ro" and
7942 "print 'scope1.c'::bar::funclocal" and
7943 "print 'scope1.c'::bar::funclocal_bss"
7944 to only be xfail'd when not compiled with gcc.
7945 Add rs6000-*-* xfail for
7946 "print 'scope0.c'::filelocal_bss before run"
7947 when compiled with gcc.
7948 (test_at_main): Add rs6000-*-* xfail for
7949 "print filelocal_ro in test_at_main"
7950 when compiled with gcc.
7951 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
7952 Add rs6000-*-aix* xfail for
7953 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
7954 "ptype t_char_array", not compiled with gcc.
7955 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
7956 xfail for "list foo (in include file)" when gcc compiled.
7957 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
7958 (integral_args): Add rs6000-*-* xfail for
7959 "run to call0a" if not compiled with gcc.
7960 (unsigned_integral_args): Add rs6000-*-* xfail for
7961 "run to call1a" if not compiled with gcc.
7962 (float_and_integral_args): Add rs6000-*-* xfail for
7963 "run to call2a" if not compiled with gcc and for
7964 "continue to call2b" for any compiler.
7965 Add rs6000-*-* xfail to
7966 "print f1 after run to call2a" for gcc compiled.
7967 (discard_and_shuffle): Add rs6000-*-* xfail for
7968 "run to call6a".
7969 (shuffle_round_robin): Add rs6000-*-* xfail for
7970 "backtrace from call7a" if not compiled with gcc.
7971 Add rs6000-*-* xfail for
7972 "backtrace from call7b" if compiled with gcc.
7973 (call_after_alloca): Add rs6000-*-* xfail for
7974 "print c in call_after_alloca" and
7975 "print s in call_after_alloca" and
7976 "backtrace from call_after_alloca_subr"
7977 if not compiled with gcc.
7978 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7979 "print c in localvars_in_indirect_call" and
7980 "print c in localvars_in_indirect_call" and
7981 "backtrace in indirectly called function" and
7982 "stepping into indirectly called function"
7983 if not compiled with gcc.
7984 (localvars_after_alloca): Add rs6000-*-* xfail for
7985 "print c after runto localvars_after_alloca" and
7986 "print s after runto localvars_after_alloca" and
7987 "print i after runto localvars_after_alloca" and
7988 "print l after runto localvars_after_alloca"
7989 for all compilers.
7990 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7991 than whatis-info.exp.
7992 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7993 than opaque-info.exp.
7994 Setup rs6000-*-* xfail for
7995 "ptype on opaque struct pointer (statically)" and
7996 "ptype on opaque struct pointer (dynamically)" when
7997 not compiled with gcc.
7998 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7999 rather than callf-info.exp.
8000 (do_function_calls): Add clear_xfail for rs6000-*-* for
8001 "p t_float_values2(3.14159,float_val2)". Seems to work
8002 fine there, both with xlc and gcc. Need to find out what
8003 it is doing right and fix other platforms.
8004 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8005 "call inferior func with struct - returns int",
8006 "call inferior func with struct - returns long",
8007 "call inferior func with struct - returns float",
8008 "call inferior func with struct - returns double",
8009 "call inferior func with struct - returns char *",
8010 but only if not gcc compiled (presumes xlc compiled).
8011 Change rs6000-*-* xfails for
8012 "call inferior func with struct - returns char" and
8013 " call inferior func with struct - returns short" to only
8014 xfail if not using gcc.
8015 (clean mostlyclean): Remove *.ci and *.tmp files.
8016 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8017 than templ-info.exp.
8018 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8019 Add rs6000-*-* xfail for "up to foo in langs.exp"
8020 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8021 when not gcc compiled.
8022
8023 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8024
8025 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8026 * gdb.base/corefile.exp: Likewise.
8027 * gdb.base/list.exp: Likewise.
8028 * gdb.base/scope.exp: Likewise.
8029 * gdb.base/siganls.exp: Likewise.
8030
8031 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8032 compiler output.
8033 * gdb.base/whatis.exp: Likewise.
8034
8035 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8036
8037 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8038 failure (opcode table has been fixed to match reality).
8039
8040 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8041
8042 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8043 "call inferior func with struct - returns char",
8044 "call inferior func with struct - returns short"
8045
8046 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8047 "print 'scope0.c'::filelocal at main",
8048 "print 'scope0.c'::filelocal_bss in test_at_main",
8049 "print 'scope0.c'::filelocal at foo",
8050 "print 'scope0.c'::filelocal_bss in test_at_foo",
8051 "print 'scope0.c'::filelocal at bar",
8052 "print 'scope0.c'::filelocal_bss in test_at_bar"
8053
8054 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8055 in source file 1". This bug seems to have been fixed with both
8056 gcc and native cc (was native assembler bug?).
8057
8058 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8059
8060 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8061 "backtrace through signal handler" to "i*86-*-sysv4*".
8062 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8063 continue" case. Add "known SVR4 bug" to fail message.
8064 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8065 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8066 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8067 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8068 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8069 "up to foo in langs.exp", "show language at foo in
8070 langs.exp", "up to cppsub_ in langs.exp", "show
8071 language at cppsub_ in langs.exp", "up to fsub in
8072 langs.exp", and "show language at fsub in langs.exp".
8073 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8074 "bactrace in corefile.exp".
8075 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8076 "call inferior function with struct - returns float" and
8077 "call inferior function with struct - returns double".
8078
8079 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8080
8081 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8082 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8083 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8084 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8085
8086 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8087
8088 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8089 (or overriden) "CHILL" macro rather then bare "gcc".
8090 Also look for ../../gcc/xgcc since that is what we will
8091 actually need, not "Makefile". Remove following assignment
8092 of CHILL to CHILL_FOR_TARGET because that results in
8093 recursive definition.
8094
8095 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8096
8097 * gdb.base/corefile.exp: Change xfail for backtrace in
8098 corefile.exp from linuxaout to all linux.
8099 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8100 cases where we miss the breakpoint at the signal handler
8101 for some reason. Setup xfail for linuxoldld/linuxaout and
8102 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8103 hitting SIGURG breakpoint.
8104 * gdb.base/signals.exp: Setup xfail for "next" acting like
8105 continue to add linuxoldld. Setup xfail for all linux for
8106 "next to handler in signals_tests_1", "backtrace in
8107 signals_tests_1", "continue to func1", "pass SIGUSR1",
8108 and continue to handler".
8109
8110 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8111
8112 * Update all FSF addresses except those in COPYING* files.
8113
8114 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8115
8116 * gdb.base/a2-run.exp: Change messages to be more explicit about
8117 the status of args, and quote binfile in results.
8118
8119 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8120
8121 * gdb.base/callfuncs.exp: Add tests for passing structs to
8122 inferior functions and return various types.
8123 * gdb.base/callfuncs.c: Add functions to receive a struct
8124 and return a member of the struct, in various types.
8125
8126 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8127
8128 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8129
8130 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8131
8132 * config/vxworks29k.exp: New file, sources vxworks.exp.
8133
8134 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8135
8136 * config/gdbremote.exp: New file. Testing framework using
8137 gdbserver.
8138
8139 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8140
8141 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8142 "call function when asleep" and "send end of file".
8143 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8144 for "backtrace in corefile.exp".
8145 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8146 for "backtrace through signal handler".
8147 * gdb.base/corefile.exp: Make sure we actually generate a core file
8148 before trying the core tests. Some systems allow the user to suppress
8149 generation of core files and default to that (linux for example).
8150 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8151 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8152
8153 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8154
8155 * gdb.threads: New directory with some crude multi-threaded
8156 gdb tests (step.exp and step2.exp).
8157 * config/mt-lynx (STEP_EXECUTABLE): Define.
8158 (THREADFLAGS): Define.
8159
8160 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8161
8162 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8163
8164 * gdb.base/signals.exp: Disable whole file for lynx until
8165 further notice.
8166
8167 * gdb.base/signals.exp: xfail test where "next" acts like
8168 "continue" for lynx.
8169
8170 * gdb.base/interrupt.exp: xfail test for calling function while
8171 inferior is asleep for lynx.
8172
8173 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8174 than one cr-lf after each command.
8175
8176 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8177
8178 * configure.in: Reinstate setting of stabsdirs variable, fix
8179 typo in setting up configdirs for native builds.
8180
8181 * gdb.base/return.exp: Fix typo in return double test.
8182 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8183 compiler from optimizing them away.
8184
8185 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8186
8187 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8188 sequences to be echo'd by gdb when using gdb_test.
8189 * gdb.chill/chexp.exp: Likewise.
8190 * gdb.fortran/exprs.exp: Likewise
8191
8192 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8193
8194 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8195 after the inferior gdb has started.
8196
8197 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8198 after each command.
8199 * gdb.base/funcargs.exp: Likewise.
8200 * gdb.base/gdbvars.exp: Likewise.
8201 * gdb.base/interrupt.exp: Likewise.
8202 * gdb.base/list.exp: Likewise.
8203 * gdb.base/watchpoint.exp: Likewise.
8204 * gdb.c++/demangle.exp: Likewise.
8205 * gdb.c++/inherit.exp: Likewise.
8206 * gdb.chill/chexp.exp: Likewise.
8207 * gdb.fortran/exprs.exp: Likewise.
8208
8209 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8210 test if we can't handle IO to/from the inferior.
8211
8212 * gdb.c++/misc.exp: Always check for a program already being
8213 started after sending a "run" command to gdb.
8214
8215 * gdb.base/twice.exp: Start with a fresh gdb.
8216
8217 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8218 only depend on gdb's expression code, not the chill runtime.
8219
8220 * gdb.base/return.c: Put return values into variables so we
8221 can have gdb print them rather than depending on the program
8222 to print them.
8223 * gdb.base/return.exp: Corresponding changes.
8224
8225 * lib/gdb.exp: Provide default value for noinferiorio.
8226 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8227 the inferior.
8228
8229 * gdb.base/break.exp: Always check for a program already being
8230 started after sending a "run" command to gdb.
8231 (text_next_with_recursion): Don't check the output from the
8232 program's printf statement. Instead just make sure the program
8233 exited.
8234
8235 * gdb.base/commands.exp: Protect tests which need arguments with
8236 $noargs conditionals.
8237
8238 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8239
8240 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8241 of structure member arrays to match gdb/valops.c:value_addr change.
8242
8243 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8244
8245 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8246 cases.
8247
8248 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8249
8250 * configure.in (configdirs): Remove gdb.chill from default list
8251 of subdirs and then add it back in only if doing a native build.
8252 The current chill compiler does not yet work in any cross build.
8253 * Revert all signal changes from Jul 6.
8254 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8255 for sh-hms targets, allowing these tests to link, with no other
8256 changes. Testing is suppressed by setting "nosignals" in site.exp.
8257
8258 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8259
8260 * configure.in (signaldirs): Define and add to configdirs for all
8261 targets except some specific ones that are known to not support signals.
8262 Also clean up formatting.
8263 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8264 (signals, sigall): Remove rules to build.
8265 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8266 Moved to new gdb.signals directory.
8267 * gdb.signals: New test directory.
8268 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8269 signals.c signals.exp}: New or moved files.
8270
8271 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8272
8273 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8274
8275 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8276
8277 * gdb.base/return.exp: Xfail `return double' test failure
8278 on at least Solaris 2.3 and handle future/past versions on
8279 a case by case basis as appropriate. Also update message
8280 to include i*86 failures.
8281
8282 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8283
8284 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8285
8286 * lib/gdb.exp: Fix comment which erroneously identified
8287 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8288 gdb_file_cmd not gdb_load).
8289 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8290
8291 * gdb.base/setvar.exp: Make test names consistent between pass and
8292 fail cases. Use gdb_test more.
8293
8294 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8295
8296 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8297
8298 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8299
8300 * gdb.base/help.exp: Fix expected help string for `show commands'.
8301
8302 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8303
8304 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8305
8306 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8307 of a text section.
8308
8309 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8310
8311 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8312 that loop eventually terminates. Fix Connection refused logic so
8313 that testsuite will expire nicely.
8314
8315 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8316
8317 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8318 config/rom68k.exp: New tcl glue for the appropriate monitors.
8319 These all just end up calling monitor.exp.
8320 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8321 refused' by retrying. Cleanup some timeout issues.
8322 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8323 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8324 callers don't have to set/restore global timeout variable.
8325
8326 * The following set of changes centralizes management of the global
8327 timeout variable. This way, it can be set in one target dependent
8328 place instead of dozens of places scattered throughout the test suite.
8329 If you need to lengthen a timeout, then you should either set timeout
8330 in one of the config/{target}.exp files, or multiply it by a factor.
8331 Setting it to an absolute value is always going to lose for some
8332 targets.
8333 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8334 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8335 * gdb.base/funcargs.exp: Don't set timeout.
8336 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8337 * gdb.base/printcmds.exp (test_print_string_constants
8338 test_print_array_constants): Don't set timeout.
8339 * gdb.base/ptype.exp: Don't set timeout.
8340 * gdb.base/recurse.exp: Don't set timeout.
8341 * gdb.base/return.exp: Don't set timeout.
8342 * gdb.base/watchpoint.exp: Don't set timeout.
8343 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8344 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8345
8346 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8347
8348 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8349
8350 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8351
8352 * lib/gdb.exp: Disable chill tests for irix5.
8353
8354 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8355
8356 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8357 each test pass or fail.
8358
8359 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8360
8361 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8362 xlc not gcc.
8363
8364 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8365
8366 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8367
8368 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8369
8370 * config/est.exp: Fix copyright and comments. Remove dead code.
8371 Use targetname, serialport and baud variables instead of fixed
8372 constants.
8373 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8374 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8375
8376 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8377
8378 * gdb.base/watchpoint.exp: Don't run
8379 test_watchpoint_triggered_in_syscall for sunos.
8380
8381 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8382
8383 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8384 they don't seem to exist. Do include stdio.h.
8385
8386 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8387
8388 * gdb.base/a1-selftest.exp: Add alpha xfail.
8389
8390 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8391
8392 * gdb.base/watchpoint.c (main): Prompt before calling read().
8393 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8394 Revise accordingly. Remove cruft about sending "123" several
8395 times, until it gets noticed. Clean up the "print buf[0]" stuff
8396 so that it passes or fails, and waits for prompts in the usual way.
8397
8398 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8399
8400 * gdb.base/recurse.exp: Fix comment.
8401
8402 * TODO: Remove item about printing variables in nodebug.exp. Add
8403 item about enabling tests which are only run on some targets.
8404
8405 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8406 fail, make test names unique, use new gdb_test convention
8407 regarding pattern, use gdb_test more, etc.).
8408
8409 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8410 fail, make test names unique, etc.).
8411
8412 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8413
8414 * gdb.base/nodebug.c: Change return type of top and middle to
8415 short.
8416 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8417 are fixed by the recent mdebugread.c changes. Allow `short ()'
8418 as type for top and middle.
8419
8420 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8421
8422 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8423 nearly as I can tell, the whole thing was an accident in Stu's
8424 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8425 to replace a send/expect pair with gdb_test, but ended up only
8426 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8427 of 30 Mar 1995 took care of it, but left this vestigial comment
8428 which I am now nuking.
8429
8430 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8431
8432 * gdb.base/break.exp: Look for different line number for
8433 breakpoint at main depending on usestubs.
8434
8435 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8436
8437 * gdb.base/list.exp: Adjust some alternate expect patterns to
8438 match recent list0.c change. Add alternate expect pattern for
8439 output from `list default lines around main' for optimizing
8440 compilers.
8441
8442 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8443
8444 * lib/gdb.exp: If nosignals is not set, set it to 0.
8445
8446 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8447
8448 * config/slite-gdb.exp: Responds to load symbol table prompt.
8449 * gdb.base/break.exp: Adjust line number, fix rerun.
8450 * gdb.base/langs0.c: Add #ifdef usestubs.
8451
8452 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8453
8454 * gdb.base/list.exp: Adjust line contents after adding new lines in
8455 list0.c. Also fix a syntax error.
8456
8457 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8458 * gdb.base/break.exp: ditto.
8459 * gdb.base/list.exp: ditto.
8460 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8461 * gdb.base/run.c: ditto.
8462 * gdb.base/list0.c: ditto.
8463 * gdb.base/funcargs.c: ditto.
8464
8465 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8466
8467 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8468 $targetname, $serialport and $baud instead of hardwired variables.
8469 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8470 target doesn't support signals.
8471
8472 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8473
8474 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8475
8476 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8477
8478 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8479 Don't rely on the value of an auto variable before it has been
8480 initialized. Use gdb_test more.
8481
8482 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8483
8484 * lib/gdb.exp (default_gdb_version): A version number must start
8485 with a digit, but other than that contains all characters up to
8486 the first whitespace character.
8487
8488 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8489
8490 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8491
8492 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8493
8494 * gdb.c++/*.exp: Warn if executable does not exist. The original
8495 reason for skipping the warning was that configure.in sometimes
8496 intentionally skipped building the executables but the tcl code
8497 had no way of knowing. That (a) was always bogus with respect to
8498 error handling, (b) is no longer true (right now there is no way
8499 to skip C++ tests).
8500
8501 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8502
8503 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8504
8505 * gdb.base/list.exp: Add expect patterns for output from
8506 SunPRO compiled executables.
8507 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8508 types.
8509
8510 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8511
8512 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8513 number (we are already testing that the correct source line text
8514 gets printed).
8515
8516 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8517 that is what is intended, but something needed to be done to get
8518 sunos4 native working again.
8519
8520 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8521
8522 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8523 apparently went with a (very) old xfail.
8524
8525 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8526
8527 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8528 runto_main is a proc in gdb.exp that will do 'step' for target use
8529 stubs.
8530 * gdb.base/exprs.exp: ditto.
8531 * gdb.base/interrupt.exp: ditto.
8532 * gdb.base/opaque.exp: ditto.
8533 * gdb.base/printcmds.exp: ditto.
8534 * gdb.base/ptype.exp: ditto.
8535 * gdb.base/scope.exp: ditto.
8536 * gdb.base/setvar.exp: ditto.
8537 * gdb.base/signals.exp: ditto.
8538 * gdb.base/twice.exp: ditto.
8539 * gdb.c++/classes.exp: ditto.
8540 * gdb.c++/inherit.exp: ditto.
8541 * gdb.c++/templates.exp: ditto.
8542 * gdb.base/break.exp: no run and hit main for stubs. Change line
8543 numbers for breakpoints and info breakpoint.
8544 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8545 breakpoint().
8546 * gdb.base/callfuncs.c: ditto.
8547 * gdb.base/exprs: ditto.
8548 * gdb.base/interrupt.c: ditto.
8549 * gdb.base/opaque0.c: ditto.
8550 * gdb.base/printcmds.c: ditto.
8551 * gdb.base/ptype.c: ditto.
8552 * gdb.base/scope0.c: ditto.
8553 * gdb.base/setvar.c: ditto.
8554 * gdb.base/signals.c: ditto.
8555 * gdb.base/twice.c: ditto.
8556 * gdb.c++/misc.cc: ditto.
8557 * gdb.c++/templates.cc: ditto.
8558
8559 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8560
8561 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8562
8563 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8564 somewhere between `read' and `main.c'. I'm pretty sure the
8565 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8566 and it isn't particularly useful.
8567
8568 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8569
8570 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8571
8572 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8573
8574 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8575
8576 * config/mt-slite: add LIBS and -nostdlib.
8577 * config/slite-gdb.exp: add this new file to support sparclite target.
8578
8579 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8580
8581 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8582
8583 * gdb.base/a2-run.exp: Change argument to istarget from
8584 "*-*-vxworks" to "*-*-vxworks*".
8585 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8586
8587 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8588
8589 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8590 will not runto main but do a 'step' to step out of breakpoint().
8591 * config/mt-slite: add -Dusestubs.
8592
8593 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8594
8595 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8596 instead of just @.
8597
8598 * gdb.base/signals.exp: Add test for "handle all print".
8599 * TODO: Remove "handle all print". Also remove item about
8600 checking copyright date (I don't like the idea of a spurious FAIL
8601 based on when we run the tests).
8602
8603 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8604 for SunOS4 (reason for failure not investigated). Remove
8605 redundant test for $binfile.
8606
8607 * gdb.base/nodebug.c (array_index): Call malloc.
8608
8609 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8610
8611 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8612
8613 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8614 conventions and slightly simplify the matching regexp.
8615
8616 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8617
8618 * gdb.base/break.exp: Update gdb_test invocation to use new
8619 convention.
8620
8621 * lib/gdb.exp: If noargs is not set, set it to 0.
8622
8623 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8624 tests unique.
8625
8626 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8627
8628 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8629
8630 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8631 one argument of type "<non-float parameter>".
8632
8633 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8634
8635 * config/rom68k.exp: New file to support Motorola IDP board.
8636 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8637 * gdb.base/break.c: Change things around so that this program
8638 doesn't depend upon args. This is necessary to make remote
8639 targets work (in general, they can't take args).
8640 * gdb.base/break.exp: Don't try to send args to program. Don't
8641 expect output. Also, replace lots of code with gdb_test.
8642
8643 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8644
8645 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8646 printing of '\'' (which is what the comment says we are testing,
8647 even though we were not), not '''.
8648 (test_integer_literals_rejected): Test that printing ''' is an error.
8649
8650 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8651 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8652 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8653 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8654 Use gdb_test not test_print_accept.
8655 * lib/gdb.exp: Remove test_print_accept.
8656
8657 * gdb.base/signals.exp (signal_tests_1): Make pass message
8658 consistent with fail message.
8659
8660 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8661 unsigned char; the bug (PR 1821) is fixed.
8662
8663 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8664
8665 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8666 successful tests--makes xfailing them work right.
8667
8668 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8669
8670 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8671 only \r\n, not .*. The test can pass .* as the last thing in
8672 $pattern if that is what it wants. In addition to providing this
8673 flexibility, this change should speed up pattern matching in cases
8674 where the pattern already ended with .* (there were a number of
8675 them). This change also helps catch bad patterns--in the old
8676 scheme the typo "char \*" instead of "char \\*" would pass. Now
8677 it is caught.
8678 * Many .exp files: Update callers.
8679
8680 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8681 clearer and does not spuriously match multiple ('s. Likewise for
8682 ) and *.
8683
8684 * gdb.base/nodebug.exp: Test ability to call a function and pass
8685 it a string (even with no debugging info).
8686
8687 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8688 "p '\'", which is the same as "p ''" once tcl gets done with
8689 quoting, to "p '\\'", which I suspect is what is intended (one
8690 backslash gets sent to GDB).
8691
8692 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8693
8694 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8695
8696 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8697 1817) was fixed literally years ago.
8698
8699 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8700
8701 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8702 test, it causes stepping out of call_after_alloca_subr with
8703 optimizing compilers.
8704 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8705 fails.
8706
8707 * gdb.c++/templates.exp: Source templ-info.exp only if
8708 the templates executable exists.
8709
8710 * gdb.c++/misc.cc (class Contains_static_instance,
8711 class Contains_nested_static_instance),
8712 gdb.c++/classes.exp (test_static_members): Test printing of
8713 a class that contains a static instance of the class.
8714
8715 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8716
8717 * gdb.base/langs2.c (cppsub_): Don't prototype.
8718 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8719 only, I believe).
8720
8721 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8722
8723 * lib/gdb.exp (skip_chill_tests): New procedure.
8724
8725 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8726
8727 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8728
8729 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8730 each expect pattern. Cuts runtime from 12 to about 4 seconds.
8731
8732 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8733
8734 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
8735
8736 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
8737 disassemble 8, not 16, instructions for part 4.
8738
8739 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
8740 support the latter anymore.
8741
8742 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
8743 -DNO_PROTOTYPES.
8744 * gdb.base/callfuncs.c: Control use of prototypes based on
8745 NO_PROTOTYPES, not __STDC__.
8746 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
8747 t_float_values2 tests if prototypes in use.
8748
8749 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
8750 t_double_values): When checking differences against DELTA, check
8751 that difference is within the range (-DELTA,DELTA), not just
8752 (-infinity,DELTA).
8753
8754 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
8755
8756 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
8757 'file' command firts, then 'target', then 'load', this is due to gdb
8758 target set up.
8759 * config/mips-gdb.exp: Fix a couple regular exp bugs.
8760
8761 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
8762
8763 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
8764 FP load/store variants.
8765 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
8766
8767 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8768
8769 * gdb.base/term.exp: Do not give a warning if not native, it is
8770 not an abnormal condition.
8771
8772 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
8773
8774 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
8775 t_char_array".
8776
8777 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
8778
8779 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
8780 are getting the version number.
8781
8782 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
8783 if not native, it is not an abnormal condition.
8784
8785 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8786
8787 * lib/gdb.exp: Just use "file exists", rather than undocumented
8788 dejagnu procedure "findfile".
8789
8790 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8791
8792 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
8793 (LDFLAGS): Set to -Xlinker -Ur.
8794
8795 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
8796 Removed, these values are set by lib/gdb.exp.
8797
8798 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
8799
8800 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
8801
8802 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
8803 of replicating gdb startup code.
8804
8805 * config/mt-vxworks (LDFLAGS): Set to -r.
8806 (CFLAGS_FOR_TARGET): Removed.
8807
8808 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
8809 (gdb) and gdb for vxworks uses (vxgdb).
8810
8811 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
8812 executable is not in the tree and host != target, use sed and
8813 program_transform_name to determine the gdb name used by the
8814 target.
8815
8816 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
8817 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
8818
8819 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8820
8821 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
8822 floats, chars, and shorts where there are ANSI-style function
8823 definitions.
8824
8825 * gdb.base/langs.exp, gdb.base/langs*: New test.
8826 * gdb.base/Makefile.in: Build it.
8827 * TODO: Remove item about checking that C names don't get C++
8828 demangling applied; this test tests it.
8829
8830 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8831
8832 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
8833 went with the const70 xfail. The xfail went away a year ago.
8834
8835 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
8836
8837 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
8838 for hp300.
8839
8840 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
8841
8842 * gdb.base/a1-selftest.exp: Don't run on hp300.
8843
8844 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8845
8846 * Makefile.in (site.exp): Set host_alias and target_alias as well
8847 as host_triplet and target_triplet.
8848
8849 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8850
8851 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
8852
8853 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
8854 places as other ecoff systems).
8855
8856 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
8857 ultrix.
8858
8859 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8860
8861 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
8862 remove them.
8863 * gdb.base/nodebug.exp: Accept "function" in addition to "text
8864 variable and "variable" in addition to "data variable".
8865 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
8866
8867 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
8868 2.
8869 * gdb.base/list1.c (long_line): Add additional statement at start
8870 of function.
8871 * gdb.base/list.exp (test_forward_search): Update line number to
8872 reflect new statement.
8873
8874 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8875
8876 * gdb.base/signals.exp: Reinitialize searched source directories
8877 after gdb_start call.
8878
8879 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
8880
8881 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
8882 * gdb.stabs/Makefile.in: Likewise.
8883
8884 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
8885 change. Instead split the tests into smaller pieces.
8886 * gdb.disasm/hppa.s: Corresponding changes.
8887
8888 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8889
8890 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8891 Quote ^C when passing it to stty. For some shells ^ is a pipe.
8892
8893 * gdb.base/funcargs.exp: Modify many tests so that every test
8894 either passes or fails. Make some test names unique.
8895
8896 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8897
8898 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
8899 Call stty to set interrupt character.
8900
8901 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
8902 for HP assembler versus GNU assembler based on actual behavior of
8903 $(CC), rather than assuming that $(AS) is always the GNU assembler.
8904
8905 * TODO: Suggest a few more stepping tests.
8906
8907 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
8908
8909 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
8910 restart GDB for h8300 after a continue.
8911 (return): Add pattern to match a29k-udi behavior.
8912 * gdb.base/nodebug.exp: Remove obsolete comment.
8913 * gdb.base/regs.exp: New file, testing of register displays.
8914 * gdb.base/return.exp: Fix typo in reference to $objdir.
8915 * gdb.base/whatis.exp: Always start with a fresh GDB.
8916
8917 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8918
8919 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
8920 higher, these tests generate a lot of output.
8921
8922 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8923
8924 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
8925 code following the catch silently ignored some errors; without the
8926 catch they should be thrown like any other tcl error. Also, the
8927 catch used "" instead of {} which meant all the callers who wanted
8928 to include one of the characters "[]$ had to quote it an extra time.
8929 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
8930 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
8931 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
8932 Remove extra quoting.
8933
8934 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
8935
8936 * gdb.base/commands.exp: Make test names unique; every test either
8937 passes or fails. Update some comments.
8938
8939 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
8940
8941 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8942
8943 The following fixes a FAIL caused by the fact that the alpha stabs
8944 configuration didn't use the ".if alpha" code in weird.def.
8945 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
8946 bit pointer, so the 32 bit version works even on the alpha.
8947 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
8948 Remove the stuff which allowed us to have separate versions for
8949 alpha and everything else.
8950
8951 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
8952 regexp which "info func operator\[\](" is supposed to match. Fix
8953 string to send to GDB. Note that GDB still doesn't work right. Add a
8954 new test for "info func .perator\[\](" which GDB does handle correctly.
8955
8956 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
8957
8958 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8959
8960 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8961 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8962 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8963 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8964 it makes the tests harder to understand and confuses test-o-matic.
8965 The preferred style is that each test provides a PASS or a FAIL,
8966 and has a unique message (e.g. "continue #54" not just "continue")
8967 which is the same for the pass and the fail.
8968 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8969 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8970 to lib/gdb.exp.
8971 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8972 prt_accept which was basically the same thing. Likewise for
8973 test_print_reject and prt_reject.
8974 * lib/gdb.exp (test_print_reject): Add some more error message
8975 patterns to match from the former printcmds.exp (prt_reject).
8976 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8977 One defect of the passcount stuff is that some of it failed to
8978 report XPASS where appropriate.
8979 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8980 stuff before and after arg in expected pattern.
8981 (test_paddr_operator_functions): Re-do test without print_addr_of;
8982 this is the only test which seems to want extra stuff there.
8983
8984 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8985
8986 * gdb.base/nodebug.exp: Update new tests to reflect improved
8987 wording of gdb output.
8988
8989 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8990 and "ptype" work on variables in files compiled without -g.
8991 Replaces commented out "maint print msymbol" tests.
8992
8993 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8994
8995 * gdb.base/setvar.c (dummy): Call malloc.
8996
8997 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8998 losing with the irix4 sed.
8999
9000 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9001 ALRM" on irix4.
9002
9003 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9004
9005 * TODO: Remove items about corefile.exp testing new exec-file and
9006 backtrace; both are now done. Add items about printing enums.
9007
9008 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9009
9010 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9011 "get signal $thissig" test fails.
9012
9013 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9014
9015 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9016
9017 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9018 compiler warning with dec alpha compiler.
9019
9020 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9021 extra \n from gdb_test call (this explains why the prompt test
9022 that I removed yesterday was there).
9023 (user_defined_command_test): Remove extra \n and prompt test.
9024
9025 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9026 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9027 doesn't exist.
9028 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9029 Also remove alpha workaround, which turns out to be because
9030 SIGABRT == SIGLOST.
9031
9032 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9033
9034 * gdb.base/help.exp: Don't test "help show".
9035
9036 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9037
9038 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9039 "set print address" is on.
9040 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9041 pass prompt to gdb_test; gdb_test already looks for the prompt.
9042
9043 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9044
9045 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9046 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9047 was to make sure that gdb can read a core file. But (a) the "read
9048 the corefile" part didn't make it to a1-selftest.exp, we just
9049 delete the corefile after creating it, and (b) we test reading
9050 corefiles in corefile.exp anyway. Also, this test left around a
9051 xgdb process on Solaris.
9052
9053 * gdb.base/corefile.exp: Also test backtrace.
9054
9055 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9056
9057 * gdb.base/commands.exp: Test a simple user defined command with
9058 arguments and if/while statements; verify the full user command is
9059 printed by "show user".
9060
9061 * gdb.base/commands.exp: Test if/while commands as part of a
9062 breakpoint command list; verify they appear in breakpoint
9063 information.
9064
9065 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9066
9067 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9068 than by dividing by zero.
9069
9070 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9071
9072 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9073 performing an inferior call with watchpoints enabled.
9074 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9075 call.
9076
9077 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9078
9079 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9080 of "file" command.
9081
9082 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9083 Add additional pattern for when "int operator int(void);" appears
9084 in a different order.
9085
9086 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9087
9088 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9089
9090 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9091 and "signal" with ".*".
9092
9093 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9094
9095 * TODO: Add note about "handle all nostop".
9096
9097 * gdb.base/{sigall.c, sigall.exp}: New test.
9098 * gdb.base/Makefile.in: Add it.
9099
9100 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9101
9102 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9103 when invoking GDB, suppresses any windowing interface.
9104
9105 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9106
9107 * config/sim-gdb: New file, simulator testing support.
9108
9109 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9110
9111 * gdb.base/interrupt.exp: Test calling func1 twice.
9112
9113 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9114
9115 * gdb.base/list.exp (test_forward_search): Set timeout higher
9116 when we'll be getting lots of output from gdb.
9117
9118 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9119 "init_malloc" to after the expect statement. Run it if that
9120 regexp is taken, but also for two others which happen if source
9121 cannot be found.
9122
9123 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9124
9125 * gdb.base/printcmds.exp: New test, for printing register before
9126 program is running.
9127
9128 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9129
9130 * gdb.base/list.exp: Correct some alternate expect patterns
9131 to reflect changes in list1.c.
9132
9133 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9134
9135 * TODO: Add item regarding large frames.
9136
9137 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9138
9139 * TODO: Remove item about enabling return.exp; it
9140 is enabled. Suggest a few more "return" tests.
9141
9142 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9143
9144 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9145 anonymous unions.
9146
9147 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9148
9149 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9150 and pr-5646.o, so "make" is the same as "make all", not "make
9151 pr-4975.o".
9152
9153 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9154
9155 * gdb.base/list.exp: Adjust expectations to reflect changes in
9156 list1.c.
9157 (test_forward_search): New test proc.
9158 * gdb.base/list1.c (long_line): New function, has long source line.
9159
9160 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9161
9162 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9163 additional line of code that was added.
9164
9165 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9166
9167 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9168 tests so as not to overflow expect's input buffers.
9169 * gdb.disasm/hppa.exp: Corresponding changes.
9170
9171 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9172
9173 Beginnings of template debugging tests.
9174 * gdb.c++/templ-info.cc: New file to test for template
9175 debugging capability of the compiler.
9176 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9177 templ-info.cc.
9178 * gdb.c++/templates.cc: Add explicit template instantiations
9179 to enable compiling with -fno-implicit-templates. Add destructor
9180 and 'value' method to T5 class for template tests.
9181 * gdb.c++/templates.exp: Add testcases for printing of template
9182 types, setting breakpoints on template methods and calling a
9183 template method.
9184
9185 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9186
9187 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9188 branch target since some assemblers (gas-2.5) may emit a
9189 relocation for the branch instead of resolving it in the
9190 assembler.
9191
9192 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9193
9194 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9195 through signal handler.
9196
9197 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9198
9199 * configure.in (*-*-netware): Use config/mt-netware.
9200
9201 * config/mt-netware: New file.
9202 * config/mt-i386-netware: Removed, separate configs for different
9203 netware architectures are no longer needed now that we have
9204 --with-headers.
9205
9206 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9207
9208 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9209 by the recent changes to use ANSI C arithmetic conversions.
9210
9211 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9212
9213 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9214 bug involving using inferior_pid to figure out whether to select a
9215 frame.
9216
9217 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9218
9219 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9220 match the current disassembler output.
9221
9222 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9223
9224 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9225 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9226 types, expect "int" as type of integer values (for now).
9227
9228 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9229
9230 * gdb.base/commands.exp: New tests for if/while commands.
9231
9232 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9233
9234 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9235 by .*, since hex values have different syntax in Chill mode.
9236
9237 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9238
9239 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9240 linefeed from expect pattern for repeated types with indices > 9.
9241
9242 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9243
9244 First part of Fortran test suite.
9245 * gdb.fortran: New directory.
9246 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9247
9248 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9249
9250 * gdb.base/default.exp: Update expect pattern for load command
9251 without arguments.
9252
9253 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9254
9255 * configure.in: Change i386 to i[345]86.
9256 * gdb.base/configure.in: Likewise.
9257 * gdb.c++/configure.in: Likewise.
9258 * gdb.chill/configure.in: Likewise.
9259
9260 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9261
9262 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9263 patterns, since that is not a valid context for comments.
9264
9265 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9266
9267 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9268 repeated types and repeated types with indices > 9.
9269
9270 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9271
9272 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9273 2417; old bug has been fixed.
9274
9275 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9276
9277 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9278 send the newline ourselves instead of assuming gdb_test will do
9279 so when passed an empty input string.
9280
9281 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9282 stabs testcode.
9283
9284 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9285
9286 * lib/gdb.exp (gdb_test): Don't send anything if the first
9287 argument is an empty string. This makes cases where we want to
9288 match output that is already in expect's buffers (for example,
9289 matching a breakpoint after gdb_run_cmd has been called) work
9290 reliably.
9291
9292 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9293
9294 * config/netware.exp: New file.
9295
9296 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9297
9298 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9299 the -B and -L prefixes so we can find the debugging stub.
9300
9301 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9302 there and we are using the gcc from the tree.
9303
9304 * gdb.base/types.c: Removed.
9305
9306 * gdb.base/configure.in: Look for makefile fragments in ../config.
9307 Recognize i386-*-netware.
9308 * gdb.c++/configure.in: Likewise.
9309
9310 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9311
9312 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9313 the correct TCL syntax.
9314
9315 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9316
9317 * gdb.base/opaque.exp: use runto instead of messing around with
9318 breakpoints. Simplify by using gdb_test.
9319
9320 * gdb.base/bitfields.exp: restart between tests on netware targets
9321 because breakpoints aren't relocated after target death. Run
9322 processes to completion.
9323
9324 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9325
9326 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9327
9328 * Makefile.in: Remove extra tabs that confuse some versions
9329 of "make". Use the newly built gdb to test with by default,
9330 rather than the first one in the tester's search path.
9331
9332 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9333
9334 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9335
9336 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9337 condition help.
9338
9339 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9340
9341 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9342
9343 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9344 running.
9345 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9346 * gdb.base/funcargs.exp: Likewise.
9347
9348 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9349 * gdb.base/funcargs.exp: Likewise.
9350
9351 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9352 message is "".
9353
9354 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9355
9356 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9357 return,signals,twice}.exp: Handle non-existant binaries
9358 consistantly.
9359
9360 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9361 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9362 might testing a cross development system.
9363
9364 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9365
9366 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9367 runtest script is relative to ${srcdir}, not ${rootdir}.
9368
9369 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9370
9371 * gdb.base/signals.exp: Allow for optionality of breakpoint
9372 address.
9373
9374 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9375
9376 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9377
9378 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9379
9380 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9381 for size_t definition.
9382 * gdb.c++/templates.cc: Likewise
9383
9384 * config/mt-i386-netware: New file.
9385
9386 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9387 defined.
9388
9389 * gdb.base/Makefile.in: Added support for systems that name core
9390 files by appending "core" to the program name.
9391 * gdb.base/a1-selftest.exp: Likewise.
9392
9393 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9394
9395 * gdb.base/return.exp: Add comment and message for `return double'
9396 test failure on Sparc Solaris.
9397
9398 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9399
9400 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9401
9402 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9403
9404 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9405 from optimizing them away.
9406 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9407 patterns to include default constructors and assignment operators,
9408 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9409 character in the output of the virtual base pointer.
9410
9411 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9412
9413 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9414 expression match in print_addr_of to avoid unintented matches.
9415 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9416 versions up to 2.5.8.
9417
9418 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9419
9420 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9421 included file to run under newer versions of expect.
9422 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9423 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9424 Remove xfail for the virtual table of BDDHookV.
9425
9426 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9427
9428 * lib/gdb.exp (string_to_regexp): Set a default result.
9429 (default_gdb_start): Fix misleading message.
9430
9431 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9432
9433 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9434 Remove all CC, etc definitions.
9435 * config/mt-hpux: New file.
9436 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9437 (CFLAGS, LDFLAGS): Define.
9438 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9439
9440 * Makefile.in (site.exp): Don't insert host_os, etc.
9441 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9442 (distclean): Check existence of subdir.
9443 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9444 * gdb.base/Makefile.in: General cleanup and simplification.
9445 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9446 to build executables. Use default rule to build .o files.
9447 (EXPECT, RUNTEST, CC): Fix relative pathname.
9448 (site.exp): Don't insert host_os, etc.
9449 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9450 and/or SIGUSR1 defined.
9451 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9452 * gdb.c++/Makefile.in: General cleanup and simplification.
9453 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9454 (CFLAGS): Remove.
9455 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9456
9457 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9458
9459 * gdb.base/recurse.exp: Misc changes to get tests running again
9460 after Kung's changes to the watchpoint code.
9461 * gdb.base/watchpoint.exp: Likewise.
9462
9463 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9464
9465 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9466
9467 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9468
9469 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9470 * lib/gdb.exp (default_gdb_start): Define.
9471 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9472 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9473 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9474 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9475 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9476 Don't call gdb_target_udi in between tests.
9477
9478 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9479
9480 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9481 (which was basically just a local version of the same thing). In
9482 addition to avoiding duplication, gdb_test_exact is faster.
9483 * lib/gdb.exp (gdb_test_exact): Fix typo.
9484
9485 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9486 don't give an error.
9487
9488 * gdb.base/term.exp: Call delete_breakpoints before starting.
9489
9490 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9491 (t10): Add comment.
9492
9493 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9494
9495 Reorganization of the GDB Test Suite.
9496
9497 * gdb.base: New directory, contains all the basic tests.
9498 * gdb.c++: New directory, tests specific to C++.
9499 * gdb.chill: New directory, tests specific to Chill.
9500 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9501 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9502 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9503 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9504 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9505 t30-31 to chill).
9506 * */gdbme.*: Rename to match appropriate expect scripts.
9507 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9508 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9509 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9510 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9511 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9512 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9513 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9514 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9515 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9516 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9517 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9518 gdb.c++/virtfunc.cc: New names of C++ files.
9519 * gdb.chill/chillvars.ch: New name of Chill file.
9520 * gdb.base/configure.in, gdb.c++/configure.in,
9521 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9522 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9523 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9524 * configure.in (configdirs): Update to reflect directory changes.
9525 (target_abbrev): No longer define for any configuration.
9526 * Makefile.in: Cosmetic improvements to header comments.
9527
9528 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9529
9530 Various changes to gdb.t31:
9531
9532 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9533 * gdbme.ch: Make all key-words and predefineds be upper-case.
9534 * chillvars.exp: Expect key-words and predefinds in upper-case.
9535
9536 * chillvars.exp: Use gdb_test_exact many places.
9537 Change expected output for arrays (which now includes index labels).
9538
9539 * pr-5020.exp, gdme.ch (module PR_5020):
9540 New test, for PR-5020.
9541
9542 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9543
9544 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9545 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9546
9547 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9548
9549 * Makefile.in: Fix bit-rot in definitions of CHILL,
9550 CHILL_FOR_TARGET and Chill_LIB.
9551 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9552 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9553 CHILL, and CHILL_LIB.
9554
9555 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9556
9557 * Revert the previous changes. Please see Rob's directory
9558 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9559
9560 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9561
9562 * Makefile.in, configure.in, config/mips-gdb.exp,
9563 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9564 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9565 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9566 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9567 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9568 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9569 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9570 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9571 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9572 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9573 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9574 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9575 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9576 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9577 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9578 changes from 94Q1.
9579
9580 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9581
9582 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9583 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9584 Rob's new testing fragments.
9585
9586 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9587
9588 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9589 lib/gdb.exp: Replace error proc calls with perror.
9590
9591 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9592
9593 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9594 version also, match on casted version strings, and match on
9595 gdb startup case where the line numbers might be messed up.
9596
9597 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9598
9599 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9600 (CFLAGS): Delete it from here.
9601
9602 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9603
9604 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9605
9606 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9607
9608 * Makefile.in (RUNTEST): Default to just "runtest".
9609
9610 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9611
9612 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9613 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9614 the code has been restructured.
9615
9616 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9617
9618 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9619 \n, not just one of each.
9620
9621 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9622 /bin/cc gives a warning if you do.
9623
9624 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9625
9626 * gdb.t24/demangle.exp: change expect pattern of
9627 __t10ListS_link1ZUiRCUiPT0
9628
9629 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9630
9631 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9632 on local variables in recursive functions.
9633
9634 * gdb.t07/Makefile.in: Build the new test.
9635
9636 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9637
9638 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9639 directly. Instead compare the return values from actual calls.
9640
9641 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9642
9643 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9644
9645 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9646
9647 * From Peter Schauer with minor modifications.
9648 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9649 stops in mid-line in the caller. Add xfail for returning a float
9650 value on X86 targets.
9651
9652 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9653
9654 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9655 to avoid expect lossage.
9656 (fmem_LRbug_tests): Likewise.
9657 * gdb.disasm/hppa.s: Corresponding changes.
9658
9659 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9660 conditions to work with latest dejagnu/expect.
9661
9662 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9663 expected to fail on the PA.
9664 (backtrace in call with trampolines): Explicitly require main
9665 to be frame #1 (no trampolines should show up in backtrace).
9666
9667 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9668 "continue -expect".
9669 * gdb.t06/break.exp: Likewise.
9670 * gdb.t07/watchpoint.exp: Likewise.
9671 * gdb.t13/bitfields.exp: Likewise.
9672 * gdb.t15/{funcargs,return}.exp: Likewise.
9673 * gdb.stabs/weird.exp: Likewise.
9674 * config/{mips,udi}-gdb.exp: Likewise.
9675
9676 * hppa.sed: Enclose comments within a sed command to avoid
9677 losing with the old OSF1 sed.
9678
9679 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9680
9681 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9682 sequent dynix.
9683 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9684 * gdb.t15/funcargs.exp: Conditionally step again to really
9685 finish from marker_call_with_trampolines. Handle the case where
9686 the first step from within call_with_trampolines already steps
9687 us back to main.
9688 * gdb.t15/gdbme.c: Add comment to closing brace of
9689 call_with_trampolines for funcargs.exp.
9690
9691 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9692
9693 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
9694 Fix typo(s).
9695
9696 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9697
9698 * gdb.t07/gdbme.c: More code for watchpoint testing.
9699
9700 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9701 "Hardware watchpoint" throughout file.
9702 (test_watchpoint_triggered_in_syscall): New test.
9703 (test_complex_watchpoint): New test.
9704
9705 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9706
9707 * gdbme.c (call_with_trampolines): New function to try and step
9708 into. Tests trampoline problems on the PA.
9709
9710 * funcargs.exp (localvars_in_indirect_call): No longer expect
9711 stepping into indirect call to fail on PAs.
9712 (test_stepping_over_trampolines): New test.
9713
9714 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9715
9716 * TODO: Add suggestions for static member function tests, and
9717 completion tests.
9718
9719 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9720
9721 * TODO: Add suggestions for "p/a" tests.
9722
9723 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9724 (default_gdb_exit): Replace all the hair with sending "quit" to
9725 the process with a simple close.
9726
9727 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9728
9729 * TODO: Add suggestions for shared library tests.
9730
9731 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9732
9733 * TODO: Add suggestions for x/s tests.
9734
9735 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9736
9737 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
9738 "enable once", and "enable breakpoints once" with ".*".
9739
9740 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9741
9742 * TODO: Add suggestions about structure passing tests.
9743
9744 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9745
9746 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
9747 the primary1 test, use work around if __GNUC__ < 2.
9748 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
9749 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
9750 Test for bad output rather than waiting for timeout. Issue
9751 second continue only if first continue failed.
9752
9753 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9754
9755 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
9756 operator[] test with gdb_test because the old code didn't seem to
9757 be getting the quoting right with the new dejagnu.
9758
9759 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
9760
9761 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
9762 one from the path.
9763 * Makefile.in: Use a fresh expect if there is one, use runtest
9764 from the src tree if there is one.
9765
9766 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9767
9768 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
9769 next over recursive call. Revise the tests from that point on
9770 (which had been skipped) to match GDB's actual (correct) output.
9771
9772 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
9773 with next over a breakpoint whose condition is false.
9774
9775 * gdb.t00/help.exp: Comment out "help set print" tests just like
9776 (and for same reason as) "help set" test.
9777
9778 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9779
9780 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
9781 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
9782
9783 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9784
9785 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
9786 necessary gdb_target_udi.
9787
9788 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
9789
9790 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
9791 1838 and 2417; they are fixed.
9792
9793 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
9794 gdb.t03/ptype.exp (ptype structure, ptype union):
9795 Remove xfails; the test is looser than when the xfails were added.
9796
9797 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
9798 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
9799
9800 * gdb.t01/run.exp: Only run shell test if isnative.
9801
9802 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
9803 since "run" automatically loads if necessary. Call gdb_target_udi
9804 after the "file" since "file" kills any execution target.
9805
9806 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
9807 GDB. GDB doesn't work that way (not anymore at least) on UDI.
9808 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
9809 argument for UDI.
9810
9811 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
9812
9813 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
9814
9815 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
9816
9817 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9818
9819 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
9820 properly quoting regexps. This makes the second argument to
9821 demangle a fixed string, which matches the callers, instead of a
9822 shell-style pattern which is what the previous implementation
9823 used. Update some of the callers.
9824
9825 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9826
9827 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
9828 (comib_nullified_tests): Fix typo.
9829 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
9830 strings. No longer expected to fail.
9831
9832 * gdb.disasm/hppa.s (addib_tests): Fix typo.
9833 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
9834 strings. No longer expected to fail.
9835
9836 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
9837 string. No longer expected to fail.
9838
9839 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9840
9841 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
9842 No longer expected to fail.
9843
9844 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
9845 string. No longer expected to fail.
9846
9847 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9848
9849 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
9850 only in the names (I probably got most of them). I was even
9851 generous with some which differed in underscores in names, and
9852 probably missed a few, and I *still* was able to remove almost a
9853 third of the file with almost no impact on testsuite coverage.
9854
9855 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9856
9857 * gdb.t00/default.exp: Match udi_attach error message as well as
9858 the one from child_attach.
9859
9860 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
9861
9862 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
9863
9864 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
9865 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
9866
9867 * Move test with enums and partial symbols back to
9868 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
9869 Reverts the change of 26 May 93. Per today's change to
9870 stabs.texinfo, the behavior that weird.exp was expecting was
9871 unreasonable; what is important is that the compiler+gdb get
9872 things right, which happens with a recent gcc. Also fix the test
9873 to deal with native compilers which put out the stab gdb can't
9874 deal with.
9875
9876 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9877
9878 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
9879 in the names. The main thing these accomplish is to slow things down.
9880 Many more such duplicates surely remain.
9881
9882 * gdb.t00/help.exp: Comment out "help support" test just like
9883 (and for same reason as) "help set" test.
9884
9885 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
9886
9887 * gdb.t06/break.exp: Remove setup_xfails for
9888 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
9889 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
9890 about known bug in gcc to include up through 2.5.8.
9891 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
9892 well as "_vb$".
9893 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
9894 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9895 with latest gcc and gdb.
9896 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
9897 well as "_vb$".
9898
9899 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9900
9901 * configure.in (hppa*-*-*): Also configure and build stabs-only
9902 tests.
9903
9904 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9905
9906 * gdb.t10/hppa.mt: A makefile fragment for the PA.
9907 * gdb.t10/configure.in (hppa*-*-*): Use it.
9908
9909 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9910
9911 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
9912
9913 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9914
9915 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
9916 versions prior to 1.13.5.
9917
9918 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9919
9920 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
9921 the prompt is at the start of a line.
9922
9923 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9924
9925 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
9926 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
9927 in the copr tests now.
9928 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
9929 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
9930 expected to fail.
9931
9932 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
9933
9934 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
9935 gdb.t31/chillvars.exp, lib/gdb.exp:
9936 Tweak to run under either version of expect.
9937 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
9938 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
9939 * gdb.t11/list.exp: Remove extraneous whitespace.
9940
9941 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9942
9943 * gdb.t16/printcmds.exp (test_print_strings): Accept
9944 "(unsigned char *) " before the string.
9945
9946 * TODO: Add notes about printing of fancy types and GDB expressions.
9947
9948 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
9949
9950 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
9951 * gdb.t06/configure.in: Don't try to compile signals test program
9952 if doing mips-idt-ecoff.
9953
9954 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
9955
9956 * Most .exp files: Tweak to run under either version of expect.
9957
9958 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9959
9960 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9961 xfails; I'm not sure why they are failing, but not because of PR 1806.
9962
9963 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9964
9965 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9966 defined in lib/gdb.exp.
9967
9968 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9969
9970 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9971 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9972 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9973 have to be typeless.
9974
9975 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9976
9977 * TODO: Add suggestion for copyright year test.
9978
9979 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9980
9981 * configure.in (*-*-lynxos*): Add stabs tests.
9982
9983 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9984
9985 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9986 so insert a tab before any assembler directive in column zero.
9987
9988 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9989 stores.
9990 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9991 stores.
9992 (fpu_short_memory_tests): Likewise.
9993
9994 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9995
9996 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9997 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9998 .stabs directives in comments.
9999
10000 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10001
10002 * TODO: New file, describing tests we could write.
10003 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10004
10005 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10006
10007 * gdb.t06/signals.exp: Add kludge to force re-sync.
10008
10009 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10010 to xgdb instead of gdb, get out of gdb.
10011
10012 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10013
10014 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10015 for info.
10016
10017 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10018
10019 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10020 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10021 * gdb.stabs/hppa.sed: New sed script for the PA.
10022
10023 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10024
10025 * gdb.stabs: Re-write weird.def and configuration to use sed
10026 instead of cpp. sed is portable and POSIX; cpp is neither.
10027
10028 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10029
10030 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10031
10032 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10033
10034 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10035
10036 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10037
10038 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10039 "_vb$".
10040 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10041 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10042
10043 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10044
10045 * lib/gdb.exp: Comment out code which depends on non-existent
10046 `transform' procedure.
10047
10048 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10049
10050 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10051 * lib/gdb.exp: Transform tool name.
10052 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10053 1.1's new error handling system.
10054
10055 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10056
10057 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10058
10059 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10060
10061 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10062 They made pattern matching so slow that timeouts happened on
10063 heavily loaded systems. Now any output from "show print" which
10064 gets us back to the GDB prompt is a PASS.
10065
10066 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10067
10068 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10069
10070 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10071
10072 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10073
10074 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10075 It is not from PR 3220.
10076
10077 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10078
10079 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10080 just started failing because they depended on the order the
10081 subcommands are presented, or exact docstring text. This kind of
10082 test is a pain and has minimal benefit.
10083
10084 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10085
10086 * gdb.t09/corefile.exp: At end of test, use "core" command with
10087 no arguments.
10088
10089 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10090
10091 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10092 17}/Makefile.in: Make it possible to run the testsuite with Sun
10093 make and CC = cross gcc by adding explicit build rules for .o
10094 files.
10095
10096 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10097
10098 * gdb.t15/funcargs.exp: Don't put comments on same line as
10099 setup_xfail (@#$*%& tcl braindamage!).
10100
10101 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10102
10103 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10104
10105 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10106
10107 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10108 * gdb.t20/inherit.exp: remove three dumplicate entries.
10109
10110 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10111
10112 * gdb.t06/break.exp: For "next over recursive call", fail on any
10113 incorrect output, not just on "factorial (value=2)".
10114
10115 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10116
10117 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10118 working now. Add an xfail if accesing a bss variable causes
10119 a memory error if the target is not yet run.
10120
10121 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10122
10123 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10124 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10125 name of __st* demangling (2 strings). Did Kung really get the
10126 more than 95 others right without testing them?
10127
10128 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10129
10130 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10131
10132 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10133
10134 * configure.in (configdirs): Add gdb.disasm
10135 * gdb.disasm: New directory for GDB disassembler tests.
10136 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10137
10138 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10139
10140 * gdb.t00/help.exp: Don't test "help set".
10141
10142 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10143 from within expect statements. None of these happen anymore and
10144 they cause regressions to be silently unnoticed.
10145
10146 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10147 messages) about known failures with gcc cygnus-2.4.5-930417.
10148
10149 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10150 comp-info.exp so it gets built if it doesn't exist.
10151
10152 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10153 it is no longer used.
10154 * gdb.t13/comp-info.c: Removed.
10155
10156 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10157
10158 * gdb.t06/signals.exp: Add xfail for sun3.
10159
10160 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10161
10162 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10163 relevant because ^C doesn't get sent but failure can be reproduced
10164 interactively).
10165
10166 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10167
10168 * gdb.stabs/alpha.mt: New configuration file for alpha.
10169 * gdb.stabs/configure.in: Use it.
10170 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10171 sharing with alpha.mt, redefine long to word via preprocessor.
10172 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10173 for alpha.
10174 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10175 native cc.
10176 * gdb.t00/teststrategy.exp: Change expect string so that we
10177 consume the `(xgdb)' from the command echo and from the gdb prompt.
10178 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10179 gdb currently compares all values as long, so this failure probably
10180 applies to any configuration where LONGEST is bigger than a target int.
10181 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10182 with gcc.
10183 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10184 to handle opaque pointers, gcc is.
10185 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10186 as first argument. Include <sys/types.h> and change all operator
10187 new definitions to use size_t.
10188 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10189 now that we use size_t.
10190
10191 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10192
10193 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10194 a long or float array cast all array members to the same type.
10195 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10196 with 64 bit longs.
10197 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10198 on alpha.
10199 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10200
10201 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10202
10203 * gdb.t24 (demangle.exp): Constructors of templates have names like
10204 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10205 section 14.6 of the ARM.
10206
10207 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10208 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10209 accomplish little and slow down the testsuite.
10210
10211 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10212 Accept spaces various places.
10213
10214 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10215
10216 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10217 with watchpoint enabled.
10218
10219 * Makefile.in: Remove definition of CC and remove the second
10220 definition of CXX (the "CXX = gcc" one remains). These definitions
10221 were causing backquotes to be expanded within backquotes, which
10222 doesn't work.
10223
10224 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10225
10226 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10227
10228 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10229
10230 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10231 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10232 by mips cc and contains no stabs entries.
10233
10234 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10235
10236 * config/vx-gdb.exp: Use fake device to load files rather than
10237 NFS.
10238 * lib/gdb.exp: New proc to do "file" command.
10239 * config/unix-gdb.exp: Use new "file" proc.
10240
10241 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10242
10243 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10244 Rework board rebooting slightly.
10245 (gdb_exit): Don't exit from the remote shell; there isn't one.
10246 * gdb.stabs/weird.exp: If a program is being debugged already,
10247 kill it.
10248 * gdb.t04/setvar.exp: Stop and restart gdb.
10249 * gdb.t05/expr.exp: Likewise.
10250 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10251 restart gdb and reload the program.
10252 * gdb.t08/opaque.exp: Likewise.
10253 * gdb.t12/scope.exp: Likewise.
10254 * gdb.t13/bitfields.exp: Likewise.
10255 * gdb.t15/funcargs.exp: Likewise.
10256 * gdb.t20/classes.exp: Likewise.
10257 * gdb.t03/ptype.exp: Increase timeout.
10258 * gdb.t16/printcmds.exp (test_print_string_constants,
10259 test_print_array_constants): Likewise.
10260 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10261 * gdb.t20/classes.exp (do_tests): Likewise.
10262 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10263
10264 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10265
10266 * gdb.stabs: Renamed *wierd* to *weird*.
10267
10268 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10269
10270 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10271 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10272
10273 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10274
10275 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10276 (do_tests): Remove xfail for whatis on one_var and two_var.
10277
10278 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10279
10280 * Makefile.in: Made cross building work better by adding
10281 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10282
10283 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10284
10285 * gdb.t15/{return.c,return.exp,Makefile.in}:
10286 New test, currently commented out.
10287
10288 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10289
10290 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10291 still running and removes the leftover named socket so GDb can do
10292 clean restarts.
10293
10294 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10295
10296 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10297 console, not GDB.
10298 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10299 cross testing works better with "make check"
10300 * config/unix-gdb: Use default procedures for exit and version.
10301 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10302 with the newest VxWorks.
10303
10304 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10305
10306 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10307 old form.
10308
10309 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10310 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10311
10312 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10313
10314 * config/unix-gdb.exp: Remove this version of gdb_exit
10315 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10316 Rob says he'll look at it when he gets back to testing boards.
10317
10318 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10319
10320 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10321 an expected fail for certain ptype commands.
10322
10323 * gdb.t20/classes.exp: Update expected results of "ptype class
10324 Base1" to account for the constructor that now appears in the type.
10325
10326 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10327
10328 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10329 disappeared from list.
10330 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10331 "alldone" proc with call to cleanup and exit.
10332 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10333 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10334 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10335 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10336 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10337 "alldone" proc with simple returns that suppress remaining
10338 tests. The alldone proc went away many months ago.
10339
10340 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10341
10342 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10343
10344 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10345
10346 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10347
10348 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10349 as vax gdb will display them.
10350
10351 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10352
10353 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10354 optimizers.
10355
10356 * scope.exp: Change "bad value for localval" messages so each one
10357 is unique.
10358
10359 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10360 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10361
10362 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10363
10364 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10365
10366 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10367 doesn't exist (due to optimization).
10368
10369 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10370
10371 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10372 contains \r because the filename is long.
10373
10374 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10375 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10376
10377 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10378
10379 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10380 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10381 Ultrix.
10382 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10383 int tests.
10384 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10385
10386 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10387
10388 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10389
10390 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10391 to match does not match the passing case but still matches the
10392 failing case.
10393
10394 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10395
10396 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10397
10398 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10399
10400 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10401 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10402 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10403 Remove various versions of gdb_exit.
10404 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10405 gdb_exit.
10406 * config/unix-gdb.exp: gdb_exit remains here, and should override
10407 the generic version, since it's doing a lot of wierd stuff that
10408 the other versions aren't. FIXME, fold it in, or abandon this
10409 version.
10410
10411 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10412
10413 * gdb.t24/demangle.exp: Add tests for PR 3220.
10414
10415 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10416
10417 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10418
10419 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10420
10421 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10422 "i386-*-*". Works for i486 as well.
10423
10424 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10425 bug, and expand domain of xfail to all SVR4 systems, since the
10426 actual problem is likely to be in generic SVR4 /proc support.
10427
10428 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10429
10430 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10431
10432 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10433
10434 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10435 xfails for other systems. Match a missing 'Continuing.' as an
10436 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10437
10438 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10439 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10440 Only issue warning for missing executables if -all option is used.
10441
10442 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10443 file if -all option is used. It's like an unpredictable XFAIL.
10444
10445 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10446
10447 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10448 for dynamically linked binaries.
10449
10450 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10451
10452 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10453
10454 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10455 to state that this is a known bug in old versions of g++.
10456
10457 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10458
10459 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10460 while waiting for `Continuing'.
10461
10462 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10463
10464 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10465 in text, data, and bss.
10466 * gdb.t10/nodebug.c: Add local and global test variables for
10467 initialized and uninitialized data.
10468
10469 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10470
10471 * config/unix-gdb.exp (gdb_exit): Add "wait".
10472
10473 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10474
10475 * gdb.t06/signals.exp: xfail the continue from the handler for all
10476 targets.
10477
10478 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10479 function with watchpoints enabled, the i386 call dummy starts with
10480 a call.
10481
10482 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10483 386 bsd names its corefiles.
10484
10485 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10486
10487 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10488 compilers don't grok it.
10489 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10490 with small octal ints rather than character constants, which
10491 are signed and might not fit if first promoted to int.
10492
10493 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10494
10495 * gdb.t09/Makefile.in (clean): Remove corefile.
10496
10497 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10498
10499 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10500
10501 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10502 and Jim Kingdon (kingdon@cygnus.com)
10503
10504 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10505 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10506 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10507
10508 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10509
10510 * gdb.t17/interrupt.exp: Add xfail for hppa.
10511
10512 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10513
10514 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10515 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10516 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10517 to determine signed-ness of bitfields and use the result to setup
10518 the xfail.
10519 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10520 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10521 call line is reached if necessary.
10522
10523 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10524
10525 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10526
10527 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10528
10529 * gdb.t06/break.exp: Also test `clear' command.
10530
10531 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10532
10533 * gdb.t00/teststrategy.exp: Remove extra quote.
10534
10535 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10536 watchpoint enabled to be for all non-68k machines.
10537
10538 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10539
10540 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10541
10542 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10543 targets use aout.mt instead of ecoff.mt as gas understands
10544 standard aout format.
10545
10546 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10547
10548 * lib/gdb.exp (runto): Don't insist that function we are running to
10549 was compiled with -g.
10550
10551 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10552
10553 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10554 to get back into the read system call.
10555 Accept leading newline in case where we woke it up.
10556
10557 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10558
10559 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10560 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10561 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10562 enable ecoff configuration.
10563
10564 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10565
10566 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10567
10568 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10569
10570 * gdb.t16/printcmds.exp: Add another printf test.
10571
10572 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10573
10574 * configure.in: If configured -with-stabs on any target, add
10575 stabsdirs to configdirs.
10576
10577 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10578
10579 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10580 fun" so pattern does not match the command itself.
10581
10582 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10583
10584 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10585
10586 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10587
10588 * gdb.t17/interrupt.exp: Test for more things.
10589
10590 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10591
10592 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10593 compiler arranges the code and line numbers.
10594
10595 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10596
10597 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10598
10599 * gdb.t00/help.exp: Increase expect input buffer size.
10600
10601 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10602
10603 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10604
10605 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10606
10607 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10608
10609 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10610 [0-9]*, not just [0-9].
10611
10612 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10613
10614 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10615
10616 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10617
10618 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10619
10620 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10621
10622 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10623
10624 * gdb.t06/signals.c: Add xfails for sun3.
10625
10626 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10627
10628 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10629 test_stepping tests.
10630
10631 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10632
10633 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10634
10635 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10636
10637 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10638 rather than actually putting it through cpp twice.
10639
10640 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10641
10642 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10643
10644 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10645 no longer needed.
10646
10647 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10648
10649 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10650
10651 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10652 C++ features prints as "struct", make it a pass, not an xfail.
10653
10654 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10655
10656 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10657 Don't require VA to print as "class" rather than "struct".
10658
10659 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10660
10661 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10662
10663 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10664
10665 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10666
10667 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10668
10669 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10670 order.
10671
10672 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10673
10674 * gdb.t16/printcmds.exp: Add printf tests.
10675
10676 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10677
10678 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10679
10680 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10681
10682 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10683 pass counts, to counteract any existing or future setup_xfails.
10684
10685 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10686
10687 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10688 {BEGIN,END}_COMMON for common block instead of STAB.
10689 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10690
10691 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10692 intp_var should be N_GSYM not N_LSYM.
10693 wierd-aout.S: Use a label for the value of the N_SO.
10694 wierd.def: Remove all backslashes.
10695 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10696
10697 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10698
10699 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10700 get the expected next to inheritance3.
10701
10702 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10703
10704 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10705 now that gcc-2.4 gets it right.
10706
10707 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10708
10709 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10710
10711 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10712 generating comp-info.exp which works for cross-compilation.
10713
10714 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10715
10716 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10717 "*-*-sysv4.*".
10718
10719 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10720
10721 * gdb.t01/run.exp: Start with a fresh gdb.
10722 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10723 SVR4.x.
10724
10725 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10726
10727 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10728 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10729 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10730 Makefile.in (distclean, realclean): Remove gdbme.c from list of
10731 things to remove.
10732
10733 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
10734
10735 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
10736 test cases from bug reports.
10737
10738 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
10739
10740 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
10741 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
10742 avoid spurious xfails.
10743 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
10744 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
10745 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
10746
10747 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
10748
10749 * gdb.t00/teststrategy.exp: Rework to provide more useful
10750 description of each test, fix problem with systems that define
10751 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
10752 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
10753 results for "next over recursive call" so timeouts aren't taken
10754 by error.
10755
10756 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
10757
10758 * gdb.t12/scope.exp: Test printing of variables before run.
10759
10760 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
10761 printed in wrong order due to sorting.
10762
10763 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
10764
10765 * gdb.t00/teststrategy.exp: Fix expected results for printing
10766 user entered string constant. Is array of char, prints with no
10767 address.
10768
10769 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
10770 commands.
10771 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
10772 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
10773 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
10774 of struct of char arrays.
10775 * gdb.t00/radix.exp: New tests for radix commands.
10776
10777 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
10778
10779 * gdb.t16/printcmd.exp: Print a variable before running program
10780 (with xfail for AIX).
10781
10782 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
10783
10784 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
10785
10786 * gdb.t16/printcmd.exp: Don't print variables before running program.
10787
10788 * gdb.t06/break.exp: Don't require envp argument to main.
10789
10790 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
10791
10792 * gdb.t02/whatis.exp, gdb.t11/list.exp:
10793 Add xfails for rs6000.
10794
10795 * gdb.t02/whatis.exp: Change other tests not to re-test something
10796 we already tested.
10797
10798 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
10799 each type used has a variable of that type.
10800
10801 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
10802
10803 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
10804
10805 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
10806
10807 * configure.in: change srctrigger to be a file, not a directory
10808
10809 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
10810
10811 * configure.in (mips-idt-ecoff*): Added trailing '*'.
10812
10813 * gdb.t11/list.exp: Fixed a couple of typos.
10814
10815 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
10816
10817 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
10818 is fixed and PR is closed.
10819 * gdb.t16 (gdbme.c): Add simple test string variable.
10820 * gdb.t16 (printcmds.exp): Add tests with simple test string
10821 variable, primarily for boundaries on "set print elements".
10822
10823 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
10824
10825 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
10826 Make leading 0's optional and don't expect a tab in the middle
10827 of the number.
10828
10829 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
10830
10831 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
10832 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
10833 don't end command passed to gdb_test with newline.
10834
10835 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
10836 signed keyword away, don't expect signed bitfields to be signed.
10837
10838 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
10839 printing with only as many 1's as are in the field as well as printing
10840 with 32 1's (see comment).
10841
10842 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
10843
10844 * gdb.t00/default.exp: Start with a fresh gdb.
10845 * configure.in (configdirs): Remove gdb.t31 until the chill
10846 compiler works again. It no longer is able to find chillrt0
10847 since it isn't in libchill.a anymore.
10848 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
10849 wierd.o, make more modular.
10850 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
10851 spurious newlines that caused problems.
10852
10853 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10854
10855 * Move test with enums and partial symbols from gdb.t03/ptype.exp
10856 to gdb.stabs/wierd.exp since GCC has worked around the bug.
10857 gdb.stabs/wierd.{exp,def}: Many new tests.
10858
10859 * gdb.t00/default.exp: update info line for new message.
10860
10861 * gdb.t02/{whatis.exp,gdbme.c}:
10862 Test that "char *" doesn't print as "caddr_t".
10863
10864 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10865
10866 * gdb.t00/help.exp: Use .* in place of some help messages which
10867 just changed.
10868 gdb.t00/default.exp: Update "info frame" test for new message.
10869 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
10870 Remove some xfails
10871
10872 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10873
10874 * gdb.t03/{gdbme.c,ptype.exp}:
10875 Add tests for typedef'd struct and union without tags.
10876 Also check "whatis" on a variable of a typedef'd enum without a tag.
10877
10878 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
10879 PRMS 1823; the bug still exists but isn't reproduced by this test
10880 anymore), and remove rs6000 XFAIL (the bug is fixed).
10881
10882 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
10883 duplicated from whatis.exp. For those that are left, accept
10884 "long", "long int", or "int" for long variables (whatis.exp already
10885 has an XFAIL for "int", so no need to fail it here).
10886
10887 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
10888 Deal with GCC's names for types now that GDB uses the compiler's names.
10889
10890 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
10891 setup_xfail's for sunos4. If we #defined the signed keyword away,
10892 don't expect GDB to know that char it is signed.
10893
10894 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
10895
10896 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
10897
10898 * configure.in (configdirs): Add gdb.t24 for C++ tests that
10899 should work on any system, regardless of debugging format.
10900 * gdb.t21/demangle.exp: Move to gdb.t24.
10901 * gdb.t24/demangle.exp: Move from gdb.t21.
10902 * gdb.t24/{Makefile.in, configure.in}: New files.
10903
10904 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10905
10906 * configure.in: Do gdb.stabs and C++ tests only for stabs.
10907 * gdb.stabs: New directory.
10908
10909 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10910
10911 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
10912 not just "Quit anyway?".
10913
10914 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
10915
10916 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
10917 that all setup_xfails are immediately followed by clear_xfails.
10918
10919 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
10920
10921 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
10922 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
10923 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
10924 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
10925 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
10926 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10927 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10928 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
10929 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
10930 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
10931 gdb.t31/chillvars.exp, lib/gdb.exp:
10932 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
10933 bug-gdb@prep.ai.mit.edu.
10934
10935 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
10936
10937 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
10938 with 0.0, not integer 0.
10939
10940 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
10941
10942 * gdb.t06/break.exp: Update for "Kill the program" message change.
10943
10944 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
10945
10946 * Makefile.in (GDBFLAGS): Set to -nx.
10947 * Makefile.in (site.exp): Use GDBFLAGS.
10948
10949 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10950
10951 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
10952 Makefiles.
10953 (check): depend on just-check.
10954 (just-check): added so that tests can be run without a noop
10955 build pass.
10956
10957 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
10958
10959 Switch to using configure's configdirs.
10960 * Makefile.in (Makefile): add configure.in dependency.
10961 (SUBDIRS): removed redundant assignment.
10962 * configure.in: switch subdirs assignment to configdirs.
10963 * gdb.t*/configure.in: new files.
10964
10965 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10966
10967 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10968 works.
10969
10970 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10971
10972 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10973 in explicit rules. Apparently this is not supported by some makes.
10974
10975 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10976
10977 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10978
10979 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10980
10981 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10982 disappeared.
10983
10984 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10985
10986 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10987
10988 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10989
10990 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10991 watchpoint problem that is now fixed.
10992 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10993 uninitialized convenience variables.
10994 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10995 structures.
10996
10997 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10998
10999 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11000 which causes expect to get out of sync with gdb on long output
11001 from help set.
11002 * gdb.t09/corefile.exp: Make expected pattern for core file
11003 failing signal and frame output format less sun specific.
11004
11005 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11006
11007 * gdb.t31/chillvars.exp: Add and remove initial dummy
11008 breakpoint, so that symbol table is forced in.
11009 (Needed at least on Sunos4, though it seems not SVR4.)
11010 * gdb.t31/chillvars.exp: Update for changed output format.
11011
11012 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11013
11014 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11015
11016 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11017
11018 * Makefile.in: Added --srcdir when invoking runtest, removed the
11019 need for a local config file. (optional now)
11020
11021 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11022
11023 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11024 failure count used to force early termination. Add some more
11025 expected failures for gnu style demangling.
11026
11027 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11028
11029 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11030 pmi variable from gdb.t20/gdbme to get optimized away.
11031 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11032 Check for written corefile upon timeout _and_ eof.
11033
11034 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11035
11036 * config/unix-gdb.exp: Add missing return 0.
11037
11038 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11039
11040 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11041 test termination.
11042
11043 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11044
11045 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11046 disappeared.
11047
11048 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11049
11050 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11051 time as i860 support works.
11052
11053 * gdb.t15/funcargs.exp: Fix expected outputs to include
11054 "backtrace 100\r" rather than just "backtrace\r", to match last
11055 change.
11056
11057 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11058
11059 * config/udi-gdb.exp (gdb_exit): Remove close command.
11060 (gdb_target_udi): New procedure to set the UDI target.
11061 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11062 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11063 Added waits for prompts after several question responses. Added
11064 some more responses used by a29k-amd-udi-gdb.
11065 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11066 pass different arguments, restart UDI connection after program
11067 completion.
11068 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11069 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11070 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11071 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11072 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11073 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11074 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11075 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11076 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11077 after program completion.
11078 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11079 compiled with a SELECT_VECS setting.
11080 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11081 infinite recursion.
11082
11083 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11084 Added checks for COFF results, and made them expected failures for
11085 all targets. It would be better to make them expected failures
11086 for COFF targets only.
11087
11088 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11089
11090 * Makefile.in: add null dvi target, don't bother to recurse
11091 through test directories for info and install-info; rename
11092 $(datadir) to be dejagnu instead of deja-gnu
11093
11094 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11095
11096 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11097 compiler to coredump.
11098 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11099 code.
11100
11101 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11102
11103 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11104 coredump.
11105 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11106 code.
11107
11108 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11109
11110 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11111 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11112 which in a shell. Deletes xgdb when done.
11113 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11114 Tests the return from the "set height" or "set width" commands.
11115 Added a few return codes where needed.
11116
11117 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11118
11119 * Makefile.in (SUBDIRS): Add gdb.t17.
11120 * configure.in (subdirs): Add gdb.t17.
11121 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11122 files to test gdb's calling of functions in the inferior with
11123 the correct arguments and gdb's ability to retrieve any
11124 result returned.
11125
11126 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11127
11128 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11129 may be called after gdb goes away. Previous versions of expect
11130 needed these to avoid file descriptor leaks, but they cause
11131 errors with the current revision of expect.
11132 * gdb.t00/gdbvars.exp: Use -re on expected output after
11133 setting sevenbit-strings.
11134 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11135 to set sevenbit-strings consistent across tests.
11136 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11137 set sevenbit-strings consistent across tests.
11138
11139 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11140
11141 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11142 expected output to match current "expect" expectations.
11143
11144 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11145
11146 * gdb.t00/default.exp: Change expected output for default "source"
11147 command, to match new gdb behavior which requires a filename to
11148 source.
11149
11150 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11151
11152 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11153 expected fail for i486-*-* that misses the marker2 function.
11154 * gdb.t10/crossload.exp (bfddefault): Allow successful
11155 recognition of a format to pass even if no symbols are found.
11156 Explicitly catch failures where the format is not recognized
11157 or is ambiguous, and add the reason to the fail message.
11158 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11159 the cause is and invalid target and add reason to failure message.
11160 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11161 elf32-i386, elf32-sparc, and elf32-i860.
11162 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11163 Set up expected failure for 'filename'::variable scope resolution,
11164 which is now apparently broken on all targets.
11165 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11166 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11167 gdb.t23/templates.exp: Change failure for missing binfile into
11168 just a warning.
11169 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11170 references.
11171
11172 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11173
11174 * gdb.t00/default.exp: Add expected output for default "source"
11175 command, to match new gdb behavior.
11176 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11177
11178 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11179
11180 * config/*-gdb.exp: returns an error, rather than exiting on
11181 internal errors.
11182
11183 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11184
11185 * gdb.t03/gdbme.c: Add pointer to struct variable.
11186 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11187 referencing struct members.
11188
11189 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11190
11191 * configure.in (mips-idt-ecoff): New target.
11192 * config/mips-gdb.exp: New file for remote board using MIPS remote
11193 debugging protocol.
11194
11195 * Redid configuration scheme. Removed gdb.t*/configure.in.
11196 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11197 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11198 distclean targets. Built executables via .o files. Adjusted
11199 tests to account for source files in $(srcdir) rather than
11200 $(objdir).
11201 * lib/gdb.exp (runto): Don't expect () after the function name,
11202 because it may have arguments.
11203
11204 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11205
11206 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11207 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11208 expected failures for mips-idt-* and mips-sgi-*.
11209 * gdb.t00/default.exp (attach): Kill process if requested.
11210 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11211 that does not read core files.
11212 * gdb.t01/run.exp: Removed checks for exit status code.
11213 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11214 it is linked in.
11215 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11216 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11217 appropriate, rather than doing it by hand.
11218 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11219 execution.
11220 * gdb.t10/crossload.exp: Kill existing program if needed.
11221 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11222 appropriate, rather than doing it by hand. Always increase
11223 timeout for this test, not just for VxWorks.
11224
11225 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11226
11227 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11228 of Chill STRUCT types and STRUCT values.
11229 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11230 than "char".
11231 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11232 struct2): New struct definitions and initializations to test
11233 simple Chill STRUCT types.
11234
11235 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11236
11237 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11238 the null byte at the end of strings.
11239 * gdb.t00/default.exp: Make show version insensitive to copyright
11240 date.
11241 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11242 to avoid dependencies on target char signedness.
11243 * gdb.t16/printcmds.exp: Update expected results for explicitly
11244 unsigned char.
11245 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11246 now work.
11247 * gdb.t21/demangle.exp: Add many more patterns for template
11248 demangling, most of them being expected failures.
11249 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11250 string we are matching for, to match on the whole string.
11251 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11252 and fix a whole bunch that had incorrect expected output but were
11253 passing anyway because of the bug in "proc demangle".
11254 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11255 type.
11256 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11257
11258 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11259
11260 * gdb/testsuite: made modifications to testcases, etc., to allow
11261 them to work properly given the reorganization of deja-gnu and the
11262 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11263
11264 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11265
11266 * gdb/testsuite: Initial creation of gdb/testsuite.
11267 Migrated dejagnu testcases and support files for testing nm to
11268 gdb/testsuite from deja-gnu. These files were moved "as is"
11269 with no modifications. This migration is part of a major overhaul
11270 of dejagnu. The modifications to these testcases, etc., which
11271 will allow them to work with the new version of dejagnu will be
11272 made in a future update.
11273 \f
11274 Local Variables:
11275 mode: change-log
11276 left-margin: 8
11277 fill-column: 74
11278 version-control: never
11279 End:
This page took 0.260426 seconds and 5 git commands to generate.