2004-02-10 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2004-02-10 Andrew Cagney <cagney@redhat.com>
2
3 * lib/gdb.exp (gdb_expect_list): Recover from internal-errors
4 using gdb_internal_error_resync.
5
6 2004-02-09 Daniel Jacobowitz <drow@mvista.com>
7
8 * gdb.threads/thread-specific.exp: Stop early if no threads are
9 found.
10
11 2004-02-09 Michael Chastain <mec.gnu@mindspring.com>
12
13 * gdb.base/pending.exp: Remove extra \n from gdb_test calls.
14
15 2004-02-08 Daniel Jacobowitz <drow@mvista.com>
16
17 * lib/gdb.exp (gdb_breakpoint): Fail on unexpected pending
18 breakpoints.
19
20 2004-02-07 Daniel Jacobowitz <drow@mvista.com>
21
22 * config/sim.exp (gdb_load): Handle $arg == "".
23 * lib/gdb.exp (gdb_run_cmd): Honor gdb,do_reload_on_run.
24 * gdb.objc/basicclass.exp: Use gdb_run_cmd.
25
26 2004-02-07 Elena Zannoni <ezannoni@redhat.com>
27
28 * gdb.base/maint.exp: Update test to reflect
29 obstack changes.
30
31 2004-02-04 Jeff Johnston <jjohnstn@redhat.com>
32
33 * gdb.base/pendshr.c (pendfunc): New function that calls
34 pendfunc1.
35 * gdb.base/pending.c: Call pendfunc instead of pendfunc1.
36
37 2004-02-04 Fred Fish <fnf@redhat.com>
38
39 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
40 function symbols and update copyright years.
41 * gdb.arch/gdb1291.c: Ditto.
42
43 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
44
45 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
46
47 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
48
49 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
50
51 2004-02-03 Michael Chastain <mec.gnu@mindspring.com>
52
53 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
54
55 2004-02-02 Fred Fish <fnf@redhat.com>
56
57 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
58 remote targets. Update copyright years.
59
60 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
61
62 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
63 support.
64 * gdb.base/langs.exp: Fix test which attempts to create
65 breakpoint on non-existent function to handle new pending
66 support.
67 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
68 a breakpoint.
69 * gdb.base/pending.exp: New test.
70 * gdb.base/pending.c: New file.
71 * gdb.base/pendshr.c: Ditto.
72
73 2004-02-02 David Carlton <carlton@kealia.com>
74
75 * gdb.cp/overload.exp: Add overloadNamespace tests.
76 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
77 (overloadNamespace, XXX): New.
78 (main): Call XXX::marker2.
79
80 2004-02-01 Fred Fish <fnf@redhat.com>
81
82 * gdb.base/dump.exp: Use runto_main instead of "runto main".
83 * gdb.base/finish.exp: Ditto.
84 * gdb.base/gcore.exp: Ditto.
85 * gdb.base/huge.exp: Ditto.
86 * gdb.base/info-proc.exp: Ditto.
87 * gdb.base/return2.exp: Ditto.
88 * gdb.threads/gcore-thread.exp: Ditto.
89
90 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
91
92 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
93
94 2004-02-01 Mark Kettenis <kettenis@gnu.org>
95
96 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
97 that opening the file succeeds on OpenBSD.
98
99 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
100
101 * gdb.threads/thread-specific.c: New file.
102 * gdb.threads/threads-specific.exp: New test script.
103 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
104 to expect_out.
105
106 2004-02-01 Mark Kettenis <kettenis@gnu.org>
107
108 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
109 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
110 only on the "print_small_structs from print_long_arg_list" test.
111
112 2004-02-01 Daniel Jacobowitz <drow@mvista.com>
113
114 * gdb.base/completion.exp: Kill a stray backslash.
115
116 From Jim Ingham <jingham@apple.com>:
117 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
118 agrees with the result from sending a tab.
119
120 2004-01-31 Daniel Jacobowitz <drow@mvista.com>
121
122 * gdb.base/chng-syms.exp: Remove stray newline.
123
124 2004-01-31 Mark Kettenis <kettenis@gnu.org>
125
126 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
127 *-*-openbsd*.
128 * gdb.asm/openbsd.inc: New file.
129
130 2004-01-30 Mark Kettenis <kettenis@gnu.org>
131
132 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
133 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
134 *-*solaris2*. Remove commented out default settings for
135 asm-flags. Replace gdb_compile with target_link.
136
137 2004-01-29 Michael Chastain <mec.gnu@mindspring.com>
138
139 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
140 for all tests. Remove old hp-ux and cygnus xfail cases.
141
142 2004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
143
144 * gdb.base/chng-syms.exp: New file.
145 * gdb.base/chng-syms.c: New file.
146
147 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
148
149 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
150 Provide arms for current output in all my configurations.
151
152 2004-01-24 Michael Chastain <mec.gnu@mindspring.com>
153
154 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
155 * lib/compiler.cc: Likewise.
156 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
157 get the right preprocessor. Eval the output directly. Remove
158 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
159 hp_f77_compiler and hp_f90_compiler completely.
160 (gdb_preprocess): Delete.
161 (get_compiler): Delete.
162
163 2004-01-24 Mark Kettenis <kettenis@gnu.org>
164
165 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
166 <string.h>.
167
168 2004-01-24 Nick Roberts <nick@nick.uklinux.net>
169
170 * gdb.mi/mi-stack.exp: Update copyright.
171
172 2004-01-23 David Carlton <carlton@kealia.com>
173
174 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
175 test for cp_lookup_transparent_type.
176 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
177 call them.
178
179 2004-01-23 Daniel Jacobowitz <drow@mvista.com>
180
181 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
182 after -var-update.
183
184 2004-01-23 David Carlton <carlton@kealia.com>
185
186 * gdb.cp/namespace.cc (C::ensureRefs): New.
187 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
188
189 2004-01-20 Nick Roberts <nick@nick.uklinux.net>
190
191 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
192 case "-stack-list-locals 2".
193 * gdb.mi/mi-var-child.exp: Test for case
194 "-var-list-children --all-values NAME".
195
196 2004-01-18 Michael Chastain <mec.gnu@mindspring.com>
197
198 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
199
200 2004-01-18 Mark Kettenis <kettenis@gnu.org>
201
202 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
203 used with gdb_test_multiple.
204
205 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
206 read at address 0. This fixes PR testsuite/1504.
207
208 2004-01-18 Daniel Jacobowitz <drow@mvista.com>
209
210 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
211 Remove downloading, guessing the host executable, the calls to
212 gdb_file_cmd and gdb_target_cmd, and "load" support.
213 (infer_host_exec): New function broken out from gdb_load.
214 (gdb_load): New wrapper for gdbserver_gdb_load.
215 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
216 gdb_target_cmd. Use -target-select.
217 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
218 Download binaries to the host. Clear last_mi_remote_file when
219 we load a new binary.
220 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
221 call gdbserver_gdb_load and mi_gdb_target_cmd.
222
223 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
224
225 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
226 type patterns.
227
228 2004-01-17 Michael Chastain <mec.gnu@mindspring.com>
229
230 * gdb.cp/templates.exp: Fix typo in test name of
231 "print Foo<volatile char*>::foo".
232
233 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
234
235 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
236
237 2004-01-16 Ben Elliston <bje@wasabisystems.com>
238
239 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
240 (clean mostlyclean): Remove empty rm.
241
242 2004-01-15 Michael Chastain <mec.gnu@mindspring.com>
243
244 * gdb.base/setvar.exp: Add copyright years.
245
246 2004-01-14 David Carlton <carlton@bactrian.org>
247
248 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
249 PR c++/1511 and update coment.
250 * gdb.cp/templates.exp: Update patterns to match current output.
251 If changes involve something other than whitespace, KFAIL
252 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
253
254 2004-01-14 David Carlton <carlton@kealia.com>
255
256 * gdb.cp/namespace.exp: Add tests involving classes defined within
257 namespaces.
258 * gdb.cp/namespace.cc (C::CClass): New.
259 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
260
261 2004-01-14 Elena Zannoni <ezannoni@redhat.com>
262
263 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
264 what debug info we have. Print a better message if something goes
265 wrong while producing the separate debug info file.
266
267 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
268
269 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
270
271 2004-01-14 Michael Chastain <mec.gnu@mindspring.com>
272
273 * gdb.base/callfuncs.c: Add copyright notice.
274
275 2004-01-13 Michael Chastain <mec.gnu@mindspring.com>
276
277 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
278 inheritance. PR gdb/1498, PR gcc/13539.
279
280 2004-01-13 Elena Zannoni <ezannoni@redhat.com>
281
282 * gdb.threads/gcore-thread.exp: Prefix name of binary with
283 test specific name.
284 * gdb.mi/gdb669.exp: Ditto.
285 * gdb.mi/mi-pthreads.exp: Ditto.
286 * gdb.mi/mi1-pthreads.exp: Ditto.
287 * gdb.mi/mi2-pthreads.exp: Ditto.
288
289 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
290
291 * gdb.cp/member-ptr.cc: Add copyright notice.
292
293 2004-01-12 Michael Chastain <mec.gnu@mindspring.com>
294
295 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
296 some patterns for recent versions of gcc and hpacc. Delete
297 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
298 Delete tests that access a NULL pointer-to-member-data. This
299 script is still disabled for gcc.
300
301 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
302
303 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
304 escaped correctly.
305
306 2004-01-12 Elena Zannoni <ezannoni@redhat.com>
307
308 * gdb.base/sepdebug.exp: New file.
309 * gdb.base/sepdebug.c: New file.
310 * lib/gdb.exp (separate_debug_filename): New procedure.
311 (gdb_gnu_strip_debug): New procedure.
312
313 2004-01-12 Andrew Cagney <cagney@redhat.com>
314
315 * gdb.mi/ChangeLog: Delete file. Renamed to ...
316 * gdb.mi/ChangeLog-1999-2003: New file.
317
318 2004-01-12 Andrew Cagney <cagney@redhat.com>
319
320 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
321 "Renaming a directory to a non-empty directory returns ENOTEMPTY
322 or EEXIST", treat EBUSY as an XFAIL.
323
324 2004-01-11 Michael Chastain <mec.gnu@mindspring.com>
325
326 * gdb.base/scope.exp: Remove obsolete setup_xfail for
327 hp_cc_compiler.
328
329 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
330
331 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
332 decorations.
333
334 2004-01-10 Michael Chastain <mec.gnu@mindspring.com>
335
336 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
337 and "(aCC)" decorations. Remove obsolete doco about old
338 test results.
339
340 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
341
342 * gdb.cp/exception.exp: Fix typo in doco.
343
344 2004-01-09 Mark Kettenis <kettenis@gnu.org>
345
346 * gdb.base/gdb1476.exp: Fix typo.
347
348 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
349
350 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
351 file.
352
353 2004-01-09 Michael Chastain <mec.gnu@mindspring.com>
354
355 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
356 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
357 Use gdb_compile. Remove restriction on gcc. Add some patterns
358 for recent version of gdb. Delete second half, which was a copy
359 of the first half with different build flags. This test is
360 still disabled because it is still not ready for production.
361
362 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
363
364 * gdb.cp/exception.cc: Add copyright notice.
365 * gdb.cp/exception.exp: Add a notice that this file is broken
366 because of line number changes caused by addition of copyright
367 notice.
368
369 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
370
371 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
372 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
373
374 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
375
376 * gdb.cp/classes.exp: Accept gnu abi 2.
377 * gdb.cp/derivation.exp: Likewise.
378 * gdb.cp/overload.exp: Likewise.
379 * gdb.cp/virtfunc.exp: Likewise.
380
381 2004-01-08 Michael Chastain <mec.gnu@mindspring.com>
382
383 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
384 semicolon after end of function.
385
386 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
387
388 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
389 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
390 boilerplate code for compiling and running the program under
391 test. Add some string method tests.
392
393 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
394
395 * gdb.cp/bs15503.cc: Add copyright notice.
396 * gdb.cp/bs15503.exp: Adjust line number.
397
398 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
399
400 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
401 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
402
403 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
404
405 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
406 hp_cc_compiler.
407
408 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
409
410 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
411 * gdb.cp/ctti.exp: Use the marker instead of "next".
412 With gcc, run further before bailing.
413
414 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
415
416 * gdb.cp/cttiadd.cc: Add copyright notice.
417 * gdb.cp/cttiadd1.cc: Likewise.
418 * gdb.cp/cttiadd2.cc: Likewise.
419 * gdb.cp/cttiadd3.cc: Likewise.
420
421 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
422
423 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
424 Use gdb_test, gdb_test_multiple. Use floating-point values that
425 have exact representations in IEEE-ish formats.
426
427 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
428
429 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
430 compilers. Delete duplicate call to get_compiler_info.
431 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
432 * gdb.base/volatile.exp: Likewise.
433
434 2004-01-07 Mark Kettenis <kettenis@gnu.org>
435
436 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
437 memory at address 0.
438
439 2004-01-07 Michael Chastain <mec.gnu@mindspring.com>
440
441 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
442 to test for hp-ux assembler. Fix copyright years.
443
444 2004-01-07 Andrew Cagney <cagney@redhat.com>
445
446 * gdb.base/fileio.c (strerrno): Add "EBUSY".
447
448 2004-01-07 Andrew Cagney <cagney@redhat.com>
449
450 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
451 when creating the read-only file. From analysis by Roland McGrath
452 and Elena Zannoni.
453
454 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
455
456 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
457
458 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
459
460 * gdb.base/cvexpr.c: Be type-safe with function pointers and
461 data pointers.
462
463 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
464
465 * gdb.cp/m-static.exp: Compile one source file at a time.
466 Delete unused call to get_compiler_info.
467
468 2004-01-06 Michael Chastain <mec.gnu@mindspring.com>
469
470 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
471 * gdb.base/call-rt-st.exp: Likewise.
472 * gdb.base/nodebug.exp: Likewise.
473 * gdb.base/volatile.exp: Likewise.
474 * gdb.cp/ref-types.exp: Likewise.
475 * gdb.cp/templates.exp: Likewise.
476
477 2004-01-05 Mark Kettenis <kettenis@gnu.org>
478
479 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
480
481 2004-01-05 Michael Chastain <mec.gnu@mindspring.com>
482
483 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
484 hppa*-hp-hpux*.
485
486 2004-01-04 Mark Kettenis <kettenis@gnu.org>
487
488 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
489 x86_64-*-*.
490
491 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
492 sparc64-*-* and sparc*-solaris2*.
493
494 2004-01-04 Mark Kettenis <kettenis@gnu.org>
495
496 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
497 return ${tests}" test. The ${tests} already mentions the
498 filename.
499
500 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
501
502 * gdb.cp/local.exp: Accept gcc abi 2.
503
504 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
505
506 * gdb.cp/templates.exp: Accept gcc abi 2.
507
508 2004-01-02 Michael Chastain <mec.gnu@mindspring.com>
509
510 * lib/compiler.cc: Remove supports_template_debugging.
511 * gdb.cp/templates.exp: Do not test supports_template_debugging.
512
513 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
514
515 * gdb.cp/namespace.exp: Accept gcc abi 2.
516
517 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
518
519 * gdb.cp/method.exp: Accept gcc abi 2.
520
521 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
522
523 * gdb.cp/classes.exp: Generate identical results as old version.
524 * gdb.cp/derivation.exp: Likewise.
525 * gdb.cp/overload.exp: Likewise.
526 * gdb.cp/virtfunc.exp: Likewise.
527
528 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
529
530 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
531 mysterious bug with sourceware version of expect.
532
533 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
534
535 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
536 current versions of gcc, including gcc abi 2. Remove gratuitous
537 restart of test program. Use gdb_test_multiple and gdb_test for
538 all tests. Add patterns to xfail missing "const" in "const char *"
539 and kfail PR gdb/1155.
540
541 2004-01-01 Michael Chastain <mec.gnu@mindspring.com>
542
543 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
544 current versions of gcc, including gcc abi 2. Remove gratuitous
545 restart of test program. Use gdb_test_multiple and gdb_test for
546 all tests. Add patterns to kfail PR gdb/1498.
547
548 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
549
550 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
551 current versions of gcc, including gcc abi 2. Use "breakpoint"
552 and "continue" instead of restarting the target program. Use
553 gdb_test_multiple and gdb_test for all tests.
554
555 2004-01-01 Mark Kettenis <kettenis@gnu.org>
556
557 * gdb.asm/asm-source.exp: Update copyright year. Link statically
558 for *-*-solaris2*.
559
560 2003-12-31 Michael Chastain <mec.gnu@mindspring.com>
561
562 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
563 current versions of gcc, including gcc abi 2. Use "breakpoint"
564 and "continue" instead of restarting the target program several
565 times. Use gdb_test_multiple and gdb_test for all tests.
566
567 2003-12-18 Michael Chastain <mec.gnu@mindspring.com>
568
569 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
570 source files.
571
572 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
573
574 * gdb.base/environ.exp: Handle compiling test case from multiple
575 source files.
576
577 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
578
579 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
580
581 2003-12-17 Jim Blandy <jimb@redhat.com>
582
583 * gdb.base/freebpcmd.c: Add copyright notice.
584
585 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
586
587 2003-12-16 Michael Chastain <mec.gnu@mindspring.com>
588
589 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
590
591 2003-12-13 Jim Blandy <jimb@redhat.com>
592
593 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
594
595 2003-12-12 Kevin Buettner <kevinb@redhat.com>
596
597 * gdb.asm/frv.inc: New file.
598 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
599
600 2003-12-09 Fred Fish <fnf@redhat.com>
601
602 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
603 functions to break1.c and leave prototypes behind. Add more
604 "set breakpoint NN here" comments.
605 * gdb.base/break1.c: New file.
606
607 * gdb.base/break.exp: Handle compiling test case from multiple
608 source files and change source file references as needed.
609 * gdb.base/completion.exp: Ditto.
610 * gdb.base/condbreak.exp: Ditto.
611 * gdb.base/define.exp: Ditto.
612 * gdb.base/ena-dis-br.exp: Ditto.
613 * gdb.base/info-proc.exp: Ditto.
614 * gdb.base/maint.exp: Ditto.
615 * gdb.base/until.exp: Ditto.
616
617 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
618 hardcoded line numbers.
619 * gdb.base/define.exp: Ditto.
620 * gdb.base/ena-dis-br.exp: Ditto.
621 * gdb.base/maint.exp: Ditto.
622 * gdb.base/until.exp: Ditto.
623
624 * gdb.base/completion.exp: Use "break1" for completion tests since
625 "break" is no longer a unique prefix.
626
627 2003-12-06 Andrew Cagney <cagney@redhat.com>
628
629 * gdb.base/structs.exp (test_struct_returns): When applicable, set
630 "return_value_unimplemented". When an unimplemented struct return
631 architecture, report incorrect values as a KFAIL
632
633 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
634
635 * gdb.cp/rtti.exp: Accept new wording of warning from
636 cp_lookup_rtti_type.
637
638 2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
639
640 Partial fix for PR testsuite/1456.
641 * gdb.base/scope.exp (test_at_main): Replace references to
642 gcc_compiled with calls to test_compiler_info.
643 (test_at_foo): Likewise.
644 (test_at_bar): Likewise.
645
646 2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
647
648 Partial fix for PR testsuite/1456.
649 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
650 to test_compiler_info.
651
652 2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
653
654 * gdb.base/so-impl-ld.exp: Update copyright notice.
655
656 2003-12-02 Michael Chastain <mec.gnu@mindspring.com>
657
658 Partial fix for PR testsuite/1456.
659 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
660 to test_compiler_info.
661
662 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
663
664 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
665 from current versions of gdb. Clean up regular expressions.
666 Delete redundant timeout case.
667
668 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
669
670 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
671 from current versions of gdb. Clean up regular expressions.
672 Delete redundant timeout case.
673
674 2003-12-01 Michael Chastain <mec.gnu@mindspring.com>
675
676 Partial fix for PR testsuite/1456.
677 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
678 gcc_compiled with call to test_compiler_info.
679
680 2003-11-30 Michael Chastain <mec.gnu@mindspring.com>
681
682 Partial fix for PR testsuite/1456.
683 * gdb.base/list.exp (test_list_function): Delete unused declaration
684 of gcc_compiled.
685
686 2003-11-29 Michael Chastain <mec.gnu@mindspring.com>
687
688 Partial fix for PR testsuite/1456.
689 * gdb.base/complex.exp: Replace reference to gcc_compiled with
690 call to test_compiler_info.
691
692 2003-11-29 Mark Kettenis <kettenis@gnu.org>
693
694 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
695 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
696 it to create the appropriate note.inc.
697 * gdb.asm/asmsrc1.s: Include "note.inc".
698 * gdb.asm/netbsd.inc: New file.
699 * gdb.asm/empty.inc: New file.
700
701 2003-11-28 Michael Chastain <mec.gnu@mindspring.com>
702
703 Partial fix for PR testsuite/1456.
704 * gdb.base/constvars.exp: Replace references to gcc_compiled with
705 calls to test_compiler_info.
706
707 2003-11-27 Michael Chastain <mec.gnu@mindspring.com>
708
709 Partial fix for PR testsuite/1456.
710 * gdb.base/volatile.exp: Replace references to gcc_compiled with
711 calls to test_compiler_info.
712
713 2003-11-27 Mark Kettenis <kettenis@gnu.org>
714
715 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
716 pattern for the KFAILs.
717
718 2003-11-25 Adam Fedor <fedor@gnu.org>
719
720 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
721 * gdb.objc/objcdecode.m: New file.
722
723 2003-11-25 Adam Fedor <fedor@gnu.org>
724
725 * gdb.objc/nondebug.exp: Test for PR objc/1236.
726 * gdb.objc/nondebug.m: New file.
727
728 2003-11-26 Ben Elliston <bje@wasabisystems.com>
729
730 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
731 NetBSD as it does on FreeBSD. Modelled on a similar change by
732 Mark Kettenis on 2003-05-30.
733 (link-flags): Set to "--entry _start" regardless of target.
734 Special linker flags are to be appended to $link-flags.
735 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
736
737 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
738
739 * gdb.cp/method.exp: Accept output of new demangler.
740
741 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
742
743 * gdb/class2.exp: New file.
744 * gdb/class2.cc: New file.
745
746 2003-11-25 Michael Chastain <mec.gnu@mindspring.com>
747
748 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
749 of new demangler.
750
751 2003-11-23 Mark Kettenis <kettenis@gnu.org>
752
753 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
754 of gdb_test "run".
755
756 2003-11-23 Mark Kettenis <kettenis@gnu.org>
757
758 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
759 "continue" into "run".
760
761 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
762
763 Partial fix for PR testsuite/1456.
764 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
765 call to test_compiler_info.
766 * gdb.cp/ctti.exp: Likewise.
767 * gdb.cp/derivation.exp: Likewise.
768 * gdb.cp/member-ptr.exp: Likewise.
769 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
770 reference to gcc_compiled.
771
772 2003-11-23 Michael Chastain <mec.gnu@mindspring.com>
773
774 Fix PR testsuite/1463.
775 * gdb.base/structs.exp (start_structs_test): Call
776 get_debug_format before using the debug format.
777
778 2003-11-22 Andrew Cagney <cagney@redhat.com>
779
780 * lib/gdb.exp (gdb_test_multiple): Add simple example.
781 * gdb.base/structs.exp: Use gdb_test_multiple.
782
783 2003-11-20 Andrew Cagney <cagney@redhat.com>
784
785 * gdb.base/structs.exp: Handle and recover from internal errors.
786 Replace "foo${n}" with "foo<n>" in test messages.
787
788 * gdb.base/structs.exp: Update copyright. Rewrite.
789 * gdb.base/structs.c: Update copyright. Rewrite.
790
791 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
792 resync count exceeded.
793
794 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
795 from the internal error.
796 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
797 Original from Jim Blandy.
798 (gdb_test_multiple): Use gdb_internal_error_resync.
799
800 2003-11-19 Andrew Cagney <cagney@redhat.com>
801
802 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
803 KFAIL.
804
805 2003-11-17 Mark Kettenis <kettenis@gnu.org>
806
807 New testcase for PR backtrace/1435.
808 * gdb.arch/i386-unwind.exp: New file.
809 * gdb.arch/i386-unwind.c: New file.
810
811 2003-11-17 Andrew Cagney <cagney@redhat.com>
812
813 * lib/gdb.exp (compiler_info): New global.
814 (test_compiler_info): New function.
815 (get_compiler_info): Set compiler_info.
816 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
817 "compiler_info" to gcc-<major>-<minor>.
818
819 2003-11-15 Michael Chastain <mec.gnu@mindspring.com>
820
821 * gdb.trace/configure: Remove.
822
823 2003-11-13 Elena Zannoni <ezannoni@redhat.com>
824
825 * gdb.base/break.c: Add comments to aid finding line numbers for
826 breakpoints.
827 * gdb.base/break.exp: Remove all references to explicit line
828 numbers.
829
830 2003-11-11 Nick Clifton <nickc@redhat.com>
831
832 * gdb.base/shreloc.exp: Do not run for targets which do not
833 support shared objects.
834
835 2003-11-10 Corinna Vinschen <vinschen@redhat.com>
836
837 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
838 Don't run tests if nofileio flag is given.
839
840 2003-11-07 Elena Zannoni <ezannoni@redhat.com>
841
842 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
843 as well as 'Watchpoint'.
844
845 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
846
847 Reported by Jim Ingham <jingham@apple.com>:
848 * gdb.base/annota1.exp: Match at least one occurrence of the
849 signal handler annotation.
850
851 2003-11-06 Elena Zannoni <ezannoni@redhat.com>
852
853 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
854 as well as 'Watchpoint'.
855
856 2003-11-05 Michael Chastain <mec@shout.net>
857
858 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
859
860 2003-11-03 Kris Warkentin <kewarken@qnx.com>
861
862 * gdb.arch/gdb1291.c: New test file.
863 * gdb.arch/gdb1291.exp: New test script.
864 * gdb.arch/gdb1431.c: New test file.
865 * gdb.arch/gdb1431.exp: New test script.
866
867 2003-10-22 Michael Chastain <mec@shout.net>
868
869 * gdb.mi/pthreads.c: Add copyright notice.
870
871 2003-10-22 Michael Chastain <mec@shout.net>
872
873 * gdb.threads/pthreads.c: Add copyright notice.
874
875 2003-10-20 Michael Chastain <mec@shout.net>
876
877 * gdb.base/gdb1056.exp: New test script.
878
879 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
880
881 * gdb.threads/killed.exp: Use gdb_run_cmd.
882
883 2003-10-13 Daniel Jacobowitz <drow@mvista.com>
884
885 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
886 create a core file.
887 * gdb.threads/gcore-thread.exp: Likewise.
888
889 2003-10-13 Corinna Vinschen <vinschen@redhat.com>
890
891 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
892 type, based on char type.
893 (struct bit_flags_short_t): New bitfield type, based on short type.
894 (init_bit_flags_char): New fuction.
895 (init_bit_flags_short): Ditto.
896 (print_bit_flags_char): Ditto.
897 (print_bit_flags_short): Ditto.
898 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
899
900 2003-10-11 Michael Chastain <mec@shout.net>
901
902 * gdb.base/call-rt-st.exp: Update copyright year.
903
904 2003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
905
906 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
907 * gdb.disasm/sh3.s: Ditto.
908
909 2003-10-07 Daniel Jacobowitz <drow@mvista.com>
910
911 * gdb.threads/switch-threads.exp: New test.
912 * gdb.threads/switch-threads.c: New source file.
913
914 2003-10-07 Corinna Vinschen <vinschen@redhat.com>
915
916 * gdb.base/ending-run.exp: Add sh specific case.
917
918 2003-10-06 Andrew Cagney <cagney@redhat.com>
919
920 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
921 * gdb.disasm/mn10200.exp: Delete obsolete file.
922
923 2003-09-29 Daniel Jacobowitz <drow@mvista.com>
924
925 * ChangeLog: Correct an entry command.exp -> commands.exp.
926 * gdb.base/commands.exp (bp_deleted_in_command_test)
927 (temporary_breakpoint_commands): Check noargs.
928
929 2003-09-25 David Carlton <carlton@kealia.com>
930
931 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
932 of some print tests, where appropriate. Add tests for C::D::cd,
933 E::ce, F::cXfX, G::XgX.
934 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
935
936 2003-09-25 Richard Earnshaw <rearnsha@arm.com>
937
938 * lib/java.exp (java_init): Import target_alias before using it.
939
940 2003-09-25 David Carlton <carlton@kealia.com>
941
942 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
943
944 2003-09-23 Elena Zannoni <ezannoni@redhat.com>
945
946 * gdb.base/selftest.exp: Accomodate more instruction reordering
947 weirdness.
948
949 2003-09-17 Michael Chastain <mec@shout.net>
950
951 * gdb.cp/gdb1355.exp: New file.
952 * gdb.cp/gdb1355.c: New file.
953
954 2003-09-15 Corinna Vinschen <vinschen@redhat.com>
955
956 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
957 * gdb.asm/sh.inc: New file.
958
959 2003-09-11 David Carlton <carlton@kealia.com>
960
961 * gdb.cp/namespace.exp: Add tests for namespace types.
962 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
963 (test_namespace): New.
964
965 2003-09-11 Elena Zannoni <ezannoni@redhat.com>
966
967 * gdb.base/relocate.exp: Handle new gdb output at startup.
968 * gdb.stabs/weird.exp: Ditto.
969
970 2003-09-08 Michael Chastain <mec@shout.net>
971
972 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
973
974 2003-09-07 Michael Chastain <mec@shout.net>
975
976 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
977 'parse error'.
978
979 2003-09-07 Mark Kettenis <m.kettenis@osp.nl>
980
981 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
982
983 2003-08-30 Michael Chastain <mec@shout.net>
984
985 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
986 * gdb.gdb/observer.exp: Ditto.
987 * gdb.gdb/xfullpath.exp: Ditto.
988
989 2003-08-29 Mark Kettenis <kettenis@gnu.org>
990
991 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
992 *-*-*bsd*.
993
994 2003-08-28 Jeff Johnston <jjohnstn@redhat.com>
995
996 * gdb.base/dump.exp: Skip for ia64.
997
998 2003-08-25 Jeff Johnston <jjohnstn@redhat.com>
999
1000 * gdb.asm/asm-source.exp: Add ia64 support.
1001 * gdb.asm/ia64.inc: New file.
1002
1003 2003-08-22 Michael Chastain <mec@shout.net>
1004
1005 * gdb.cp: New directory.
1006 * gdb.cp/*: Copy from gdb.c++/*.
1007 * gdb.c++/*: Remove.
1008 * Makefile.in: Change gdb.c++ to gdb.cp.
1009 * configure.in: Ditto.
1010 * configure: Regnerate.
1011
1012 2003-08-18 Mark Kettenis <kettenis@gnu.org>
1013
1014 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
1015 * gdb.arch/i386-prologue.c (gdb1338): Add function.
1016
1017 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1018
1019 * mi-var-display.exp (-var-list-children weird): Accept function
1020 pointers with argument types.
1021 * mi1-var-display.exp (-var-list-children weird): Likewise.
1022 * mi2-var-display.exp (-var-list-children weird): Likewise.
1023
1024 2003-08-17 Daniel Jacobowitz <drow@mvista.com>
1025
1026 * gdb.base/annota3.exp: Add missing newline.
1027
1028 2003-08-06 Michael Chastain <mec@shout.net>
1029
1030 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
1031
1032 2003-08-12 Michael Snyder <msnyder@redhat.com>
1033
1034 * gdb.base/float.exp: Add test for SH.
1035
1036 2003-08-10 Mark Kettenis <kettenis@gnu.org>
1037
1038 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1039
1040 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1041
1042 * gdb.base/completion.exp: Remove reduntant completion test
1043 on filename.
1044
1045 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1046
1047 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1048 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1049 gdb.trace/save-trace.exp: Make sure that full pathnames are
1050 escaped correctly.
1051
1052 2003-08-07 Elena Zannoni <ezannoni@redhat.com>
1053
1054 * configure.in: Don't generate config.h from config.hin.
1055 * configure: Regenerate.
1056 * config.hin: Remove file.
1057 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1058 * gdb.threads/pthreads.c: Ditto.
1059
1060 2003-08-07 Daniel Jacobowitz <drow@mvista.com>
1061
1062 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1063 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1064 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1065 Replace ld24 with seth/add3.
1066
1067 2003-08-02 Andrew Cagney <cagney@redhat.com>
1068
1069 * gdb.base/annota3.exp: New file.
1070 * gdb.base/annota3.c: New file.
1071 * gdb.c++/annota3.exp: New file.
1072 * gdb.c++/annota3.cc: New file.
1073
1074 2003-07-29 Michael Chastain <mec@shout.net>
1075
1076 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1077 actually failed.
1078 (do_pass): Likewise.
1079 * gdb.threads/tls.exp: Always initialize no_of_threads.
1080
1081 2003-07-27 Daniel Jacobowitz <drow@mvista.com>
1082
1083 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1084 pattern.
1085 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1086 * gdb.threads/tls.exp: Recognize one case of the host library not
1087 supporting TLS.
1088
1089 2003-07-27 Andrew Cagney <cagney@redhat.com>
1090
1091 * gdb.base/fileio.exp: Use SH when running commands using
1092 remote_exec.
1093
1094 2003-07-24 Daniel Jacobowitz <drow@mvista.com>
1095
1096 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1097 * gdb.base/relocate.c (dummy): New padding array.
1098
1099 2003-07-22 Michael Snyder <msnyder@redhat.com>
1100
1101 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1102
1103 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1104 patterns to be more general, accepting old and new output.
1105 Some output chars (such as '+') also must be quoted.
1106 Some addresses are displayed numerically instead of
1107 symbolically.
1108
1109 2003-07-23 Michael Snyder <msnyder@redhat.com>
1110
1111 * gdb.base/return2.exp: Don't test long-long return.
1112
1113 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1114 * gdb.disasm/t01_mov.exp: Ditto.
1115 * gdb.disasm/t02_mova.s: Ditto.
1116 * gdb.disasm/t02_mova.exp: Ditto.
1117 * gdb.disasm/t03_add.s: Ditto.
1118 * gdb.disasm/t03_add.exp: Ditto.
1119 * gdb.disasm/t04_sub.s: Ditto.
1120 * gdb.disasm/t04_sub.exp: Ditto.
1121 * gdb.disasm/t05_cmp.s: Ditto.
1122 * gdb.disasm/t05_cmp.exp: Ditto.
1123 * gdb.disasm/t06_ari2.s: Ditto.
1124 * gdb.disasm/t06_ari2.exp: Ditto.
1125 * gdb.disasm/t07_ari3.s: Ditto.
1126 * gdb.disasm/t07_ari3.exp: Ditto.
1127 * gdb.disasm/t08_or.s: Ditto.
1128 * gdb.disasm/t08_or.exp: Ditto.
1129 * gdb.disasm/t09_xor.s: Ditto.
1130 * gdb.disasm/t09_xor.exp: Ditto.
1131 * gdb.disasm/t10_and.s: Ditto.
1132 * gdb.disasm/t10_and.exp: Ditto.
1133 * gdb.disasm/t11_logs.s: Ditto.
1134 * gdb.disasm/t11_logs.exp: Ditto.
1135 * gdb.disasm/t12_bit.s: Ditto.
1136 * gdb.disasm/t12_bit.exp: Ditto.
1137 * gdb.disasm/t13_otr.s: Ditto.
1138 * gdb.disasm/t13_otr.exp: Ditto.
1139
1140 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1141
1142 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1143
1144 2003-07-22 Elena Zannoni <ezannoni@redhat.com>
1145
1146 * gdb.threads/tls.c : New file.
1147 * gdb.threads/tls.exp : New file.
1148 * gdb.threads/tls-main.c : New file.
1149 * gdb.threads/tls-shared.c : New file.
1150 * gdb.threads/tls-shared.exp : New file.
1151
1152 2003-07-22 Andreas Schwab <schwab@suse.de>
1153
1154 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1155
1156 2003-07-20 Andreas Schwab <schwab@suse.de>
1157
1158 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1159 due to insn reordering.
1160
1161 2003-07-15 Andrew Cagney <cagney@redhat.com>
1162
1163 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1164
1165 2003-07-15 Michael Chastain <mec@shout.net>
1166
1167 * gdb.base/gdb1250.exp: New file.
1168 * gdb.base/gdb1250.c: New file.
1169
1170 2003-07-09 Michal Ludvig <mludvig@suse.cz>
1171
1172 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1173 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1174
1175 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1176
1177 * gdb.threads/tls.c: New file.
1178 * gdb.threads/tls.exp: New file.
1179 * gdb.threads/tls-main.c: New file.
1180 * gdb.threads/tls-shared.c: New file.
1181 * gdb.threads/tls-shared.exp: New file.
1182
1183 2003-07-09 Elena Zannoni <ezannoni@redhat.com>
1184
1185 * gdb.base/annota1.exp: Make sure that we properly escape the
1186 full path of the source file. Xfail more permissive patterns,
1187 due to a compiler debug info problem.
1188
1189 2003-07-07 Andreas Schwab <schwab@suse.de>
1190
1191 * gdb.asm/m68k.inc: New file.
1192 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1193
1194 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1195 arguments"): Also match negative number.
1196
1197 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1198
1199 2003-07-03 Daniel Jacobowitz <drow@mvista.com>
1200
1201 * gdb.base/store.c (charest): New typedef.
1202 (add_char): Rename to add_charest, update.
1203 (wack_char): Rename to wack_charest, update types. Return l + r
1204 to keep r live across the call.
1205 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1206 (wack_double, wack_doublest): Return l + r to keep r live across
1207 the call.
1208 * gdb.base/store.exp: Accomodate store.c changes.
1209
1210 2003-06-30 David Carlton <carlton@kealia.com>
1211
1212 * gdb.c++/maint.exp (test_invalid_name): New.
1213 (test_first_component): Add tests for invalid names.
1214
1215 2003-06-29 Michael Chastain <mec@shout.net>
1216
1217 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1218 output of '<VTT for class>' for virtual base classes.
1219
1220 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1221
1222 * gdb.base/completion.exp: Tab-complete "complet" instead of
1223 "compl".
1224 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1225
1226 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1227
1228 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1229 * gdb.base/volatile.exp: Likewise.
1230
1231 2003-06-29 Daniel Jacobowitz <drow@mvista.com>
1232
1233 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1234 gdb/1265.
1235
1236 2003-06-28 Michael Chastain <mec@shout.net>
1237 Daniel Jacobowitz <drow@mvista.com>
1238
1239 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1240 initial line count of 'captured_main' from 26 to 32.
1241 (test_with_self): Allow xmalloc call to be interleaved with the
1242 preceding two lines.
1243
1244 2003-06-24 Joel Brobecker <brobecker@gnat.com>
1245
1246 * gdb.base/bang.exp: New testcase.
1247
1248 2003-06-23 Joel Brobecker <brobecker@gnat.com>
1249
1250 * gdb.base/langs.exp: Add some tests for the "minimal" language
1251 support.
1252
1253 2003-06-23 Elena Zannoni <ezannoni@redhat.com>
1254
1255 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1256 the testcase.
1257
1258 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1259
1260 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1261 offset.
1262
1263 2003-06-22 Daniel Jacobowitz <drow@mvista.com>
1264
1265 * gdb.c++/pr-1210.cc: New file.
1266 * gdb.c++/pr-1210.exp: New file.
1267
1268 2003-06-21 Daniel Jacobowitz <drow@mvista.com>
1269
1270 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1271 000-exec-continue.
1272
1273 2003-06-15 Mark Kettenis <kettenis@gnu.org>
1274
1275 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1276 on *-*-*bsd* instead of *-*-freebsd*.
1277
1278 2003-06-14 Andrew Cagney <cagney@redhat.com>
1279
1280 * gdb.base/store.exp: Test longest and doublest. Test all
1281 parameters. Weaken return statement match.
1282 * gdb.base/store.c: Add longest and doublest - aka long long and
1283 long double functions. Put all parameters into local register
1284 variables. Use negative values.
1285
1286 2003-06-14 Andrew Cagney <cagney@redhat.com>
1287
1288 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1289 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1290 exit status.
1291 * gdb.base/fileio.exp: Disable target when nointerrupts and
1292 noinferiorio, instead of limiting it to remote. Use remote_exec
1293 instead of system.
1294
1295 2003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1296
1297 * gdb.base/float.exp: Add ia64 support.
1298
1299 2003-06-12 Corinna Vinschen <vinschen@redhat.com>
1300
1301 * gdb.base/fileio.exp: Run only on remote targets.
1302
1303 2003-06-10 Corinna Vinschen <vinschen@redhat.com>
1304
1305 * gdb.base/fileio.c: New file, testing File-I/O.
1306 * gdb.base/fileio.exp: Ditto.
1307
1308 2003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1309
1310 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1311 shared objects after relocation at load time (gdb PR/1132).
1312 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1313 as above, part of the shared object relocation test.
1314
1315 2003-06-08 Mark Kettenis <kettenis@gnu.org>
1316
1317 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1318 fully filled history list.
1319 * gdb.base/gdb_history: New file.
1320
1321 * gdb.base/signals.exp: XFAIL "continue to func1" on
1322 i*86-*-freebsd*.
1323
1324 * gdb.base/attach.exp: When trying to attach to a nonexistent
1325 process, make it possible to specify the PID based on the target,
1326 and do so for *-*-freebsd*.
1327
1328 2003-06-02 Richard Henderson <rth@redhat.com>
1329
1330 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1331
1332 2003-06-02 Richard Henderson <rth@redhat.com>
1333
1334 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1335
1336 2003-06-02 Richard Henderson <rth@redhat.com>
1337
1338 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1339
1340 2003-06-01 Daniel Jacobowitz <drow@mvista.com>
1341
1342 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1343 of globalvar.
1344
1345 2003-06-01 Mark Kettenis <kettenis@gnu.org>
1346
1347 * gdb.asm/asm-source.exp: Check for memory read errors in
1348 disassembler test on *BSD too.
1349
1350 2003-06-01 Richard Henderson <rth@redhat.com>
1351
1352 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1353 for .frame.
1354 (gdbasm_call): Lose ldgp.
1355 (gdbasm_startup): Add frame information.
1356 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1357
1358 2003-05-31 Mark Kettenis <kettenis@gnu.org>
1359
1360 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1361 i?86-*-*.
1362
1363 2003-05-30 Mark Kettenis <kettenis@gnu.org>
1364
1365 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1366 FreeBSD.
1367
1368 2003-05-29 Richard Henderson <rth@redhat.com>
1369
1370 * gdb.asm/alpha.inc: New file.
1371 * gdb.asm/asm-source.exp: Use it.
1372
1373 2003-05-29 Jim Blandy <jimb@redhat.com>
1374
1375 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1376 'core.PID'.
1377
1378 2003-05-22 Jim Blandy <jimb@redhat.com>
1379
1380 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1381 backtrace.
1382
1383 2003-05-20 David Carlton <carlton@math.stanford.edu>
1384
1385 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1386 this time.
1387
1388 2003-05-19 David Carlton <carlton@bactrian.org>
1389
1390 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1391 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1392
1393 2003-05-19 David Carlton <carlton@bactrian.org>
1394
1395 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1396 namespace tests.
1397 Bump copyright date.
1398 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1399 (main): Call C::D::marker2.
1400 * gdb.c++/namespace1.cc: New file.
1401
1402 2003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1403
1404 Roland McGrath <roland@redhat.com>
1405 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1406 there is no manager thread.
1407
1408 2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1409
1410 * gdb.threads/schedlock.exp: Remove assumption that all threads
1411 will run in a particular small time slice. Also ensure we break
1412 in one of the child threads rather than the main thread.
1413
1414 2003-05-07 Jim Blandy <jimb@redhat.com>
1415
1416 Add support for assembly source testing on the s390x.
1417 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1418 architecture.
1419 * gdb.asm/s390x.inc: New file.
1420
1421 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1422 succession of 'if' statements.
1423
1424 2003-05-05 Andrew Cagney <cagney@redhat.com>
1425
1426 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1427
1428 2003-05-05 Andrew Cagney <cagney@redhat.com>
1429
1430 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1431 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1432
1433 2003-05-02 Elena Zannoni <ezannoni@redhat.com>
1434
1435 * gdb.base/charset.exp: Update based on new behavior of set/show
1436 charset commands.
1437
1438 2003-05-01 Andrew Cagney <cagney@redhat.com>
1439
1440 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1441 variable do not give memory errors.
1442
1443 2003-04-30 Adam Fedor <fedor@gnu.org>
1444
1445 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1446 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1447 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1448 gdb.objc/basicclass.m: : New files
1449
1450 * lib/gdb.exp (gdb_compile_objc): New procedure.
1451
1452 2003-04-27 Daniel Jacobowitz <drow@mvista.com>
1453
1454 * gdb.base/signals.exp: Make backtrace tests more specific.
1455
1456 2003-04-23 David Carlton <carlton@bactrian.org>
1457
1458 * gdb.c++/maint.exp (test_first_component): Add tests for
1459 'operator' in more locations.
1460
1461 2003-04-16 Kevin Buettner <kevinb@redhat.com>
1462
1463 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1464
1465 2003-04-16 Elena Zannoni <ezannoni@redhat.com>
1466
1467 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1468 func marke' instead. Update test name.
1469
1470 2003-04-15 David Carlton <carlton@math.stanford.edu>
1471
1472 * gdb.c++/maint.exp: New file.
1473
1474 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1475
1476 * gdb.threads/schedlock.c: Change type of thread function argument
1477 to long, to avoid warnings on 64-bit platforms.
1478
1479 2003-04-14 Elena Zannoni <ezannoni@redhat.com>
1480
1481 * gdb.base/attach.exp: Add new message from ptrace in case of
1482 attaching to nonexistent process.
1483
1484 2003-04-11 Jim Blandy <jimb@redhat.com>
1485
1486 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1487 gdb.c++/userdef.cc: Place comments on the lines to which the
1488 marker function might return.
1489 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1490 gdb.c++/userdef.exp: Look for those comments to check that we've
1491 returned to the right place, instead of checking line numbers.
1492
1493 2003-04-11 Elena Zannoni <ezannoni@redhat.com>
1494
1495 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1496 match on sourcefile name, instead of directory name.
1497
1498 2003-04-10 Elena Zannoni <ezannoni@redhat.com>
1499
1500 * gdb.base/completion.exp: Use string_to_regexp to match the
1501 working directory name.
1502
1503 2003-04-09 Jim Blandy <jimb@redhat.com>
1504
1505 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1506 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1507 after an inferior function call, report the failure, but allow the
1508 test to continue.
1509
1510 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1511
1512 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1513 with -DPROTOTYPES.
1514
1515 2003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1516
1517 * gdb.base/break.exp: Revert last patch.
1518
1519 2003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1520
1521 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1522 with -DPROTOTYPES.
1523
1524 2003-04-02 Andrew Cagney <cagney@redhat.com>
1525
1526 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1527 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1528 matching directories by the name breakpoint.
1529 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1530 Make "continue to marker1" consistent.
1531 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1532 message consistent.
1533 * lib/gdb.exp: Put "the program is no longer running", and "the
1534 program exited" in parenthesis.
1535 * lib/mi-support.exp: Ditto.
1536
1537 2003-04-02 Bob Rossi <bob_rossi@cox.net>
1538
1539 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1540
1541 2003-03-29 Andrew Cagney <cagney@redhat.com>
1542
1543 * gdb.base/sizeof.c (main): Print the value of '\377'.
1544 * gdb.base/sizeof.exp: Check the sign of '\377'.
1545
1546 2003-03-27 Michael Chastain <mec@shout.net>
1547
1548 * gdb.base/gdb1090.exp: New file.
1549 * gdb.base/gdb1090.cc: New file.
1550
1551 2003-03-27 J. Brobecker <brobecker@gnat.com>
1552
1553 * gdb.gdb/observer.exp: New regression test.
1554
1555 2003-03-27 Michael Chastain <mec@shout.net>
1556
1557 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1558 * gdb.base/ptype.exp: Likewise.
1559
1560 2003-03-27 Corinna Vinschen <vinschen@redhat.com>
1561
1562 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1563
1564 2003-03-26 Michael Chastain <mec@shout.net>
1565
1566 * gdb.base/ptype.exp: Actually use some typedef'd types.
1567
1568 2003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1569
1570 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1571 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1572
1573 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1574
1575 * gdb.base/default.exp: Fix regular expression.
1576
1577 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1578
1579 * gdb.base/args.exp: Fix regular expression.
1580
1581 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1582
1583 * gdb.base/help.exp: Allow Win32 child process.
1584
1585 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1586
1587 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1588 when stepping out of main().
1589
1590 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1591
1592 * gdb.base/default.exp: Check for win32 specific message when calling
1593 "run" without executable.
1594
1595 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1596
1597 * gdb.base/args.exp: Expect .exe in output.
1598
1599 2003-03-20 Corinna Vinschen <vinschen@redhat.com>
1600
1601 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1602 Cygwin native.
1603
1604 2003-03-17 Andrew Cagney <cagney@redhat.com>
1605
1606 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1607 vector registes.
1608 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1609 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1610
1611 2003-03-17 David Carlton <carlton@math.stanford.edu>
1612
1613 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1614 test, for PR breakpoints/38.
1615 Call test_watchpoint_and_breakpoint.
1616 * gdb.base/watchpoint.c (func3): New function.
1617 (main): Call func3.
1618
1619 2003-03-04 David Carlton <carlton@math.stanford.edu>
1620
1621 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1622 Garply<Garply<char> >:: garply".
1623 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1624 with respect to PR c++/1111; note also PR c++/1113.
1625 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1626 respect to PR c++/1062.
1627 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1628
1629 2003-03-03 David Carlton <carlton@math.stanford.edu>
1630
1631 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1632 with respect to PR c++/57.
1633 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1634 c++/826.
1635 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1636 respect to PR c++/57.
1637
1638 2003-03-03 David Carlton <carlton@math.stanford.edu>
1639
1640 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1641 respect to PR c++/33 into FAILs.
1642
1643 2003-03-03 Michael Chastain <mec@shout.net>
1644
1645 * configure.in: Update copyright years.
1646
1647 2003-03-03 Michael Chastain <mec@shout.net>
1648
1649 * Makefile.in: Update copyright years.
1650
1651 2003-02-28 David Carlton <carlton@math.stanford.edu>
1652
1653 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1654 print class instead of struct and/or superfluous protection
1655 specifiers, as long as the resulting output is equivalent to the
1656 source code.
1657 Delete FIXME from end of messages on tests that don't need
1658 fixing.
1659
1660 2003-02-28 David Carlton <carlton@math.stanford.edu>
1661
1662 * gdb.c++/templates.exp (do_tests): Allow const in the two
1663 Foo<volatile char *>::foo tests.
1664
1665 2003-02-27 Michael Snyder <msnyder@redhat.com>
1666
1667 * gdb.base/restore.c (main): Return zero, so exit code
1668 will be consistant.
1669
1670 2003-02-26 David Carlton <carlton@math.stanford.edu>
1671
1672 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1673 char *>::foo" test with respect to PR c++/33. Create a new test
1674 which is identical to that one except that it doesn't put the
1675 space between the "char" and the "*"; KFAIL it, too.
1676
1677 2003-02-26 David Carlton <carlton@math.stanford.edu>
1678
1679 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1680 template types into either PASSes or KFAILs (corresponding to PR
1681 c++/57). Tweak indentation. Update copyright.
1682
1683 2003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1684
1685 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1686
1687 2003-02-13 Michael Chastain <mec@shout.net>
1688
1689 * gdb.base/exprs.exp: Remove i960 remnants.
1690 * gdb.base/funcargs.exp: Likewise.
1691 * gdb.base/list.exp: Likewise.
1692 * gdb.base/ptype.exp: Likewise.
1693
1694 2003-02-14 David Carlton <carlton@math.stanford.edu>
1695
1696 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1697 pEe->D::vg()" from XFAIL to KFAIL.
1698
1699 2003-02-13 Jason Molenda (jmolenda@apple.com)
1700
1701 * gdb.base/maint.exp: Update maint print statistics regexp to include
1702 new entries.
1703
1704 2003-02-13 Michael Chastain <mec@shout.net>
1705
1706 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1707
1708 2003-02-12 Michael Chastain <mec@shout.net>
1709
1710 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1711 * gdb.c++/inherit.exp: Likewise.
1712 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1713 * gdb.c++/templates.exp: Likewise.
1714 * gdb.c++/virtfunc.exp: Likewise.
1715
1716 2003-02-06 Jason Molenda (jason-cl@molenda.com)
1717
1718 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1719 why the code is written that way.
1720
1721 2003-02-05 Michael Chastain <mec@shout.net>
1722
1723 * gdb.base/dump.exp: Add missing copyright line.
1724
1725 2003-02-05 Jason Molenda (jason-cl@molenda.com)
1726
1727 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
1728 at the beginning so the breakpoint doesn't get set on the loop.
1729
1730 2003-02-05 Michael Chastain <mec@shout.net>
1731
1732 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1733 output for configurations with gcc 2.95.3.
1734
1735 2003-02-05 Keith Seitz <keiths@redhat.com>
1736 Andrew Cagney <ac131313@redhat.com>
1737
1738 * gdb.mi/mi-cli.exp: New file.
1739
1740 2003-02-04 Michael Chastain <mec@shout.net>
1741
1742 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1743 Call perror and then continue.
1744
1745 2003-02-03 Michael Chastain <mec@shout.net>
1746
1747 * gdb.c++/pr-1023.cc: New file.
1748 * gdb.c++/pr-1023.exp: New file.
1749
1750 2003-02-05 Jim Blandy <jimb@redhat.com>
1751
1752 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1753 it's local to foobar. Check for it there, and check that it's not
1754 present in main.
1755 * gdb.c++/local.cc (marker2): New function.
1756 (foobar): Call marker1.
1757 (main): Call marker2 instead of marker1.
1758
1759 2003-02-04 Andrew Cagney <ac131313@redhat.com>
1760
1761 * gdb.disasm/mn10200.exp: Obsolete file.
1762 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1763 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1764 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1765
1766 2003-02-04 David Carlton <carlton@math.stanford.edu>
1767
1768 * gdb.c++/overload.exp: Test intToChar(1).
1769 * gdb.c++/overload.cc (intToChar): New.
1770 (main): Call intToChar.
1771
1772 2003-02-03 David Carlton <carlton@math.stanford.edu>
1773
1774 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1775 'might_kfail' arg.
1776 KFAIL some of the continue_to_bp_overloaded calls, according to
1777 PR c++/1025.
1778
1779 2003-02-01 Michael Chastain <mec@shout.net>
1780
1781 * gdb.base/advance.c (marker1): New marker function.
1782 * gdb.base/advance.exp: When the 'advance' command lands on the
1783 return breakpoint, it can legitimately stop on either the
1784 current line or the next line. Accommodate both outcomes.
1785 * gdb.base/until.exp: Likewise.
1786
1787 2003-02-02 Andrew Cagney <ac131313@redhat.com>
1788
1789 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1790 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1791 now a list, not a tuple.
1792 * gdb.mi/mi-var-display.exp: Ditto.
1793 * gdb.mi/gdb792.exp: Ditto.
1794
1795 2003-02-01 Andrew Cagney <ac131313@redhat.com>
1796
1797 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1798 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1799 stack backtraces.
1800 * gdb.mi/mi-syn-frame.c: Part of same.
1801
1802 2003-02-01 Mark Kettenis <kettenis@gnu.org>
1803
1804 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1805 gdb.mi/mi1-pthreads.exp: Return instead of calling
1806 gdb_suppress_entire_file.
1807
1808 2003-02-01 Mark Salter <msalter@redhat.com>
1809
1810 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1811
1812 2003-01-31 Mark Salter <msalter@redhat.com>
1813
1814 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1815 Support empty arg.
1816
1817 2003-01-30 Michael Chastain <mec@shout.net>
1818
1819 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1820 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1821 has been fixed in gdb/readline on 2003-01-09.
1822
1823 2003-01-29 Michael Snyder <msnyder@redhat.com>
1824
1825 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1826 * gdb.base/display.exp: Allow for leading underscore in symbol.
1827 * gdb.base/args.exp: Skip if target does not support args passing.
1828
1829 2003-01-22 Daniel Jacobowitz <drow@mvista.com>
1830
1831 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
1832 gdb_test. Accept a list of expect arguments as the third
1833 parameter.
1834 (gdb_test): Use it.
1835
1836 2003-01-20 Elena Zannoni <ezannoni@redhat.com>
1837
1838 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1839 allow for different test tree configurations. Update some
1840 tescases accordingly.
1841 * gdb.arch/altivec-regs.exp: Ditto.
1842 * gdb.asm/asm-source.exp: Ditto.
1843 * gdb.base/advance.exp: Ditto.
1844 * gdb.base/display.exp: Ditto.
1845 * gdb.base/long_long.exp: Ditto.
1846 * gdb.base/mips_pro.exp: Ditto.
1847 * gdb.base/overlays.exp: Ditto.
1848 * gdb.base/relocate.exp: Ditto.
1849 * gdb.base/setshow.exp: Ditto.
1850 * gdb.base/step-line.exp: Ditto.
1851 * gdb.base/step-test.exp: Ditto.
1852 * gdb.base/until.exp: Ditto.
1853 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1854
1855 2003-01-17 David Carlton <carlton@math.stanford.edu>
1856
1857 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1858 corresponding to PR c++/945.
1859 Update copyright.
1860
1861 2003-01-17 David Carlton <carlton@math.stanford.edu>
1862
1863 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1864 corresponding to PR c++/68.
1865
1866 2003-01-17 David Carlton <carlton@math.stanford.edu>
1867
1868 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1869 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1870 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1871
1872 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
1873
1874 * gdb.base/break.exp: Fix change of default location, because of
1875 removal of until tests.
1876 * gdb.base/help.exp: Update test for new 'until' help message.
1877 Add test for help on 'advance'.
1878 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1879
1880 2003-01-15 Mark Kettenis <kettenis@gnu.org>
1881
1882 * gdb.base/default.exp: Adapt "info float" test for recent changes
1883 to that command. Add test for "info vector".
1884 * gdb.base/float.exp: New file. Add test for "info float" that
1885 resembles the old test in gdb.base/default.exp.
1886
1887 2003-01-15 David Carlton <carlton@math.stanford.edu>
1888
1889 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1890
1891 2003-01-15 Elena Zannoni <ezannoni@redhat.com>
1892
1893 * gdb.base/break.exp: Move the tests of until command from here...
1894 * gdb.base/until.exp: ... to here. New file. Add other tests.
1895 * gdb.base/advance.c: New file.
1896 * gdb.base/advance.exp: New file.
1897
1898 2003-01-14 Elena Zannoni <ezannoni@redhat.com>
1899
1900 * gdb.base/args.c: New file.
1901 * gdb.base/args.exp: New file.
1902
1903 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
1904
1905 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1906
1907 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
1908
1909 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1910
1911 2003-01-14 Daniel Jacobowitz <drow@mvista.com>
1912
1913 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1914 dates.
1915
1916 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1917
1918 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1919
1920 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1921
1922 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1923 (ptype &*"foo").
1924 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1925
1926 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1927
1928 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1929 * gdb.mi/mi1-console.exp: Likewise.
1930
1931 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
1932
1933 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1934 * gdb.mi/mi1-console.exp: Likewise.
1935
1936 2003-01-13 Daniel Jacobowitz <drow@mvista.com>
1937
1938 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1939
1940 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1941
1942 * gdb.base/detach.exp: New test.
1943
1944 2003-01-09 Daniel Jacobowitz <drow@mvista.com>
1945
1946 * Makefile.in (ALL_SUBDIRS): New variable.
1947 (subdirs, clean, distclean): Use it.
1948 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1949 regenerating Makefile, since it is generated from the top level.
1950 * gdb.asm/Makefile.in: Likewise.
1951 * gdb.base/Makefile.in: Likewise.
1952 * gdb.c++/Makefile.in: Likewise.
1953 * gdb.disasm/Makefile.in: Likewise.
1954 * gdb.java/Makefile.in: Likewise.
1955 * gdb.mi/Makefile.in: Likewise.
1956 * gdb.threads/Makefile.in: Likewise.
1957 * gdb.trace/Makefile.in: Likewise.
1958
1959 2003-01-09 David Carlton <carlton@math.stanford.edu>
1960
1961 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1962 Add copyright year 2003.
1963
1964 2003-01-06 Michael Chastain <mec@shout.net>
1965
1966 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1967 When selecting a thread, 'line' and 'file' are optional.
1968 * gdb.mi/mi1-pthreads.exp: Likewise.
1969
1970 2003-01-06 Andreas Schwab <schwab@suse.de>
1971
1972 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1973 failures.
1974
1975 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1976
1977 Fix PR gdb/844
1978 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1979 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1980
1981 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1982 instead of calling gdb_suppress_entire_file.
1983 * gdb.threads/print-threads.exp: Likewise.
1984 * gdb.threads/schedlock.exp: Likewise.
1985
1986 * gdb.threads/killed.exp: Return instead of calling
1987 gdb_suppress_entire_file.
1988 * gdb.threads/linux-dp.exp: Likewise.
1989 * gdb.threads/pthreads.exp: Likewise.
1990
1991 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1992
1993 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1994 stabs.
1995 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1996 * gdb.base/whatis.exp: Always allow (void) after function names.
1997
1998 2003-01-04 Daniel Jacobowitz <drow@mvista.com>
1999
2000 * gdb.c++/casts.exp: Correct regexp.
2001
2002 2003-01-04 Mark Kettenis <kettenis@gnu.org>
2003
2004 * configure.in: Call AC_CONFIG_HEADER. Don't call
2005 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
2006 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
2007 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
2008 aforementioned directories in the AC_OUPUT call.
2009 * config.hin: New file.
2010 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
2011 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
2012 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
2013 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
2014 pass -I$objdir instead of -I$objdir/$subdir in compilation.
2015 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
2016 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
2017 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
2018 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
2019 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
2020 gdb.threads/configure.in, gdb.threads/configure,
2021 gdb.threads/config.in, gdb.trace/configure.in,
2022 gdb.trace/configure: Removed.
2023
2024 2003-01-03 Michael Chastain <mec@shout.net>
2025
2026 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
2027 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
2028
2029 2003-01-03 Daniel Jacobowitz <drow@mvista.com>
2030
2031 * gdb.base/store.exp: Fix regular expressions.
2032
2033 2002-12-28 Mark Kettenis <kettenis@gnu.org>
2034
2035 * configure.in: Rewrite.
2036 * configure: Regenerated.
2037
2038 2003-01-03 David Carlton <carlton@math.stanford.edu>
2039
2040 * gdb.base/psymtab.exp: New file.
2041 * gdb.base/psymtab1.c: Ditto.
2042 * gdb.base/psymtab2.c: Ditto.
2043
2044 2002-12-23 Adam Fedor <fedor@gnu.org>
2045
2046 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2047
2048 2002-12-23 David Carlton <carlton@math.stanford.edu>
2049
2050 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2051 and current_directory initialization.
2052
2053 2002-12-22 Jim Blandy <jimb@redhat.com>
2054
2055 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2056 rather than as part of the output file name.
2057
2058 * gdb.base/attach.exp: There's no need to copy the test program to
2059 /tmp; that was only ever necessary on HP/UX, and this test is
2060 entirely disabled there anyway.
2061
2062 2002-12-21 Jim Blandy <jimb@redhat.com>
2063
2064 * gdb.c++/psmang.exp: Doc fix.
2065
2066 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2067 test.
2068
2069 2002-12-20 David Carlton <carlton@math.stanford.edu>
2070
2071 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2072
2073 2002-12-18 Michael Chastain <mec@shout.net>
2074
2075 * gdb.c++/annota2.exp: Add copyright year 2002.
2076
2077 2002-12-17 David Carlton <carlton@math.stanford.edu>
2078
2079 * gdb.c++/try_catch.cc: Add marker comments.
2080 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2081 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2082 * gdb.c++/m-static.cc: Ditto.
2083 * gdb.c++/m-static1.cc: Ditto.
2084 * gdb.c++/try_catch.cc: Ditto.
2085
2086 2002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2087
2088 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2089 to see whether we are using the new -environment-directory
2090 command which resets via -r or the old version of the command
2091 which may prompt the user. Part of fix for gdb/741.
2092
2093 2002-12-13 Andrew Cagney <ac131313@redhat.com>
2094
2095 * gdb.fortran/types.exp: Update obsolete comment.
2096 * gdb.fortran/exprs.exp: Ditto.
2097 * lib/gdb.exp: Delete obsolete code.
2098 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2099 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2100 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2101 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2102 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2103 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2104 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2105 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2106 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2107 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2108 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2109 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2110 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2111 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2112 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2113 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2114 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2115 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2116 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2117 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2118 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2119 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2120 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2121 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2122 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2123 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2124 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2125 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2126 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2127 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2128 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2129 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2130 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2131 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2132 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2133 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2134 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2135
2136 2002-12-11 David Carlton <carlton@math.stanford.edu>
2137
2138 * gdb.c++/m-data.exp: Add test for members that shadow global
2139 variables: see PR gdb/804.
2140 * gdb.c++/m-data.cc: Ditto.
2141
2142 2002-12-10 Daniel Jacobowitz <drow@mvista.com>
2143
2144 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2145
2146 2002-12-06 David Carlton <carlton@math.stanford.edu>
2147
2148 * gdb.base/store.c: Don't declare functions static.
2149
2150 2002-12-04 Andrew Cagney <ac131313@redhat.com>
2151
2152 * gdb.base/store.exp, gdb.base/store.c: New files.
2153
2154 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2155
2156 * gdb.base/selftest.exp: Update for current gdb.
2157
2158 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2159
2160 * gdb.base/maint.exp: Only dump symbols from one source file
2161 or objfile.
2162
2163 2002-12-03 Daniel Jacobowitz <drow@mvista.com>
2164
2165 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2166 function call.
2167
2168 2002-11-25 Jim Blandy <jimb@redhat.com>
2169
2170 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2171 function appearing in error message.
2172
2173 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
2174
2175 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2176
2177 2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2178
2179 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2180 for mi1 and current mi is in correct format. New mi startup message
2181 should be in mi console format. This is part of fix for PR gdb/604.
2182
2183 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2184
2185 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2186 which explicitly prints the zero offset as "+0".
2187
2188 2002-10-22 Daniel Jacobowitz <drow@mvista.com>
2189
2190 * gdb.threads/schedlock.c (args): Make unsigned.
2191
2192 2002-10-21 Daniel Jacobowitz <drow@mvista.com>
2193
2194 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2195 numbers. Allow "foo2|selected stack frame".
2196 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2197 * gdb.asm/asmsrc2.s: Likewise.
2198 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2199 comments.
2200 * gdb.asm/mips.inc: New file.
2201
2202 2002-10-18 Adam Fedor <fedor@gnu.org>
2203
2204 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2205 * gdb.base/help.exp: Likewise.
2206
2207 2002-10-17 Kevin Buettner <kevinb@redhat.com>
2208
2209 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2210 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2211
2212 2002-10-02 Jim Blandy <jimb@redhat.com>
2213
2214 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2215
2216 2002-10-01 Andrew Cagney <ac131313@redhat.com>
2217
2218 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2219 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2220 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2221 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2222 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2223 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2224 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2225
2226 2002-09-29 Andrew Cagney <ac131313@redhat.com>
2227
2228 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2229 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2230 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2231 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2232 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2233 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2234 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2235
2236 2002-09-27 Kevin Buettner <kevinb@redhat.com>
2237
2238 * gdb.base/annota1.exp (info break): Make directory components of
2239 path optional since not all compilers emit this debug information.
2240
2241 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2242 step ends up stepping out of the function instead of stopping on
2243 the epilogue.
2244
2245 2002-09-26 Keith Seitz <keiths@redhat.com>
2246
2247 * lib/insight-support.exp (gdbtk_start): Figure out where
2248 the insight executable is based on where gdb is. Use this
2249 executable to start insight instead of gdb.
2250
2251 2002-09-25 Andrew Cagney <cagney@redhat.com>
2252
2253 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2254
2255 2002-09-24 Andrew Cagney <ac131313@redhat.com>
2256
2257 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2258 test_isolated_complaints.
2259 (test_empty_complaint): New function.
2260 (test_empty_complaints): New function. Check no output when no
2261 complaints.
2262
2263 2002-09-19 Jim Blandy <jimb@redhat.com>
2264
2265 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2266
2267 2002-09-19 Andrew Cagney <ac131313@redhat.com>
2268
2269 * gdb.gdb/complaints.exp: New file.
2270
2271 2002-09-18 Andrew Cagney <ac131313@redhat.com>
2272
2273 * gdb.base/maint.exp: Check `help maint internal-warning'.
2274
2275 2002-09-18 David Carlton <carlton@math.stanford.edu>
2276
2277 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2278 numbers, and replace them by a single breakpoint after the
2279 constructors are all finished.
2280 Add test 4.
2281 * gdb.c++/m-static.cc: Add test 4.
2282 * gdb.c++/m-static.h: New file.
2283 * gdb.c++/m-static1.cc: New file.
2284
2285 * gdb.c++/printmethod.exp: New file.
2286 * gdb.c++/printmethod.cc: New file.
2287
2288 * gdb.c++/pr-574.exp: New file.
2289 * gdb.c++/pr-574.cc: New file.
2290
2291 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2292
2293 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2294 embedded targets which never actually exit.
2295
2296 2002-09-18 Fernando Nasser <fnasser@redhat.com>
2297
2298 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2299 "don't step after run" as unresolved or unsupported, instead of xfail.
2300
2301 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2302
2303 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2304 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2305 Add newline to expected string in "step out of main (status wrapper)"
2306 case.
2307
2308 2002-09-18 Corinna Vinschen <vinschen@redhat.com>
2309
2310 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2311 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2312
2313 2002-09-17 Tom Tromey <tromey@redhat.com>
2314
2315 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2316 \000, not \0, in double-quoted string.
2317
2318 2002-09-14 Corinna Vinschen <vinschen@redhat.com>
2319
2320 * gdb.base/commands.exp: Don't expect a "Program exited normally"
2321 string after running the commands execution on breakpoint tests.
2322
2323 2002-09-13 Corinna Vinschen <vinschen@redhat.com>
2324
2325 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2326
2327 2002-09-12 Joel Brobecker <brobecker@gnat.com>
2328
2329 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2330
2331 2002-09-10 Keith Seitz <keiths@redhat.com>
2332
2333 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2334 runto proc.
2335 (mi_run_to_main): Use mi_runto.
2336 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2337
2338 2002-09-10 Keith Seitz <keiths@redhat.com>
2339
2340 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2341 regexp for stopping at main. Could have multiple event notifications.
2342 Don't assume that main was declared with no parameters.
2343 (mi_next): Use mi_step_to.
2344 (mi_step): Use mi_next_to.
2345
2346 2002-09-09 Corinna Vinschen <vinschen@redhat.com>
2347
2348 * gdb.base/default.exp: Fix expected string in `info float' test.
2349
2350 2002-09-09 Ben Elliston <bje@redhat.com>
2351
2352 * config/mips.exp: Update comments.
2353 * config/mips-idt.exp: Likewise.
2354 * config/nind.exp: Likewise.
2355 * config/slite.exp: Likewise.
2356 * config/sparclet.exp: Likewise.
2357 * config/udi.exp: Likewise.
2358 * config/vx.exp: Likewise.
2359 * config/vxworks29k.exp: Likewise.
2360
2361 2002-09-05 Jim Blandy <jimb@redhat.com>
2362
2363 * gdb.threads/killed.exp: Fix test failure message.
2364
2365 2002-09-04 Keith Seitz <keiths@redhat.com>
2366
2367 * lib/mi-support.exp: Update copyright.
2368 (mi_gdb_test): Increase the priority of the expected pattern
2369 so that it matches gdb_test.
2370
2371 2002-09-03 Keith Seitz <keiths@redhat.com>
2372
2373 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2374 Use integer comparison instead of string comparison for testing
2375 whether binary was built.
2376
2377 2002-09-03 Jim Blandy <jimb@redhat.com>
2378
2379 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2380
2381 2002-08-29 Jim Blandy <jimb@redhat.com>
2382
2383 * gdb.threads/pthreads.exp: Move the portable thread compilation
2384 code into a function in lib/gdb.exp, and call that from here.
2385 * lib/gdb.exp (gdb_compile_pthreads): New function.
2386
2387 2002-08-29 Keith Seitz <keiths@redhat.com>
2388
2389 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2390 expect_out so that callers can get at it.
2391
2392 2002-08-23 Daniel Jacobowitz <drow@mvista.com>
2393
2394 * gdb.threads/print-threads.c: New file.
2395 * gdb.threads/print-threads.exp: New file.
2396 * gdb.threads/schedlock.c: New file.
2397 * gdb.threads/schedlock.exp: New file.
2398
2399 2002-08-22 Elena Zannoni <ezannoni@redhat.com>
2400
2401 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2402 not altivec.c.
2403
2404 2002-08-17 Mark Kettenis <kettenis@gnu.org>
2405
2406 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2407 targets. The problem should be fixed now.
2408
2409 2002-08-15 Mark Kettenis <kettenis@gnu.org>
2410
2411 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2412 2002-07-24 change that removes final dots from error messages.
2413
2414 2002-08-13 Tom Tromey <tromey@redhat.com>
2415
2416 * gdb.base/readline.exp: New file.
2417
2418 2002-08-01 Andrew Cagney <ac131313@redhat.com>
2419
2420 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2421 supress message.
2422
2423 2002-08-01 Andrew Cagney <cagney@redhat.com>
2424
2425 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2426 CHILL_FOR_TARGET and CHILL_LIB.
2427 * configure.in (configdirs): Remove gdb.chill.
2428 * configure: Regenerate.
2429 * lib/gdb.exp: Obsolete references to chill.
2430 * gdb.fortran/types.exp: Ditto.
2431 * gdb.fortran/exprs.exp: Ditto.
2432
2433 2002-07-30 Kevin Buettner <kevinb@redhat.com>
2434
2435 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2436 set Irix-specific compile and link flags.
2437
2438 2002-07-29 Kevin Buettner <kevinb@redhat.com>
2439
2440 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2441 source files. The ``-o'' option doesn't work with the ``-E'' option
2442 when using the Irix compiler.
2443
2444 2002-07-19 Daniel Jacobowitz <drow@mvista.com>
2445
2446 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2447 Improve support for reusing an exec file. Copy exec file
2448 to target, and run gdbserver on the target instead of on the host.
2449
2450 2002-07-18 Jim Blandy <jimb@redhat.com>
2451
2452 * gdb.base/ending-run.exp: Don't expect to see the program end in
2453 some orderly fashion when we're running on a real stand-alone
2454 board.
2455
2456 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2457 targets that don't support interrupts.
2458
2459 2002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2460
2461 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2462 systems.
2463 Move comments in expect statements to inside the actions, so that they
2464 don't get matched against.
2465
2466 2002-07-10 Mark Kettenis <kettenis@gnu.org>
2467
2468 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2469 function when asleep" test.
2470
2471 2002-07-10 Andrew Cagney <ac131313@redhat.com>
2472
2473 * gdb.base/page.exp: Rewrite to handle problems with very long
2474 `info set' output. Update copyright.
2475
2476 2002-06-26 Andrew Cagney <ac131313@redhat.com>
2477
2478 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2479 gdb.threads-hp.
2480 * gdb.hp/configure: Regenerate.
2481 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2482 * gdb.hp/gdb.threads-hp/configure: Delete file.
2483 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2484
2485 2002-06-22 Andrew Cagney <ac131313@redhat.com>
2486
2487 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2488 setlocale, bindtextdomain and textdomain.
2489
2490 2002-06-11 Jim Blandy <jimb@redhat.com>
2491
2492 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2493 preprocessor macro information is present.
2494
2495 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2496 tests.
2497
2498 2002-06-06 Michael Snyder <msnyder@redhat.com>
2499
2500 * gdb.base/overlays.exp: Record addresses of overlay
2501 functions in TCL variables rather than in GDB variables,
2502 to avoid having GDB convert them to pointers (with loss
2503 of information).
2504
2505 * gdb.base/d10v.ld: Merge in several years worth of
2506 default linker script changes.
2507 * gdb.base/long_long.exp: Add check for sizeof (long double).
2508
2509 2002-06-06 Michal Ludvig <mludvig@suse.cz>
2510
2511 * gdb.asm/asm-source.exp: Add x86-64 target.
2512 * gdb.asm/x86_64.inc: New.
2513
2514 2002-05-30 Michael Chastain <mec@shout.net>
2515
2516 From Benjamin Kosnik <bkoz@redhat.com>:
2517 * gdb.c++/m-static.cc: New file.
2518 * gdb.c++/m-static.exp: New file.
2519
2520 2002-05-28 Michael Snyder <msnyder@redhat.com>
2521
2522 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2523 precision.
2524
2525 2002-05-27 Michael Chastain <mec@shout.net>
2526
2527 From Benjamin Kosnik <bkoz@redhat.com>:
2528 * gdb.c++/m-data.cc: New file.
2529 * gdb.c++/m-data.exp: New file.
2530
2531 2002-05-27 Michael Chastain <mec@shout.net>
2532
2533 From Benjamin Kosnik <bkoz@redhat.com>:
2534 * gdb.c++/try_catch.cc: New file.
2535 * gdb.c++/try_catch.exp: New file.
2536
2537 2002-05-27 Michael Chastain <mec@shout.net>
2538
2539 * gdb.c++/local.exp: Accept more nested types in output.
2540
2541 2002-05-26 Michael Chastain <mec@shout.net>
2542
2543 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2544
2545 2002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2546
2547 * lib/gdb.exp (gdb_wrapper_init): Just because
2548 gdb_wrapper_file exists, this does not mean that the file
2549 should not be rebuilt. That is what gdb_wrapper_initialized
2550 is for.
2551 (default_gdb_init): Reset gdb_wrapper_initialized.
2552
2553 2002-05-23 Michael Snyder <msnyder@redhat.com>
2554
2555 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2556 the precision of the floating point test results.
2557 * gdb.base/call-rt-st.exp: Ditto.
2558
2559 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2560 * gdb.base/call-rt-st.exp: Ditto.
2561
2562 2002-05-19 Michael Chastain <mec@shout.net>
2563
2564 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2565
2566 2002-05-19 Elena Zannoni <ezannoni@redhat.com>
2567
2568 * configure.in (configdirs): Add gdb.arch.
2569 * configure: Regenerate.
2570
2571 2002-05-17 Jim Blandy <jimb@redhat.com>
2572
2573 * gdb.base/completion.exp: Recognize the more detailed error
2574 messages produced by the macro expander's lexical analyzer.
2575
2576 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2577
2578 * gdb.arch/altivec-abi.c: New file.
2579 * gdb.arch/altivec-abi.exp: New file.
2580 * gdb.arch/altivec-regs.c: New file.
2581 * gdb.arch/altivec-regs.exp: New file.
2582
2583 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
2584
2585 * gdb.base/maint.exp (maint print type): Update for new type
2586 structure.
2587
2588 2002-05-14 Elena Zannoni <ezannoni@redhat.com>
2589
2590 * gdb.arch: New directory.
2591 * gdb.arch/configure.in: New file.
2592 * gdb.arch/configure: New file.
2593 * gdb.arch/Makefile.in: New file.
2594
2595 2002-05-13 Corinna Vinschen <vinschen@redhat.com>
2596
2597 * gdb.asm/asm-source.exp: Add v850 as supported target.
2598 * gdb.asm/v850.inc: New file.
2599
2600 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
2601
2602 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2603
2604 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
2605
2606 * gdb.base/break.exp: Check 'break "marker2"'.
2607
2608 2002-05-10 Michael Snyder <msnyder@redhat.com>
2609
2610 * gdb.base/long_long.exp: Fix typo.
2611
2612 2002-05-10 Jim Blandy <jimb@redhat.com>
2613
2614 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2615 a bug.
2616
2617 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2618 Recognize more detailed error message produced by the macro
2619 expander's lexical analyzer.
2620 * lib/gdb.exp (test_print_reject): Same.
2621
2622 2002-05-09 Mark Kettenis <kettenis@gnu.org>
2623
2624 * gdb.c++/method.exp: Fix typo.
2625
2626 2002-05-08 Michael Snyder <msnyder@redhat.com>
2627
2628 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2629 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
2630 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
2631 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2632 Add iftarget clause for strongarm.
2633
2634 2002-05-06 Michael Snyder <msnyder@redhat.com>
2635
2636 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2637 (gdb_continue_to_end): Accept output from status wrapper.
2638 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2639 Clean up fail messages to match pass messages.
2640
2641 Enable the "needs_status_wrapper" testsuite feature.
2642 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2643 (gdb_compile): Conditionally call gdb_wrapper_init.
2644 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2645 * gdb.c++/method.exp: Recognize output from status wrapper.
2646
2647 2002-05-06 Ben Elliston <bje@redhat.com>
2648 From Graydon Hoare <graydon@redhat.com>
2649
2650 * config/sid.exp: Include support for "rawsid" protocol.
2651
2652 2002-05-03 Jim Blandy <jimb@redhat.com>
2653
2654 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2655 * gdb.c++/hang3.C: New file.
2656
2657 2002-05-04 Andrew Cagney <ac131313@redhat.com>
2658
2659 * gdb.base/default.exp: Remove obsolete code.
2660 * gdb.c++/misc.exp: Ditto. Update copyright.
2661 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2662 * gdb.base/whatis.exp: Ditto. Update copyright.
2663 * gdb.base/scope.exp: Ditto. Update copyright.
2664 * gdb.base/ptype.exp: Ditto. Update copyright.
2665 * gdb.base/printcmds.exp: Ditto. Update copyright.
2666 * gdb.base/opaque.exp: Ditto. Update copyright.
2667 * gdb.base/list.exp: Ditto.
2668 * gdb.base/funcargs.exp: Ditto. Update copyright.
2669 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2670 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2671 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2672 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2673 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2674 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2675
2676 2002-05-02 Michael Snyder <msnyder@redhat.com>
2677
2678 * gdb.base/watchpoint.exp: Add xscale target.
2679 * gdb.base/long_long.exp: Add xscale target.
2680 * gdb.base/default.exp: Add xscale target.
2681
2682 2002-05-01 Jim Blandy <jimb@redhat.com>
2683
2684 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2685 gdb.c++/hang.exp: New test.
2686
2687 2002-05-01 Fred Fish <fnf@redhat.com>
2688
2689 * gdb.base/completion.exp: Handle completions of "./Make" for
2690 more than one completion possibility, as is the case when we
2691 build and test in the source tree.
2692
2693 2002-04-29 Anthony Green <green@redhat.com>
2694
2695 * gdb.java/jmisc1.exp: New file.
2696 * gdb.java/jmisc2.exp: New file.
2697
2698 2002-04-24 Daniel Jacobowitz <drow@mvista.com>
2699
2700 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2701
2702 2002-04-23 Elena Zannoni <ezannoni@redhat.com>
2703
2704 * gdb.base/help.exp: Change 'help status' to allow for target
2705 dependent output differences.
2706
2707 2002-04-22 Michael Chastain <mec@shout.net>
2708
2709 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2710
2711 2002-04-22 Michael Chastain <mec@shout.net>
2712
2713 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2714
2715 2002-04-17 David S. Miller <davem@redhat.com>
2716
2717 * gdb.asm/sparc64.inc: New file.
2718 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2719
2720 2002-04-19 Elena Zannoni <ezannoni@redhat.com>
2721
2722 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2723 instruction file directly into the build tree. Clean up at end of
2724 test.
2725
2726 2002-04-18 David S. Miller <davem@redhat.com>
2727
2728 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2729 handle 64-bit platforms correctly.
2730 * gdb.base/maint.exp: Likewise.
2731
2732 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2733
2734 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2735 ``-fpic'' when compiling files comprising a shared library, but
2736 it does need additional linker flags in order to find shared
2737 libraries at run time.
2738
2739 2002-04-18 Kevin Buettner <kevinb@redhat.com>
2740
2741 * gdb.base/cvexpr.c (use): New function.
2742 (main): Invoke use() on all global variables to prevent
2743 some linkers from deleting these otherwise unused symbols.
2744
2745 2002-04-17 Michael Chastain <mec@shout.net>
2746 From David S. Miller <davem@redhat.com>
2747
2748 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2749 handle 64-bit platforms correctly.
2750
2751 2002-04-12 Michael Snyder <msnyder@redhat.com>
2752 From Jim Blandy <jimb@redhat.com>
2753 * gdb.base/foo.c (foox): Remove section attribute; the linker
2754 script can handle this instead.
2755 * gdb.base/bar.c (barx): Same.
2756 * gdb.base/baz.c (bazx): Same.
2757 * gdb.base/grbx.c (grbxx): Same.
2758
2759 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2760 manager doesn't automatically unmap overlays unnecessarily.
2761
2762 2002-04-10 Martin M. Hunt <hunt@redhat.com>
2763
2764 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2765 stepping out of main.
2766
2767 2002-04-09 Michael Chastain <mec@shout.net>
2768
2769 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2770 scope so that the nested scope tests will make sense.
2771 * gdb.c++/local.exp: Write patterns that actually work with gcc
2772 (the HP patterns "were never known to work with gcc").
2773 Keep the old aCC patterns too.
2774
2775 2002-04-09 Daniel Jacobowitz <drow@mvista.com>
2776
2777 * gdb.base/attach.exp: Correct target board test.
2778
2779 2002-04-08 Michael Chastain <mec@shout.net>
2780
2781 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2782 in a const method. Add some xfail and fail cases for configurations
2783 that do not emit the "const ...".
2784
2785 2002-04-07 Michael Chastain <mec@shout.net>
2786
2787 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2788 Accept "A * const" and "const A * const" as type of "this".
2789 Fix spelling of getFunky throughout. Make messages uniform.
2790
2791 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2792
2793 Work around for PR gdb/285:
2794 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2795
2796 2002-04-07 Elena Zannoni <ezannoni@redhat.com>
2797
2798 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2799 instructions file at run time instead of configure time.
2800 Sometimes we run the test in a directory that is not the one we
2801 configured in.
2802 * gdb.asm/configure.in: Delete creation of symlink.
2803 * gdb.asm/configure: Regenerate.
2804
2805 2002-04-05 J. Brobecker <brobecker@gnat.com>
2806
2807 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2808 xfullpath () function.
2809
2810 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2811
2812 * gdb.asm/Makefile.in: Correct dependencies.
2813
2814 * gdb.asm/powerpc.inc: New file.
2815 * gdb.asm/asm-source.exp: Add PowerPC.
2816 * gdb.asm/configure.in: Likewise.
2817 * gdb.asm/configure: Regenerated.
2818
2819 2002-04-04 Daniel Jacobowitz <drow@mvista.com>
2820
2821 * gdb.base/relocate.exp: New file.
2822 * gdb.base/relocate.c: New file.
2823
2824 2002-04-04 Fred Fish <fnf@redhat.com>
2825
2826 * gdb.base/step-test.exp: Update comment regarding stopping in
2827 memcpy/bcopy calls inserted as part of the compiler runtime.
2828
2829 2002-04-04 Michael Snyder <msnyder@redhat.com>
2830
2831 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2832
2833 2002-04-03 Daniel Jacobowitz <drow@mvista.com>
2834
2835 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2836 (gdb_expect): Remove $notransfer hack.
2837
2838 2002-04-02 Daniel Jacobowitz <drow@mvista.com>
2839
2840 * gdb.c++/classes.exp ("calling method for small class"): Match
2841 updated register output.
2842
2843 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2844
2845 Fix PR gdb/452
2846 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2847 when finished. Make gdb_file_cmd send "exec-file" when
2848 appropriate.
2849
2850 2002-03-30 Daniel Jacobowitz <drow@mvista.com>
2851
2852 * gdb.base/attach.exp: Remove extra setup_xfail.
2853
2854 2002-03-26 Michael Snyder <msnyder@redhat.com>
2855
2856 * gdb.base/default.exp: Add tests for dump, append, and restore.
2857 * gdb.base/help.exp: Add tests for dump, append, and restore.
2858 * gdb.base/dump.exp: New file, test dump, append and restore.
2859 * gdb.base/dump.c: New file.
2860
2861 2002-03-27 Michael Snyder <msnyder@redhat.com>
2862
2863 * gdb.base/help.exp: Modify expect strings to reflect
2864 clean-ups in help messages.
2865
2866 2002-03-26 Fred Fish <fnf@redhat.com>
2867
2868 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2869 have debugging info for those functions and the compiler uses them
2870 internally to copy structs around.
2871
2872 2002-03-26 Fred Fish <fnf@redhat.com>
2873
2874 * gdb.base/list.exp: Revert the change made yesterday and add note
2875 about why we don't list the default lines for remote targets.
2876
2877 2002-03-25 Michael Snyder <msnyder@redhat.com>
2878
2879 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2880
2881 2002-03-25 Fred Fish <fnf@redhat.com>
2882
2883 * gdb.base/list.exp: This test works on remote targets so remove
2884 the short circuit for remote targets. Update copyright.
2885
2886 2002-03-25 Fred Fish <fnf@redhat.com>
2887
2888 * gdb.base/attach.exp: Fix logic error that was suppressing this
2889 test for all non hppa*-*-hpux* targets, instead of the hp target.
2890 Move comments closer to the suppression point. Also now need to
2891 check that we are running natively.
2892
2893 2002-03-22 Michael Snyder <msnyder@redhat.com>
2894
2895 * gdb.base/default.exp: Add test for gcore. Update copyright.
2896 * gdb.base/help.exp: Add test for gcore. Update copyright.
2897
2898 2002-03-06 Fred Fish <fnf@redhat.com>
2899
2900 * gdb.base/funcargs.c: Remove extraneous ';' character.
2901 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2902
2903 2002-03-04 Michael Chastain <mec@shout.net>
2904
2905 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2906 accommodate gcc v3 function signature.
2907 * gdb.mi/mi0-var-cmd-exp: Ditto.
2908
2909 2002-02-24 Andrew Cagney <ac131313@redhat.com>
2910
2911 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2912 ``GNU/Linux'' or ``Linux kernel''
2913 * testsuite/gdb.threads/pthreads.c: Ditto.
2914
2915 2002-02-24 Michael Chastain <mec@shout.net>
2916
2917 * gdb.threads/pthreads.c (thread1): Add a return statement.
2918 (thread2): Likewise.
2919 (foo): Likewise.
2920
2921 2002-02-23 Michael Chastain <mec@shout.net>
2922
2923 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2924 to placate gcc.
2925
2926 2002-02-23 Michael Chastain <mec@shout.net>
2927
2928 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2929 test "ptype bint". The test passes on all my stabs configurations.
2930
2931 2002-02-21 Jim Blandy <jimb@redhat.com>
2932
2933 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2934 filename at a time, and watch for the ones we want to see.
2935
2936 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2937 types of pointers to prototyped functions.
2938
2939 2002-02-20 Andrew Cagney <ac131313@redhat.com>
2940
2941 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2942 signed, unsigned and straight char.
2943 (padding_char, padding_short, padding_int, padding_long,
2944 padding_long_long, padding_float, padding_double,
2945 padding_long_double): New global variables.
2946 (fill, fill_structs): New functions.
2947
2948 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2949 for correctly sized writes. Update copyright.
2950 (get_valueof): New procedure.
2951 (get_sizeof): Call get_valueof.
2952 (check_valueof): New procedure.
2953 (check_padding): New procedure.
2954
2955 2002-02-20 Michael Chastain <mec@shout.net>
2956
2957 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2958 to setup_xfail. Document some of the remaining calls.
2959
2960 2002-02-18 Michael Chastain <mec@shout.net>
2961
2962 * gdb.c++/userdef.exp: Update copyright year.
2963
2964 2002-02-18 Daniel Jacobowitz <drow@mvista.com>
2965
2966 * gdb.c++/userdef.exp: Test overloaded operators properly.
2967 Remove xfails.
2968
2969 2002-02-14 Michael Snyder <msnyder@redhat.com>
2970
2971 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2972
2973 2002-02-14 Daniel Jacobowitz <drow@mvista.com>
2974
2975 * gdb.base/a2-run.exp: Check for a remote target properly.
2976 * gdb.base/annota1.exp: Likewise.
2977 * gdb.base/list.exp: Likewise.
2978 * gdb.base/reread.exp: Likewise.
2979 * gdb.base/scope.exp: Likewise.
2980 * gdb.base/shlib-call.exp: Likewise.
2981 * gdb.base/term.exp: Likewise.
2982 * gdb.c++/annota2.exp: Likewise.
2983
2984 2002-02-13 Richard Earnshaw <rearnsha@arm.com>
2985
2986 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2987
2988 2002-02-10 Michael Chastain <mec@shout.net>
2989
2990 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2991 (call_after_alloca): Ditto.
2992
2993 2002-02-10 Daniel Jacobowitz <drow@mvista.com>
2994
2995 * gdb.base/ending-run.exp: Guard "cont" test with
2996 gdb_skip_stdio_test.
2997
2998 2002-02-06 Jim Blandy <jimb@redhat.com>
2999
3000 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
3001 from here...
3002 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
3003 To here. Disable this test on non-HP platforms. Add big comment.
3004
3005 2002-02-04 Michael Snyder <msnyder@redhat.com>
3006
3007 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
3008 other than d10v and m32r.
3009
3010 2002-02-02 Richard Earnshaw <rearnsha@arm.com>
3011
3012 * gdb.base/default.exp: Rewrite test patterns to reduce time
3013 taken to match them.
3014
3015 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3016
3017 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
3018 Allow a start function above main.
3019 * gdb.threads/linux-dp.exp: Fix copyright date.
3020
3021 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3022
3023 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
3024 (check_philosopher_stack): Check for manager thread before checking
3025 for a just-starting thread.
3026
3027 2002-01-30 Daniel Jacobowitz <drow@mvista.com>
3028
3029 From Neil Booth <neil@daikokuya.demon.co.uk>:
3030 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
3031 warnings.
3032
3033 2002-01-21 Fred Fish <fnf@redhat.com>
3034
3035 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3036 not caller.
3037
3038 2002-01-21 Jim Blandy <jimb@redhat.com>
3039
3040 * gdb.base/reread.exp: Check that GDB properly re-reads the
3041 executable file when it changes while no inferior is running.
3042
3043 2002-01-21 Fred Fish <fnf@redhat.com>
3044
3045 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3046 optionally accept the "shlib events" variation.
3047
3048 2002-01-21 Jim Blandy <jimb@redhat.com>
3049
3050 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3051 call `fflush' after every `printf', so that the output is produced
3052 at predictable points, regardless of whatever buffering does (or
3053 doesn't) take place.
3054 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3055 at different points.
3056
3057 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3058
3059 * gdb.c++/inherit.exp: Update copyright years.
3060 * gdb.c++/method.exp: Likewise.
3061
3062 2002-01-20 Daniel Jacobowitz <drow@mvista.com>
3063
3064 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3065 artificial methods/arguments.
3066 * gdb.c++/derivation.exp: Likewise.
3067 * gdb.c++/inherit.exp: Likewise.
3068 * gdb.c++/method.exp: Likewise.
3069 * gdb.c++/virtfunc.exp: Likewise.
3070
3071 2002-01-18 Andrew Cagney <ac131313@redhat.com>
3072
3073 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3074 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3075 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3076 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3077 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3078 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3079
3080 2002-01-17 Jim Blandy <jimb@redhat.com>
3081
3082 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3083 anchoring the pattern matching the entry point symbol's name.
3084
3085 2002-01-17 Andrew Cagney <ac131313@redhat.com>
3086
3087 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3088 continue/quit query. Update copyright.
3089
3090 2002-01-14 Michael Snyder <msnyder@redhat.com>
3091
3092 * gdb.base/gcore.exp: Remove extra debugging output.
3093
3094 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3095
3096 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3097 for slightly dubious v2 mangled string.
3098
3099 2002-01-13 Daniel Jacobowitz <drow@mvista.com>
3100
3101 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3102
3103 2002-01-10 Jason Merrill <jason@redhat.com>
3104
3105 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
3106
3107 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3108 constructors.
3109 * gdb.c++/derivation.exp: Likewise.
3110 * gdb.c++/templates.exp: Likewise.
3111 * gdb.c++/virtfunc.exp: Likewise.
3112
3113 2002-01-10 Michael Snyder <msnyder@redhat.com>
3114
3115 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
3116
3117 2002-01-08 Michael Snyder <msnyder@redhat.com>
3118
3119 * gdb.base/gcore.exp: New test for generate-core-file command.
3120 * gdb.base/gcore.c: Testcase for above.
3121 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3122
3123 2002-01-08 Jason Merrill <jason@redhat.com>
3124
3125 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3126
3127 2002-01-07 Fred Fish <fnf@redhat.com>
3128
3129 * gdb.c++/overload.exp: Remove unconditional xfails for:
3130 print foo_instance1.overloadargs(1)
3131 print foo_instance1.overloadargs(1, 2)
3132 print foo_instance1.overloadargs(1, 2, 3)
3133 print foo_instance1.overloadargs(1, 2, 3, 4)
3134 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3135 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3136 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3137 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3138 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3139 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3140 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3141 print foo_instance1.overload1arg()
3142 print foo_instance1.overload1arg((char)arg2)
3143 print foo_instance1.overload1arg((signed char)arg3)
3144 print foo_instance1.overload1arg((unsigned char)arg4)
3145 print foo_instance1.overload1arg((int)arg7)
3146 print foo_instance1.overload1arg((unsigned int)arg8)
3147 print foo_instance1.overload1arg((float)arg11)
3148 print foo_instance1.overload1arg((double)arg12)
3149
3150 2002-01-07 Michael Snyder <msnyder@redhat.com>
3151
3152 * gdb.base/huge.exp: New test. Print a very large target data object.
3153 (skip_huge_test): New test variable. Define if you want to skip this
3154 test. The test reads an 8 megabyte data object from the target, so it
3155 might be very time consuming on remote targets with a slow connection.
3156 * gdb.base/huge.c: New file. Test case for above.
3157
3158 2002-01-07 Fred Fish <fnf@redhat.com>
3159
3160 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3161 g_instance.bfoo, and g_instance.cfoo.
3162
3163 Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3164
3165 * gdb.base/break.c (multi_line_if_conditional): New function.
3166 (multi_ilne_while_conditional): Likewise.
3167 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3168 IF or WHILE condition puts the breakpoint at the start of
3169 the condition.
3170
3171 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3172 hppa*-*-hpux* expected failure.
3173 * gdb.base/structs.exp (do_function_calls): Similarly.
3174
3175 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3176 watchpoints.
3177
3178 2002-01-06 Andrew Cagney <ac131313@redhat.com>
3179
3180 Fix PR gdb/66.
3181 * gdb.base/structs.exp: Replace skip for a29k with skip for
3182 gdb,cannot_call_functions.
3183 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3184 * gdb.base/callfuncs.exp: Ditto.
3185 * gdb.base/call-rt-st.exp: Ditto.
3186 * gdb.base/call-strs.exp: Ditto.
3187 * gdb.base/callfwmall.exp: Ditto.
3188 * gdb.base/scope.exp: Obsolete xfail a29k.
3189 * gdb.c++/misc.exp: Ditto.
3190 * gdb.c++/cplusfuncs.exp: Ditto.
3191 * gdb.base/ptype.exp: Ditto.
3192 * gdb.base/printcmds.exp: Ditto.
3193 * gdb.base/opaque.exp: Ditto.
3194 * gdb.base/list.exp: Ditto.
3195 * gdb.base/funcargs.exp: Ditto.
3196 * gdb.base/default.exp: Ditto.
3197
3198 2002-01-04 Michael Snyder <msnyder@redhat.com>
3199
3200 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
3201 * gdb.base/maint.exp: Add tests for maint info sections options.
3202
3203 Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3204
3205 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3206
3207 2001-12-20 Corinna Vinschen <vinschen@redhat.com>
3208
3209 * gdb.asm/arm.inc: New file.
3210 * gdb.asm/asm-source.exp: Add arm targets.
3211 * gdb.asm/configure.in: Ditto.
3212 * gdb.asm/configure: Recreated from configure.in.
3213
3214 Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3215
3216 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3217 with HP's compiler.
3218 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3219 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3220 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3221 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3222
3223 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3224 either HP's compilers or GCC.
3225
3226 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3227 a SIGBUS or SIGSEGV.
3228
3229 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3230
3231 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3232 can be compiled with either HP's compiler or GCC.
3233
3234 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3235 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3236 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3237
3238 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3239 to match current gdb output. Update due to using auto-solib-limit
3240 for limiting instead of overloading auto-solib-add.
3241 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3242 test program.
3243
3244 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
3245 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3246 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3247 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3248 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3249 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3250 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3251 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3252 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3253 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3254 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3255 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3256 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3257
3258 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3259 a SIGTRAP to the inferior.
3260
3261 2001-12-19 Corinna Vinschen <vinschen@redhat.com>
3262
3263 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3264 Substitute call to target_link by call to gdb_compile.
3265
3266 Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3267
3268 * gdb.base/break.exp: Fix HP specific search string when testing
3269 backtracing in a called function.
3270
3271 * gdb.base/constvars.exp: Only set lang to C++ if we're
3272 compiling the test with HP's compilers.
3273 * gdb.base/volatile.exp: Similarly.
3274
3275 2001-12-19 Jim Blandy <jimb@redhat.com>
3276
3277 * gdb.base/printcmds.exp: Expect the null character to be printed
3278 as '\0', and the '\013' to be printed as '\v'.
3279 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3280 * gdb.base/setvar.exp: Same.
3281
3282 2001-12-17 Jim Blandy <jimb@redhat.com>
3283
3284 * gdb.base/completion.exp: Rather than completing very long
3285 filenames, which can make the readline library produce output we
3286 don't recognize, cd to the directory first, and then complete
3287 using nice, short relative paths.
3288
3289 * gdb.base/completion.exp: On some systems, there is, in fact, a
3290 variable named `b' in scope, since GDB treats all static
3291 variables as being in scope. So use `no_var_named_this'
3292 instead of `b'.
3293
3294 * gdb.base/corefile.exp: Recognize the message saying that GDB
3295 can't find the core file's registers as a failure.
3296
3297 2001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3298
3299 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3300 test expect string more specific.
3301
3302 2001-12-13 Corinna Vinschen <vinschen@redhat.com>
3303
3304 * gdb.asm/asm-source.exp: Add support for xstormy16.
3305 * gdb.asm/configure.in: Ditto.
3306 * gdb.asm/configure: Rebuild.
3307 * gdb.asm/xstormy16.inc: New file.
3308
3309 2001-12-10 Fred Fish <fnf@redhat.com>
3310
3311 * gdb.base/maint.exp: Update to match changes in type dumping code.
3312
3313 2001-12-10 Jim Blandy <jimb@redhat.com>
3314
3315 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3316 matching the entry point symbol's name at the beginning of the
3317 line.
3318
3319 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3320
3321 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3322 gdb.c++/inherit.exp, gdb.c++/method.exp,
3323 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3324 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3325 and class layout support.
3326
3327 2001-12-07 Daniel Jacobowitz <drow@mvista.com>
3328
3329 * gdb.c++/classes.exp: Add test for static member function.
3330 * gdb.c++/misc.cc: Add class with static member function.
3331
3332 2001-12-07 Jim Blandy <jimb@redhat.com>
3333
3334 If GDB says it can't find the struct the function returned, report
3335 those tests as `unsupported'.
3336 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3337 Rewrite subsequent tests to use it.
3338
3339 If GDB says it can't find the struct the function returned, report
3340 those tests as `unsupported'.
3341 * gdb.base/structs.exp (call_struct_func): New function.
3342 (do_function_calls): Use call_struct_func to call the functions
3343 returning structs.
3344
3345 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3346 whether functions are prototyped or not, so we can't possibly pass
3347 arguments to t_float_values2 properly.
3348
3349 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3350 value of `timeout' for targets other than the mips*tx39-*.
3351
3352 2001-12-06 Michael Snyder <msnyder@redhat.com>
3353
3354 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3355 and detect whether the start symbol has a leading underscore.
3356
3357 2001-12-04 Jim Blandy <jimb@redhat.com>
3358
3359 * gdb.base/completion.exp: Clarify indentation.
3360
3361 2001-12-03 Jim Blandy <jimb@redhat.com>
3362
3363 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3364 variables on the S/390, not `.word'.
3365
3366 2001-11-30 Jim Blandy <jimb@redhat.com>
3367
3368 Add assembly-source tests for s390-ibm-linux.
3369 * gdb.asm/s390.inc: New file.
3370 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3371 the S/390 architecture.
3372 * gdb.asm/configure: Regenerated.
3373
3374 2001-11-30 Michael Snyder <msnyder@redhat.com>
3375
3376 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3377 next, info source, info sources, info line, global and static
3378 variables, and static functions.
3379 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3380 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3381 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3382 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3383 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3384 (gdbasm_leave): Restore frame pointer.
3385 (gdbasm_startup): Copy stack set-up from crt0.S.
3386
3387 2001-11-26 Fernando Nasser <fnasser@redhat.com>
3388
3389 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3390 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3391 to a local (non-static) variable. Copy tstruct.a to a static buffer
3392 and return a pointer to that buffer.
3393 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3394
3395 2001-11-24 Mark Kettenis <kettenis@gnu.org>
3396
3397 * gdb.asm/configure.in: Fix recognition of ix86 target.
3398 * gdb.asm/configure: Regenerate.
3399
3400 2001-11-21 Michael Snyder <msnyder@redhat.com>
3401
3402 * gdb.asm/sparc.inc: New file.
3403 * gdb.asm/asm-source.exp: Recognize sparc target.
3404 * gdb.asm/configure.in: Recognize sparc target.
3405 * gdb.asm/configure: Regenerate.
3406
3407 2001-11-21 Michael Snyder <msnyder@redhat.com>
3408
3409 * gdb.asm/m32r.inc: New file.
3410 * gdb.asm/asm-source.exp: Recognize m32r target.
3411 * gdb.asm/configure.in: Recognize m32r target.
3412 * gdb.asm/configure: Regenerate.
3413
3414 2001-11-20 Michael Snyder <msnyder@redhat.com>
3415
3416 * gdb.asm/i386.inc: New file.
3417 * gdb.asm/asm-source.exp: Recognize ix86 target.
3418 * gdb.asm/configure.in: Recognize ix86 target.
3419 * gdb.asm/configure: Regenerate.
3420
3421 * gdb.c++/namespace.exp: Fix quotes in output messages.
3422
3423 2001-11-14 Michael Snyder <msnyder@redhat.com>
3424
3425 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
3426 qualifier in a type cast expression, to designate an address
3427 in the instruction space (Harvard architecture).
3428
3429 2001-11-13 Michael Snyder <msnyder@redhat.com>
3430
3431 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3432 Tests for expressions using 'const' and 'volatile'.
3433
3434 2001-11-13 Corinna Vinschen <vinschen@redhat.com>
3435
3436 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3437
3438 2001-11-12 Daniel Jacobowitz <drow@mvista.com>
3439
3440 * lib/mi-support.exp (mi_run_to_helper): Move comments
3441 outside of gdb_expect.
3442
3443 2001-11-11 Daniel Jacobowitz <drow@mvista.com>
3444
3445 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3446 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3447 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3448 mi0_run_to): New functions.
3449 * gdb.mi/mi-simplerun.exp: Use them.
3450 * gdb.mi/mi0-simplerun.exp: Likewise.
3451 * gdb.mi/mi-var-cmd.exp: Likewise.
3452 * gdb.mi/mi0-var-cmd.exp: Likewise.
3453
3454 2001-11-10 Andrew Cagney <ac131313@redhat.com>
3455
3456 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3457 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3458
3459 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3460
3461 * gdb.base/restore.exp: Include $expected value in restored test
3462 message.
3463
3464 2001-11-09 Andrew Cagney <ac131313@redhat.com>
3465
3466 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3467 implemented.
3468
3469 2001-11-08 Michael Snyder <msnyder@redhat.com>
3470
3471 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3472 Add pass/fail message for stop at breakpoint in call dummy function.
3473
3474 2001-11-07 Michael Snyder <msnyder@redhat.com>
3475
3476 * gdb.c++/templates.exp (test_template_breakpoints):
3477 If we get an overload menu, but it does not match what
3478 we expect, we still need to issue the "cancel" command.
3479 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3480 making the whitespace optional. Argument for "new" may be
3481 "unsigned" as well as "unsigned int/long".
3482 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3483 making the whitespace optional. Also replace "(void) with
3484 "((void|)), making the keyword "void" optional.
3485 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3486 making the whitespace optional. Also replace "(void) with
3487 "((void|)), making the keyword "void" optional.
3488 * gdb.base/callfuncs.c (t_float_values): This function must
3489 _not_ be prototyped, and the following function (t_float_values2)
3490 must be prototyped (if the compiler supports it), so that GDB
3491 can be tested against both cases. Usually one case involves
3492 promotion of float to double, while the other does not.
3493 * gdb.base/callfwmall.c: Ditto.
3494 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3495 includes a stack frame for "start".
3496
3497 2001-11-05 Jim Blandy <jimb@redhat.com>
3498
3499 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3500 pointers are 32 bits long, and that offsets of relocs are always
3501 stored in the data (REL-style), and not in the reloc entry itself
3502 (RELA-style).
3503 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3504 stabs.
3505
3506 2001-11-01 Michael Snyder <msnyder@redhat.com>
3507
3508 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3509 and regular expression operators by using quoting.
3510
3511 2001-10-31 Michael Snyder <msnyder@redhat.com>
3512
3513 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3514 depending on what the symbol table contains.
3515 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3516 the output of the ptype command. Similarly, accept both "const &"
3517 and "const&".
3518
3519 2001-10-31 Corinna Vinschen <vinschen@redhat.com>
3520
3521 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3522 symbol `STORAGE' to allow to choose the storage class of
3523 the local datastructures.
3524 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3525 compiler directive.
3526
3527 2001-10-30 Michael Snyder <msnyder@redhat.com>
3528
3529 * gdb.base/jump.exp: Allow it to run for all targets.
3530
3531 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3532
3533 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3534 with new double_array size.
3535 (main): Change storage class of all local variables to static.
3536 Reduce size of double_array to 9.
3537 * gdb.base/call-ar-st.exp: Increase timeout value.
3538 Change expected output for double array to match new size in
3539 call-ar-st.c.
3540
3541 2001-10-29 Corinna Vinschen <vinschen@redhat.com>
3542
3543 * gdb.base/ending-run.exp: Create identical output when passing
3544 `step to end of run' case. Add regular expression branch satisfying
3545 Stormy16 target.
3546
3547 2001-10-28 Mark Kettenis <kettenis@gnu.org>
3548
3549 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3550 that we catch the expected failure under Linux/x86.
3551
3552 2001-10-29 Orjan Friberg <orjanf@axis.com>
3553
3554 * gdb.base/setvar.exp: Escape curly braces.
3555 * gdb.stabs/weird.exp: Ditto.
3556
3557 2001-10-27 Daniel Jacobowitz <drow@mvista.com>
3558
3559 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3560 * gdm.mi/mi0-hack-cli.exp: Likewise.
3561
3562 2001-10-25 Andrew Cagney <ac131313@redhat.com>
3563
3564 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3565 messages.
3566
3567 2001-10-21 Andrew Cagney <ac131313@redhat.com>
3568
3569 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3570 checking MI enabled.
3571
3572 2001-10-09 Corinna Vinschen <vinschen@redhat.com>
3573
3574 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3575
3576 2001-10-04 Frank Ch. Eigler <fche@redhat.com>
3577
3578 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3579 if gdb child process crashes, just signal an error.
3580
3581 2001-10-02 Jim Blandy <jimb@redhat.com>
3582
3583 * lib/gdb.exp (test_xfail_format): Simplify.
3584
3585 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3586 front of the variable name `format'. Simplify `if'.
3587
3588 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3589
3590 * gdb.threads/pthreads.exp: Wait for output and delay
3591 before sending ^C.
3592
3593 2001-10-01 Daniel Jacobowitz <drow@mvista.com>
3594
3595 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3596 some incorrect output instead of timing out.
3597 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3598
3599 2001-09-28 Corinna Vinschen <vinschen@redhat.com>
3600
3601 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3602 check to allow additional `int'.
3603
3604 2001-09-27 Daniel Jacobowitz <drow@mvista.com>
3605
3606 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3607 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3608
3609 2001-09-27 Michael Snyder <msnyder@redhat.com>
3610
3611 * lib/gdb.exp (test_debug_format): New proc.
3612 (setup_xfail_format): Use new proc test_debug_format.
3613 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3614 proc; use new service proc test_debug_format.
3615 Replace all other "gcc_compiled" tests with this test.
3616 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3617 proc; use new service proc test_debug_format.
3618 Replace all other "gcc_compiled" tests with this test.
3619
3620 2001-09-27 Michael Snyder <msnyder@redhat.com>
3621
3622 * gdb.base/cvexpr.exp: New file.
3623 * gdb.base/cvexpr.c: New file
3624 Test for expressions using const and volatile keywords.
3625
3626 2001-09-26 Corinna Vinschen <vinschen@redhat.com>
3627
3628 * gdb.base/constvars.exp: Check for different orders of keywords
3629 and additional "int" strings in output.
3630
3631 2001-09-22 Andrew Cagney <ac131313@redhat.com>
3632
3633 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3634 responses from "help maint".
3635
3636 2001-09-19 Frank Ch. Eigler <fche@redhat.com>
3637
3638 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3639 to localhost:NNN instead of :NNN, in case Xvfb is listening
3640 only on TCP.
3641
3642 2001-09-19 Corinna Vinschen <vinschen@redhat.com>
3643
3644 * gdb.base/recurse.exp: When checking leaving the watchpoint
3645 scope, recognize when gdb is in function's epilogue and pass.
3646
3647 2001-09-18 Keith Seitz <keiths@redhat.com>
3648
3649 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3650 support for running tests against sid targets.
3651 (gdbtk_done): Ditto.
3652
3653 2001-09-18 Corinna Vinschen <vinschen@redhat.com>
3654
3655 * gdb.base/ending-run.c (main): Set stdout buffersize
3656 to the same reasonable value for any target.
3657 * gdb.base/ending-run.exp: Add a regular expression
3658 to make testsuite happy on Sanyo Stormy16 target.
3659
3660 2001-09-17 Corinna Vinschen <vinschen@redhat.com>
3661
3662 * gdb.base/display.c (do_loops): Add float variable `f'.
3663 Increment f in loop.
3664 * gdb.base/display.exp: Increment timeout by 60 seconds.
3665 Change float display test to use variable `f'.
3666
3667 2001-09-17 Jim Blandy <jimb@redhat.com>
3668
3669 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3670 overflowing the limited breakpoint tables on some ROM monitors
3671 (like the ROM68K).
3672
3673 2001-09-15 Frank Ch. Eigler <fche@redhat.com>
3674
3675 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3676 the "-ac" (disable access control) flag.
3677
3678 2001-08-30 Jeff Holcomb <jeffh@redhat.com>
3679
3680 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3681 ints.
3682
3683 2001-08-30 Keith Seitz <keiths@redhat.com>
3684
3685 * lib/gdb.exp: Move all insight-related functionality into
3686 separate file.
3687 * lib/insight-support.exp: New file.
3688
3689 2001-08-29 Frank Ch. Eigler <fche@redhat.com>
3690
3691 * config/sid.exp (sid_start): Never set sid verbosity; disable
3692 expect_background {} that consumed its stdout; tolerate </dev/null.
3693 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3694
3695 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3696
3697 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3698 CLI jump command to start it.
3699 (mi_run_to_main): Fail immediatly when unexpected output.
3700
3701 2001-08-18 Andrew Cagney <ac131313@redhat.com>
3702
3703 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3704 beginning of function. Fix PR gdb/191.
3705
3706 2001-08-16 Frank Ch. Eigler <fche@redhat.com>
3707
3708 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3709 what to force sid endianness to.
3710
3711 2001-08-15 Keith Seitz <keiths@redhat.com>
3712
3713 * lib/gdb.exp (gdbtk_start): Don't set environment
3714 variables for TCL_LIBRARY and friends. Insight will
3715 now figure these out for itself.
3716
3717 2001-08-02 Michael Snyder <msnyder@redhat.com>
3718
3719 * gdb.base/completion.exp: Remove the symbol "a64l" from
3720 the expect string; this is target-specific, and not related
3721 to what is being tested.
3722
3723 2001-08-02 Dave Brolley <brolley@redhat.com>
3724
3725 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3726
3727 2001-07-25 Michael Snyder <msnyder@redhat.com>
3728
3729 * gdb.base/consecutive.exp: New file. Test stepping over
3730 breakpoints on consecutive instructions.
3731 * gdb.base/consecutive.c: New file.
3732
3733 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3734 curly braces in regular expressions.
3735
3736 2001-07-25 Michael Snyder <msnyder@redhat.com>
3737
3738 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3739 legitimate output from stepping out of main.
3740
3741 2001-07-22 Keith Seitz <keiths@redhat.com>
3742
3743 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3744 the empty string, do not run the tests.
3745
3746 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3747
3748 * gdb.base/long_long.exp: Detect size of pointer. Take into
3749 account 2-byte pointers when testing for p/a results.
3750
3751 2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3752
3753 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3754 and defined to 1K for m68hc11.
3755 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3756 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3757 (sizeof_random_data): New variable to tell the size of the data table;
3758 don't test past this size; always run to main.
3759
3760 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3761
3762 * gdb.base/return2.exp: return of long long and double fails for
3763 68HC11; don't execute these tests on that platform.
3764 * gdb.base/return.exp: Return of a double fails for 68hc11.
3765
3766 2001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3767
3768 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3769 tests that print a float.
3770 * call-rt-st.exp: Likewise.
3771
3772 2001-07-12 Mark Kettenis <kettenis@gnu.org>
3773
3774 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3775 running this test on Linux.
3776
3777 2001-06-24 Michael Chastain <chastain@redhat.com>
3778
3779 * gdb.base/arithmet.exp: Remove some tests to make all test names
3780 unique.
3781
3782 2001-07-03 Michael Snyder <msnyder@redhat.com>
3783
3784 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3785 the output of the ptype command.
3786
3787 2001-07-02 Michael Snyder <msnyder@redhat.com>
3788
3789 * gdb.base/completion.exp: Don't assume that break.c is the only
3790 source file that may contain functions named "marker".
3791 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3792
3793 2001-06-28 Andrew Cagney <ac131313@redhat.com>
3794
3795 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3796 of files to delete.
3797
3798 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3799 * gdb.disasm/h8300s.exp: New file.
3800 gdb.disasm/h8300s.s: Likewise.
3801
3802 2001-06-27 Andrew Cagney <ac131313@redhat.com>
3803
3804 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3805 empty breakpoint tables.
3806
3807 2001-06-25 Andrew Cagney <ac131313@redhat.com>
3808
3809 * lib/mi-support.exp: Update args=... part of stop-reason
3810 patterns. Accept either a list or a tuple.
3811
3812 2001-06-23 Andrew Cagney <ac131313@redhat.com>
3813
3814 * lib/mi-support.exp: Remove local emacs variable defining
3815 change-log-default-name.
3816
3817 2001-06-22 Michael Chastain <chastain@redhat.com>
3818
3819 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3820 This is operationally compatible with the previous version.
3821
3822 2001-06-13 Jim Blandy <jimb@redhat.com>
3823
3824 * lib/gdb.exp (gdb_test): Doc fix.
3825
3826 2001-06-10 Michael Chastain <chastain@redhat.com>
3827
3828 * gdb.base/exprs.exp: Remove a duplicate test.
3829
3830 2001-06-06 Jim Blandy <jimb@redhat.com>
3831
3832 * gdb.base/return2.exp (main): Use values to test float and double
3833 returns that are not NaN's, to avoid being confused by IEEE
3834 comparison rules.
3835
3836 2001-06-04 Michael Snyder <msnyder@redhat.com>
3837
3838 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3839 non-zero if control_c fails. Terminate the test on failure,
3840 rather than wait for 12 more tests to time out.
3841
3842 2001-06-06 Jim Blandy <jimb@redhat.com>
3843
3844 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3845 Don't forget to match the GDB prompt.
3846
3847 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3848
3849 2001-06-04 Jim Blandy <jimb@redhat.com>
3850
3851 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3852 command.
3853
3854 2001-05-31 Kevin Buettner <kevinb@redhat.com>
3855
3856 * gdb.base/annota1.exp (info break): Match four or more spaces
3857 after "Address".
3858
3859 2001-05-31 Michael Chastain <chastain@redhat.com>
3860
3861 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3862 (dm_type_int_star): Likewise.
3863 (dm_type_long_star): Likewise.
3864 (dm_type_void_star): Likewise.
3865
3866 2001-05-29 Kevin Buettner <kevinb@redhat.com>
3867
3868 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3869 to a known value in order to get consistent results regardless
3870 of the setting of INPUTRC or the presence or contents of .inputrc.
3871
3872 2001-05-24 Michael Snyder <msnyder@redhat.com>
3873
3874 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3875 Don't require that the main thread and the manager thread are the
3876 first in the list.
3877
3878 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3879 debugging. If test fails, issue an "unsupported" not a "fail".
3880
3881 2001-05-24 Jim Blandy <jimb@redhat.com>
3882
3883 Don't assume that short is shorter than int.
3884 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3885 assume that shorts are smaller than ints. On a 16-bit machine,
3886 this isn't true.
3887 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3888 an int, is not equal to ~0 stored in an unsigned char. This tests
3889 the same thing that the previous test meant to, but works on
3890 16-bit machines, too.
3891 ("print unsigned char != (~0)"): Same test, complemented.
3892
3893 2001-05-24 Michael Snyder <msnyder@redhat.com>
3894
3895 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3896 test for (full_coverage == 0). This makes the test run faster,
3897 and prevents dejagnu getting out of step.
3898
3899 2001-05-23 Kevin Buettner <kevinb@redhat.com>
3900
3901 * gdb.base/finish.exp (finish_void): Revise pattern for
3902 stopping on the call statement to not permit stopping at
3903 the start of the instructions comprising the call sequence.
3904
3905 2001-05-19 Michael Chastain <chastain@redhat.com>
3906
3907 * gdb.base/callfuncs.exp: Make all test names unique.
3908 * gdb.base/commands.exp: Make all test names unique.
3909 * gdb.base/condbreak.exp: Make all test names unique.
3910 * gdb.base/dbx.exp: Make all test names unique.
3911 * gdb.base/default.exp: Make all test names unique.
3912 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3913 and TIMEOUT messages to their corresponding PASS message.
3914 * gdb.base/ending-run.exp: Make all test names unique.
3915 * gdb.base/long_long.exp: Remove duplicate test.
3916
3917 2001-05-21 Kevin Buettner <kevinb@redhat.com>
3918
3919 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3920 stop on the call statement as well as the statement after the
3921 call.
3922
3923 2001-05-21 Michael Snyder <msnyder@redhat.com>
3924
3925 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3926
3927 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3928
3929 * gdb.base/completion.exp: Revamp test. Make it execute on all
3930 platforms.
3931
3932 2001-05-10 Elena Zannoni <ezannoni@redhat.com>
3933
3934 * config/gdbserver.exp (gdb_load): Handle the case
3935 in which the arguments to gdbserver are given in the
3936 baseboard configuration file.
3937 Also handle the case in which the server needs to do a
3938 load.
3939
3940 2001-05-07 Keith Seitz <keiths@cygnus.com>
3941
3942 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3943 set up the display for testing.
3944 (gdbtk_start): Convert all paths to paths that tcl will like.
3945 Export target information to environment.
3946 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3947 necessary.
3948 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3949 (to_tcl_path): New proc to convert a given pathname into
3950 a path acceptible as an argument to a tcl command.
3951 (_gdbtk_export_target_info): New proc to export target info
3952 into the environment for gdbtk testing.
3953 (gdbtk_done): New proc to signal end-of-test.
3954
3955 2001-05-06 Jim Blandy <jimb@redhat.com>
3956
3957 * restore.c: Make the code of caller0 correspond to its comment.
3958
3959 2001-05-03 Michael Snyder <msnyder@redhat.com>
3960
3961 * config/sid.exp (gdb_target_sid): Check for error messages.
3962 On error or timeout, don't make expect exit (which will terminate
3963 all subsequent tests); instead just make gdb exit.
3964 (gdb_load): Check for error messages. On error or timeout,
3965 return a negative value.
3966
3967 2001-04-24 Jim Blandy <jimb@redhat.com>
3968
3969 * gdb.c++/templates.exp: If we see the prompt for the overload
3970 list, but we haven't recognized any of the longer patterns,
3971 arrange for this test to fail, not hang.
3972
3973 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3974 variations.
3975
3976 2001-04-22 Michael Chastain <chastain@redhat.com>
3977
3978 * gdb.c++/local.exp: Use the 'runto' library function.
3979 * gdb.c++/namespace.exp: Likewise.
3980 * gdb.c++/overload.exp: Likewise.
3981
3982 2001-03-26 Kevin Buettner <kevinb@redhat.com>
3983
3984 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3985 * gdb.base/step-line.exp: New file. Test step/next in presence of
3986 #line directives.
3987 * gdb.base/step-line.c: New file. Test program for the above.
3988 * gdb.base/step-line.inp: New file. We pretend that this file has
3989 been transformed by some other tool into step-line.c.
3990
3991 2001-03-21 Jim Blandy <jimb@redhat.com>
3992
3993 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3994 unmangled operator names.
3995
3996 2001-03-20 Jim Blandy <jimb@redhat.com>
3997
3998 * gdb.threads/linux-dp.exp: Recognize an additional message
3999 generated by GDB when it doesn't understand how to debug threads
4000 on the target system.
4001
4002 2001-03-19 Andrew Cagney <ac131313@redhat.com>
4003
4004 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
4005
4006 2001-03-12 Michael Chastain <chastain@redhat.com>
4007
4008 * gdb.c++/derivation.exp: Use the 'runto' library function.
4009
4010 2001-03-12 Michael Chastain <chastain@redhat.com>
4011
4012 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
4013
4014 2001-02-24 Michael Chastain <chastain@redhat.com>
4015
4016 * gdb.c++/ref-types.exp: Change handwritten code to library
4017 function 'runto'.
4018
4019 2001-03-16 Orjan Friberg <orjanf@axis.com>
4020
4021 * gdb.base/signals.exp: Set count to 0 explicitly.
4022
4023 2001-03-15 Mark Salter <msalter@redhat.com>
4024
4025 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
4026 (gdb_target_monitor): Add check of gdb_target_cmd return value.
4027 (gdb_load): Add support for additional target_info: gdb_download_size
4028 and gdb_load_timeout.
4029
4030 Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
4031
4032 * gdb.base/annota1.exp: Move test of isnative to earlier in the
4033 file -- to prevent failing when the compile fails but we have no
4034 intention of running the tests anyway.
4035
4036 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4037 tests if set.
4038
4039 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4040 integers.
4041
4042 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4043 * gdb.c++/namespace.exp: Ditto.
4044
4045 2001-03-07 Orjan Friberg <orjanf@axis.com>
4046
4047 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4048 * gdb.base/pointers.exp: Relax pattern match of decimals.
4049
4050 2001-03-06 Kevin Buettner <kevinb@redhat.com>
4051
4052 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4053 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4054 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4055 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4056 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4057 config/sh.exp, config/sid.exp, config/slite.exp,
4058 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4059 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4060 config/vxworks.exp, config/vxworks29k.exp,
4061 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4062 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4063 gdb.base/arithmet.exp, gdb.base/assign.exp,
4064 gdb.base/async.exp, gdb.base/attach.exp,
4065 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4066 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4067 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4068 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4069 gdb.base/commands.exp, gdb.base/completion.exp,
4070 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4071 gdb.base/constvars.exp, gdb.base/corefile.exp,
4072 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4073 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4074 gdb.base/ending-run.exp, gdb.base/environ.exp,
4075 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4076 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4077 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4078 gdb.base/funcargs.exp, gdb.base/help.exp,
4079 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4080 gdb.base/logical.exp, gdb.base/long_long.exp,
4081 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4082 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4083 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4084 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4085 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4086 gdb.base/regs.exp, gdb.base/relational.exp,
4087 gdb.base/remote.exp, gdb.base/reread.exp,
4088 gdb.base/restore.exp, gdb.base/return2.exp,
4089 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4090 gdb.base/selftest.exp, gdb.base/setshow.exp,
4091 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4092 gdb.base/sigall.exp, gdb.base/signals.exp,
4093 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4094 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4095 gdb.base/step-test.exp, gdb.base/structs.c,
4096 gdb.base/structs.exp, gdb.base/structs2.exp,
4097 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4098 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4099 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4100 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4101 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4102 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4103 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4104 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4105 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4106 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4107 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4108 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4109 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4110 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4111 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4112 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4113 gdb.trace/circ.exp, gdb.trace/collection.exp,
4114 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4115 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4116 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4117 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4118 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4119 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4120 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4121 notices.
4122
4123 2001-02-27 Michael Snyder <msnyder@cygnus.com>
4124
4125 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4126 first arg is int not float.
4127
4128 2001-02-22 Michael Snyder <msnyder@cygnus.com>
4129
4130 * gdb.base/reread.exp: Unsupported for non-native targets;
4131 doesn't work for remote debugging.
4132
4133 2001-02-19 Fernando Nasser <fnasser@redhat.com>
4134
4135 From Drew Moseley <dmoseley@redhat.com>
4136 * gdb.base/ending-run.exp: Properly handle the BSP state when
4137 stepping past the end of main.
4138
4139 2001-02-19 John Moore <jmoore@redhat.com>
4140
4141 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4142 Converted HPUX fix for non-expected items following multiple
4143 step commands into general solution for all platforms.
4144
4145 2001-02-18 Michael Chastain <chastain@redhat.com>
4146
4147 * gdb.c++/classes.exp (do_tests): Change runto statements
4148 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4149 statements demangler agnostic.
4150 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4151 (gdb_virtfunc_restart): Likewise.
4152
4153 2001-02-14 Michael Chastain <chastain@redhat.com>
4154
4155 * gdb.c++/inherit.exp (do_tests): Change runto statements
4156 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4157 statements demangler agnostic.
4158
4159 Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4160
4161 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4162 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4163 before calling common_routine 15 times'' tests.
4164
4165 2001-02-11 Michael Chastain <chastain@redhat.com>
4166
4167 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4168 Helps the test script figure out which demangler is in use.
4169 (dm_type_foo_ref): Ditto.
4170 (dm_type_int_star): Ditto.
4171 (dm_type_long_star): Ditto.
4172 (dm_type_unsigned_int): Ditto.
4173 (dm_type_void): Ditto.
4174 (dm_type_void_star): Ditto.
4175 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
4176 Probe the gdb demangler and set variables to accommodate
4177 formatting differences.
4178 (info_func_regexp): New function. Same as info_func, but
4179 matches against a regexp.
4180 (info_func): Match against a literal string.
4181 (print_addr_2): New function. Match against a literal string,
4182 which can be different from the input to gdb.
4183 (print_addr): Simply call print_addr_2 with the same argument twice.
4184 (test_lookup_operator_functions): Use demangler formatting variables.
4185 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4186 the tests in the same order as the C++ class declaration.
4187 (test_paddr_operator_functions): Ditto.
4188 (test_paddr_overloaded_functions): Ditto.
4189 (test_paddr_hairy_functions): Use demangler formatting variables.
4190 Add reference to gdb/19 for related tests.
4191 (do_tests): Call probe_demangler.
4192
4193 2001-01-30 Kevin Buettner <kevinb@redhat.com>
4194
4195 * gdb.c++/templates.cc (printf): Remove unused function definition.
4196
4197 2001-01-26 Felix Lee <flee@redhat.com>
4198
4199 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4200
4201 2001-01-25 matthew green <mrg@redhat.com>
4202
4203 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4204 up sid.
4205 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4206
4207 2001-01-25 matthew green <mrg@redhat.com>
4208
4209 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4210 Deprecate $sid_spawn_id.
4211 (sid_exit): Remove code necessary only for `spawn.'
4212
4213 2001-01-25 matthew green <mrg@redhat.com>
4214
4215 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4216
4217 2001-01-28 Michael Chastain <chastain@redhat.com>
4218
4219 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4220 to call when tests fail. It takes gdb out of the overloaded
4221 function choice menu back to the main prompt, so that the test
4222 program stays synchronized.
4223 (set_bp_overloaded): New proc to collect all the common
4224 code for setting a breakpoint on an overloaded name. Calls
4225 take_gdb_out_of_choice_menu when needed.
4226 (menu_overload1arg): New variable to collect the repeated
4227 instances of the expected menu for an overloaded name. Change
4228 the regular expression to handle changes in g++ type encoding:
4229 "void" can be either "void" or "", and "unsigned int" can be
4230 either "unsigned int" or "unsigned".
4231 (continue_to_bp_overloaded): Change regular expressions to handle
4232 changes in g++ type encoding.
4233 (no proc): Call take_gdb_out_of_choice_menu when needed.
4234 Remove redundant calls to "info break". Accept either "canceled"
4235 or "cancelled". Change regular expressions in "info break"
4236 calls to handle changes in g++ type encoding. Give all tests
4237 unique strings.
4238
4239 2001-01-17 Ben Elliston <bje@redhat.com>
4240
4241 * config/sid.exp: New file.
4242
4243 Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4244
4245 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4246
4247 2000-12-21 Michael Snyder <msnyder@cygnus.com>
4248
4249 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4250 Add a RE to accept a non-ascii char if one is ever presented.
4251
4252 2000-12-20 Fernando Nasser <fnasser@redhat.com>
4253
4254 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
4255
4256 2000-12-18 Michael Snyder <msnyder@cygnus.com>
4257
4258 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4259 in regexp. One '\' does not suffice on Linux.
4260
4261 2000-12-09 Michael Chastain <chastain@redhat.com>
4262
4263 * gdb.base/break.exp (test_clear_command): Use a marker function
4264 rather than 'main' for the test function. Also move this
4265 test to an execution point where the marker function names are
4266 guaranteed to be bound to functions. (Executing tests after a
4267 'finish' from main runs into name conflicts with local names
4268 in __libc_start_main).
4269
4270 2000-12-07 Michael Snyder <msnyder@cygnus.com>
4271
4272 * gdb.base/finish.exp: New test for gdb's "finish" command.
4273 * gdb.base/return2.exp: New test for gdb's "return" command.
4274 * gdb.base/return2.c: New source file for above.
4275
4276 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4277
4278 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4279 * gdb.base/miscexprs.exp: Ditto.
4280 * gdb.base/pointers.exp: Ditto.
4281 * gdb.c++/derivation.exp: Ditto.
4282 * gdb.c++/local.exp: Ditto.
4283 * gdb.c++/namespace.exp: Ditto.
4284 * gdb.c++/overload.exp: Ditto.
4285 * gdb.c++/ref-types.exp: Ditto.
4286
4287 2000-12-05 Michael Snyder <msnyder@cygnus.com>
4288
4289 * gdb.base/constvars.exp: Test result of "up" command.
4290 * gdb.base/miscexprs.exp: Ditto.
4291 * gdb.base/pointers.exp: Ditto.
4292 * gdb.base/scope.exp: Ditto.
4293 * gdb.c++/derivation.exp: Ditto.
4294 * gdb.c++/local.exp: Ditto.
4295 * gdb.c++/namespace.exp: Ditto.
4296 * gdb.c++/overload.exp: Ditto.
4297 * gdb.c++/ref-types.exp: Ditto.
4298
4299 2000-11-22 Michael Chastain <chastain@redhat.com>
4300
4301 * mips_pro.exp: Accept either "middle -> top -> main" or
4302 "middle -> main" in the backtrace, because gcc can optimize
4303 tail calls to jumps. Remove setup_xfail for the hppa case.
4304 Add a comment with the original warning messages from PR 3016,
4305 which was filed in 1993, to preserve them for posterity.
4306
4307 2000-11-17 Nick Duffek <nsd@redhat.com>
4308
4309 * lib/gdb.exp (gdb_test): Override timeout with board info.
4310
4311 2000-11-17 Nick Duffek <nsd@redhat.com>
4312
4313 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4314 the second kill and detach messages.
4315
4316 2000-11-17 Nick Duffek <nsd@redhat.com>
4317
4318 * configure.in: Add AC_EXEEXT.
4319 * configure: Regenerate.
4320 * Makefile.in (just-check): Export EXEEXT.
4321 * lib/gdb.exp ($EXEEXT): Import from environment.
4322 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4323 expect "maint dump-me" on Cygwin.
4324 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4325 $EXEEXT.
4326
4327 2000-11-17 Nick Duffek <nsd@redhat.com>
4328
4329 * gdb.base/break.exp: Test backtrace and finish from called
4330 function on all platforms, not just HP-UX.
4331
4332 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4333
4334 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4335 code from gdb_target_monitor, so it can be used independantly
4336 for gdbserver. Also comment out an unnecessary PUTS.
4337
4338 2000-11-03 Michael Snyder <msnyder@cygnus.com>
4339
4340 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4341 * gdb.base/corefile.exp: Expect the message "Program is being
4342 debugged already" when we send the "corefile" command, since
4343 the preceeding gdb_load may have connected gdb to a remote target.
4344 * gdb.base/display.exp: Disable hardware watchpoints if new
4345 board info variable "no_hardware_watchpoints" is true.
4346 Replace single-letter commands with more readable ones.
4347 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4348 if new board info variable "no_hardware_watchpoints" is true.
4349 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4350 to see if stdio (printf) testing is possible.
4351 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4352 board info variable "no_hardware_watchpoints" is true. Use new
4353 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4354
4355 2000-11-13 Fernando Nasser <fnasser@redhat.com>
4356
4357 From Orjan Friberg <orjanf@axis.com>:
4358 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4359 in array print pattern match.
4360
4361 2000-11-09 Fernando Nasser <fnasser@redhat.com>
4362
4363 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4364 spelling "cancelled" to U.S. spelling "canceled" to match changes
4365 made to gdb.
4366 * gdb.c++/ovldbreak.exp: Ditto.
4367
4368 2000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4369
4370 * gdb.base/callfuncs.c (main): Moved to end of file, call
4371 t_double_values to initialize the FPU before inferior calls are made.
4372 * gdb.base/callfuncs.exp: Test for register preservation after calling
4373 inferior functions. Add tests for continuining, finishing and
4374 returning from a stop in a call dummy.
4375
4376 2000-10-24 Michael Snyder <msnyder@cygnus.com>
4377
4378 * gdb.base/commands.exp: Break up long lines, and re-indent.
4379
4380 2000-10-19 Michael Snyder <msnyder@cygnus.com>
4381
4382 * config/gdbserver.exp: Rewritten from the ground up, to make it
4383 compatible with the current dejagnu tree, and to make it work with
4384 the new "gdbserver" in libremote.
4385
4386 2000-10-16 Michael Snyder <msnyder@cygnus.com>
4387
4388 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4389 * gdb.base/varargs.exp: Skip entire test if no printf support.
4390 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4391 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4392
4393 2000-10-13 Michael Snyder <msnyder@cygnus.com>
4394
4395 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4396 no floating point support.
4397 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4398 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4399 * gdb.base/call-rt-st.exp: Ditto.
4400 * gdb.base/call-strs.exp: Ditto.
4401
4402 2000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4403
4404 * gdb.base/sizeof.c: include <stdio.h>.
4405
4406 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4407 'finish', otherwise uncaptured gdb_prompt would potentially
4408 throw remaining test points out of sync.
4409
4410 2000-07-26 Scott Bambrough <scottb@netwinder.org>
4411
4412 * gdb.base/recurse.exp: Run tests for all targets.
4413 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4414 gnu-oldld case on ARM.
4415 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4416 for ARM targets.
4417
4418 Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4419
4420 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4421 * gdb.java/configure: Rebuild.
4422
4423 Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4424
4425 * gdb.java/jv-exp.exp: New file.
4426
4427 Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4428
4429 * configure: Rebuilt.
4430 * configure.in (configdirs): Add gdb.java.
4431 * gdb.java/jmisc.java: New file.
4432 * gdb.java/jmisc.exp: New file.
4433 * gdb.java/Makefile.in: New file.
4434 * gdb.java/configure: Rebuilt.
4435 * gdb.java/configure.in: New file.
4436 * lib/java.exp: New file.
4437
4438 Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4439
4440 * gdb.base/exprs.exp: Test casts to a pointer including over and
4441 underflow.
4442
4443 Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4444
4445 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4446 and the compilers sizes.
4447
4448 2000-07-09 Nick Duffek <nsd@redhat.com>
4449
4450 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4451 (use_methods): New function.
4452 (main): Call use_methods().
4453 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4454 (do_tests): Call test_method_param_class.
4455
4456 2000-07-09 Nick Duffek <nsd@redhat.com>
4457
4458 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4459 spelling.
4460 (test_enums): New procedure. Move enum tests from end of script
4461 to here. Set breakpoint on function name instead of line number.
4462 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4463 (enums2): New marker function.
4464 (enums1): New function.
4465 (main): Call enums1(). Move enum tests to enums1().
4466
4467 Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4468
4469 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4470 compile/link program. Update line numbers.
4471 * gdb.asm/d10v.inc: Define ``startup''.
4472 * gdb.asm/asmsrc1.s: Add definition of _start.
4473
4474 Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4475
4476 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4477
4478 2000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4479
4480 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4481 of 'help maint print' command.
4482
4483 Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4484
4485 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4486 they use gdb_expect_list.
4487
4488 Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4489
4490 * gdb.base/commands.exp: Use ``set remote
4491 memory-read-packet-size'' instead of ``set endian big'' to test
4492 long commands.
4493
4494 2000-06-03 Daniel Berlin <dan@cgsoftware.com>
4495
4496 * gdb.c++/templates.exp (do_tests): Make all of these work under
4497 g++, and stop skipping them.
4498
4499 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4500 work under g++.
4501
4502 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4503 initialization.
4504
4505 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4506
4507 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4508 the regular expression: accept an (almost) arbitrary sequence of
4509 "frames-invalid" and "breakpoints-invalid" messages both before
4510 and after the "starting" message.
4511
4512 2000-06-02 Michael Snyder <msnyder@cygnus.com>
4513
4514 * gdb.c++/local.exp: This test has never been known to work with g++.
4515
4516 2000-05-18 Michael Snyder <msnyder@cygnus.com>
4517
4518 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4519 Relax the regular expression a little, make it pass on Solaris 8.
4520
4521 2000-05-12 Kevin Buettner <kevinb@redhat.com>
4522
4523 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4524 a call, do not require that gdb stop on the line after the call.
4525 Instead, it is permissible for gdb to stop on the line of the
4526 call itself.
4527
4528 2000-05-12 Michael Snyder <msnyder@.cygnus.com>
4529
4530 * gdb.base/break.exp (bp on small function, optimized file):
4531 Add a second pass pattern. The behavior differs here between stabs
4532 and dwarf for one-line functions. Stabs preserves two line symbols
4533 (one before the prologue and one after) with the same line number,
4534 but dwarf regards these as duplicates and discards one of them.
4535 Therefore the address after the prologue (where the breakpoint is)
4536 has no exactly matching line symbol, and GDB reports the breakpoint
4537 as if it were in the middle of a line rather than at the beginning.
4538
4539 2000-05-08 Michael Snyder <msnyder@cygnus.com>
4540
4541 * gdb.base/interrupt.exp: Make "pass" message say "send"
4542 rather than "send_gdb" (for consistancy).
4543
4544 Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4545
4546 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4547 * gdb.c++/templates.cc: Properly check for GCC version number.
4548 * lib/compiler.cc: Likewise
4549
4550 2000-04-28 Michael Snyder <msnyder@cygnus.com>
4551
4552 * gdb.base/break.exp: When compiled with -O2 optimization,
4553 gdb may not stop at the first line of main, due to code motion.
4554
4555 2000-04-26 Michael Snyder <msnyder@cygnus.com>
4556
4557 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4558 This test depends on parsing the printf output from the target.
4559 Since the sparclet stub doesn't do stdio, this will never work.
4560 * gdb.base/call-rt-st.exp: ditto.
4561 * gdb.base/call-strs: ditto.
4562
4563 2000-04-24 Michael Snyder <msnyder@cygnus.com>
4564
4565 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4566
4567 * gdb.base/ending-run.exp: After connecting to a remote target,
4568 but before running, the target will appear to be in a random
4569 location. Specify both a file and a line for breakpoints.
4570 Also, the function that calls main may be called 'init'
4571 rather than 'start'.
4572
4573 2000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4574
4575 * gdb.base/help.exp: Update output for add-symbol-file command.
4576
4577 2000-04-10 Fernando Nasser <fnasser@cygnus.com>
4578
4579 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4580 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4581
4582 2000-04-07 J.T. Conklin <jtc@redback.com>
4583
4584 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4585
4586 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4587
4588 Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4589
4590 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4591 values that can be represented exactly.
4592 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4593 above change, and to not check against the directory part of the source
4594 file name.
4595 (step into print_long_arg_list): Likewise.
4596 (print print_small_structs from print_long_arg_list): Likewise.
4597 (print print_long_arg_list): Likewise.
4598
4599 2000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4600
4601 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
4602
4603 Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4604
4605 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4606
4607 2000-03-25 Daniel Berlin <dan@cgsoftware.com>
4608
4609 * gdb.base/commands.exp (deprecated_command_test): Add test for
4610 deprecate with no arguments.
4611
4612 2000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4613
4614 * gdb.base/break.exp: Add new test for setting breakpoints on
4615 optimized code so we can test breakpoints work even when function
4616 prologues may be optimized away
4617
4618 2000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4619
4620 From David Whedon <dwhedon@gordian.com>
4621 * gdb.base/commands.exp : Added command deprecator tests.
4622
4623 2000-03-22 Daniel Berlin <dan@cgsoftware.com>
4624
4625 * gdb.base/help.exp: Added test for new apropos command.
4626
4627 2000-03-21 Kevin Buettner <kevinb@redhat.com>
4628
4629 * gdb.base/pointers.c (usevar): New function.
4630 (main): Make sure that global variables v_int_pointer2, rptr,
4631 and y are all referenced someplace in the program by calling
4632 usevar() on them. [Some linkers delete symbols which are
4633 never referenced. The space remains, but there's no way to
4634 get a (symbolic) handle on the variable from the debugger.]
4635
4636 2000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4637
4638 * gdb.base/printcmds.c: Add typedeffed arrays.
4639
4640 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4641 procedure to test arrays that are typedef'd.
4642
4643 2000-03-13 James Ingham <jingham@leda.cygnus.com>
4644
4645 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
4646 the library directories.
4647
4648 Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4649
4650 * configure.in (configdirs): Add sub directory gdb.mi.
4651 * configure: Re-generate.
4652
4653 * gdb.mi: New directory.
4654
4655 2000-02-25 Scott Bambrough <scottb@netwinder.org>
4656
4657 * gdb.base/long_long.exp: Correct test suite failure when printing
4658 a long long value as a double on ARM platforms.
4659
4660 2000-02-16 Jim Blandy <jimb@redhat.com>
4661
4662 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4663 default source file is set properly before running this test.
4664
4665 2000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4666
4667 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4668 gdbtk/library directory, not in gdbtcl2.
4669
4670 2000-02-04 Jim Blandy <jimb@redhat.com>
4671
4672 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4673 backslash from regexp pattern.
4674
4675 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4676 procedure. Use it to run all the "continue to bp overloaded"
4677 tests. Note that this changes the names of the tests slightly.
4678 If the breakpoint hit message includes a hex PC value, because
4679 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4680 from the real source code, still consider that a pass.
4681
4682 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4683 XFAIL here if the breakpoint message contains a hex address. Note
4684 similar change on 1999-11-02.
4685
4686 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4687
4688 * gdb.base/ptype.exp: Establish a default source file before
4689 calling get_debug_format.
4690
4691 2000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4692
4693 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4694
4695 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4696
4697 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4698 of successive stepi commands -- while in the prologue we should see
4699 the function entry bracket.
4700
4701 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4702
4703 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4704 reach __change_mode() when stepping through the end of main().
4705
4706 2000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4707
4708 * gdb.base/default.exp: Fix expected pattern.
4709 * gdb.base/help.exp: Same.
4710
4711 2000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4712
4713 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4714 Don't use xfail's because that affects only the following test.
4715
4716 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4717 solaris or linux.
4718
4719 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4720
4721 2000-01-07 Michael Snyder <msnyder@cygnus.com>
4722
4723 * gdb.base/display.exp: Some yacc parsers like to say
4724 "A syntax error" rather than "A parse error". Accept both.
4725
4726 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4727
4728 * gdb.base/default.exp: Remove OS dependent string from "target
4729 remote" test.
4730 * gdb.base/help.exp: Same for "help target remote" test.
4731
4732 2000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4733
4734 From Jim Kingdon <kingdon@redhat.com>:
4735
4736 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4737 prompt (cleanup rather than necessity, but still might keep output
4738 from spilling to next test).
4739
4740 2000-01-02 Fred Fish <fnf@cygnus.com>
4741
4742 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4743 AIX, which defines them in <sys/types.h>.
4744
4745 1999-12-16 Stan Shebs <shebs@andros.cygnus.com>
4746
4747 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4748 float" test.
4749
4750 1999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
4751
4752 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
4753
4754 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4755 outermost frame disallowed".
4756
4757 1999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4758
4759 * gdb.base/setvar.exp: New tests for setting the value of a struct
4760 with a constant list.
4761
4762 1999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4763
4764 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4765 require the user to type a cast before setting the value of a struct.
4766
4767 1999-12-06 Jim Blandy <jimb@cygnus.com>
4768
4769 * gdb.base/default.exp: Expect the new 'info float' command on
4770 all i386 platforms.
4771
4772 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4773 LinuxThreads libraries that don't support debugging.
4774
4775 Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4776
4777 * gdb.base/remote.c: Fill the buffer with truely random data.
4778 Change the buffer type to ``unsigned char'' to simplify size
4779 arithmetic.
4780
4781 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4782 stub only handles 400-1 byte packets. Verify that the download
4783 worked.
4784
4785 1999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4786
4787 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4788 tests, using UNRESOLVED for the untested cases. Also, does not wait
4789 for a timeout if the prompt was received before a recognizable pattern.
4790
4791 1999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4792
4793 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4794
4795 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4796
4797 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4798 watchpoints.
4799
4800 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
4801
4802 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4803
4804 * gdb.c++/local.exp: Be more flexible in recognizing local class
4805 name mangling. Don't allow horribly truncated method names.
4806 * gdb.c++/derivation.exp: Expect protected inheritance.
4807 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4808 * gdb.c++/virtfunc.exp: Likewise.
4809 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4810 when printing a nested enum.
4811
4812 1999-11-22 Jim Blandy <jimb@cygnus.com>
4813
4814 * gdb.base/step-test.exp: Properly await GDB's response to setting
4815 a breakpoint on the call to large_struct_by_value.
4816
4817 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4818 just because we have debug info for the `start' function.
4819
4820 1999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4821
4822 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4823 "Unknown signal" messages, which indicate (on LinuxThreads) that
4824 GDB doesn't know how to debug threads on this system. This is
4825 better than hanging while philosopher 0 dumps chatter into gdb.log.
4826
4827 1999-11-18 Tom Tromey <tromey@cygnus.com>
4828
4829 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4830
4831 1999-11-18 Fred Fish <fnf@cygnus.com>
4832
4833 * gdb.base/coremaker2.c: Add sample program for generating
4834 cores that is more self contained than coremaker.c. Eventually
4835 I'll add more code to this and tie it into the testsuite.
4836
4837 1999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4838
4839 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4840
4841 1999-11-10 Jimmy Guo <guo@cup.hp.com>
4842
4843 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4844 from $srcdir/lib/.
4845 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4846 and gdb.c++/.
4847
4848 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4849
4850 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4851 'continue with watch' test point.
4852
4853 1999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4854
4855 Merged from p2linux-990323-branch:
4856
4857 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4858
4859 Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4860
4861 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4862 {limit,fixed}''. Test ``set download-write-size''.
4863
4864 Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4865
4866 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4867 gdb_expect_list.
4868
4869 Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4870
4871 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4872
4873 1999-11-03 Mark Salter <msalter@cygnus.com>
4874
4875 * gdb.base/break.exp: Fix "stub continue" pattern.
4876
4877 1999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4878
4879 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4880
4881 1999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4882
4883 * gdb.base/display.exp ("finish"): Add timeout clause.
4884
4885 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4886 plain prompt clause, so this doesn't have to time out in order to
4887 fail.
4888
4889 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4890 breakpoint hit messages include an address.
4891
4892 * gdb.base/display.exp: Don't forget to escape parens in regular
4893 expressions. Unix regexp notatation sucks.
4894
4895 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4896
4897 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4898 order for 'signalled' message.
4899
4900 1999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4901
4902 From Jimmy Guo <guo@cup.hp.com>:
4903 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4904 * gdb.base/annota1.c: Add code for tests to work with.
4905
4906 1999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4907
4908 * gdb.base/remote.exp: New test for remote downloading settings.
4909 * gdb.base/remote.c: New file with large .data.
4910
4911 1999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4912
4913 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4914 for LinuxThreads support, merged from the Code Fusion branch.
4915
4916 Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4917
4918 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4919 containing exp_continue into a while within an expect. Don't
4920 attempt a start more than three times. Check return value from
4921 gdb_load.
4922
4923 Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4924
4925 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4926 a pass case.
4927
4928 1999-10-01 Kevin Buettner <kevinb@cygnus.com>
4929
4930 * gdb.base/break.c (main): Added a statement that we can step
4931 off of.
4932 * gdb.base/break.exp: Added tests for setting a breakpoint
4933 at an offset and stepping onto a breakpoint.
4934
4935 1999-10-01 Fred Fish <fnf@cygnus.com>
4936
4937 * gdb.base/help.exp (help add-symbol-file): Update to match current
4938 gdb output.
4939
4940 1999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4941
4942 * gdb.base/break.exp: Code locations are in hex, don't forget!
4943 (For HP-UX.)
4944
4945 1999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4946
4947 * condbreak.exp: Use break.c as test program.
4948 * condbreak.c: Remove, redundant with break.c.
4949
4950 1999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4951
4952 * config/monitor.exp (gdb_target_monitor): Disable X- and
4953 Z-packets if the target needs it.
4954
4955 1999-09-13 James Ingham <jingham@leda.cygnus.com>
4956
4957 * gdb.c++/overload.exp: Added tests for listing overloaded
4958 functions with function pointers in the arg, explicitly calling
4959 out the version you want.
4960
4961 1999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4962
4963 * long_long.exp: Add variations of test cases that work for
4964 targets with 16-bit ints and 32-bit doubles.
4965
4966 1999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4967
4968 * break.c (main): Compare a possibly-uninitialized argc with an
4969 unlikely value that fits in 16 bits.
4970
4971 1999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4972
4973 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4974 0xfeeb, don't want negative numbers if ints are 16 bits.
4975
4976 * lib/gdb.exp (skip_cplus_tests): New proc.
4977 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4978 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4979 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4980 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4981 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4982 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4983 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4984 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4985
4986 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4987
4988 Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4989
4990 * gdb.base/corefile.exp (up): Allow a parameter to appear
4991 in the frame that we're going up to.
4992
4993 From Jim Blandy <jimb@cygnus.com>:
4994
4995 * gdb.base/default.exp (info float): Expect some output now.
4996
4997 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4998 returning floating-point values to fail on the x86.
4999 * gdb.base/callfwmall.exp (do_function_calls): Same.
5000
5001 * gdb.base/list.exp (test_listsize): Correct expectations for
5002 listing line 1 with listsize 2. Also, listing a single line
5003 works now, as does listing three lines. [Kevin's note: There
5004 were a number of other cases fixed too where the expectations
5005 differed...]
5006
5007 1999-09-02 Stan Shebs <shebs@andros.cygnus.com>
5008
5009 * gdb.base/selftest.exp: Add case for when version prints as
5010 constant string instead of char pointer.
5011
5012 1999-08-25 Stan Shebs <shebs@andros.cygnus.com>
5013
5014 * gdb.base/ending-run.exp: Add Solaris case for what happens when
5015 stepping out of main.
5016
5017 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
5018 G++ used.
5019
5020 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
5021 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
5022
5023 * gdb.c++/ovldbreak.exp: Update match string in test that
5024 includes a warning of multiple breakpoints.
5025
5026 1999-08-24 Stan Shebs <shebs@andros.cygnus.com>
5027
5028 * gdb.base/display.exp: Improve precision of step-after-finish
5029 added yesterday.
5030
5031 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
5032 test.
5033
5034 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
5035 configs when using G++, not just hppa*.
5036
5037 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5038
5039 * gdb.base/async.c: New file.
5040 * gdb.base/async.exp: New file.
5041
5042 Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5043
5044 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5045 PA64.
5046
5047 Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5048
5049 * gdb.base/display.exp: "finish" can leave us mid-line on many
5050 targets, deal with it. Add a small constant to main, instead of
5051 1000 since main+1000 may not be a valid address in the target.
5052
5053 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5054 on hpux11.
5055
5056 * gdb.base/attach.exp: Handle another hpux11 error message variant
5057 when attaching to a process that does not exist.
5058
5059 1999-08-19 J.T. Conklin <jtc@redback.com>
5060
5061 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5062 characters in 'continue to 1241' test.
5063
5064 1999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5065
5066 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5067 stop in print_long_arg_list, define and use a whitespace
5068 variable in print_small_structs test, add an XFAIL for Solaris.
5069 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5070 interested enough to fix.
5071
5072 1999-08-13 Keith Seitz <keiths@cygnus.com>
5073
5074 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5075 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5076 proc knows about targets other than the natives.
5077 (test_assign): Use "gdb_run_cmd" to "run" the target.
5078 Check that we've actually hit the breakpoint at main.
5079 When we attempt to assign a value to a local variable, check
5080 that the variable is in the current scope, i.e., don't use
5081 a test with an empty result.
5082
5083 Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5084
5085 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5086 command.
5087
5088 1999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5089
5090 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5091 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5092 gdb.compat, gdb.threads-hp.
5093 gdb.hp/configure, gdb.hp/configure.in: New files.
5094 gdb.hp/Makefile.in: Recurse into new subdirs.
5095 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5096 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5097 in object files.
5098 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5099
5100 1999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5101
5102 * gdb.base/display.exp: Help expect by putting a newline in the
5103 funky printf, remove a bogus p/a test.
5104
5105 1999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5106
5107 * gdb.base/display.exp: Make sure that when we say 'run', we are
5108 connected to the target. This is necessary when running not
5109 natively.
5110
5111 1999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5112
5113 * gdb.base/step-test.exp: Removed some extraneous messages.
5114
5115 * gdb.base/long_long.exp: Don't run memory examination tests
5116 on little-endian targets (they will need a different set of
5117 results to match).
5118
5119 1999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5120
5121 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5122 until somebody decides to fix GDB.
5123
5124 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5125 constant as "ULL".
5126 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5127 matches for a couple x/2 commands.
5128
5129 1999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5130
5131 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5132 by merging in ref-types2 tests.
5133 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5134
5135 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5136 * gdb.c++/Makefile.in: Add standard actions.
5137 (EXECUTABLES): Rename from PROGS, update list.
5138 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5139 from gdb.hp.
5140 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5141 foo and bar locals.
5142 * gdb.c++/anon-union.exp: Fix tests to match.
5143 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5144 expect matches to handle output variations.
5145 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5146 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5147 output, add HP alternatives for new and delete prints.
5148 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5149 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5150 * gdb.c++/demangle.exp: Use $style when reporting failure.
5151 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5152 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5153 match alternatives.
5154 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5155 compilers.
5156 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5157 * gdb.c++/method.exp: Add match alternatives.
5158 * gdb.c++/misc.cc: Add bool types.
5159 * gdb.c++/misc.exp: Add tests for bool types.
5160 * gdb.c++/overload.exp: Add xfails.
5161 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5162 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5163 add some more template parameter tests (only for HP currently).
5164 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5165 * gdb.c++/virtfunc.cc: Add return type and value for main.
5166 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5167 match alternatives.
5168
5169 1999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5170
5171 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5172
5173 1999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5174
5175 * gdb.base/signals.exp: Don't expect getting a backtrace from
5176 within a signal handler to fail on Linux.
5177
5178 1999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5179
5180 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5181 * lib/gdb.exp: Remove some gratuitious semicolons.
5182 (delete_breakpoints): Increase timeout.
5183 (gdb_expect): Add -notransfer option.
5184 (gdb_test): Use -notransfer option.
5185 (get_compiler_info): Add f77 case.
5186 (get_compiler): New proc, split out from gdb_preprocess, add f77
5187 case.
5188 (gdb_preprocess): Call get_compiler.
5189
5190 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5191 * gdb.base/attach.exp, gdb.base/display.exp,
5192 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5193 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5194 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5195 third arg to gdb_test.
5196 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5197 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5198 HP-UX xfails, add others.
5199 * gdb.base/completion.exp: Reflect name change of self-test.
5200 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5201 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5202 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5203 HP failure number.
5204 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5205 useless HP-UX 10.30 references.
5206 * gdb.base/maint.exp: Loosen matches.
5207 * gdb.base/pointers.c (main): Declare more_code.
5208 * gdb.base/pointers.exp: Match on output of a `next'.
5209 * gdb.base/structs.c: Add prototypes.
5210 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5211 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5212
5213 1999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5214
5215 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5216 command.
5217
5218 1999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5219
5220 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5221 Fix run to main failures. Watchpoint can be hardware watchpoint.
5222
5223 * gdb.base/annota1.exp: Clean up some more, in case printf has
5224 debug info. Deal with lack of signal hanlder info in stack.
5225
5226 From Jim Kingdon <kingdon@redhat.com>:
5227 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5228
5229 1999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5230
5231 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5232 gdb.base/foll-vfork.exp: Don't run for crosses.
5233
5234 Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5235
5236 * gdb.base/configure.in: Check for gdbvars.exp instead of
5237 a1-selftest.exp.
5238 * gdb.base/configure: Re-generate.
5239
5240 1999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5241
5242 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5243 in trying to run first and name is too long.
5244
5245 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5246 pointers2.c and pointers2.exp, respectively.
5247 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5248 doschk happier.
5249
5250 1999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5251
5252 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5253 callfuncs2.c and callfuncs2.exp.
5254
5255 * gdb.base/list.exp: Remove mistaken xfails.
5256 * gdb.base/list0.h: Add optional prototypes.
5257
5258 Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5259
5260 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5261 calling malloc.
5262 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5263 * ptype.exp: Move test for get_debug_format to before its first
5264 use.
5265
5266 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5267
5268 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5269 * gdb.base/annota2.cc, annota2.exp: Move from here.
5270 * gdb.c++/annota2.cc, annota2.exp: To here.
5271 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5272
5273 Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5274
5275 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5276 a consistent format.
5277
5278 1999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5279
5280 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5281 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5282 HP compilers, also set the globals $true and $false.
5283
5284 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5285 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5286 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5287 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5288 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5289 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5290 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5291 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5292 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5293 whatis.c} Add C++ compatible function definitions and return
5294 types, add includes for library functions.
5295 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5296 * gdb.base/step-test.c (myglob): Rename from glob.
5297 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5298 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5299 files, move here from gdb.hp.
5300 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5301 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5302 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5303 Adjust line numbers in regexps.
5304
5305 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5306 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5307 instead of 0/1.
5308
5309 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5310 foll-vfork.exp: New files, move here from gdb.hp.
5311 * gdb.base/page.exp: New file, test of pagination command.
5312
5313 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5314 recursion test.
5315 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5316
5317 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5318 gdb.base/solib.exp: Fix compiler invocation process.
5319
5320 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5321 HP-UX 11, turn off overload resolution explicitly.
5322 * gdb.base/commands.exp: Set argument list explicitly, add
5323 watchpoint test.
5324 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5325 them work.
5326 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5327 expressions properly.
5328 * gdb.base/corefile.exp: Loosen the match slightly.
5329 * gdb.base/default.exp: Allow "Error accessing memory" message
5330 also.
5331 * gdb.base/display.exp: Skip over x/0 j if PA64.
5332 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5333 * gdb.base/interrupt.exp: Ditto.
5334 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5335 in use.
5336 * gdb.base/list.exp: Add xfails for HP-UX.
5337 * gdb.base/long_long.exp: Refine some of the numeric matches.
5338 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5339 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5340 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5341 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5342 * gdb.base/ptype.exp: Succeed on more varieties of output.
5343 * gdb.base/scope.exp: Add xfails for HP-UX.
5344 * gdb.base/sect-cmd.exp: Add more cases.
5345 * gdb.base/setvar.exp: Add xfails for HP-UX.
5346 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5347 * gdb.base/signals.exp: Match on void symbolically.
5348 * gdb.base/step-test.exp: Add case for PA64.
5349 * gdb.base/term.exp: Add exit and restart.
5350 * gdb.base/twice.exp: Clean up after self.
5351 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5352 * gdb.base/whatis.exp: Allow more ways to pass tests.
5353
5354 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5355 no longer useful.
5356
5357 Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5358
5359 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5360 list of patterns.
5361 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5362 print_double_array(double_array)", "continuing to breakpoint
5363 1018", "print print_double_array(array_d)" and "continuing to
5364 1034" tests.
5365
5366 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5367
5368 * Makefile.in: Add empty html and install-html targets.
5369
5370 1999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5371
5372 * config/mt-*: Remove, these haven't been used since 1996.
5373
5374 1999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5375
5376 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5377 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5378 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5379
5380 1999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5381
5382 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5383 simpler match case for the ptype of the big class.
5384
5385 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5386
5387 * gdb.exp: Fix test for gdb_prompt existence.
5388
5389 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5390
5391 * gdb.exp (gdb_test): Add fail after calls to perror.
5392
5393 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5394
5395 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5396
5397 1999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5398
5399 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5400
5401 Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5402
5403 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5404 malloc() is linked in.
5405
5406 1999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5407
5408 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5409 step at end.
5410
5411 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5412
5413 1999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5414
5415 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5416
5417 Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5418
5419 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5420 * gdb.base/mips_pro.exp: Likewise.
5421
5422 1999-06-02 Keith Seitz <keiths@cygnus.com>
5423
5424 * gdb.c++/templates.cc: Change all "new" operators to throw
5425 an exception.
5426 * gdb.c++/cplusfuncs.cc: Likewise.
5427
5428 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5429
5430 Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5431
5432 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5433 * gdb.base/ending-run.exp: When stepping out of main, accept a
5434 step into an arbitrary assembler file.
5435
5436 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5437
5438 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
5439 "breakpoint-invalid" to be printed.
5440 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
5441 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5442 * gdb.base/annota2.cc: Initialize a.x to 0.
5443
5444 1999-05-17 Keith Seitz <keiths@cygnus.com>
5445
5446 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5447 when "skip_float_tests" set.
5448 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5449 "print print_ten_doubles", and "step into print_long_arg_list".
5450 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5451 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5452 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5453 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5454 "skip_float_tests" is set.
5455 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5456 when "skip_float_tests" set.
5457
5458 1999-05-06 Keith Seitz <keiths@cygnus.com>
5459
5460 * gdb.base/annota2.cc: Include stdio.h.
5461
5462 Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5463
5464 * gdb.base/crossload.exp: Remove, this has been disabled ever
5465 since BFD stopped including all targets, and cross-GDB gets
5466 plenty of testing anyway.
5467 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5468 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5469 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5470 * gdb.base/README: Remove, was doc for this.
5471 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5472 needed.
5473
5474 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5475
5476 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5477 output.
5478
5479 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5480 * gdb.base/annota2.exp: New file. More annotation tests.
5481 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5482 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5483
5484 1999-04-23 Angela Marie Thomas <angela@cygnus.com>
5485
5486 * config/cfdbug.exp: New file.
5487
5488 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5489
5490 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5491 Marcus Daniel's and Dale Hawkins's demangler crashes.
5492
5493 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5494 test_lucid_style_demangling, test_arm_style_demangling,
5495 test_hp_style_demangling): Try Tom Tromey's core-dumping
5496 identifier under each demangling style.
5497
5498 1999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5499
5500 * gdb.c++/demangle.exp: Include the current demangling style
5501 in all test names.
5502 (current_demangling_style): New global variable.
5503 (set_demangling_style, test_demangling_core, test_demangling,
5504 test_demangling_exact): New functions.
5505 (test_gnu_style_demangling, test_lucid_style_demangling,
5506 test_arm_style_demangling, test_hp_style_demangling): Use those,
5507 instead of calling gdb_test and gdb_test_exact directly.
5508 (catch_demangling_errors): New function, which reports errors
5509 signalled by the demangling test functions in an orderly way.
5510 (do_tests): Use catch_demangling_errors.
5511
5512 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5513
5514 * gdb.base/signals.exp (test_handle_all_print): Use () for
5515 grouping in expressions, not {}.
5516
5517 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5518 initialized yet.
5519
5520 1999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5521
5522 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5523 are listed.
5524
5525 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5526
5527 * gdb.stabs/weird.exp: Test for CC being defined before
5528 looking at its value.
5529
5530 1999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5531
5532 * gdb.base/call-ar-st.exp: Remove stray '#'.
5533 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5534 "short int" and "long int".
5535 * gdb.c++/overload.cc: Cast the string added in the previous
5536 change, to mollify finicky HP compiler.
5537 * gdb.hp/reg-test.exp (testfile): Fix file name.
5538 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
5539
5540 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5541 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5542 alternate form of enum ptype.
5543
5544 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5545
5546 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5547 * gdb.hp/*.exp: Change all to run compiler probe only after
5548 passing skip_hp_tests, so as not to waste time on guaranteed
5549 failure.
5550
5551 * gdb.c++/overload.cc: Pass string instead of char addr, always
5552 init ccpfoo.
5553 * gdb.c++/templates.cc: Fix syntax error.
5554
5555 Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5556
5557 * gdb.base/commands.exp: Add test for correct position of '>'
5558 when issuing the 'commands' command after a 'while' or 'if'
5559 command.
5560
5561 1999-03-18 James Ingham <jingham@cygnus.com>
5562
5563 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5564
5565 * gdb.c++/method.exp: It was testing an uninitialized int on the
5566 stack and assuming it was positive.
5567
5568 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5569
5570 * gdb.base/step-test.exp: Catch a case where finish is broken and
5571 keep it from killing the rest of the tests.
5572 Use gdb_continue_to_end.
5573
5574 * gdb.base/sigall.exp: use gdb_continue_to_end.
5575
5576 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5577
5578 * gdb.base/display.exp: use runto_main, not run.
5579
5580 * gdb.base/default.exp: Check for the current error message in the
5581 r abbreviation test.
5582 Add strongarm to the targets that know info float.
5583
5584 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
5585 run which doesn't work with monitors.
5586
5587 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5588
5589 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5590
5591 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
5592 program. Traps the case (in Cygmon) when the program never really
5593 exits. Same as Mark's continue_to_exit, but I had put it in a lot
5594 more places, so I used my name. Sorry Mark...
5595
5596 * config/monitor.exp (gdb_target_monitor): added another
5597 target_info parameter: remotebinarydownload. This will set the
5598 remotebinarydownload flag if this is causing some boards trouble.
5599
5600 1999-03-18 Mark Salter <msalter@cygnus.com>
5601
5602 * lib/gdb.exp (continue_to_exit): New function.
5603
5604 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5605 * gdb.base/ending-run.exp: Ditto.
5606 * gdb.base/step-test.exp: Ditto.
5607
5608 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5609
5610 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5611 (suggested by Art Haas <ahaas@neosoft.com>).
5612
5613 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5614
5615 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5616
5617 Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5618
5619 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5620 descriptions of types (short unsigned int vs unsigned short, etc).
5621
5622 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5623
5624 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5625 a call to strlen; sometimes we do have sources.
5626
5627 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5628
5629 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5630 character, so GDB won't print garbage after its end.
5631
5632 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5633 breakpoint there instead. Sometimes GCC emits memcpy to handle
5634 the large structures being passed by value, so we step into that
5635 instead of sum_array_print, which obscures what we're really testing.
5636 * gdb.base/step-test.exp: However, we do want a test that notices
5637 the bizarre steps into memcpy, so do that here. Add check for
5638 stepping into function calls that pass large structures by value.
5639 ("Is that a noun clause, or are you just happy to see me?")
5640 Remove all references to specific line numbers.
5641 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5642 New type and function.
5643 (main): Call large_struct_by_value, passing it a large struct by value.
5644 * lib/gdb.exp (gdb_get_line_number): New function.
5645
5646 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5647 more portable.
5648
5649 1999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5650
5651 * lib/gdb.exp: Doc fixes.
5652
5653 1999-03-05 Nick Clifton <nickc@cygnus.com>
5654
5655 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
5656
5657 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5658
5659 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5660 commands. They're not germane to this test, and they don't work
5661 that way on remote targets.
5662
5663 1999-03-01 James Ingham <jingham@cygnus.com>
5664
5665 * Changelog entries merged over from gdb development branch.
5666
5667 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5668
5669 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5670 for outputting results of test run.
5671
5672 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
5673
5674 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
5675
5676 1999-02-25 Felix Lee <flee@cygnus.com>
5677
5678 * lib/gdb.exp (debug_format): initialize
5679
5680 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5681
5682 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5683 * gdb.base/call-rt-st.c: Ditto.
5684
5685 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5686
5687 * gdb.threads/pthreads.exp (horiz): New variable.
5688 (test_startup): Fix regexps that capture thread numbers.
5689
5690 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5691
5692 * gdb.base/smoke.exp: Disambiguate two test case names (both
5693 called ``print'').
5694
5695 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5696
5697 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5698 compilation.
5699
5700 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5701
5702 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5703 actual output formatting.
5704 * gdb.base/smoke.exp: GDB removes leading 0's.
5705 * gdb.base/volatile.exp: Don't check type of remuneration;
5706 that variable is no longer defined in constvars.c.
5707 * gdb.base/step-test.c (main): Exit with explicit exit code.
5708 * gdb.base/step-test.exp: Remove two nexti checks--they are
5709 not portable.
5710
5711 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5712
5713 * gdb.base/help.exp ("help delete display"): Fix test to match
5714 gdb's output.
5715
5716 * gdb.base/long_long.c (known_types): Initialize values to zero.
5717 * gdb.base/long_long.exp: Step one more line
5718 so 'dec' is initialized in "get to known place". GDB removes
5719 leading zeros. Explicitly ask for hex formatting. Use
5720 unique test case names.
5721
5722 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5723
5724 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
5725
5726 * gdb.c++/method.exp: Add missing close brace.
5727
5728 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5729
5730 * gdb.base/maint.exp: Use 'set height 0' to disable page
5731 prompting, not 'set height 400'.
5732
5733 Fix a bunch of timeouts.
5734 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5735 four separate tests, so expect doesn't take forever to match a ton
5736 of text against a regexp with lots of .* forms.
5737 ("maint print psymbols", "maint print symbols"): Make some of
5738 these greps more selective, so that expect doesn't try to wade
5739 through huge piles of output and time out.
5740
5741 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5742
5743 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5744 tests: one which doesn't expect shlib events to be reported, and
5745 another which does, but is XFAIL for all platforms other than
5746 HP/UX.
5747
5748 * gdb.base/break.exp: Teach the test suite that the `catch
5749 fork', `catch vfork', and `catch exec' commands produce error
5750 messages on platforms that don't provide these features.
5751
5752 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5753
5754 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5755 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5756 (shortening names from solib_threshold.exp etc), won't run on
5757 anything but HP-UX for the foreseeable future.
5758 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5759 reflect move.
5760
5761 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5762
5763 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5764 gdb.trace/Makefile.in (clean): Remove all test executables.
5765
5766 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5767
5768 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5769 successfully re-sets breakpoints in shared libraries.
5770 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5771
5772 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5773
5774 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5775 and compiled w/o GCC.
5776
5777 * gdb.hp/watch-cmd.exp: ditto.
5778
5779 * gdb.hp/watch-hp.exp: ditto.
5780
5781 * gdb.hp/xdb1.exp: ditto.
5782
5783 * gdb.hp/xdb2.exp: ditto.
5784
5785 * gdb.hp/dbx.exp: ditto.
5786
5787 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5788
5789 * constvars.c: Remove C++-isms.
5790 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5791 with GCC.
5792
5793 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5794
5795 The following changes are part of the HP merge.
5796
5797 * gdb.base/break.exp: new tests to verify that catchpoints for
5798 fork, vfork, and exec don't trigger inappropriately.
5799
5800 * gdb.base/opaque.exp: compile one file at a time, then link.
5801
5802 * gdb.base/signals.exp: be more restrictive about which hppa
5803 systems receive a setup_xfail. new tests.
5804
5805 * gdb.base/solib_threshold.build: new file.
5806 * gdb.base/solib_threshold.exp: new file.
5807 * gdb.base/solib_threshold.link_opts: new file.
5808 * gdb.base/solib_threshold.mk: new file.
5809 * gdb.base/gen_solib_threshold.c: new file.
5810
5811 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5812 tests. New tests for enums inside classes.
5813
5814 * gdb.c++/compiler.cc: indicate support of template debugging.
5815
5816 * gdb.c++/demangle.exp: run hp style demangling tests.
5817
5818 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5819 tests.
5820
5821 * gdb.c++/misc.cc: changes to support new tests.
5822
5823 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5824 to support new tests.
5825
5826 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5827 gcc, then skip these tests.
5828
5829 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5830
5831 The following files are part of the HP merge; some had longer
5832 names at HP, but have been renamed to be no more than 14
5833 characters in length.
5834
5835 * gdb.hp/ambiguous.cc: new file.
5836 * gdb.hp/ambiguous.exp: new file.
5837 * gdb.hp/attach.exp: new file.
5838 * gdb.hp/attach2.exp: new file.
5839 * gdb.hp/classes-hp.exp: new file.
5840 * gdb.hp/ctti.exp: new file.
5841 * gdb.hp/ctti-add.cc: new file.
5842 * gdb.hp/ctti-add1.cc: new file.
5843 * gdb.hp/ctti-add2.cc: new file.
5844 * gdb.hp/ctti-add3.cc: new file.
5845 * gdb.hp/dbx.exp: new file.
5846 * gdb.hp/exception.cc: new file.
5847 * gdb.hp/exception.exp: new file.
5848 * gdb.hp/foll-exec.c: new file.
5849 * gdb.hp/foll-exec.exp: new file.
5850 * gdb.hp/foll-fork.c: new file.
5851 * gdb.hp/foll-fork.exp: new file.
5852 * gdb.hp/foll-vfork.c: new file.
5853 * gdb.hp/foll-vfork.exp: new file.
5854 * gdb.hp/inherit-hp.exp: new file.
5855 * gdb.hp/more-steps.exp: new file.
5856 * gdb.hp/namespace.cc: new file.
5857 * gdb.hp/namespace.exp: new file.
5858 * gdb.hp/optimize.exp: new file.
5859 * gdb.hp/pxdb.c: new file.
5860 * gdb.hp/pxdb.exp: new file.
5861 * gdb.hp/quicksort.exp: new file.
5862 * gdb.hp/reg-test.exp: new file.
5863 * gdb.hp/reg-test.s: new file.
5864 * gdb.hp/sized-enum.c: new file.
5865 * gdb.hp/sized-enum.exp: new file.
5866 * gdb.hp/start-stop.exp: new file.
5867 * gdb.hp/templ-hp.cc: new file.
5868 * gdb.hp/templ-hp.exp: new file.
5869 * gdb.hp/thr-lib.c: new file.
5870 * gdb.hp/thr-lib.exp: new file.
5871 * gdb.hp/thr-lib.h: new file.
5872 * gdb.hp/thr-liblib.c: new file.
5873 * gdb.hp/virtfun-hp.c: new file.
5874 * gdb.hp/virtfun-hp.exp: new file.
5875 * gdb.hp/watch-cmd.exp: new file.
5876 * gdb.hp/watch-hp.exp: new file.
5877 * gdb.hp/xdb1.exp: new file.
5878 * gdb.hp/xdb2.exp: new file.
5879 * gdb.hp/xdb3.exp: new file.
5880
5881 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5882
5883 The following files are part of the HP merge; some had longer
5884 names at HP, but have been renamed to be no more than 14
5885 characters in length.
5886
5887 * gdb.base/ss.h: new file.
5888 * gdb.base/call-ar-st.c: new file.
5889 * gdb.base/call-ar-st.exp: new file.
5890 * gdb.base/call-rt-st.c: new file.
5891 * gdb.base/call-rt-st-exp: new file.
5892 * gdb.base/call-strs.exp: new file.
5893 * gdb.base/ena-dis-br.exp: new file.
5894 * gdb.base/environ.exp: new file.
5895 * gdb.base/long_long.exp: new file.
5896 * gdb.base/sect-cmd.exp: new file.
5897 * gdb.base/shlib-cl2.exp: new file.
5898 * gdb.base/smoke.exp: new file.
5899 * gdb.base/so-impl-ld.c: new file.
5900 * gdb.base/so-impl-ld.exp: new file.
5901 * gdb.base/so-indr-cl.c: new file.
5902 * gdb.base/so-indr-cl.exp: new file.
5903 * gdb.base/varargs.exp: new file.
5904 * gdb.base/volatile.exp: new file.
5905 * gdb.base/whatis-exp.exp: new file.
5906 * gdb.base/display.exp: new file.
5907 * gdb.c++/derivation.exp: new file.
5908 * gdb.c++/local.exp: new file.
5909 * gdb.c++/member-ptr.exp: new file.
5910 * gdb.c++/overload.exp: new file.
5911 * gdb.c++/ovldbreak.exp: new file.
5912 * gdb.c++/ref-types.exp: new file.
5913 * gdb.c++/ref-types2.exp: new file.
5914 * gdb.c++/userdef.exp: new file.
5915
5916 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5917
5918 * gdb.base/default.exp: Reflect wording change in remote.c.
5919
5920 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
5921
5922 * gdb.base/help.exp: Update to reflect current text.
5923
5924 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5925
5926 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5927 they're stack variables and contain garbage.
5928 * gdb.c++/anon-union.exp: new file.
5929
5930 The following changes were made by David Taylor
5931 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5932 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5933 in changes by HP.
5934
5935 * gdb.base/bitops.exp: new file.
5936 * gdb.base/default.exp: change expected messages for catch and
5937 info catch tests to reflect HP merge changes.
5938 * gdb.base/enable-disable-break.exp
5939 * gdb.base/ending-run.c: new file.
5940 * gdb.base/long_long.c: new file.
5941 * gdb.base/maint.exp: new file.
5942 * gdb.base/pointers2.exp: new file.
5943 * gdb.base/shlib-call2.exp: new file.
5944 * gdb.base/solib.exp: new file.
5945 * gdb.base/step-test.c: new file.
5946 * gdb.c++/anon-union.cc: new file.
5947 * gdb.c++/local.cc: new file.
5948 * gdb.c++/member-pointer.cc: new file.
5949 * gdb.c++/method.cc: new file.
5950 * gdb.c++/ref-types.cc: new file.
5951 * gdb.c++/ref-types2.cc: new file.
5952 * gdb.c++/userdef.cc: new file.
5953
5954 * gdb.base/scope.exp: compile one file at a time, then link.
5955 * gdb.base/langs.exp: ditto.
5956 * gdb.base/list.exp: ditto.
5957
5958 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5959
5960 The following changes were made by David Taylor
5961 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5962 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5963 in changes by HP.
5964
5965 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5966 skip tests. When compiling pass c++ flag to gdb_compile.
5967 * gdb.c++/
5968
5969 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5970 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5971 (skip_hp_tests): new function.
5972 (gdb_preprocess): new function.
5973
5974 * configure.in (hpdir): decide whether to configure gdb.hp.
5975 * configure: regenerated.
5976
5977 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5978 to delete on clean.
5979 (EXECUTABLES): update to reflect new additions.
5980 * gdb.base/commands.exp: update message expected.
5981 * gdb.base/default.exp: add copyright notice.
5982 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5983 * gdb.base/help.exp: update messages to reflect current text.
5984 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5985 targets for recurse tests.
5986 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5987 skip this file.
5988
5989 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5990 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5991 compilation.
5992 * gdb.c++/misc.exp: ditto.
5993 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5994 run the tests. tell gdb_compile that it's a c++ compilation.
5995
5996 * gdb.threads/pthreads.exp: fix typo in message.
5997
5998 * gdb.base/all-bin.exp: new file.
5999 * gdb.base/arithmet.exp: new file.
6000 * gdb.base/assign.exp: new file.
6001 * gdb.base/completion.exp: new file.
6002 * gdb.base/cond-expr.exp: new file.
6003 * gdb.base/condbreak.exp: new file.
6004 * gdb.base/define.exp: new file.
6005 * gdb.base/dollar.exp: new file.
6006 * gdb.base/environment.exp: new file.
6007 * gdb.base/eval-skip.exp: new file.
6008 * gdb.base/jump.exp: new file.
6009 * gdb.base/logical.exp: new file.
6010 * gdb.base/pointers.exp: new file.
6011 * gdb.base/relational.exp: new file.
6012 * gdb.base/section_command.exp: new file.
6013 * gdb.base/whatis-expr.exp: new file.
6014
6015 * gdb.base/all-types.c: new file.
6016 * gdb.base/call-array-struct.c: new file.
6017 * gdb.base/call-return-struct.c: new file.
6018 * gdb.base/call-strings.c: new file.
6019 * gdb.base/callfuncs2.c: new file.
6020 * gdb.base/condbreak.c: new file.
6021 * gdb.base/constvars.c: new file.
6022 * gdb.base/display.c: new file.
6023 * gdb.base/int-type.c: new file.
6024 * gdb.base/jump.c: new file.
6025 * gdb.base/miscexprs.c: new file.
6026 * gdb.base/pointers.c: new file.
6027 * gdb.base/pointers2.c: new file.
6028 * gdb.base/shmain.c: new file.
6029 * gdb.base/shr1.c: new file.
6030 * gdb.base/shr2.c: new file.
6031 * gdb.base/solib.c: new file.
6032 * gdb.base/solib1.c: new file.
6033 * gdb.base/solib2.c: new file.
6034 * gdb.base/varargs.c: new file.
6035 * gdb.c++/derivation.cc: new file.
6036 * gdb.c++/overload.cc: new file.
6037 * gdb.c++/ovldbreak.cc: new file.
6038 * gdb.hp/attach.c: new file.
6039 * gdb.hp/attach2.c: new file.
6040 * gdb.hp/average.c: new file.
6041 * gdb.hp/compiler.c: new file.
6042 * gdb.hp/compiler.cc: new file.
6043 * gdb.hp/execd-program.c: new file.
6044 * gdb.hp/follow-exec.c: new file.
6045 * gdb.hp/follow-fork.c: new file.
6046 * gdb.hp/follow-vfork-and-exec.c: new file.
6047 * gdb.hp/misc-hp.cc: new file.
6048 * gdb.hp/more-steps.c: new file.
6049 * gdb.hp/optimize.c: new file.
6050 * gdb.hp/quicksort.c: new file.
6051 * gdb.hp/run-hp.c: new file.
6052 * gdb.hp/start-stop.c: new file.
6053 * gdb.hp/sum.c: new file.
6054 * gdb.hp/templates-hp.cc: new file.
6055 * gdb.hp/thread-local-in-lib.c: new file.
6056 * gdb.hp/thread-local-in-lib.h: new file.
6057 * gdb.hp/thread-local-in-lib.lib.c: new file.
6058 * gdb.hp/vforked-program.c: new file.
6059 * gdb.hp/virtfunc-hp.cc: new file.
6060 * gdb.hp/watchpoint-hp.c: new file.
6061 * gdb.hp/xdb.c: new file.
6062 * gdb.hp/xdb0.c: new file.
6063 * gdb.hp/xdb0.h: new file.
6064 * gdb.hp/xdb1.c: new file.
6065
6066 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6067
6068 The following change was made by Edith Epstein
6069 <eepstein@cygnus.com> as part of a project to merge in changes
6070 originally made by HP; HP did not create ChangeLog entries.
6071
6072 * gdb.c++/demangle.exp: changed the expected output for some
6073 ARM-style mangling -- removed second reference to datatype.
6074 For example, maint demangle __dt__11T1__pt__2_cFv
6075 T1<char>::~T1<char>(void)
6076 becomes,
6077 maint demangle __dt__11T1__pt__2_cFv
6078 T1<char>::~T1(void)
6079
6080 (test_hp_style_demangling): new hp specific demangling test cases.
6081
6082 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6083
6084 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6085 * gdb.trace/backtrace.exp: Likewise.
6086 * gdb.trace/circ.exp: Likewise.
6087 * gdb.trace/collection.exp: Likewise.
6088 * gdb.trace/deltrace.exp: Likewise.
6089 * gdb.trace/infotrace.exp: Likewise.
6090 * gdb.trace/limits.exp: Likewise.
6091 * gdb.trace/packetlen.exp: Likewise.
6092 * gdb.trace/passc-dyn.exp: Likewise.
6093 * gdb.trace/passcount.exp: Likewise.
6094 * gdb.trace/report.exp: Likewise.
6095 * gdb.trace/save-trace.exp: Likewise.
6096 * gdb.trace/tfind.exp: Likewise.
6097 * gdb.trace/tracecmd.exp: Likewise.
6098 * gdb.trace/while-dyn.exp: Likewise.
6099 * gdb.trace/while-stepping.exp: Likewise.
6100
6101 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6102
6103 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6104
6105 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6106
6107 From Brendan Kehoe:
6108 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6109 int return types.
6110
6111 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6112
6113 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6114 remote dos host testing right.
6115
6116 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6117
6118 * gdb.base/corefile.exp: remove some xfails.
6119
6120 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6121
6122 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6123 have different timestamps.
6124
6125 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6126
6127 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6128 gdb.base/default.exp: Replace "exec" with "executable".
6129
6130 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6131
6132 * gdb.base/default.exp: Change else if to elseif from previous
6133 delta.
6134
6135 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6136
6137 * gdb.base/default.exp: Add brace missing from previous delta.
6138
6139 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6140
6141 * gdb.base/default.exp: Support test for info float for all
6142 varieties of arm toolchain.
6143
6144 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
6145
6146 * gdb.trace/*.exp: remove "remote_download" command.
6147
6148 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
6149
6150 * gdb.trace/*.exp: remove -gdwarf from compile.
6151
6152 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6153
6154 * gdb.trace/configure.in(AC_INIT): typo
6155 * gdb.trace/configure: regenerated
6156
6157 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
6158
6159 * config/m68k-emc.exp: New file.
6160 * lib/<emc-support.exp trace-support.exp}: New files.
6161 * configure.in: add new test directory gdb.trace.
6162 * gdb.trace/{configure configure.in Makefile.in}: New files.
6163 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6164 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6165 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6166 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6167 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6168 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6169 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
6170
6171 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
6172
6173 * gdb.c++/classes.exp: Change all regular expressions to match
6174 arbitrary combinations of newline/carriage-return, so that they
6175 will work equally well on Unix and Windows.
6176 * gdb.c++/inherit.exp: ditto.
6177 * gdb.c++/virtfunc.exp: ditto.
6178
6179 1998-08-11 Dawn Perchik <dawn@cygnus.com>
6180
6181 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6182
6183 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6184
6185 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6186 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6187 to use a0-a3/d0-d3 as needed.
6188
6189 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6190
6191 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6192 * gdb.disasm/am33.exp: Corresponding changes.
6193
6194 1998-07-11 Felix Lee <flee@cygnus.com>
6195
6196 * gdb.base/callfuncs.exp: add cmp10 test.
6197 * gdb.base/callfuncs.c (cmp10): new function.
6198
6199 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6200
6201 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
6202 into two parts to get around a synchronization problem in expect.
6203
6204 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6205
6206 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6207
6208 * configure.in: Add options for gdbtk testsuite.
6209
6210 * configure: Regenerate.
6211
6212 * gdb.gdbtk: New directory to hold gdbtk tests.
6213
6214 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6215
6216 * gdb.fortran/types.exp: Escape brackets in expect patterns
6217 for test_float_literal_types_accepted tests.
6218 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6219 before run test.
6220
6221 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6222
6223 * am33.exp: Just compile, do not link the testcase.
6224 * am33.s: Add ".am33" pseudoop to force am33 mode.
6225
6226 1998-06-25 Felix Lee <flee@cygnus.com>
6227
6228 * gdb.base/setshow.exp: make sure $pc is sane.
6229
6230 * gdb.stabs/weird.exp: split expect patterns properly.
6231
6232 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6233
6234 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6235 * gdb.disasm/am33.exp: Run it.
6236
6237 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
6238
6239 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6240 match processing (and eliminate spurious timeouts when running).
6241
6242 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
6243
6244 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6245 exception test, but conditionalize it on target [mach | gnu].
6246
6247 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
6248
6249 * gdb.base/overlays.exp: fixup compile line for linker script.
6250
6251 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6252
6253 * gdb.fortran/types.exp: don't guess at float size.
6254
6255 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6256
6257 * gdb.base/exprs.exp: delete test that depends on int size.
6258
6259 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6260
6261 * config/sim.exp: Removed checks for target triplets.
6262 (gdb_target_sim): Use gdb,target_sim_options.
6263
6264 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6265
6266 * gdb.base/reread.exp: New file.
6267 * gdb.base/reread1.c: New file.
6268 * gdb.base/reread2.c: New file.
6269
6270 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6271
6272 * config/sim.exp: Use 'target sim -sparclite' when running
6273 SPARClite programs.
6274
6275 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6276
6277 * gdb.base/structs2.exp: New file.
6278 * gdb.base/structs2.c: New file.
6279
6280 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6281
6282 * gdb.asm/common.inc: New file.
6283 * gdb.asm/d10v.inc: New file.
6284 * asm-source.exp: Pass -I's to gas to find .inc files.
6285 Update line numbers in expected output.
6286 * asmsrc1.s: Rewrite.
6287 * asmsrc2.s: Rewrite.
6288 * configure.in: Create arch.inc symlink.
6289 * configure: Regenerate.
6290 * Makefile.in (distclean): Delete arch.inc.
6291
6292 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6293
6294 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6295 (t_enum_value2): ditto
6296 (t_enum_value3): ditto
6297 (main): ditto
6298 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6299
6300 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6301 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6302 change.
6303 Use gdb_test instead of send_gdb/gdb_expect sequences.
6304
6305 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6306
6307 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6308 not void.
6309
6310 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6311
6312 * gdb.base/branches.c: Code with lots of loops and
6313 subroutines. Used to test gdbs ability to single step through PC
6314 changes, especially to test mips-tdep.c:mips_next_pc
6315
6316 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6317
6318 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6319 more rigorous EGCS C++ error checking.
6320
6321 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6322
6323 * gdb.base/help.exp: Clean up `help set args' and `help show args'
6324 tests.
6325 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
6326 function when asleep.
6327 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
6328 for i*86 Linux and SVR4 signal handling problems.
6329 Remove linux xfail for `next to handler in signals_tests_1', fixed
6330 by recent infrun.c change.
6331 Limit backtrace to 10 frames to avoid timeout problems with infinite
6332 stack backtraces.
6333 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6334 target.[ch] change.
6335
6336 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6337
6338 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6339 for a newline from gdb before continuing.
6340 (default_gdb_exit): Just look for y or n.
6341 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6342 it does, fail the rests of the tests in the file.
6343
6344 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6345
6346 * config/cygmon.exp: New file.
6347
6348 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6349
6350 * gdb.base/list.exp: Fix problem with "list default lines around
6351 main" test on remote targets.
6352
6353 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6354 run test on remote targets.
6355
6356 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6357
6358 * gdb.asm: New directory.
6359 * configure.in: Configure it.
6360 * configure: Regenerate.
6361 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6362 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6363
6364 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6365
6366 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6367
6368 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
6369
6370 * gdb.base/overlays (several files): Merge the two overlay
6371 managers into one. Change variables (foox, barx, bazx, grbxx)
6372 back into ints but force them to load in their proper sections.
6373
6374 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6375
6376 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6377 on-chip insn memory and IMAP1 to upper 128k.
6378 (D10VCopy): Handle memory regions crossing 16k boundaries.
6379 (D10VCopy): Transfer data in 32 bit chunks.
6380
6381 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6382
6383 * gdb.base/overlays.c (main): Exit normally when result is
6384 correct.
6385
6386 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6387 map. Include space for printf in .text segment.
6388
6389 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6390 updated d10v memory VMA/LMA map.
6391 (D10VCopy): Call D10VTranslate.
6392
6393 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6394
6395 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6396
6397 * gdb.base/bar.c (barx, bar): Change variable to small array so
6398 that it won't be put into the .sdata - small data -
6399 section. Update reference.
6400 * gdb.base/baz.c (bazx, baz): Ditto.
6401 * gdb.base/foo.c (foox, foo): Ditto.
6402 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6403
6404 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6405 to be arrays.
6406
6407 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
6408
6409 * gdb.base/overlays.exp: fix up and get working again.
6410 Add tests for backtraces from an overlay function.
6411
6412 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6413
6414 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6415 "calling function with watchpoint enabled".
6416
6417 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6418
6419 * gdb.base/break.exp (test_next_with_recursion): Remove
6420 gdb_suppress_tests for d10v-*-*.
6421 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6422 pending review of whether it is useful or not.
6423
6424 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6425
6426 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6427
6428 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6429
6430 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6431 * config/dve.exp: New file to support Densan boards.
6432
6433 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6434
6435 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6436 reads and BSD.
6437
6438 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6439
6440 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6441 response.
6442
6443 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6444
6445 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6446
6447 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6448 test.
6449
6450 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6451 target_sizeof_long and target_bigendian_p.
6452 (structs_by_value, structs_by_reference): Check values according
6453 to targets word size and endianess.
6454
6455 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6456
6457 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6458 output.
6459
6460 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6461
6462 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6463 Update test of set args help to match source change.
6464
6465 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6466
6467 * gdb.base/default.exp: Expect help system output to be in
6468 alphabetical order.
6469 * gdb.base/help.exp: Ditto.
6470
6471 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6472
6473 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6474 "i*86-pc-linux-gnu*".
6475 * gdb.base/interrupt.exp: Ditto.
6476 * gdb.base/corefile.exp: Ditto.
6477
6478 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6479 define vxworks when building the testcase.
6480
6481 * gdb.base/ptype.exp: Fix testnames to be unique.
6482 * gdb.base/radix.exp: Ditto.
6483 * gdb.base/term.exp: Ditto.
6484 * gdb.base/whatis.exp: Ditto.
6485 * gdb.c++/classes.exp: Ditto.
6486
6487 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6488
6489 * gdb.base/callfuncs.exp: Fix indentation.
6490
6491 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6492 suppress_flag has been set.
6493 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6494 target feature.
6495
6496 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6497
6498 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6499 the testcase.
6500
6501 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6502 set_debug_traps() and breakpoint().
6503 * gdb.c++/misc.cc (main): Ditto.
6504 * gdb.c++/templates.cc (main): Ditto.
6505 * gdb.c++/virtfunc.cc (main): Ditto.
6506
6507 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6508
6509 * lib/gdb.exp(gdb_step_for_stub): New function.
6510 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6511 exists, reload the executable and do a "continue" instead of
6512 doing a jump.
6513 (runto_main): Use gdb_step_for_stub.
6514
6515 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6516 tests to have unique names.
6517 * gdb.base/callfuncs.exp: Ditto.
6518 * gdb.base/commands.exp: Ditto.
6519 * gdb.base/default.exp: Ditto.
6520 * gdb.base/help.exp: Ditto.
6521 * gdb.base/list.exp: Ditto.
6522 * gdb.base/opaque.exp: Ditto.
6523 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6524 similar tests.
6525
6526 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6527 * gdb.c++/cplusfuncs.cc: Ditto.
6528 * gdb.c++/virtfunc.cc: Ditto.
6529
6530 * config/monitor.exp: Keep track of the last file we saw, rather
6531 than trying to get the info from gdb.
6532
6533 * gdb.fortran/types.exp: Move comment to previous line.
6534
6535 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6536
6537 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6538 target mode.
6539
6540 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6541
6542 From Bob Manson:
6543 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6544 string from GDB when it connects.
6545
6546 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6547
6548 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6549
6550 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6551 if we can't get a debug format from GDB (we may be testing an
6552 older GDB). Use a 10 second timeout when checking for the format.
6553
6554 * gdb.stabs/weird.exp: Fix quoting.
6555
6556 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6557
6558 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6559
6560 * config/arm-ice.exp: New file.
6561
6562 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6563
6564 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6565 until it has been modified to work with the new testsuite.
6566
6567 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
6568 testcase won't compile, cause all of the testcases in the file to
6569 fail instead.
6570
6571 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6572 (gdb_clear_suppressed): New procedure.
6573 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6574 it contains a positive value.
6575
6576 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6577
6578 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6579
6580 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6581
6582 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6583
6584 * lib/gdb.exp (setup_xfail_format): New function.
6585 (get_debug_format): New function to get debug format.
6586 (debug_format): New global variable to hold last value set
6587 by get_debug_format.
6588 * gdb.base/list.exp: Call get_debug_format and expect some
6589 tests to fail for DWARF 1 and COFF formats.
6590 * gdb.c++/ptype.exp: Ditto.
6591 * gdb.c++/classes.exp: Ditto.
6592 * gdb.c++/cplusfuncs.exp: Ditto.
6593 * gdb.c++/inherit.exp: Ditto.
6594 * gdb.c++/templates.exp: Ditto.
6595 * gdb.c++/virtfunc.exp: Ditto.
6596
6597 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6598
6599 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6600 host doesn't have a currently-open connection.
6601
6602 * config/sparclet.exp: Cleanups and fixes to make it generic for
6603 any gdb stub target. Handle cases where gdb doesn't respond when
6604 interrupted in a sane fashion.
6605
6606 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6607 same thing in a totally different way.
6608
6609 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6610 setting "timeout".
6611 (gdb_start): We set the global gdb_prompt variable in
6612 default_gdb_init now.
6613
6614 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6615
6616 * gdb.base/printcmds.exp: Fix "check for floating addition"
6617 regexp to accept results within approx +/- .01 of exact value.
6618 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6619
6620 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6621
6622 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6623 properly.
6624 (gdb_expect): Add optional timeout parameter, and add timeout
6625 value to various calls.
6626 (gdb_suppress_tests): Only give one warning message per group.
6627
6628 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6629
6630 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6631 global variables. Handle getting a value for $timeout more
6632 gracefully.
6633
6634 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6635
6636 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6637 initialize.
6638 (default_gdb_init): New procedure; allow gdb_init to be overridden
6639 by a target configuration file.
6640 (gdb_expect): Pass the timeout to remote_expect.
6641
6642 * config/monitor.exp(gdb_load): Fix typo in regexp.
6643
6644 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6645
6646 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6647
6648 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6649
6650 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6651 here. Call gdb_target_exec before rebooting the target, to make
6652 sure the connection to the target is closed.
6653 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6654 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6655 Also detect "Timeout reading from remote" error.
6656
6657 * config/gdbserver.exp: Pass the executable being loaded to
6658 gdb_target_monitor. Don't call gdb_file_cmd here; let
6659 gdb_target_monitor do it.
6660
6661 * gdb.disasm/hppa.exp: Don't use exec_output.
6662
6663 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6664
6665 * gdb.base/list.exp: If we're debugging a non-native target,
6666 try to set the pc register to point to the start of the
6667 program before doing the first list command.
6668
6669 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6670 test_calls after restarting.
6671
6672 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6673 reloading.
6674
6675 * gdb.base/watchpoint.exp: Fix typo.
6676
6677 * gdb.base/setshow.exp: Check for use_gdb_stub.
6678
6679 * gdb.base/break.exp: Fix continue until exit test for the gdb
6680 stub case.
6681 * gdb.base/langs.exp: Ditto.
6682
6683 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6684 gdb_load_offset. If we weren't given a file to load, figure out
6685 what the current file is and use it.
6686
6687 * config/i386-bozo.exp: New file.
6688
6689 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6690
6691 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6692 feature.
6693
6694 * config/proelf.exp: New entry.
6695
6696 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6697
6698 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6699 of regexps.
6700
6701 * gdb.base/watchpoint.exp: Don't run the test_stepping
6702 tests if gdb can't call functions on the target.
6703
6704 * gdb.base/setshow.exp: Don't run the set prompt tests if
6705 the board has gdb_prompt set.
6706
6707 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6708
6709 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6710 * gdb.base/commands.exp: Likewise.
6711 * gdb.base/setshow.exp: Likewise.
6712
6713 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6714
6715 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6716 feature.
6717
6718 * config/i960.exp: New file.
6719
6720 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6721
6722 * gdb.base/funcargs.exp: Check for gdb,short_int target
6723 feature instead of looking for explicit target triplets.
6724
6725 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
6726
6727 * gdb.base/printcmds.exp: add a couple more tests a la
6728 "p 123DEADBEEF", to check parse_number.
6729 * top.c: change "to enable to enable" to "to enable" in a couple
6730 of help strings.
6731
6732 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6733
6734 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6735 on the mn10300.
6736
6737 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6738
6739 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6740 where the test executable is run with explicit args.
6741 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6742
6743 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6744
6745 * gdb.base/run.c: Use FAKEARGV to build test executable that
6746 does not require a command line arg, since most simulators
6747 don't currently support passing such an arg into the simulated
6748 program.
6749 * gdb.base/commands.exp: Change tests to insert the proper
6750 value as the arg to the first recursive factorial call. Change
6751 compilation line to define FAKEARGV at compile time.
6752
6753 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6754
6755 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6756 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6757 function with watchpoint enabled" test.
6758
6759 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6760
6761 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6762 Don't call gdb_test when the command doesn't return to a gdb prompt.
6763
6764 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6765 "Tests restarted" messages.
6766
6767 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6768
6769 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6770
6771 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
6772
6773 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6774 for INFO SYMBOL; add help tests for OVERLAY commands.
6775 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6776 add tests for OVERLAY commands
6777 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6778 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6779 * gdb.base/sigall.c: add usestubs code frag
6780 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
6781
6782 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6783
6784 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6785 failures.
6786 (gdb_stop_suppressing_tests): Note that tests have restarted.
6787
6788 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6789
6790 * config/h8300.exp: New file.
6791
6792 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6793
6794 * gdb.base/setshow.exp: Check for the existence of a
6795 feature, not its value.
6796
6797 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6798
6799 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6800
6801 * gdb.base/scope.exp: It's now init0(), not init().
6802
6803 * gdb.base/scope0.c: For now, change init() to be init0().
6804
6805 * config/monitor.exp: Use gdb_serial in preference to serial
6806 or netport.
6807
6808 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6809 and it's not already set.
6810
6811 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6812
6813 * gdb.base/setshow.exp: Only test the run command if the target
6814 isn't using a stub and if it supports argument passing.
6815
6816 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6817
6818 * config/udi.exp(gdb_start): Make sure UDICONF is set
6819 properly before starting gdb.
6820
6821 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6822
6823 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6824 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6825 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6826
6827 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6828
6829 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6830 specialized code to reboot the board, use remote_reboot instead.
6831
6832 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6833
6834 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6835
6836 * config/monitor.exp: Make sure we disconnect from the target.
6837 Also, try a reboot/reload cycle instead of failing if the
6838 load fails.
6839
6840 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6841
6842 * gdb.base/default.exp: Don't set match_max.
6843 * gdb.base/help.exp: Ditto.
6844 * gdb.base/list.exp: Ditto.
6845 * gdb.base/signals.exp: Ditto.
6846
6847 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6848 set, use remote_ld to download the testcase instead of
6849 the GDB loader.
6850
6851 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6852
6853 * config/vr5000.exp: New file.
6854
6855 * config/monitor.exp(gdb_target_monitor): Add pattern for
6856 "Ending remote" to detect errors in connecting.
6857
6858 * gdb.base/setshow.exp: Add .* within auto language test.
6859
6860 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6861 target feature.
6862
6863 * config/monitor.exp(gdb_load): Check for a failure when loading,
6864 and reboot the board if necessary.
6865
6866 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6867 a set of tests. Remove print.* from the patterns being checked.
6868
6869 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6870
6871 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6872 refer to gdb_spawn_id.
6873
6874 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6875 longer used.
6876 * config/sparclet.exp: Ditto.
6877 * config/sparclet-old.exp: Ditto.
6878 * config/slite.exp: Ditto.
6879 * config/sim.exp: Ditto.
6880 * gdb.base/funcargs.exp: Ditto.
6881
6882 * lib/gdb.exp:Remove references to gdb_spawn_id.
6883 (gdb_expect): Move to remote.exp.
6884
6885 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6886
6887 * config/monitor.exp: Detect the "Couldn't establish connection"
6888 message from GDB.
6889
6890 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6891
6892 * gdb.base/bitfields.exp: Use runto instead of explicit
6893 gdb_run_cmd/gdb_expect sequences.
6894
6895 * gdb.base/break.exp(text_next_with_recursion): Add match for
6896 gdb_expect call.
6897
6898 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6899 We also need to handle the "A program is being debugged already"
6900 prompt from gdb. Use gdb_test to set the baud rate.
6901
6902 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6903 to 20000. Really. I mean it.
6904
6905 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6906
6907 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6908 fails. If suppress_flag is set, skip perror message about not
6909 being able to send to GDB.
6910 (send_gdb): If suppress_flag is set, don't try to send commands to
6911 GDB.
6912 (gdb_expect): If suppress_flag is set, always fail immediately.
6913 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6914 (gdb_init): Call gdb_stop_suppressing_tests.
6915 (default_gdb_exit): Ditto.
6916 (default_gdb_start): Ditto.
6917
6918 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6919 gdb_stop_suppressing_tests as appropriate.
6920 * gdb.base/break.exp: Ditto.
6921 * gdb.base/callfuncs.exp: Ditto.
6922 * gdb.base/commands.exp: Ditto.
6923 * gdb.base/exprs.exp: Ditto.
6924 * gdb.base/funcargs.exp: Ditto.
6925 * gdb.base/list.exp: Ditto.
6926 * gdb.base/recurse.exp: Ditto.
6927 * gdb.base/scope.exp: Ditto.
6928 * gdb.base/structs.exp: Ditto.
6929 * gdb.c++/inherit.exp: Ditto.
6930
6931 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6932
6933 * config/vr4300.exp: New file.
6934
6935 * gdb.*/*.exp: Call gdb_expect instead of expect.
6936
6937 * lib/gdb.exp(gdb_expect): New function.
6938
6939 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6940
6941 * lib/gdb.exp(gdb_init): New function.
6942
6943 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6944 for each individual variable set.
6945
6946 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6947 name.
6948
6949 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6950
6951 * gdb.base/scope.exp: Use gdb_test.
6952
6953 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6954 aborting; the testsuite driver will do that for us (see
6955 gdb_finish). Also, use gdb_test in a few more places.
6956
6957 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6958
6959 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6960
6961 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6962
6963 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6964 and "add_tests" are not at the same address.
6965
6966 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6967
6968 * gdb.base/ptype.exp: Use gdb_test.
6969
6970 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6971
6972 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6973 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6974 left in. No longer expect them to fail.
6975
6976 * gdb.stabs/*.mt; Deleted, no longer used.
6977 * gdb.stabs/configure.in: Remove references to target makefile
6978 frags.
6979 * gdb.stabs/configure: Rebuilt.
6980
6981 * gdb.disasm/*.mt: Deleted, no longer used.
6982 * gdb.disasm/configure.in: Remove references to target makefile
6983 frags. Use "sh3.s" as the unique filename for this directory.
6984 * gdb.disasm/configure: Rebuilt.
6985
6986 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6987 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6988 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6989
6990 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6991
6992 * config/udi.exp: Use mondfe,name instead of remote_host.
6993
6994 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6995
6996 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6997 a function with a watchpoint enabled on the mn10200.
6998
6999 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
7000 before trying to create it!
7001
7002 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
7003
7004 * config/vx.exp: Use hostname instead of netport.
7005
7006 * config/vxworks.exp: New file.
7007
7008 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
7009
7010 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
7011 gdb before assuming everything worked. Send a ^C if a timeout
7012 occurs.
7013
7014 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
7015 $gdb_spawn_id directly.
7016 (gdb_run_cmd): Try _start as well as start. Use the target feature
7017 gdb,start_symbol as the symbol to start from when jumping.
7018
7019 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
7020
7021 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
7022 redundant) test.
7023
7024 * gdb.base/recurse.exp: Relax final value test for 'b' so that
7025 it doesn't lose for 16bit integer systems.
7026
7027 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
7028
7029 * gdb.fortran/types.exp: If the target doesn't support "double"
7030 data types, then expect "real" types to only be 4 bytes.
7031
7032 * gdb.c++/virtfunc.exp: Expect failure for virtual function
7033 call tests if the target doesn't support inferior function calls.
7034
7035 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7036 in printf tests.
7037
7038 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7039
7040 * gdb.base/help.exp: Disable "help set", "help show", and
7041 "help support". Simplify regexp for "help stack".
7042
7043 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7044 to 60 seconds. Temporarily set match_max to 15000 around the
7045 "info copying" test.
7046
7047 * gdb.base/nodebug.exp: Don't try to do an inferior function
7048 call if the target doesn't support them.
7049 * gdb.base/printcmds.exp: Likewise.
7050 * gdb.base/setvar.exp: Likewise.
7051 * gdb.base/structs.exp: Likewise.
7052 * gdb.c++/templates.exp: Likewise.
7053 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7054
7055 * gdb.base/recurse.exp: Enable for the mn10200.
7056
7057 * configure.in: Do configure gdb.stabs directory for *-*-elf
7058 targets.
7059 * configure: Rebuilt.
7060
7061 * gdb.base/break.exp: Check for gdb,noresults before testing
7062 exit status and/or results from the target.
7063 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7064 * lib/gdb.exp: Remove old (now bogus) initialization of
7065 noinferior, noargs, noresults and nosignals.
7066
7067 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7068
7069 * config/sh.exp: New file.
7070
7071 * config/slite.exp: Try to connect multiple times to the board
7072 before rebooting. Only send a "monitor run" if need_monitor_run
7073 is set.
7074
7075 * gdb.base/break.exp: Don't do the "stub continue" test if
7076 the target has gdb_stub set.
7077
7078 * gdb.base/callfuncs.exp: Increase the timeout.
7079
7080 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7081 if the target has gdb,noinferiorio set.
7082
7083 * gdb.base/list.exp: Increase match_max to 10000 characters.
7084
7085 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7086
7087 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7088 target.
7089
7090 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7091
7092 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7093
7094 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7095 trying to delete the copy of gdb. Catch the file delete so we
7096 don't die if the delete fails; also, the file should be copied to
7097 the host, not to the build.
7098
7099 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7100
7101 * lib/gdb.exp(gdb_test): Surround the result pattern with
7102 parenthesis in case it contains multiple regexps separated
7103 with |.
7104
7105 * gdb.base/watchpoint.exp: Use gdb_test.
7106 * gdb.base/default.exp: Ditto.
7107
7108 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7109
7110 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
7111
7112 * gdb.base/scope.exp: Use gdb_test.
7113 * gdb.c++/classes.exp: Ditto.
7114 * gdb.c++/inherit.exp: Ditto.
7115
7116 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7117
7118 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7119 remote_exec instead.
7120 * gdb.base/corefile.exp: Don't be ridiculous.
7121 * gdb.base/*.c: Add missing stub invocations.
7122
7123 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7124
7125 * config/slite.exp: Miscellaneous fixes.
7126
7127 * lib/gdb.exp: Fix runto.
7128
7129 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7130 the target.
7131
7132 * gdb.base/watchpoint.exp: Fix regexp.
7133
7134 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7135 close and wait commands, as the descriptor may now be
7136 invalid. Always call "remote_close host".
7137
7138 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7139
7140 Major rewrite for testsuite revision.
7141
7142 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7143 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7144 instead of relying on spawn_id to always contain a valid
7145 spawn id.
7146 (get_compiler_info): New procedure to build the ${binfile}.ci
7147 file, instead of replicating this in N different places.
7148 (gdb_compile): New procedure.
7149
7150 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7151 appropriate arguments) instead of compile. Use gdb_test in a lot
7152 more places. Use send_gdb instead of send. Always run gdb_start
7153 at the start of a testcase, as this is no longer done magically.
7154
7155 config/*-gdb.exp: Rename without the -gdb suffix.
7156
7157 config/mips.exp: Use remote_close instead of exit_remote_shell.
7158 config/monitor.exp: Use target_info instead of looking at
7159 baud, timeout, etc.
7160 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7161
7162 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7163
7164 * gdb.c++/templates.exp (test_ptype_of_templates),
7165 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7166 Update expect patterns for destructors and assignment operators
7167 to match corresponding c-typeprint.c changes.
7168 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7169 to destructor breakpoint test, GDB should be able to set the
7170 destructor breakpoint without specifying arguments.
7171
7172 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7173
7174 * gdb.threads/pthreads.exp: Change result for failure to compile due
7175 to lack of pthreads runtime support from an error to simply an
7176 unsupported test, per dejagnu standards.
7177
7178 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7179
7180 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7181 where GDB exits to reduce pattern match time.
7182 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7183
7184 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7185
7186 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
7187
7188 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7189 * gdb.base/default.exp: ditto.
7190 * gdb.base/nodebug.exp: ditto.
7191 * gdb.base/printcmds.exp: ditto.
7192 * gdb.base/ptype.exp: ditto.
7193 * gdb.base/setvar.exp: ditto.
7194 * gdb.base/structs.exp: ditto.
7195 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7196
7197 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7198
7199 * configure, */configure: Rebuild with autoconf 2.12.
7200
7201 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7202
7203 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7204 use new i*86-pc-linux*-gnu quads.
7205 * gdb.base/corefile.exp: Ditto.
7206 * gdb.base/signals.exp: Ditto.
7207 * gdb.base/sigall.exp: Ditto.
7208 * gdb.base/interrupt.exp: Ditto.
7209
7210 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7211 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7212 RedHat 4.0.
7213
7214 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7215 linux. This allows the test case to at least compile on latest
7216 linux, but still not run due to missing the threads runtime library.
7217
7218 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7219
7220 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7221 directory to search gdb directory. Accept and step over conditional
7222 stack alignment code. Consume $prompt in failure cases.
7223 Reset timeout to $oldtimeout instead of some arbitrary value.
7224 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7225 timeout problems with infinite stack backtraces.
7226 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7227 Accept function parameters for linkfunc member.
7228
7229 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7230
7231 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7232 (CXXFLAGS): Remove, unreferenced.
7233 (B_OPTIONS): Add for -B options and add code to initialize with
7234 previous -B options and also add -B option to pick up cross compiled
7235 runtime.
7236 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7237 doing cross compiles.
7238 (target_alias): Declare global.
7239 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7240 to verify that gcc exists in build tree, and if so set CC to that
7241 gcc and to use B_OPTIONS and TARGET_INCLUDES.
7242
7243 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7244
7245 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7246 ptype test for anonymous union. Fixup testcase to match
7247 current gcc debug output.
7248
7249 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7250
7251 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7252 force argument to an unsigned long type.
7253
7254 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7255
7256 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7257 tests and anonymous union print/ptype tests.
7258 * gdb.base/list.exp (test_forward-search): Increase timeout by
7259 5 minutes for the "search extremely long line" case.
7260 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7261 completely optional and that the pass/fail messages use the command as
7262 the message if that third arg is a null string.
7263 (gdb_test_exact): Arrange that a null string pattern means match a
7264 null string output rather than any output, which might include random
7265 errors.
7266 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7267 backtrace test.
7268 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7269 always failing and failure is now exposed by gdb.exp changes.
7270
7271 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7272
7273 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7274 weren't being noted.
7275
7276 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7277
7278 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7279 * gdb.stabs/weird.exp: Remove v_comb xfails.
7280
7281 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
7282
7283 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7284 list.exp scope.exp watchpoint.exp]
7285 Make all timeout error msgs explicitly say "(timeout)".
7286
7287 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
7288
7289 * config/monitor.exp: Increase download timeout to 1000 seconds.
7290
7291 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
7292
7293 * config/m32r.exp: Increase timeout to 120 seconds.
7294
7295 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7296
7297 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7298 and accept older ordering as obsolescent gcc or gdb.
7299 * gdb.c++/templates.exp: Ditto.
7300 * gdb.c++/virtfunc.exp: Ditto.
7301
7302 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7303
7304 * gdb.base/coremaker.c: Add code to mmap some data so we
7305 can check that it ends up in the core file.
7306 * gdb.base/corefile.exp: Add test to read mmapped data
7307 from core file.
7308
7309 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
7310
7311 * config/m32r.exp: New file.
7312
7313 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7314
7315 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7316 that cflags can contains -gstabs, and work correctly for other tests.
7317
7318 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
7319
7320 * gdb.base/setshow.exp: New file, tests show and set.
7321 * gdb.base/setshow.c: New file, tests show and set.
7322 * gdb.base/help.exp: Add test for help set|show annotate.
7323 * gdb.base/default.exp: Add test for set|show annotate.
7324
7325 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7326
7327 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7328 errors unique.
7329 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7330 explicitly.
7331
7332 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7333
7334 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7335 and width commands. This is done elsewhere.
7336 * (gdb_start): Don't call gdb_start_sim here. That's already
7337 done in gdb_load. This fixes lots of failures in default.exp.
7338
7339 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7340
7341 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7342 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7343 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7344 in the same we we treat other failures (since it may be an expected
7345 condition), rather than as an error.
7346 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7347 old test format.
7348
7349 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7350
7351 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7352 (distclean maintainer-clean realclean): No need to remove files
7353 twice. Nuke the duplicates.
7354 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
7355 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
7356 Remove config.h along with other config files.
7357
7358 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7359
7360 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7361 "p func1 ()" and note that rests of tests are skipped.
7362 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7363 setup_xfails for "print func2::coremaker_local".
7364 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7365 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7366 affected by the previous run test.
7367 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7368 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7369 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7370 "pass int powerset tuple" and "pass modeless int powerset tuple".
7371 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7372 "real write 4" and "real write 8".
7373 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7374 setup_xfails for "print vs1 after tuple assign 2",
7375 "print \$i after tuple assign 2", and
7376 "print vs2 after tuple assign 2".
7377 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7378 meaningful error message and return -1 so the caller can
7379 suppress further tests and avoid a cascade of errors.
7380
7381 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7382
7383 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7384 format for printing version.
7385 * gdb.base/default.exp: Ditto.
7386 * gdb.base/interrupt.exp: Fix problem with cascade of
7387 errors if child process dies while calling a function.
7388
7389 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7390
7391 * Makefile.in (VPATH): Add
7392 * Makefile.in (Makefile, config.status): Fix rules so things get
7393 remade when necessary.
7394
7395 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7396
7397 * Makefile.in (just-check): Add path to sibling expect dir
7398 to environment variable specified by RPATH_ENVVAR.
7399
7400 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7401
7402 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7403 (just-check): Add shared library paths for libstdc++, tk,
7404 tcl, bfd, and opcodes to the environment variable specified
7405 in RPATH_ENVVAR.
7406 * configure.in: Add support to recognize --enable-shared flag
7407 and generate correct value for RPATH_ENVVAR.
7408 * configure: Regenerated with autoconf.
7409
7410 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7411
7412 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7413 include all osf versions.
7414 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7415 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7416 when target is linux. When failing to build pthreads test
7417 executable, give more meaningful message.
7418 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7419 arg for pthread_create.
7420
7421 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7422
7423 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7424 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7425 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7426 and -lpthreads (everybody else).
7427 (test_startup): Fail gracefully if threads are not supported.
7428 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7429 "p/c array_index("abcdef",2)" when not gcc compiled.
7430 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7431 "print func2::coremaker_local" when not gcc compiled.
7432 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7433 "ptype on opaque struct tagname (statically)",
7434 "ptype on opaque struct tagname (dynamically) 1", and
7435 "ptype on opaque struct tagname (dynamically) 2"
7436 for not compiled with gcc.
7437 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7438 backtrace when compiled with gcc.
7439 * lib/gdb.exp (runto_main): Return result of "runto main" rather
7440 than always return success.
7441
7442 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7443
7444 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7445
7446 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7447
7448 * gdb.base/structs.exp: Undo last change.
7449
7450 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7451
7452 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7453 encapsulate all the steps/nexts done during self test, starting
7454 at main, and makes them less sensitive to optimization issues.
7455 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7456 signal handler" test.
7457 * gdb.threads/pthreads.exp: Only run this for native configs.
7458 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7459 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7460 tests.
7461 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7462 for "runto test_calls(void)" test.
7463
7464 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7465
7466 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7467 and don't expect address info in breakpoint confirmations.
7468
7469 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7470
7471 * gdb.base/list.exp (test_forward_search): Increase timeout
7472 temporarily by 60 seconds for searching extremely long line,
7473 and then reset to old value when done. Increase expect input
7474 buffer to 10000.
7475
7476 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7477
7478 * gdb.base/list.exp (test_forward_search): Fix to handle very
7479 long source line without overflowing expect's input buffer.
7480
7481 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7482
7483 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7484 "buffer_full".
7485
7486 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7487 "buffer_full".
7488
7489 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7490 "buffer_full".
7491
7492 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7493 "buffer_full".
7494
7495 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7496
7497 * configure.in (configdirs): Add gdb.threads.
7498 * configure: Regenerated with autoconf.
7499 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7500 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7501 * gdb.threads/configure: New, generated with autoconf.
7502
7503 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7504
7505 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7506
7507 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7508
7509 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7510 each signal's status in the output of "handle all print".
7511 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7512 the \r\n sequence that immediately precedes the gdb prompt.
7513 * gdb.base/a1-selftest.exp: Save original timeout and restore
7514 after test.
7515
7516 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7517
7518 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7519 symbol.
7520
7521 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7522
7523 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7524
7525 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7526
7527 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7528 timeout by 60 seconds.
7529
7530 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7531
7532 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7533 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7534 error return.
7535
7536 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7537
7538 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7539 gdb initialization, also report how long dejagnu waited. Restore
7540 old timeout before doing error return. Temporarily increase timeout
7541 by 3 minutes to allow for slow startups over heavy NFS use.
7542
7543 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7544
7545 * lib/gdb.exp: Report timeout value for verbosity level 2.
7546 * config/gdbserver.exp: Ditto.
7547 * config/hppro.exp: Ditto.
7548 * config/mips-gdb.exp: Ditto.
7549 * config/monitor.exp: Ditto.
7550 * config/netware.exp: Ditto.
7551 * config/sim-gdb.exp: Ditto.
7552 * config/slite-gdb.exp: Ditto.
7553 * config/udi-gdb.exp: Ditto.
7554 * config/unix-gdb.exp: Ditto.
7555 * config/vx-gdb.exp: Ditto.
7556 * gdb.base/a1-selftest.exp: Ditto.
7557 * gdb.base/a2-run.exp: Ditto.
7558 * gdb.base/break.exp: Ditto.
7559 * gdb.base/corefile.exp: Ditto.
7560 * gdb.base/list.exp: Ditto.
7561 * gdb.base/recurse.exp: Ditto.
7562 * gdb.base/scope.exp: Ditto.
7563 * gdb.base/signals.exp: Ditto.
7564
7565 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7566
7567 * gdb.threads/Makefile.in (docdir): Removed.
7568
7569 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7570
7571 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
7572 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
7573 @srcdir@.
7574 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
7575 autoconf 2.5 or higher.
7576 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7577
7578 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7579
7580 * configure: Regenerated.
7581 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7582 avoid name clashes with SunOS headers.
7583
7584 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7585
7586 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7587
7588 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7589
7590 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7591 prototype information ends up in the compiler info file.
7592
7593 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7594
7595 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7596 attempting to regenerate it. Eliminate use of a temporary file
7597 and just generate the info file directly. Source it immediately,
7598 for consistency of use.
7599 * gdb.base/corefile.exp: Ditto
7600 * gdb.base/exprs.exp: Ditto.
7601 * gdb.base/funcargs.exp: Ditto.
7602 * gdb.base/langs.exp: Ditto.
7603 * gdb.base/list.exp: Ditto.
7604 * gdb.base/mips_pro.exp: Ditto.
7605 * gdb.base/nodebug.exp: Ditto.
7606 * gdb.base/opaque.exp: Ditto.
7607 * gdb.base/ptype.exp: Ditto.
7608 * gdb.base/scope.exp: Ditto.
7609 * gdb.base/setvar.exp: Ditto.
7610 * gdb.base/signals.exp: Ditto.
7611 * gdb.base/whatis.exp: Ditto.
7612 * gdb.c++/templates.exp: Ditto.
7613 * gdb.c++/virtfunc.exp: Ditto.
7614 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7615 whether or not to add -lstdc++ to the compile command line args.
7616
7617 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7618
7619 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7620 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7621 Increase timeout, a lot of single stepping might be needed if the
7622 target has no hardware watchpoints.
7623
7624 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7625
7626 * gdb.base/break.exp: Ignore compiler warnings when compiling
7627 break.c.
7628 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7629 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7630 from remote-sim.
7631 * gdb.base/exprs.exp: Add h8300 xfails.
7632 * gdb.base/funcargs.exp: Likewise.
7633 * gdb.base/nodebug.exp: Likewise.
7634 * gdb.base/printcmds.exp: Likewise.
7635 * gdb.base/ptype.exp: Likewise.
7636 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7637 h8300 xfails.
7638 * gdb.base/return.exp: Handle float/double precision problems
7639 on the h8300.
7640 * gdb.base/funcargs.c: Explicitly make last constant argument to
7641 call_after_alloca_subr an unsigned long type.
7642 * gdb.base/return.c: Include stdio.h.
7643
7644 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7645
7646 * config/abug.exp: New file for the older Motorola Bug monitor
7647 that runs on the mvme13x series VME boards.
7648 * config/monitor.exp: Use the new config array for target settings
7649 if they exist.
7650
7651 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7652
7653 * sim-gdb.exp: Make the SH simulator allocate less space when
7654 it is targeted.
7655
7656 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7657
7658 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7659 test.
7660
7661 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7662
7663 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7664 "rs6000-*-*" for "list function in include file" when gcc compiled.
7665 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7666 for "p ctable1[120]".
7667 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7668 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7669 Remove setup_xfail for "rs6000-*-*" for
7670 "print 'scope0.c'::filelocal before run".
7671 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7672 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7673 since some compilers don't allow both options to be given
7674 on the same command line. Create object file and move it.
7675
7676 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7677
7678 * gdb.base/corefile.exp: Always regenerate the core file, since
7679 we always regenerate the coremaker program. Detect special case
7680 where registers cannot be read from core file.
7681
7682 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7683
7684 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7685 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7686 * gdb.c++/templates.exp: Only match on basename of file since
7687 some formats like xcoff don't encode directory information.
7688 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7689 and rs6000 AIX xcoff targets.
7690 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7691 * configure: Regenerate.
7692 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7693 here, rather than in distclean.
7694
7695 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7696
7697 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7698 defined, and use it to compile the test case with -O2. The
7699 native compilation still uses no optimization.
7700 * gdb.base/mips_pro.c: Remove inline assembly code since
7701 it is compiled PIC by default, which results in assembler
7702 warnings that make the testsuite think the compilation
7703 was unsuccessful.
7704
7705 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7706
7707 * gdb.c++/misc.exp: Add note to message for
7708 "print s.a for foo struct" that this is a known gcc 2.7.2
7709 and earlier bug.
7710
7711 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7712
7713 * gdb.base/break.exp: Fix pattern for matching "Delete all
7714 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7715 setup_xfail for deleting all breakpoints test. Fix various
7716 timeout messages to include "(timeout)".
7717 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7718 for "p t_float_values2(3.14159,float_val2)".
7719 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7720 for "continue to call2g" when gcc compiled.
7721 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7722 "up to foo in langs.exp", "show language at foo in langs.exp",
7723 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7724 and "show language at fsub in langs.exp".
7725 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7726 "list line 1 in include file", "list message for lines past EOF",
7727 "list function in include file", "list list0.h:foo", and
7728 "list filename:function; nonexistant function".
7729 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7730 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7731 and "ptype t_char_array" to be for native cc only.
7732
7733 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7734
7735 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
7736 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7737 "print func2::coremaker_local", and "backtrace in corefile.exp".
7738
7739 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7740
7741 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7742 "bt in signals.exp". This problem only appears when running
7743 the testsuite, and then only intermittently.
7744
7745 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7746
7747 * gdb.base/return.exp (return_tests): Differentiate between
7748 two tests of continuing.
7749
7750 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7751
7752 * */Makefile.in (maintainer-clean): Remove config.log.
7753 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7754 * gdb.c++/Makefile.in (PROGS): Add inherit.
7755 (clean): Remove *.ci.
7756
7757 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7758
7759 * gdb.c++/misc.cc: Add test code from Mike Stump.
7760 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7761
7762 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7763
7764 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7765 to "alpha-*-osf2*" and add comment.
7766 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7767 setup_xfail for "step over execarg initialization" and
7768 "step over corearg initialization".
7769 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7770 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7771 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7772 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7773 "print func2::coremaker_local", and "backtrace in corefile.exp".
7774 * gdb.base/signals.exp: Build and source signals.ci.
7775 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7776 to be for gcc only.
7777 * lib/gdb.exp: Move verbose statements outside conditionals.
7778
7779 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7780
7781 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7782 Feb 3 procfs.c change.
7783
7784 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7785
7786 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7787
7788 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7789
7790 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7791 from dejagnu's apparent default of 10 seconds, which gives random
7792 results when running the tests over NFS on moderately loaded systems.
7793 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7794
7795 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7796
7797 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7798 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7799 result reports.
7800
7801 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7802
7803 * configure.in (CY_AC_PATH_TCLH): Remove.
7804 * configure: Regenerate.
7805
7806 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7807
7808 * gdb.c++/Makefile.in (clean): Add missing '{'.
7809
7810 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7811
7812 * lib/gdb.exp: Provide a default value for noinferior.
7813
7814 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7815 Load libgloss.exp.
7816
7817 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7818
7819 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7820 the executable, not the .o to run the tests from.
7821
7822 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7823
7824 * gdb.base/break.exp: Don't test for program exit or exit status
7825 if $noresults if nonzero.
7826 * gdb.base/langs.exp: Likewise.
7827 * gdb.base/watchpoint.exp: Likewise.
7828
7829 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7830 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7831 trying to compile the testcase.
7832
7833 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7834
7835 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7836 * gdb.base/signals.exp (continue to handler): Likewise.
7837
7838 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7839
7840 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7841
7842 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7843
7844 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7845
7846 * gdb.base/corefile.exp: Recognize "not found" as failure
7847 when trying to determine if a core file was generated.
7848 If no core file was generate the first time, try again without
7849 the ulimit -c to work around braindamaged shells.
7850
7851 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7852
7853 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7854 [] tests with "test" and enclose string in quotes.
7855 * gdb.stabs/configure: Rebuild
7856
7857 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7858
7859 Changes in sync with expect:
7860 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7861 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7862 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7863 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7864 argument to AC_REQUIRE.
7865 * configure: Regenerated.
7866
7867 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7868
7869 * gdb.base/corefile.exp: When generating a core, discard any
7870 error messages about ulimit not found and the "core dumped"
7871 message from the shell that runs the coredumper.
7872
7873 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7874
7875 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7876
7877 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7878 which sed script to run. Expect failure for v_comb test
7879 on PA targets too.
7880
7881 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7882
7883 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7884 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7885
7886 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7887
7888 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7889 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7890 "sparc-sun-solaris*" xfails for "p v_comb".
7891 * lib/gdb.exp (default_gdb_start): Fix typo.
7892 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7893 messages to not include the full program name that caused
7894 the core dump since some systems (such as solaris) apparently
7895 truncate this path to about 80 characters.
7896 When generating a core file first try increasing the core file
7897 size limit to unlimited since some systems may default it to
7898 zero, and it is harmless to try it. Move the test for failing
7899 to generate a core file to where it will actually get executed.
7900 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7901 new gdb result from g++ debug info improvements and make old
7902 pattern obsolescent. Also account for size_t differences
7903 (may be int or long).
7904 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7905 initialization before function call is placed in the delay slot
7906 and thus appears to be skipped over by commands such as "next".
7907
7908 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7909
7910 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7911
7912 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7913
7914 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7915 input source file; fix code to compile test to deal with this
7916 convention.
7917 * gdb.c++/*.exp: Likewise.
7918
7919 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7920
7921 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7922 "bt in signals.exp".
7923
7924 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7925
7926 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7927 "step over execarg initialization" and
7928 "step over corearg initialization".
7929
7930 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7931
7932 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7933 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7934
7935 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7936
7937 From Rob Savoye (rob@poseidon.cygnus.com)
7938 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7939 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7940 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7941 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7942 configure.in}: Major reworking for autoconfig.
7943 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7944 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7945 New files.
7946 * config/unix-gdb.exp: Make GDB global.
7947 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7948 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7949 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7950 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7951 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7952 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7953 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7954 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7955 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7956 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7957 pr-8136.exp, result.exp, string.exp, tuples.exp},
7958 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7959 to returns as necessary, arrange for test to compile own testcase
7960 executable.
7961 * lib/gdb.exp: Changes for testsuite to compile own test cases.
7962
7963 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7964
7965 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7966 clear_xfail at end of test which might not call either pass or fail.
7967 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7968 "backtrace through signal handler".
7969
7970 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7971
7972 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7973 continuing from a job control stop signal.
7974 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7975
7976 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7977
7978 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7979 * gdb.base/corefile.exp: Likewise.
7980 * gdb.base/funcargs.exp: Likewise.
7981
7982 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7983
7984 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7985 * config/monitor.exp: Add support for setting baud rate.
7986
7987 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7988
7989 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7990 i*86-*-linux* xfails for "backtrace through signal handler".
7991 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7992 "print func2::coremaker_local".
7993 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7994 alpha-dec-osf2* xfail for
7995 "delete all breakpoints when none".
7996
7997 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7998
7999 * gdb.base/break.exp: Change test that deletes all breakpoints
8000 when no user breakpoints are installed. A post 4.15 change
8001 causes gdb to no longer prompt in this case.
8002
8003 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
8004
8005 * gdb.base/return.exp (return_tests): Change xfail for test
8006 "correct value returned double test" to stop xfailing at
8007 Solaris 2.5. Apparently the bug has been fixed.
8008
8009 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
8010
8011 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
8012 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
8013
8014 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
8015
8016 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
8017 * gdb.disasm/hppa.s: Corresponding changes.
8018
8019 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
8020
8021 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
8022 makefile fragment.
8023 * config/mt-hpux: Deleted.
8024
8025 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
8026
8027 * Many files: When warning about suppressed tests due to a
8028 nonexistant test binary, avoid incrementing the warning count.
8029
8030 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
8031
8032 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
8033
8034 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8035
8036 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8037 "sparc-*-solaris2*".
8038
8039 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8040
8041 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8042 Add global and local variables and initialize them.
8043 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8044 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8045 extracts the file name and terminating signal from the core file.
8046 * TODO: Remove note about tests for correct mapping of corefile.
8047 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8048 from optimizing it away.
8049 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8050 handles common blocks.
8051
8052 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8053
8054 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8055 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8056
8057 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8058
8059 * Makefile.in (maintainer-clean): New target, synonym for
8060 realclean.
8061 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8062 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8063 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8064 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8065 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8066 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8067
8068 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8069
8070 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8071 xfails when not gcc compiled for "print foo::funclocal".
8072 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8073 "print foo::funclocal at foo",
8074 "print 'scope1.c'::foo::funclocal at foo",
8075 "print foo::funclocal_bss at foo",
8076 "print 'scope1.c'::foo::funclocal_bss at foo",
8077 "print foo::funclocal_ro at foo",
8078 "print 'scope1.c'::foo::funclocal_ro at foo",
8079 "print bar::funclocal at foo" and
8080 "print 'scope1.c'::bar::funclocal at foo".
8081 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8082 gcc compiled for "print foo::funclocal at bar".
8083 Expand all messages to ensure that they identify that
8084 the test is at bar().
8085 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8086 gcc compiled for:
8087 "ptype on opaque struct pointer (statically)",
8088 "ptype on opaque struct tagname (statically)",
8089 "ptype on opaque struct pointer (dynamically) 1",
8090 "ptype on opaque struct tagname (dynamically) 1",
8091 "ptype on opaque struct pointer (dynamically) 2" and
8092 "ptype on opaque struct tagname (dynamically) 2
8093 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8094 gcc compiled for:
8095 "p datalocal"
8096 "whatis datalocal",
8097 "ptype datalocal",
8098 "p bsslocal",
8099 "whatis bsslocal", and
8100 "ptype bsslocal".
8101 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8102 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8103 when not gcc compiled.
8104 * gdb.base/funcargs.exp (float_and_integral_args): Add
8105 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8106 compiled.
8107 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8108 "backtrace from call6a" when not gcc compiled.
8109 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8110 "backtrace from call7a" when not gcc compiled.
8111 * gdb.base/callfuncs.exp (do_function_calls):
8112 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8113 "p t_char_array_values(char_array_val2,char_array_val1)",
8114 "p t_char_array_values(char_array_val1,char_array_val2)",
8115 "p t_char_array_values("carray 1","carray 2")",
8116 "p t_char_array_values("carray 1",char_array_val2)",
8117 "p t_char_array_values(char_array_val1,"carray 2")",
8118 "p sum_args(1,{2})",
8119 "p sum_args(2,{2,3})",
8120 "p sum_args(3,{2,3,4})",
8121 "p sum_args(4,{2,3,4,5})"
8122 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8123 "backtrace in corefile.exp" when not gcc compiled.
8124
8125 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8126
8127 * gdb.base/signals.exp: Rewrite `handle all print' test as
8128 a procedure. Accept blanks or TABs as whitespace, increase
8129 timeout and expect input buffer size for the large output
8130 from the command. Remove "i*86-*-bsdi2.0" xfail.
8131
8132 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8133
8134 * gdb.base/setvar.exp: Add new testcases for truncation when
8135 assigning invalid values to bitfields.
8136
8137 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8138
8139 * gdb.base/callfuncs.exp (do_function_calls): Remove
8140 mips-sgi-irix* xfail for
8141 "call inferior func with struct - returns char *"
8142 and fix test so that an optional (unsigned char *) cast is
8143 accepted in the result.
8144
8145 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8146
8147 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8148 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8149 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8150 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8151 that accidentally got checked in.
8152
8153 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8154
8155 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
8156 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8157 compiled test.
8158 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8159 Add mips-sgi-irix5* xfail for not gcc compiled.
8160 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8161 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8162 "p top", "whatis top", "p middle", and "whatis middle".
8163 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8164 "whatis signed char" for not gcc compiled.
8165 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8166 "set variable signed char=-1 (-1)" and
8167 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8168 * gdb.base/funcargs.exp (float_and_integral_args):
8169 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8170 Add mips-sgi-irix* xfail when not gcc compiled for
8171 "continue to call2b".
8172 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8173 "continue to call2g".
8174 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8175 "backtrace from call6a"
8176 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8177 "backtrace from call7k".
8178 Add mips-sgi-irix5* xfail when not gcc compiled for
8179 "backtrace from call7a".
8180 (localvars_after_alloca): Fix gdb_test cmds for
8181 "print * after runto ...".
8182 Remove rs6000-*-* xfails for
8183 "print i after runto localvars_after_alloca" and
8184 "print l after runto localvars_after_alloca"
8185 for all compilers.
8186 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8187 when not compiled with gcc, for:
8188 "print signed char == (minus)",
8189 "print signed char != (minus)",
8190 "print signed char < (minus)",
8191 "print signed char > (minus)".
8192 * gdb.base/callfuncs.exp (do_function_calls):
8193 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8194 "call inferior func with struct - returns char *".
8195 * gdb.base/return.exp (return_tests): Change xfail for
8196 "correct value returned double test" to include Solaris 2.4.
8197 * gdb.base/funcargs.exp (float_and_integral_args):
8198 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8199
8200 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8201
8202 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8203 enumeration bitfields if compiling with GNU C.
8204 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8205 to empty' prompt.
8206
8207 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8208
8209 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8210 test for PRO targets.
8211
8212 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8213 breakpoints in the inferior at any given time by making
8214 two groups of breakpoints for call2*, call6* and call7*
8215 tests.
8216
8217 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8218
8219 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8220 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8221 from optimizing it away.
8222 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8223 "call inferior func with struct".
8224
8225 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8226
8227 * configure.in: Only configure gdb.chill for particular targets.
8228
8229 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8230
8231 * gdb.base/Makefile.in: Add action to .c.o transformation
8232 rule that generates a .ci file for each .o file and remove
8233 explicit .c.o rules except for callfuncs.o.
8234 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8235 generates a .ci file for each .o file and remove explicit
8236 .cc.o rules.
8237 (clean): Remove *.tmp *.ci files.
8238 (EXECUTABLES): Remove templ-info.exp.
8239 * gdb.base/compiler.c: New file.
8240 * gdb.c++/compiler.cc: New file
8241 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8242 Change rs6000-*-* xfail for
8243 "print 'scope0.c'::filelocal_ro" and
8244 "print 'scope1.c'::filelocal" and
8245 "print 'scope1.c'::filelocal_bss" and
8246 "print 'scope1.c'::filelocal_ro" and
8247 "print 'scope1.c'::foo::funclocal" and
8248 "print 'scope1.c'::foo::funclocal_ro" and
8249 "print 'scope1.c'::bar::funclocal" and
8250 "print 'scope0.c'::filelocal_ro" and
8251 "print 'scope1.c'::filelocal at foo" and
8252 "print 'scope1.c'::filelocal_bss at foo" and
8253 "print 'scope1.c'::filelocal_ro at foo" and
8254 "print 'scope1.c'::foo::funclocal at foo" and
8255 "print 'scope1.c'::foo::funclocal_bss at foo" and
8256 "print 'scope1.c'::foo::funclocal_ro at foo" and
8257 "print 'scope1.c'::bar::funclocal at foo" and
8258 "print 'scope0.c'::filelocal_ro" and
8259 "print 'scope1.c'::filelocal" and
8260 "print 'scope1.c'::filelocal_bss" and
8261 "print 'scope1.c'::filelocal_ro" and
8262 "print 'scope1.c'::foo::funclocal" and
8263 "print 'scope1.c'::foo::funclocal_bss" and
8264 "print 'scope1.c'::foo::funclocal_ro" and
8265 "print 'scope1.c'::bar::funclocal" and
8266 "print 'scope1.c'::bar::funclocal_bss"
8267 to only be xfail'd when not compiled with gcc.
8268 Add rs6000-*-* xfail for
8269 "print 'scope0.c'::filelocal_bss before run"
8270 when compiled with gcc.
8271 (test_at_main): Add rs6000-*-* xfail for
8272 "print filelocal_ro in test_at_main"
8273 when compiled with gcc.
8274 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
8275 Add rs6000-*-aix* xfail for
8276 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8277 "ptype t_char_array", not compiled with gcc.
8278 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8279 xfail for "list foo (in include file)" when gcc compiled.
8280 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8281 (integral_args): Add rs6000-*-* xfail for
8282 "run to call0a" if not compiled with gcc.
8283 (unsigned_integral_args): Add rs6000-*-* xfail for
8284 "run to call1a" if not compiled with gcc.
8285 (float_and_integral_args): Add rs6000-*-* xfail for
8286 "run to call2a" if not compiled with gcc and for
8287 "continue to call2b" for any compiler.
8288 Add rs6000-*-* xfail to
8289 "print f1 after run to call2a" for gcc compiled.
8290 (discard_and_shuffle): Add rs6000-*-* xfail for
8291 "run to call6a".
8292 (shuffle_round_robin): Add rs6000-*-* xfail for
8293 "backtrace from call7a" if not compiled with gcc.
8294 Add rs6000-*-* xfail for
8295 "backtrace from call7b" if compiled with gcc.
8296 (call_after_alloca): Add rs6000-*-* xfail for
8297 "print c in call_after_alloca" and
8298 "print s in call_after_alloca" and
8299 "backtrace from call_after_alloca_subr"
8300 if not compiled with gcc.
8301 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8302 "print c in localvars_in_indirect_call" and
8303 "print c in localvars_in_indirect_call" and
8304 "backtrace in indirectly called function" and
8305 "stepping into indirectly called function"
8306 if not compiled with gcc.
8307 (localvars_after_alloca): Add rs6000-*-* xfail for
8308 "print c after runto localvars_after_alloca" and
8309 "print s after runto localvars_after_alloca" and
8310 "print i after runto localvars_after_alloca" and
8311 "print l after runto localvars_after_alloca"
8312 for all compilers.
8313 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8314 than whatis-info.exp.
8315 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8316 than opaque-info.exp.
8317 Setup rs6000-*-* xfail for
8318 "ptype on opaque struct pointer (statically)" and
8319 "ptype on opaque struct pointer (dynamically)" when
8320 not compiled with gcc.
8321 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8322 rather than callf-info.exp.
8323 (do_function_calls): Add clear_xfail for rs6000-*-* for
8324 "p t_float_values2(3.14159,float_val2)". Seems to work
8325 fine there, both with xlc and gcc. Need to find out what
8326 it is doing right and fix other platforms.
8327 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8328 "call inferior func with struct - returns int",
8329 "call inferior func with struct - returns long",
8330 "call inferior func with struct - returns float",
8331 "call inferior func with struct - returns double",
8332 "call inferior func with struct - returns char *",
8333 but only if not gcc compiled (presumes xlc compiled).
8334 Change rs6000-*-* xfails for
8335 "call inferior func with struct - returns char" and
8336 " call inferior func with struct - returns short" to only
8337 xfail if not using gcc.
8338 (clean mostlyclean): Remove *.ci and *.tmp files.
8339 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8340 than templ-info.exp.
8341 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8342 Add rs6000-*-* xfail for "up to foo in langs.exp"
8343 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8344 when not gcc compiled.
8345
8346 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8347
8348 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8349 * gdb.base/corefile.exp: Likewise.
8350 * gdb.base/list.exp: Likewise.
8351 * gdb.base/scope.exp: Likewise.
8352 * gdb.base/siganls.exp: Likewise.
8353
8354 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8355 compiler output.
8356 * gdb.base/whatis.exp: Likewise.
8357
8358 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8359
8360 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8361 failure (opcode table has been fixed to match reality).
8362
8363 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8364
8365 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8366 "call inferior func with struct - returns char",
8367 "call inferior func with struct - returns short"
8368
8369 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8370 "print 'scope0.c'::filelocal at main",
8371 "print 'scope0.c'::filelocal_bss in test_at_main",
8372 "print 'scope0.c'::filelocal at foo",
8373 "print 'scope0.c'::filelocal_bss in test_at_foo",
8374 "print 'scope0.c'::filelocal at bar",
8375 "print 'scope0.c'::filelocal_bss in test_at_bar"
8376
8377 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8378 in source file 1". This bug seems to have been fixed with both
8379 gcc and native cc (was native assembler bug?).
8380
8381 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8382
8383 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8384 "backtrace through signal handler" to "i*86-*-sysv4*".
8385 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8386 continue" case. Add "known SVR4 bug" to fail message.
8387 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8388 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8389 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8390 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8391 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8392 "up to foo in langs.exp", "show language at foo in
8393 langs.exp", "up to cppsub_ in langs.exp", "show
8394 language at cppsub_ in langs.exp", "up to fsub in
8395 langs.exp", and "show language at fsub in langs.exp".
8396 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8397 "bactrace in corefile.exp".
8398 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8399 "call inferior function with struct - returns float" and
8400 "call inferior function with struct - returns double".
8401
8402 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8403
8404 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8405 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8406 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8407 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8408
8409 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8410
8411 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8412 (or overriden) "CHILL" macro rather then bare "gcc".
8413 Also look for ../../gcc/xgcc since that is what we will
8414 actually need, not "Makefile". Remove following assignment
8415 of CHILL to CHILL_FOR_TARGET because that results in
8416 recursive definition.
8417
8418 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8419
8420 * gdb.base/corefile.exp: Change xfail for backtrace in
8421 corefile.exp from linuxaout to all linux.
8422 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8423 cases where we miss the breakpoint at the signal handler
8424 for some reason. Setup xfail for linuxoldld/linuxaout and
8425 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8426 hitting SIGURG breakpoint.
8427 * gdb.base/signals.exp: Setup xfail for "next" acting like
8428 continue to add linuxoldld. Setup xfail for all linux for
8429 "next to handler in signals_tests_1", "backtrace in
8430 signals_tests_1", "continue to func1", "pass SIGUSR1",
8431 and continue to handler".
8432
8433 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8434
8435 * Update all FSF addresses except those in COPYING* files.
8436
8437 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8438
8439 * gdb.base/a2-run.exp: Change messages to be more explicit about
8440 the status of args, and quote binfile in results.
8441
8442 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8443
8444 * gdb.base/callfuncs.exp: Add tests for passing structs to
8445 inferior functions and return various types.
8446 * gdb.base/callfuncs.c: Add functions to receive a struct
8447 and return a member of the struct, in various types.
8448
8449 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8450
8451 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8452
8453 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8454
8455 * config/vxworks29k.exp: New file, sources vxworks.exp.
8456
8457 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8458
8459 * config/gdbremote.exp: New file. Testing framework using
8460 gdbserver.
8461
8462 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8463
8464 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8465 "call function when asleep" and "send end of file".
8466 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8467 for "backtrace in corefile.exp".
8468 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8469 for "backtrace through signal handler".
8470 * gdb.base/corefile.exp: Make sure we actually generate a core file
8471 before trying the core tests. Some systems allow the user to suppress
8472 generation of core files and default to that (linux for example).
8473 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8474 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8475
8476 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8477
8478 * gdb.threads: New directory with some crude multi-threaded
8479 gdb tests (step.exp and step2.exp).
8480 * config/mt-lynx (STEP_EXECUTABLE): Define.
8481 (THREADFLAGS): Define.
8482
8483 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8484
8485 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8486
8487 * gdb.base/signals.exp: Disable whole file for lynx until
8488 further notice.
8489
8490 * gdb.base/signals.exp: xfail test where "next" acts like
8491 "continue" for lynx.
8492
8493 * gdb.base/interrupt.exp: xfail test for calling function while
8494 inferior is asleep for lynx.
8495
8496 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8497 than one cr-lf after each command.
8498
8499 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8500
8501 * configure.in: Reinstate setting of stabsdirs variable, fix
8502 typo in setting up configdirs for native builds.
8503
8504 * gdb.base/return.exp: Fix typo in return double test.
8505 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8506 compiler from optimizing them away.
8507
8508 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8509
8510 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8511 sequences to be echo'd by gdb when using gdb_test.
8512 * gdb.chill/chexp.exp: Likewise.
8513 * gdb.fortran/exprs.exp: Likewise
8514
8515 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8516
8517 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8518 after the inferior gdb has started.
8519
8520 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8521 after each command.
8522 * gdb.base/funcargs.exp: Likewise.
8523 * gdb.base/gdbvars.exp: Likewise.
8524 * gdb.base/interrupt.exp: Likewise.
8525 * gdb.base/list.exp: Likewise.
8526 * gdb.base/watchpoint.exp: Likewise.
8527 * gdb.c++/demangle.exp: Likewise.
8528 * gdb.c++/inherit.exp: Likewise.
8529 * gdb.chill/chexp.exp: Likewise.
8530 * gdb.fortran/exprs.exp: Likewise.
8531
8532 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8533 test if we can't handle IO to/from the inferior.
8534
8535 * gdb.c++/misc.exp: Always check for a program already being
8536 started after sending a "run" command to gdb.
8537
8538 * gdb.base/twice.exp: Start with a fresh gdb.
8539
8540 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8541 only depend on gdb's expression code, not the chill runtime.
8542
8543 * gdb.base/return.c: Put return values into variables so we
8544 can have gdb print them rather than depending on the program
8545 to print them.
8546 * gdb.base/return.exp: Corresponding changes.
8547
8548 * lib/gdb.exp: Provide default value for noinferiorio.
8549 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8550 the inferior.
8551
8552 * gdb.base/break.exp: Always check for a program already being
8553 started after sending a "run" command to gdb.
8554 (text_next_with_recursion): Don't check the output from the
8555 program's printf statement. Instead just make sure the program
8556 exited.
8557
8558 * gdb.base/commands.exp: Protect tests which need arguments with
8559 $noargs conditionals.
8560
8561 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8562
8563 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8564 of structure member arrays to match gdb/valops.c:value_addr change.
8565
8566 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8567
8568 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8569 cases.
8570
8571 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8572
8573 * configure.in (configdirs): Remove gdb.chill from default list
8574 of subdirs and then add it back in only if doing a native build.
8575 The current chill compiler does not yet work in any cross build.
8576 * Revert all signal changes from Jul 6.
8577 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8578 for sh-hms targets, allowing these tests to link, with no other
8579 changes. Testing is suppressed by setting "nosignals" in site.exp.
8580
8581 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8582
8583 * configure.in (signaldirs): Define and add to configdirs for all
8584 targets except some specific ones that are known to not support signals.
8585 Also clean up formatting.
8586 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8587 (signals, sigall): Remove rules to build.
8588 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8589 Moved to new gdb.signals directory.
8590 * gdb.signals: New test directory.
8591 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8592 signals.c signals.exp}: New or moved files.
8593
8594 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8595
8596 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8597
8598 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8599
8600 * gdb.base/return.exp: Xfail `return double' test failure
8601 on at least Solaris 2.3 and handle future/past versions on
8602 a case by case basis as appropriate. Also update message
8603 to include i*86 failures.
8604
8605 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8606
8607 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8608
8609 * lib/gdb.exp: Fix comment which erroneously identified
8610 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8611 gdb_file_cmd not gdb_load).
8612 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8613
8614 * gdb.base/setvar.exp: Make test names consistent between pass and
8615 fail cases. Use gdb_test more.
8616
8617 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8618
8619 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8620
8621 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8622
8623 * gdb.base/help.exp: Fix expected help string for `show commands'.
8624
8625 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8626
8627 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8628
8629 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8630 of a text section.
8631
8632 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8633
8634 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8635 that loop eventually terminates. Fix Connection refused logic so
8636 that testsuite will expire nicely.
8637
8638 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8639
8640 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8641 config/rom68k.exp: New tcl glue for the appropriate monitors.
8642 These all just end up calling monitor.exp.
8643 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8644 refused' by retrying. Cleanup some timeout issues.
8645 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8646 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8647 callers don't have to set/restore global timeout variable.
8648
8649 * The following set of changes centralizes management of the global
8650 timeout variable. This way, it can be set in one target dependent
8651 place instead of dozens of places scattered throughout the test suite.
8652 If you need to lengthen a timeout, then you should either set timeout
8653 in one of the config/{target}.exp files, or multiply it by a factor.
8654 Setting it to an absolute value is always going to lose for some
8655 targets.
8656 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8657 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8658 * gdb.base/funcargs.exp: Don't set timeout.
8659 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8660 * gdb.base/printcmds.exp (test_print_string_constants
8661 test_print_array_constants): Don't set timeout.
8662 * gdb.base/ptype.exp: Don't set timeout.
8663 * gdb.base/recurse.exp: Don't set timeout.
8664 * gdb.base/return.exp: Don't set timeout.
8665 * gdb.base/watchpoint.exp: Don't set timeout.
8666 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8667 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8668
8669 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8670
8671 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8672
8673 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8674
8675 * lib/gdb.exp: Disable chill tests for irix5.
8676
8677 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8678
8679 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8680 each test pass or fail.
8681
8682 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8683
8684 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8685 xlc not gcc.
8686
8687 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8688
8689 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8690
8691 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8692
8693 * config/est.exp: Fix copyright and comments. Remove dead code.
8694 Use targetname, serialport and baud variables instead of fixed
8695 constants.
8696 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8697 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8698
8699 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8700
8701 * gdb.base/watchpoint.exp: Don't run
8702 test_watchpoint_triggered_in_syscall for sunos.
8703
8704 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8705
8706 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8707 they don't seem to exist. Do include stdio.h.
8708
8709 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8710
8711 * gdb.base/a1-selftest.exp: Add alpha xfail.
8712
8713 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8714
8715 * gdb.base/watchpoint.c (main): Prompt before calling read().
8716 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8717 Revise accordingly. Remove cruft about sending "123" several
8718 times, until it gets noticed. Clean up the "print buf[0]" stuff
8719 so that it passes or fails, and waits for prompts in the usual way.
8720
8721 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8722
8723 * gdb.base/recurse.exp: Fix comment.
8724
8725 * TODO: Remove item about printing variables in nodebug.exp. Add
8726 item about enabling tests which are only run on some targets.
8727
8728 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8729 fail, make test names unique, use new gdb_test convention
8730 regarding pattern, use gdb_test more, etc.).
8731
8732 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8733 fail, make test names unique, etc.).
8734
8735 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8736
8737 * gdb.base/nodebug.c: Change return type of top and middle to
8738 short.
8739 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8740 are fixed by the recent mdebugread.c changes. Allow `short ()'
8741 as type for top and middle.
8742
8743 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8744
8745 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8746 nearly as I can tell, the whole thing was an accident in Stu's
8747 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8748 to replace a send/expect pair with gdb_test, but ended up only
8749 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8750 of 30 Mar 1995 took care of it, but left this vestigial comment
8751 which I am now nuking.
8752
8753 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8754
8755 * gdb.base/break.exp: Look for different line number for
8756 breakpoint at main depending on usestubs.
8757
8758 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8759
8760 * gdb.base/list.exp: Adjust some alternate expect patterns to
8761 match recent list0.c change. Add alternate expect pattern for
8762 output from `list default lines around main' for optimizing
8763 compilers.
8764
8765 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8766
8767 * lib/gdb.exp: If nosignals is not set, set it to 0.
8768
8769 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8770
8771 * config/slite-gdb.exp: Responds to load symbol table prompt.
8772 * gdb.base/break.exp: Adjust line number, fix rerun.
8773 * gdb.base/langs0.c: Add #ifdef usestubs.
8774
8775 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8776
8777 * gdb.base/list.exp: Adjust line contents after adding new lines in
8778 list0.c. Also fix a syntax error.
8779
8780 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8781 * gdb.base/break.exp: ditto.
8782 * gdb.base/list.exp: ditto.
8783 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8784 * gdb.base/run.c: ditto.
8785 * gdb.base/list0.c: ditto.
8786 * gdb.base/funcargs.c: ditto.
8787
8788 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8789
8790 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8791 $targetname, $serialport and $baud instead of hardwired variables.
8792 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8793 target doesn't support signals.
8794
8795 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8796
8797 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8798
8799 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8800
8801 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8802 Don't rely on the value of an auto variable before it has been
8803 initialized. Use gdb_test more.
8804
8805 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8806
8807 * lib/gdb.exp (default_gdb_version): A version number must start
8808 with a digit, but other than that contains all characters up to
8809 the first whitespace character.
8810
8811 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8812
8813 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8814
8815 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8816
8817 * gdb.c++/*.exp: Warn if executable does not exist. The original
8818 reason for skipping the warning was that configure.in sometimes
8819 intentionally skipped building the executables but the tcl code
8820 had no way of knowing. That (a) was always bogus with respect to
8821 error handling, (b) is no longer true (right now there is no way
8822 to skip C++ tests).
8823
8824 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8825
8826 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8827
8828 * gdb.base/list.exp: Add expect patterns for output from
8829 SunPRO compiled executables.
8830 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8831 types.
8832
8833 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8834
8835 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8836 number (we are already testing that the correct source line text
8837 gets printed).
8838
8839 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8840 that is what is intended, but something needed to be done to get
8841 sunos4 native working again.
8842
8843 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8844
8845 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8846 apparently went with a (very) old xfail.
8847
8848 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8849
8850 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8851 runto_main is a proc in gdb.exp that will do 'step' for target use
8852 stubs.
8853 * gdb.base/exprs.exp: ditto.
8854 * gdb.base/interrupt.exp: ditto.
8855 * gdb.base/opaque.exp: ditto.
8856 * gdb.base/printcmds.exp: ditto.
8857 * gdb.base/ptype.exp: ditto.
8858 * gdb.base/scope.exp: ditto.
8859 * gdb.base/setvar.exp: ditto.
8860 * gdb.base/signals.exp: ditto.
8861 * gdb.base/twice.exp: ditto.
8862 * gdb.c++/classes.exp: ditto.
8863 * gdb.c++/inherit.exp: ditto.
8864 * gdb.c++/templates.exp: ditto.
8865 * gdb.base/break.exp: no run and hit main for stubs. Change line
8866 numbers for breakpoints and info breakpoint.
8867 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8868 breakpoint().
8869 * gdb.base/callfuncs.c: ditto.
8870 * gdb.base/exprs: ditto.
8871 * gdb.base/interrupt.c: ditto.
8872 * gdb.base/opaque0.c: ditto.
8873 * gdb.base/printcmds.c: ditto.
8874 * gdb.base/ptype.c: ditto.
8875 * gdb.base/scope0.c: ditto.
8876 * gdb.base/setvar.c: ditto.
8877 * gdb.base/signals.c: ditto.
8878 * gdb.base/twice.c: ditto.
8879 * gdb.c++/misc.cc: ditto.
8880 * gdb.c++/templates.cc: ditto.
8881
8882 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8883
8884 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8885
8886 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8887 somewhere between `read' and `main.c'. I'm pretty sure the
8888 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8889 and it isn't particularly useful.
8890
8891 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8892
8893 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8894
8895 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8896
8897 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8898
8899 * config/mt-slite: add LIBS and -nostdlib.
8900 * config/slite-gdb.exp: add this new file to support sparclite target.
8901
8902 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8903
8904 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8905
8906 * gdb.base/a2-run.exp: Change argument to istarget from
8907 "*-*-vxworks" to "*-*-vxworks*".
8908 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8909
8910 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8911
8912 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8913 will not runto main but do a 'step' to step out of breakpoint().
8914 * config/mt-slite: add -Dusestubs.
8915
8916 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8917
8918 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8919 instead of just @.
8920
8921 * gdb.base/signals.exp: Add test for "handle all print".
8922 * TODO: Remove "handle all print". Also remove item about
8923 checking copyright date (I don't like the idea of a spurious FAIL
8924 based on when we run the tests).
8925
8926 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8927 for SunOS4 (reason for failure not investigated). Remove
8928 redundant test for $binfile.
8929
8930 * gdb.base/nodebug.c (array_index): Call malloc.
8931
8932 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8933
8934 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8935
8936 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8937 conventions and slightly simplify the matching regexp.
8938
8939 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8940
8941 * gdb.base/break.exp: Update gdb_test invocation to use new
8942 convention.
8943
8944 * lib/gdb.exp: If noargs is not set, set it to 0.
8945
8946 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8947 tests unique.
8948
8949 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8950
8951 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8952
8953 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8954 one argument of type "<non-float parameter>".
8955
8956 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8957
8958 * config/rom68k.exp: New file to support Motorola IDP board.
8959 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8960 * gdb.base/break.c: Change things around so that this program
8961 doesn't depend upon args. This is necessary to make remote
8962 targets work (in general, they can't take args).
8963 * gdb.base/break.exp: Don't try to send args to program. Don't
8964 expect output. Also, replace lots of code with gdb_test.
8965
8966 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8967
8968 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8969 printing of '\'' (which is what the comment says we are testing,
8970 even though we were not), not '''.
8971 (test_integer_literals_rejected): Test that printing ''' is an error.
8972
8973 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8974 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8975 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8976 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8977 Use gdb_test not test_print_accept.
8978 * lib/gdb.exp: Remove test_print_accept.
8979
8980 * gdb.base/signals.exp (signal_tests_1): Make pass message
8981 consistent with fail message.
8982
8983 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8984 unsigned char; the bug (PR 1821) is fixed.
8985
8986 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8987
8988 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8989 successful tests--makes xfailing them work right.
8990
8991 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8992
8993 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8994 only \r\n, not .*. The test can pass .* as the last thing in
8995 $pattern if that is what it wants. In addition to providing this
8996 flexibility, this change should speed up pattern matching in cases
8997 where the pattern already ended with .* (there were a number of
8998 them). This change also helps catch bad patterns--in the old
8999 scheme the typo "char \*" instead of "char \\*" would pass. Now
9000 it is caught.
9001 * Many .exp files: Update callers.
9002
9003 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
9004 clearer and does not spuriously match multiple ('s. Likewise for
9005 ) and *.
9006
9007 * gdb.base/nodebug.exp: Test ability to call a function and pass
9008 it a string (even with no debugging info).
9009
9010 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
9011 "p '\'", which is the same as "p ''" once tcl gets done with
9012 quoting, to "p '\\'", which I suspect is what is intended (one
9013 backslash gets sent to GDB).
9014
9015 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
9016
9017 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9018
9019 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
9020 1817) was fixed literally years ago.
9021
9022 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9023
9024 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
9025 test, it causes stepping out of call_after_alloca_subr with
9026 optimizing compilers.
9027 (localvars_in_indirect_call): Consume GDB prompt if `finish'
9028 fails.
9029
9030 * gdb.c++/templates.exp: Source templ-info.exp only if
9031 the templates executable exists.
9032
9033 * gdb.c++/misc.cc (class Contains_static_instance,
9034 class Contains_nested_static_instance),
9035 gdb.c++/classes.exp (test_static_members): Test printing of
9036 a class that contains a static instance of the class.
9037
9038 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9039
9040 * gdb.base/langs2.c (cppsub_): Don't prototype.
9041 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9042 only, I believe).
9043
9044 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9045
9046 * lib/gdb.exp (skip_chill_tests): New procedure.
9047
9048 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9049
9050 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9051
9052 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9053 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9054
9055 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9056
9057 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9058
9059 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9060 disassemble 8, not 16, instructions for part 4.
9061
9062 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9063 support the latter anymore.
9064
9065 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9066 -DNO_PROTOTYPES.
9067 * gdb.base/callfuncs.c: Control use of prototypes based on
9068 NO_PROTOTYPES, not __STDC__.
9069 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9070 t_float_values2 tests if prototypes in use.
9071
9072 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9073 t_double_values): When checking differences against DELTA, check
9074 that difference is within the range (-DELTA,DELTA), not just
9075 (-infinity,DELTA).
9076
9077 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9078
9079 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9080 'file' command firts, then 'target', then 'load', this is due to gdb
9081 target set up.
9082 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9083
9084 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9085
9086 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9087 FP load/store variants.
9088 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9089
9090 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9091
9092 * gdb.base/term.exp: Do not give a warning if not native, it is
9093 not an abnormal condition.
9094
9095 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9096
9097 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9098 t_char_array".
9099
9100 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9101
9102 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9103 are getting the version number.
9104
9105 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9106 if not native, it is not an abnormal condition.
9107
9108 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9109
9110 * lib/gdb.exp: Just use "file exists", rather than undocumented
9111 dejagnu procedure "findfile".
9112
9113 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9114
9115 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9116 (LDFLAGS): Set to -Xlinker -Ur.
9117
9118 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9119 Removed, these values are set by lib/gdb.exp.
9120
9121 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9122
9123 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9124
9125 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9126 of replicating gdb startup code.
9127
9128 * config/mt-vxworks (LDFLAGS): Set to -r.
9129 (CFLAGS_FOR_TARGET): Removed.
9130
9131 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9132 (gdb) and gdb for vxworks uses (vxgdb).
9133
9134 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9135 executable is not in the tree and host != target, use sed and
9136 program_transform_name to determine the gdb name used by the
9137 target.
9138
9139 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9140 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9141
9142 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9143
9144 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9145 floats, chars, and shorts where there are ANSI-style function
9146 definitions.
9147
9148 * gdb.base/langs.exp, gdb.base/langs*: New test.
9149 * gdb.base/Makefile.in: Build it.
9150 * TODO: Remove item about checking that C names don't get C++
9151 demangling applied; this test tests it.
9152
9153 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9154
9155 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9156 went with the const70 xfail. The xfail went away a year ago.
9157
9158 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9159
9160 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9161 for hp300.
9162
9163 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9164
9165 * gdb.base/a1-selftest.exp: Don't run on hp300.
9166
9167 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9168
9169 * Makefile.in (site.exp): Set host_alias and target_alias as well
9170 as host_triplet and target_triplet.
9171
9172 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9173
9174 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9175
9176 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9177 places as other ecoff systems).
9178
9179 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9180 ultrix.
9181
9182 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9183
9184 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9185 remove them.
9186 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9187 variable and "variable" in addition to "data variable".
9188 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9189
9190 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9191 2.
9192 * gdb.base/list1.c (long_line): Add additional statement at start
9193 of function.
9194 * gdb.base/list.exp (test_forward_search): Update line number to
9195 reflect new statement.
9196
9197 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9198
9199 * gdb.base/signals.exp: Reinitialize searched source directories
9200 after gdb_start call.
9201
9202 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9203
9204 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9205 * gdb.stabs/Makefile.in: Likewise.
9206
9207 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9208 change. Instead split the tests into smaller pieces.
9209 * gdb.disasm/hppa.s: Corresponding changes.
9210
9211 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9212
9213 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9214 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9215
9216 * gdb.base/funcargs.exp: Modify many tests so that every test
9217 either passes or fails. Make some test names unique.
9218
9219 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9220
9221 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9222 Call stty to set interrupt character.
9223
9224 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9225 for HP assembler versus GNU assembler based on actual behavior of
9226 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9227
9228 * TODO: Suggest a few more stepping tests.
9229
9230 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9231
9232 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9233 restart GDB for h8300 after a continue.
9234 (return): Add pattern to match a29k-udi behavior.
9235 * gdb.base/nodebug.exp: Remove obsolete comment.
9236 * gdb.base/regs.exp: New file, testing of register displays.
9237 * gdb.base/return.exp: Fix typo in reference to $objdir.
9238 * gdb.base/whatis.exp: Always start with a fresh GDB.
9239
9240 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9241
9242 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9243 higher, these tests generate a lot of output.
9244
9245 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9246
9247 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9248 code following the catch silently ignored some errors; without the
9249 catch they should be thrown like any other tcl error. Also, the
9250 catch used "" instead of {} which meant all the callers who wanted
9251 to include one of the characters "[]$ had to quote it an extra time.
9252 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9253 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9254 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9255 Remove extra quoting.
9256
9257 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9258
9259 * gdb.base/commands.exp: Make test names unique; every test either
9260 passes or fails. Update some comments.
9261
9262 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9263
9264 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9265
9266 The following fixes a FAIL caused by the fact that the alpha stabs
9267 configuration didn't use the ".if alpha" code in weird.def.
9268 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9269 bit pointer, so the 32 bit version works even on the alpha.
9270 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9271 Remove the stuff which allowed us to have separate versions for
9272 alpha and everything else.
9273
9274 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9275 regexp which "info func operator\[\](" is supposed to match. Fix
9276 string to send to GDB. Note that GDB still doesn't work right. Add a
9277 new test for "info func .perator\[\](" which GDB does handle correctly.
9278
9279 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9280
9281 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9282
9283 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9284 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9285 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9286 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9287 it makes the tests harder to understand and confuses test-o-matic.
9288 The preferred style is that each test provides a PASS or a FAIL,
9289 and has a unique message (e.g. "continue #54" not just "continue")
9290 which is the same for the pass and the fail.
9291 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9292 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9293 to lib/gdb.exp.
9294 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9295 prt_accept which was basically the same thing. Likewise for
9296 test_print_reject and prt_reject.
9297 * lib/gdb.exp (test_print_reject): Add some more error message
9298 patterns to match from the former printcmds.exp (prt_reject).
9299 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9300 One defect of the passcount stuff is that some of it failed to
9301 report XPASS where appropriate.
9302 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9303 stuff before and after arg in expected pattern.
9304 (test_paddr_operator_functions): Re-do test without print_addr_of;
9305 this is the only test which seems to want extra stuff there.
9306
9307 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9308
9309 * gdb.base/nodebug.exp: Update new tests to reflect improved
9310 wording of gdb output.
9311
9312 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9313 and "ptype" work on variables in files compiled without -g.
9314 Replaces commented out "maint print msymbol" tests.
9315
9316 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9317
9318 * gdb.base/setvar.c (dummy): Call malloc.
9319
9320 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9321 losing with the irix4 sed.
9322
9323 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9324 ALRM" on irix4.
9325
9326 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9327
9328 * TODO: Remove items about corefile.exp testing new exec-file and
9329 backtrace; both are now done. Add items about printing enums.
9330
9331 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9332
9333 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9334 "get signal $thissig" test fails.
9335
9336 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9337
9338 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9339
9340 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9341 compiler warning with dec alpha compiler.
9342
9343 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9344 extra \n from gdb_test call (this explains why the prompt test
9345 that I removed yesterday was there).
9346 (user_defined_command_test): Remove extra \n and prompt test.
9347
9348 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9349 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9350 doesn't exist.
9351 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9352 Also remove alpha workaround, which turns out to be because
9353 SIGABRT == SIGLOST.
9354
9355 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9356
9357 * gdb.base/help.exp: Don't test "help show".
9358
9359 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9360
9361 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9362 "set print address" is on.
9363 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9364 pass prompt to gdb_test; gdb_test already looks for the prompt.
9365
9366 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9367
9368 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9369 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9370 was to make sure that gdb can read a core file. But (a) the "read
9371 the corefile" part didn't make it to a1-selftest.exp, we just
9372 delete the corefile after creating it, and (b) we test reading
9373 corefiles in corefile.exp anyway. Also, this test left around a
9374 xgdb process on Solaris.
9375
9376 * gdb.base/corefile.exp: Also test backtrace.
9377
9378 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9379
9380 * gdb.base/commands.exp: Test a simple user defined command with
9381 arguments and if/while statements; verify the full user command is
9382 printed by "show user".
9383
9384 * gdb.base/commands.exp: Test if/while commands as part of a
9385 breakpoint command list; verify they appear in breakpoint
9386 information.
9387
9388 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9389
9390 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9391 than by dividing by zero.
9392
9393 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9394
9395 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9396 performing an inferior call with watchpoints enabled.
9397 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9398 call.
9399
9400 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9401
9402 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9403 of "file" command.
9404
9405 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9406 Add additional pattern for when "int operator int(void);" appears
9407 in a different order.
9408
9409 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9410
9411 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9412
9413 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9414 and "signal" with ".*".
9415
9416 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9417
9418 * TODO: Add note about "handle all nostop".
9419
9420 * gdb.base/{sigall.c, sigall.exp}: New test.
9421 * gdb.base/Makefile.in: Add it.
9422
9423 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9424
9425 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9426 when invoking GDB, suppresses any windowing interface.
9427
9428 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9429
9430 * config/sim-gdb: New file, simulator testing support.
9431
9432 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9433
9434 * gdb.base/interrupt.exp: Test calling func1 twice.
9435
9436 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9437
9438 * gdb.base/list.exp (test_forward_search): Set timeout higher
9439 when we'll be getting lots of output from gdb.
9440
9441 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9442 "init_malloc" to after the expect statement. Run it if that
9443 regexp is taken, but also for two others which happen if source
9444 cannot be found.
9445
9446 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9447
9448 * gdb.base/printcmds.exp: New test, for printing register before
9449 program is running.
9450
9451 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9452
9453 * gdb.base/list.exp: Correct some alternate expect patterns
9454 to reflect changes in list1.c.
9455
9456 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9457
9458 * TODO: Add item regarding large frames.
9459
9460 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9461
9462 * TODO: Remove item about enabling return.exp; it
9463 is enabled. Suggest a few more "return" tests.
9464
9465 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9466
9467 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9468 anonymous unions.
9469
9470 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9471
9472 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9473 and pr-5646.o, so "make" is the same as "make all", not "make
9474 pr-4975.o".
9475
9476 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9477
9478 * gdb.base/list.exp: Adjust expectations to reflect changes in
9479 list1.c.
9480 (test_forward_search): New test proc.
9481 * gdb.base/list1.c (long_line): New function, has long source line.
9482
9483 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9484
9485 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9486 additional line of code that was added.
9487
9488 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9489
9490 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9491 tests so as not to overflow expect's input buffers.
9492 * gdb.disasm/hppa.exp: Corresponding changes.
9493
9494 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9495
9496 Beginnings of template debugging tests.
9497 * gdb.c++/templ-info.cc: New file to test for template
9498 debugging capability of the compiler.
9499 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9500 templ-info.cc.
9501 * gdb.c++/templates.cc: Add explicit template instantiations
9502 to enable compiling with -fno-implicit-templates. Add destructor
9503 and 'value' method to T5 class for template tests.
9504 * gdb.c++/templates.exp: Add testcases for printing of template
9505 types, setting breakpoints on template methods and calling a
9506 template method.
9507
9508 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9509
9510 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9511 branch target since some assemblers (gas-2.5) may emit a
9512 relocation for the branch instead of resolving it in the
9513 assembler.
9514
9515 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9516
9517 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9518 through signal handler.
9519
9520 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9521
9522 * configure.in (*-*-netware): Use config/mt-netware.
9523
9524 * config/mt-netware: New file.
9525 * config/mt-i386-netware: Removed, separate configs for different
9526 netware architectures are no longer needed now that we have
9527 --with-headers.
9528
9529 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9530
9531 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9532 by the recent changes to use ANSI C arithmetic conversions.
9533
9534 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9535
9536 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9537 bug involving using inferior_pid to figure out whether to select a
9538 frame.
9539
9540 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9541
9542 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9543 match the current disassembler output.
9544
9545 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9546
9547 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9548 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9549 types, expect "int" as type of integer values (for now).
9550
9551 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9552
9553 * gdb.base/commands.exp: New tests for if/while commands.
9554
9555 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9556
9557 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9558 by .*, since hex values have different syntax in Chill mode.
9559
9560 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9561
9562 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9563 linefeed from expect pattern for repeated types with indices > 9.
9564
9565 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9566
9567 First part of Fortran test suite.
9568 * gdb.fortran: New directory.
9569 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9570
9571 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9572
9573 * gdb.base/default.exp: Update expect pattern for load command
9574 without arguments.
9575
9576 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9577
9578 * configure.in: Change i386 to i[345]86.
9579 * gdb.base/configure.in: Likewise.
9580 * gdb.c++/configure.in: Likewise.
9581 * gdb.chill/configure.in: Likewise.
9582
9583 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9584
9585 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9586 patterns, since that is not a valid context for comments.
9587
9588 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9589
9590 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9591 repeated types and repeated types with indices > 9.
9592
9593 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9594
9595 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9596 2417; old bug has been fixed.
9597
9598 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9599
9600 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9601 send the newline ourselves instead of assuming gdb_test will do
9602 so when passed an empty input string.
9603
9604 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9605 stabs testcode.
9606
9607 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9608
9609 * lib/gdb.exp (gdb_test): Don't send anything if the first
9610 argument is an empty string. This makes cases where we want to
9611 match output that is already in expect's buffers (for example,
9612 matching a breakpoint after gdb_run_cmd has been called) work
9613 reliably.
9614
9615 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9616
9617 * config/netware.exp: New file.
9618
9619 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9620
9621 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9622 the -B and -L prefixes so we can find the debugging stub.
9623
9624 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9625 there and we are using the gcc from the tree.
9626
9627 * gdb.base/types.c: Removed.
9628
9629 * gdb.base/configure.in: Look for makefile fragments in ../config.
9630 Recognize i386-*-netware.
9631 * gdb.c++/configure.in: Likewise.
9632
9633 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9634
9635 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9636 the correct TCL syntax.
9637
9638 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9639
9640 * gdb.base/opaque.exp: use runto instead of messing around with
9641 breakpoints. Simplify by using gdb_test.
9642
9643 * gdb.base/bitfields.exp: restart between tests on netware targets
9644 because breakpoints aren't relocated after target death. Run
9645 processes to completion.
9646
9647 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9648
9649 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9650
9651 * Makefile.in: Remove extra tabs that confuse some versions
9652 of "make". Use the newly built gdb to test with by default,
9653 rather than the first one in the tester's search path.
9654
9655 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9656
9657 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9658
9659 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9660 condition help.
9661
9662 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9663
9664 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9665
9666 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9667 running.
9668 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9669 * gdb.base/funcargs.exp: Likewise.
9670
9671 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9672 * gdb.base/funcargs.exp: Likewise.
9673
9674 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9675 message is "".
9676
9677 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9678
9679 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9680 return,signals,twice}.exp: Handle non-existant binaries
9681 consistantly.
9682
9683 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9684 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9685 might testing a cross development system.
9686
9687 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9688
9689 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9690 runtest script is relative to ${srcdir}, not ${rootdir}.
9691
9692 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9693
9694 * gdb.base/signals.exp: Allow for optionality of breakpoint
9695 address.
9696
9697 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9698
9699 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9700
9701 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9702
9703 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9704 for size_t definition.
9705 * gdb.c++/templates.cc: Likewise
9706
9707 * config/mt-i386-netware: New file.
9708
9709 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9710 defined.
9711
9712 * gdb.base/Makefile.in: Added support for systems that name core
9713 files by appending "core" to the program name.
9714 * gdb.base/a1-selftest.exp: Likewise.
9715
9716 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9717
9718 * gdb.base/return.exp: Add comment and message for `return double'
9719 test failure on Sparc Solaris.
9720
9721 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9722
9723 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9724
9725 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9726
9727 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9728 from optimizing them away.
9729 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9730 patterns to include default constructors and assignment operators,
9731 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9732 character in the output of the virtual base pointer.
9733
9734 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9735
9736 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9737 expression match in print_addr_of to avoid unintented matches.
9738 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9739 versions up to 2.5.8.
9740
9741 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9742
9743 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9744 included file to run under newer versions of expect.
9745 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9746 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9747 Remove xfail for the virtual table of BDDHookV.
9748
9749 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9750
9751 * lib/gdb.exp (string_to_regexp): Set a default result.
9752 (default_gdb_start): Fix misleading message.
9753
9754 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9755
9756 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9757 Remove all CC, etc definitions.
9758 * config/mt-hpux: New file.
9759 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9760 (CFLAGS, LDFLAGS): Define.
9761 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9762
9763 * Makefile.in (site.exp): Don't insert host_os, etc.
9764 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9765 (distclean): Check existence of subdir.
9766 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9767 * gdb.base/Makefile.in: General cleanup and simplification.
9768 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9769 to build executables. Use default rule to build .o files.
9770 (EXPECT, RUNTEST, CC): Fix relative pathname.
9771 (site.exp): Don't insert host_os, etc.
9772 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9773 and/or SIGUSR1 defined.
9774 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9775 * gdb.c++/Makefile.in: General cleanup and simplification.
9776 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9777 (CFLAGS): Remove.
9778 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9779
9780 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9781
9782 * gdb.base/recurse.exp: Misc changes to get tests running again
9783 after Kung's changes to the watchpoint code.
9784 * gdb.base/watchpoint.exp: Likewise.
9785
9786 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9787
9788 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9789
9790 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9791
9792 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9793 * lib/gdb.exp (default_gdb_start): Define.
9794 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9795 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9796 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9797 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9798 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9799 Don't call gdb_target_udi in between tests.
9800
9801 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9802
9803 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9804 (which was basically just a local version of the same thing). In
9805 addition to avoiding duplication, gdb_test_exact is faster.
9806 * lib/gdb.exp (gdb_test_exact): Fix typo.
9807
9808 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9809 don't give an error.
9810
9811 * gdb.base/term.exp: Call delete_breakpoints before starting.
9812
9813 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9814 (t10): Add comment.
9815
9816 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9817
9818 Reorganization of the GDB Test Suite.
9819
9820 * gdb.base: New directory, contains all the basic tests.
9821 * gdb.c++: New directory, tests specific to C++.
9822 * gdb.chill: New directory, tests specific to Chill.
9823 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9824 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9825 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9826 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9827 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9828 t30-31 to chill).
9829 * */gdbme.*: Rename to match appropriate expect scripts.
9830 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9831 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9832 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9833 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9834 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9835 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9836 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9837 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9838 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9839 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9840 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9841 gdb.c++/virtfunc.cc: New names of C++ files.
9842 * gdb.chill/chillvars.ch: New name of Chill file.
9843 * gdb.base/configure.in, gdb.c++/configure.in,
9844 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9845 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9846 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9847 * configure.in (configdirs): Update to reflect directory changes.
9848 (target_abbrev): No longer define for any configuration.
9849 * Makefile.in: Cosmetic improvements to header comments.
9850
9851 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9852
9853 Various changes to gdb.t31:
9854
9855 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9856 * gdbme.ch: Make all key-words and predefineds be upper-case.
9857 * chillvars.exp: Expect key-words and predefinds in upper-case.
9858
9859 * chillvars.exp: Use gdb_test_exact many places.
9860 Change expected output for arrays (which now includes index labels).
9861
9862 * pr-5020.exp, gdme.ch (module PR_5020):
9863 New test, for PR-5020.
9864
9865 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9866
9867 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9868 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9869
9870 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9871
9872 * Makefile.in: Fix bit-rot in definitions of CHILL,
9873 CHILL_FOR_TARGET and Chill_LIB.
9874 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9875 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9876 CHILL, and CHILL_LIB.
9877
9878 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9879
9880 * Revert the previous changes. Please see Rob's directory
9881 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9882
9883 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9884
9885 * Makefile.in, configure.in, config/mips-gdb.exp,
9886 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9887 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9888 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9889 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9890 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9891 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9892 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9893 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9894 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9895 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9896 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9897 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9898 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9899 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9900 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9901 changes from 94Q1.
9902
9903 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9904
9905 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9906 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9907 Rob's new testing fragments.
9908
9909 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9910
9911 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9912 lib/gdb.exp: Replace error proc calls with perror.
9913
9914 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9915
9916 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9917 version also, match on casted version strings, and match on
9918 gdb startup case where the line numbers might be messed up.
9919
9920 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9921
9922 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9923 (CFLAGS): Delete it from here.
9924
9925 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9926
9927 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9928
9929 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9930
9931 * Makefile.in (RUNTEST): Default to just "runtest".
9932
9933 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9934
9935 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9936 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9937 the code has been restructured.
9938
9939 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9940
9941 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9942 \n, not just one of each.
9943
9944 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9945 /bin/cc gives a warning if you do.
9946
9947 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9948
9949 * gdb.t24/demangle.exp: change expect pattern of
9950 __t10ListS_link1ZUiRCUiPT0
9951
9952 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9953
9954 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9955 on local variables in recursive functions.
9956
9957 * gdb.t07/Makefile.in: Build the new test.
9958
9959 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9960
9961 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9962 directly. Instead compare the return values from actual calls.
9963
9964 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9965
9966 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9967
9968 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9969
9970 * From Peter Schauer with minor modifications.
9971 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9972 stops in mid-line in the caller. Add xfail for returning a float
9973 value on X86 targets.
9974
9975 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9976
9977 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9978 to avoid expect lossage.
9979 (fmem_LRbug_tests): Likewise.
9980 * gdb.disasm/hppa.s: Corresponding changes.
9981
9982 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9983 conditions to work with latest dejagnu/expect.
9984
9985 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9986 expected to fail on the PA.
9987 (backtrace in call with trampolines): Explicitly require main
9988 to be frame #1 (no trampolines should show up in backtrace).
9989
9990 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9991 "continue -expect".
9992 * gdb.t06/break.exp: Likewise.
9993 * gdb.t07/watchpoint.exp: Likewise.
9994 * gdb.t13/bitfields.exp: Likewise.
9995 * gdb.t15/{funcargs,return}.exp: Likewise.
9996 * gdb.stabs/weird.exp: Likewise.
9997 * config/{mips,udi}-gdb.exp: Likewise.
9998
9999 * hppa.sed: Enclose comments within a sed command to avoid
10000 losing with the old OSF1 sed.
10001
10002 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10003
10004 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
10005 sequent dynix.
10006 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
10007 * gdb.t15/funcargs.exp: Conditionally step again to really
10008 finish from marker_call_with_trampolines. Handle the case where
10009 the first step from within call_with_trampolines already steps
10010 us back to main.
10011 * gdb.t15/gdbme.c: Add comment to closing brace of
10012 call_with_trampolines for funcargs.exp.
10013
10014 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10015
10016 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
10017 Fix typo(s).
10018
10019 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10020
10021 * gdb.t07/gdbme.c: More code for watchpoint testing.
10022
10023 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
10024 "Hardware watchpoint" throughout file.
10025 (test_watchpoint_triggered_in_syscall): New test.
10026 (test_complex_watchpoint): New test.
10027
10028 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10029
10030 * gdbme.c (call_with_trampolines): New function to try and step
10031 into. Tests trampoline problems on the PA.
10032
10033 * funcargs.exp (localvars_in_indirect_call): No longer expect
10034 stepping into indirect call to fail on PAs.
10035 (test_stepping_over_trampolines): New test.
10036
10037 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10038
10039 * TODO: Add suggestions for static member function tests, and
10040 completion tests.
10041
10042 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10043
10044 * TODO: Add suggestions for "p/a" tests.
10045
10046 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10047 (default_gdb_exit): Replace all the hair with sending "quit" to
10048 the process with a simple close.
10049
10050 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10051
10052 * TODO: Add suggestions for shared library tests.
10053
10054 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10055
10056 * TODO: Add suggestions for x/s tests.
10057
10058 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10059
10060 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10061 "enable once", and "enable breakpoints once" with ".*".
10062
10063 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10064
10065 * TODO: Add suggestions about structure passing tests.
10066
10067 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10068
10069 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10070 the primary1 test, use work around if __GNUC__ < 2.
10071 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10072 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10073 Test for bad output rather than waiting for timeout. Issue
10074 second continue only if first continue failed.
10075
10076 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10077
10078 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10079 operator[] test with gdb_test because the old code didn't seem to
10080 be getting the quoting right with the new dejagnu.
10081
10082 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10083
10084 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10085 one from the path.
10086 * Makefile.in: Use a fresh expect if there is one, use runtest
10087 from the src tree if there is one.
10088
10089 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10090
10091 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10092 next over recursive call. Revise the tests from that point on
10093 (which had been skipped) to match GDB's actual (correct) output.
10094
10095 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10096 with next over a breakpoint whose condition is false.
10097
10098 * gdb.t00/help.exp: Comment out "help set print" tests just like
10099 (and for same reason as) "help set" test.
10100
10101 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10102
10103 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10104 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10105
10106 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10107
10108 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10109 necessary gdb_target_udi.
10110
10111 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10112
10113 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10114 1838 and 2417; they are fixed.
10115
10116 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10117 gdb.t03/ptype.exp (ptype structure, ptype union):
10118 Remove xfails; the test is looser than when the xfails were added.
10119
10120 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10121 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10122
10123 * gdb.t01/run.exp: Only run shell test if isnative.
10124
10125 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10126 since "run" automatically loads if necessary. Call gdb_target_udi
10127 after the "file" since "file" kills any execution target.
10128
10129 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10130 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10131 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10132 argument for UDI.
10133
10134 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10135
10136 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10137
10138 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10139
10140 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10141
10142 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10143 properly quoting regexps. This makes the second argument to
10144 demangle a fixed string, which matches the callers, instead of a
10145 shell-style pattern which is what the previous implementation
10146 used. Update some of the callers.
10147
10148 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10149
10150 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10151 (comib_nullified_tests): Fix typo.
10152 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10153 strings. No longer expected to fail.
10154
10155 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10156 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10157 strings. No longer expected to fail.
10158
10159 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10160 string. No longer expected to fail.
10161
10162 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10163
10164 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10165 No longer expected to fail.
10166
10167 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10168 string. No longer expected to fail.
10169
10170 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10171
10172 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10173 only in the names (I probably got most of them). I was even
10174 generous with some which differed in underscores in names, and
10175 probably missed a few, and I *still* was able to remove almost a
10176 third of the file with almost no impact on testsuite coverage.
10177
10178 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10179
10180 * gdb.t00/default.exp: Match udi_attach error message as well as
10181 the one from child_attach.
10182
10183 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10184
10185 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10186
10187 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10188 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10189
10190 * Move test with enums and partial symbols back to
10191 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10192 Reverts the change of 26 May 93. Per today's change to
10193 stabs.texinfo, the behavior that weird.exp was expecting was
10194 unreasonable; what is important is that the compiler+gdb get
10195 things right, which happens with a recent gcc. Also fix the test
10196 to deal with native compilers which put out the stab gdb can't
10197 deal with.
10198
10199 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10200
10201 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10202 in the names. The main thing these accomplish is to slow things down.
10203 Many more such duplicates surely remain.
10204
10205 * gdb.t00/help.exp: Comment out "help support" test just like
10206 (and for same reason as) "help set" test.
10207
10208 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10209
10210 * gdb.t06/break.exp: Remove setup_xfails for
10211 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10212 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10213 about known bug in gcc to include up through 2.5.8.
10214 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10215 well as "_vb$".
10216 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10217 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10218 with latest gcc and gdb.
10219 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10220 well as "_vb$".
10221
10222 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10223
10224 * configure.in (hppa*-*-*): Also configure and build stabs-only
10225 tests.
10226
10227 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10228
10229 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10230 * gdb.t10/configure.in (hppa*-*-*): Use it.
10231
10232 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10233
10234 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10235
10236 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10237
10238 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10239 versions prior to 1.13.5.
10240
10241 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10242
10243 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10244 the prompt is at the start of a line.
10245
10246 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10247
10248 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10249 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10250 in the copr tests now.
10251 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10252 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10253 expected to fail.
10254
10255 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10256
10257 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10258 gdb.t31/chillvars.exp, lib/gdb.exp:
10259 Tweak to run under either version of expect.
10260 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10261 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10262 * gdb.t11/list.exp: Remove extraneous whitespace.
10263
10264 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10265
10266 * gdb.t16/printcmds.exp (test_print_strings): Accept
10267 "(unsigned char *) " before the string.
10268
10269 * TODO: Add notes about printing of fancy types and GDB expressions.
10270
10271 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10272
10273 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10274 * gdb.t06/configure.in: Don't try to compile signals test program
10275 if doing mips-idt-ecoff.
10276
10277 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10278
10279 * Most .exp files: Tweak to run under either version of expect.
10280
10281 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10282
10283 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10284 xfails; I'm not sure why they are failing, but not because of PR 1806.
10285
10286 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10287
10288 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10289 defined in lib/gdb.exp.
10290
10291 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10292
10293 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10294 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10295 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10296 have to be typeless.
10297
10298 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10299
10300 * TODO: Add suggestion for copyright year test.
10301
10302 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10303
10304 * configure.in (*-*-lynxos*): Add stabs tests.
10305
10306 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10307
10308 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10309 so insert a tab before any assembler directive in column zero.
10310
10311 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10312 stores.
10313 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10314 stores.
10315 (fpu_short_memory_tests): Likewise.
10316
10317 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10318
10319 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10320 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10321 .stabs directives in comments.
10322
10323 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10324
10325 * TODO: New file, describing tests we could write.
10326 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10327
10328 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10329
10330 * gdb.t06/signals.exp: Add kludge to force re-sync.
10331
10332 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10333 to xgdb instead of gdb, get out of gdb.
10334
10335 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10336
10337 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10338 for info.
10339
10340 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10341
10342 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10343 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10344 * gdb.stabs/hppa.sed: New sed script for the PA.
10345
10346 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10347
10348 * gdb.stabs: Re-write weird.def and configuration to use sed
10349 instead of cpp. sed is portable and POSIX; cpp is neither.
10350
10351 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10352
10353 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10354
10355 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10356
10357 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10358
10359 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10360
10361 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10362 "_vb$".
10363 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10364 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10365
10366 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10367
10368 * lib/gdb.exp: Comment out code which depends on non-existent
10369 `transform' procedure.
10370
10371 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10372
10373 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10374 * lib/gdb.exp: Transform tool name.
10375 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10376 1.1's new error handling system.
10377
10378 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10379
10380 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10381
10382 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10383
10384 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10385 They made pattern matching so slow that timeouts happened on
10386 heavily loaded systems. Now any output from "show print" which
10387 gets us back to the GDB prompt is a PASS.
10388
10389 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10390
10391 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10392
10393 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10394
10395 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10396
10397 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10398 It is not from PR 3220.
10399
10400 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10401
10402 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10403 just started failing because they depended on the order the
10404 subcommands are presented, or exact docstring text. This kind of
10405 test is a pain and has minimal benefit.
10406
10407 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10408
10409 * gdb.t09/corefile.exp: At end of test, use "core" command with
10410 no arguments.
10411
10412 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10413
10414 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10415 17}/Makefile.in: Make it possible to run the testsuite with Sun
10416 make and CC = cross gcc by adding explicit build rules for .o
10417 files.
10418
10419 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10420
10421 * gdb.t15/funcargs.exp: Don't put comments on same line as
10422 setup_xfail (@#$*%& tcl braindamage!).
10423
10424 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10425
10426 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10427
10428 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10429
10430 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10431 * gdb.t20/inherit.exp: remove three dumplicate entries.
10432
10433 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10434
10435 * gdb.t06/break.exp: For "next over recursive call", fail on any
10436 incorrect output, not just on "factorial (value=2)".
10437
10438 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10439
10440 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10441 working now. Add an xfail if accesing a bss variable causes
10442 a memory error if the target is not yet run.
10443
10444 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10445
10446 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10447 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10448 name of __st* demangling (2 strings). Did Kung really get the
10449 more than 95 others right without testing them?
10450
10451 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10452
10453 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10454
10455 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10456
10457 * configure.in (configdirs): Add gdb.disasm
10458 * gdb.disasm: New directory for GDB disassembler tests.
10459 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10460
10461 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10462
10463 * gdb.t00/help.exp: Don't test "help set".
10464
10465 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10466 from within expect statements. None of these happen anymore and
10467 they cause regressions to be silently unnoticed.
10468
10469 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10470 messages) about known failures with gcc cygnus-2.4.5-930417.
10471
10472 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10473 comp-info.exp so it gets built if it doesn't exist.
10474
10475 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10476 it is no longer used.
10477 * gdb.t13/comp-info.c: Removed.
10478
10479 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10480
10481 * gdb.t06/signals.exp: Add xfail for sun3.
10482
10483 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10484
10485 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10486 relevant because ^C doesn't get sent but failure can be reproduced
10487 interactively).
10488
10489 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10490
10491 * gdb.stabs/alpha.mt: New configuration file for alpha.
10492 * gdb.stabs/configure.in: Use it.
10493 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10494 sharing with alpha.mt, redefine long to word via preprocessor.
10495 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10496 for alpha.
10497 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10498 native cc.
10499 * gdb.t00/teststrategy.exp: Change expect string so that we
10500 consume the `(xgdb)' from the command echo and from the gdb prompt.
10501 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10502 gdb currently compares all values as long, so this failure probably
10503 applies to any configuration where LONGEST is bigger than a target int.
10504 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10505 with gcc.
10506 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10507 to handle opaque pointers, gcc is.
10508 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10509 as first argument. Include <sys/types.h> and change all operator
10510 new definitions to use size_t.
10511 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10512 now that we use size_t.
10513
10514 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10515
10516 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10517 a long or float array cast all array members to the same type.
10518 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10519 with 64 bit longs.
10520 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10521 on alpha.
10522 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10523
10524 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10525
10526 * gdb.t24 (demangle.exp): Constructors of templates have names like
10527 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10528 section 14.6 of the ARM.
10529
10530 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10531 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10532 accomplish little and slow down the testsuite.
10533
10534 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10535 Accept spaces various places.
10536
10537 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10538
10539 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10540 with watchpoint enabled.
10541
10542 * Makefile.in: Remove definition of CC and remove the second
10543 definition of CXX (the "CXX = gcc" one remains). These definitions
10544 were causing backquotes to be expanded within backquotes, which
10545 doesn't work.
10546
10547 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10548
10549 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10550
10551 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10552
10553 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10554 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10555 by mips cc and contains no stabs entries.
10556
10557 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10558
10559 * config/vx-gdb.exp: Use fake device to load files rather than
10560 NFS.
10561 * lib/gdb.exp: New proc to do "file" command.
10562 * config/unix-gdb.exp: Use new "file" proc.
10563
10564 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10565
10566 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10567 Rework board rebooting slightly.
10568 (gdb_exit): Don't exit from the remote shell; there isn't one.
10569 * gdb.stabs/weird.exp: If a program is being debugged already,
10570 kill it.
10571 * gdb.t04/setvar.exp: Stop and restart gdb.
10572 * gdb.t05/expr.exp: Likewise.
10573 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10574 restart gdb and reload the program.
10575 * gdb.t08/opaque.exp: Likewise.
10576 * gdb.t12/scope.exp: Likewise.
10577 * gdb.t13/bitfields.exp: Likewise.
10578 * gdb.t15/funcargs.exp: Likewise.
10579 * gdb.t20/classes.exp: Likewise.
10580 * gdb.t03/ptype.exp: Increase timeout.
10581 * gdb.t16/printcmds.exp (test_print_string_constants,
10582 test_print_array_constants): Likewise.
10583 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10584 * gdb.t20/classes.exp (do_tests): Likewise.
10585 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10586
10587 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10588
10589 * gdb.stabs: Renamed *wierd* to *weird*.
10590
10591 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10592
10593 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10594 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10595
10596 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10597
10598 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10599 (do_tests): Remove xfail for whatis on one_var and two_var.
10600
10601 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10602
10603 * Makefile.in: Made cross building work better by adding
10604 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10605
10606 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10607
10608 * gdb.t15/{return.c,return.exp,Makefile.in}:
10609 New test, currently commented out.
10610
10611 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10612
10613 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10614 still running and removes the leftover named socket so GDb can do
10615 clean restarts.
10616
10617 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10618
10619 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10620 console, not GDB.
10621 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10622 cross testing works better with "make check"
10623 * config/unix-gdb: Use default procedures for exit and version.
10624 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10625 with the newest VxWorks.
10626
10627 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10628
10629 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10630 old form.
10631
10632 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10633 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10634
10635 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10636
10637 * config/unix-gdb.exp: Remove this version of gdb_exit
10638 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10639 Rob says he'll look at it when he gets back to testing boards.
10640
10641 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10642
10643 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10644 an expected fail for certain ptype commands.
10645
10646 * gdb.t20/classes.exp: Update expected results of "ptype class
10647 Base1" to account for the constructor that now appears in the type.
10648
10649 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10650
10651 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10652 disappeared from list.
10653 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10654 "alldone" proc with call to cleanup and exit.
10655 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10656 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10657 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10658 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10659 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10660 "alldone" proc with simple returns that suppress remaining
10661 tests. The alldone proc went away many months ago.
10662
10663 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10664
10665 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10666
10667 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10668
10669 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10670
10671 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10672 as vax gdb will display them.
10673
10674 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10675
10676 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10677 optimizers.
10678
10679 * scope.exp: Change "bad value for localval" messages so each one
10680 is unique.
10681
10682 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10683 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10684
10685 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10686
10687 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10688
10689 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10690 doesn't exist (due to optimization).
10691
10692 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10693
10694 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10695 contains \r because the filename is long.
10696
10697 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10698 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10699
10700 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10701
10702 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10703 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10704 Ultrix.
10705 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10706 int tests.
10707 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10708
10709 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10710
10711 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10712
10713 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
10714 to match does not match the passing case but still matches the
10715 failing case.
10716
10717 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10718
10719 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10720
10721 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10722
10723 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10724 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10725 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10726 Remove various versions of gdb_exit.
10727 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10728 gdb_exit.
10729 * config/unix-gdb.exp: gdb_exit remains here, and should override
10730 the generic version, since it's doing a lot of wierd stuff that
10731 the other versions aren't. FIXME, fold it in, or abandon this
10732 version.
10733
10734 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10735
10736 * gdb.t24/demangle.exp: Add tests for PR 3220.
10737
10738 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10739
10740 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10741
10742 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10743
10744 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10745 "i386-*-*". Works for i486 as well.
10746
10747 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10748 bug, and expand domain of xfail to all SVR4 systems, since the
10749 actual problem is likely to be in generic SVR4 /proc support.
10750
10751 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10752
10753 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10754
10755 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10756
10757 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10758 xfails for other systems. Match a missing 'Continuing.' as an
10759 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10760
10761 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10762 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10763 Only issue warning for missing executables if -all option is used.
10764
10765 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10766 file if -all option is used. It's like an unpredictable XFAIL.
10767
10768 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10769
10770 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10771 for dynamically linked binaries.
10772
10773 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10774
10775 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10776
10777 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10778 to state that this is a known bug in old versions of g++.
10779
10780 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10781
10782 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10783 while waiting for `Continuing'.
10784
10785 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10786
10787 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10788 in text, data, and bss.
10789 * gdb.t10/nodebug.c: Add local and global test variables for
10790 initialized and uninitialized data.
10791
10792 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10793
10794 * config/unix-gdb.exp (gdb_exit): Add "wait".
10795
10796 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10797
10798 * gdb.t06/signals.exp: xfail the continue from the handler for all
10799 targets.
10800
10801 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10802 function with watchpoints enabled, the i386 call dummy starts with
10803 a call.
10804
10805 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10806 386 bsd names its corefiles.
10807
10808 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10809
10810 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10811 compilers don't grok it.
10812 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10813 with small octal ints rather than character constants, which
10814 are signed and might not fit if first promoted to int.
10815
10816 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10817
10818 * gdb.t09/Makefile.in (clean): Remove corefile.
10819
10820 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10821
10822 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10823
10824 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10825 and Jim Kingdon (kingdon@cygnus.com)
10826
10827 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10828 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10829 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10830
10831 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10832
10833 * gdb.t17/interrupt.exp: Add xfail for hppa.
10834
10835 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10836
10837 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10838 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10839 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10840 to determine signed-ness of bitfields and use the result to setup
10841 the xfail.
10842 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10843 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10844 call line is reached if necessary.
10845
10846 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10847
10848 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10849
10850 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10851
10852 * gdb.t06/break.exp: Also test `clear' command.
10853
10854 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10855
10856 * gdb.t00/teststrategy.exp: Remove extra quote.
10857
10858 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10859 watchpoint enabled to be for all non-68k machines.
10860
10861 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10862
10863 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10864
10865 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10866 targets use aout.mt instead of ecoff.mt as gas understands
10867 standard aout format.
10868
10869 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10870
10871 * lib/gdb.exp (runto): Don't insist that function we are running to
10872 was compiled with -g.
10873
10874 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10875
10876 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10877 to get back into the read system call.
10878 Accept leading newline in case where we woke it up.
10879
10880 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10881
10882 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10883 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10884 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10885 enable ecoff configuration.
10886
10887 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10888
10889 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10890
10891 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10892
10893 * gdb.t16/printcmds.exp: Add another printf test.
10894
10895 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10896
10897 * configure.in: If configured -with-stabs on any target, add
10898 stabsdirs to configdirs.
10899
10900 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10901
10902 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10903 fun" so pattern does not match the command itself.
10904
10905 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10906
10907 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10908
10909 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10910
10911 * gdb.t17/interrupt.exp: Test for more things.
10912
10913 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10914
10915 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10916 compiler arranges the code and line numbers.
10917
10918 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10919
10920 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10921
10922 * gdb.t00/help.exp: Increase expect input buffer size.
10923
10924 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10925
10926 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10927
10928 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10929
10930 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10931
10932 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10933 [0-9]*, not just [0-9].
10934
10935 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10936
10937 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10938
10939 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10940
10941 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10942
10943 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10944
10945 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10946
10947 * gdb.t06/signals.c: Add xfails for sun3.
10948
10949 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10950
10951 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10952 test_stepping tests.
10953
10954 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10955
10956 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10957
10958 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10959
10960 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10961 rather than actually putting it through cpp twice.
10962
10963 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10964
10965 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10966
10967 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10968 no longer needed.
10969
10970 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10971
10972 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10973
10974 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10975 C++ features prints as "struct", make it a pass, not an xfail.
10976
10977 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10978
10979 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10980 Don't require VA to print as "class" rather than "struct".
10981
10982 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10983
10984 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10985
10986 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10987
10988 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10989
10990 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10991
10992 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10993 order.
10994
10995 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10996
10997 * gdb.t16/printcmds.exp: Add printf tests.
10998
10999 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
11000
11001 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
11002
11003 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
11004
11005 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
11006 pass counts, to counteract any existing or future setup_xfails.
11007
11008 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11009
11010 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
11011 {BEGIN,END}_COMMON for common block instead of STAB.
11012 * gdb.stabs/wierd.exp: Add xfail for rs6000.
11013
11014 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
11015 intp_var should be N_GSYM not N_LSYM.
11016 wierd-aout.S: Use a label for the value of the N_SO.
11017 wierd.def: Remove all backslashes.
11018 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
11019
11020 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11021
11022 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
11023 get the expected next to inheritance3.
11024
11025 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11026
11027 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
11028 now that gcc-2.4 gets it right.
11029
11030 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11031
11032 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
11033
11034 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
11035 generating comp-info.exp which works for cross-compilation.
11036
11037 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11038
11039 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11040 "*-*-sysv4.*".
11041
11042 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11043
11044 * gdb.t01/run.exp: Start with a fresh gdb.
11045 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11046 SVR4.x.
11047
11048 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11049
11050 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11051 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11052 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11053 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11054 things to remove.
11055
11056 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11057
11058 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11059 test cases from bug reports.
11060
11061 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11062
11063 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11064 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11065 avoid spurious xfails.
11066 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11067 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11068 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11069
11070 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11071
11072 * gdb.t00/teststrategy.exp: Rework to provide more useful
11073 description of each test, fix problem with systems that define
11074 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11075 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11076 results for "next over recursive call" so timeouts aren't taken
11077 by error.
11078
11079 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11080
11081 * gdb.t12/scope.exp: Test printing of variables before run.
11082
11083 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11084 printed in wrong order due to sorting.
11085
11086 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11087
11088 * gdb.t00/teststrategy.exp: Fix expected results for printing
11089 user entered string constant. Is array of char, prints with no
11090 address.
11091
11092 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11093 commands.
11094 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11095 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11096 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11097 of struct of char arrays.
11098 * gdb.t00/radix.exp: New tests for radix commands.
11099
11100 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11101
11102 * gdb.t16/printcmd.exp: Print a variable before running program
11103 (with xfail for AIX).
11104
11105 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11106
11107 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11108
11109 * gdb.t16/printcmd.exp: Don't print variables before running program.
11110
11111 * gdb.t06/break.exp: Don't require envp argument to main.
11112
11113 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11114
11115 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11116 Add xfails for rs6000.
11117
11118 * gdb.t02/whatis.exp: Change other tests not to re-test something
11119 we already tested.
11120
11121 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11122 each type used has a variable of that type.
11123
11124 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11125
11126 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11127
11128 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11129
11130 * configure.in: change srctrigger to be a file, not a directory
11131
11132 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11133
11134 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11135
11136 * gdb.t11/list.exp: Fixed a couple of typos.
11137
11138 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11139
11140 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11141 is fixed and PR is closed.
11142 * gdb.t16 (gdbme.c): Add simple test string variable.
11143 * gdb.t16 (printcmds.exp): Add tests with simple test string
11144 variable, primarily for boundaries on "set print elements".
11145
11146 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11147
11148 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11149 Make leading 0's optional and don't expect a tab in the middle
11150 of the number.
11151
11152 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11153
11154 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11155 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11156 don't end command passed to gdb_test with newline.
11157
11158 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11159 signed keyword away, don't expect signed bitfields to be signed.
11160
11161 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11162 printing with only as many 1's as are in the field as well as printing
11163 with 32 1's (see comment).
11164
11165 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11166
11167 * gdb.t00/default.exp: Start with a fresh gdb.
11168 * configure.in (configdirs): Remove gdb.t31 until the chill
11169 compiler works again. It no longer is able to find chillrt0
11170 since it isn't in libchill.a anymore.
11171 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11172 wierd.o, make more modular.
11173 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11174 spurious newlines that caused problems.
11175
11176 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11177
11178 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11179 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11180 gdb.stabs/wierd.{exp,def}: Many new tests.
11181
11182 * gdb.t00/default.exp: update info line for new message.
11183
11184 * gdb.t02/{whatis.exp,gdbme.c}:
11185 Test that "char *" doesn't print as "caddr_t".
11186
11187 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11188
11189 * gdb.t00/help.exp: Use .* in place of some help messages which
11190 just changed.
11191 gdb.t00/default.exp: Update "info frame" test for new message.
11192 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11193 Remove some xfails
11194
11195 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11196
11197 * gdb.t03/{gdbme.c,ptype.exp}:
11198 Add tests for typedef'd struct and union without tags.
11199 Also check "whatis" on a variable of a typedef'd enum without a tag.
11200
11201 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11202 PRMS 1823; the bug still exists but isn't reproduced by this test
11203 anymore), and remove rs6000 XFAIL (the bug is fixed).
11204
11205 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11206 duplicated from whatis.exp. For those that are left, accept
11207 "long", "long int", or "int" for long variables (whatis.exp already
11208 has an XFAIL for "int", so no need to fail it here).
11209
11210 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11211 Deal with GCC's names for types now that GDB uses the compiler's names.
11212
11213 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11214 setup_xfail's for sunos4. If we #defined the signed keyword away,
11215 don't expect GDB to know that char it is signed.
11216
11217 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11218
11219 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11220
11221 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11222 should work on any system, regardless of debugging format.
11223 * gdb.t21/demangle.exp: Move to gdb.t24.
11224 * gdb.t24/demangle.exp: Move from gdb.t21.
11225 * gdb.t24/{Makefile.in, configure.in}: New files.
11226
11227 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11228
11229 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11230 * gdb.stabs: New directory.
11231
11232 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11233
11234 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11235 not just "Quit anyway?".
11236
11237 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11238
11239 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11240 that all setup_xfails are immediately followed by clear_xfails.
11241
11242 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11243
11244 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11245 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11246 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11247 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11248 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11249 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11250 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11251 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11252 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11253 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11254 gdb.t31/chillvars.exp, lib/gdb.exp:
11255 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11256 bug-gdb@prep.ai.mit.edu.
11257
11258 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11259
11260 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11261 with 0.0, not integer 0.
11262
11263 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11264
11265 * gdb.t06/break.exp: Update for "Kill the program" message change.
11266
11267 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11268
11269 * Makefile.in (GDBFLAGS): Set to -nx.
11270 * Makefile.in (site.exp): Use GDBFLAGS.
11271
11272 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11273
11274 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11275 Makefiles.
11276 (check): depend on just-check.
11277 (just-check): added so that tests can be run without a noop
11278 build pass.
11279
11280 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11281
11282 Switch to using configure's configdirs.
11283 * Makefile.in (Makefile): add configure.in dependency.
11284 (SUBDIRS): removed redundant assignment.
11285 * configure.in: switch subdirs assignment to configdirs.
11286 * gdb.t*/configure.in: new files.
11287
11288 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11289
11290 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11291 works.
11292
11293 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11294
11295 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11296 in explicit rules. Apparently this is not supported by some makes.
11297
11298 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11299
11300 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11301
11302 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11303
11304 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11305 disappeared.
11306
11307 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11308
11309 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11310
11311 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11312
11313 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11314 watchpoint problem that is now fixed.
11315 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11316 uninitialized convenience variables.
11317 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11318 structures.
11319
11320 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11321
11322 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11323 which causes expect to get out of sync with gdb on long output
11324 from help set.
11325 * gdb.t09/corefile.exp: Make expected pattern for core file
11326 failing signal and frame output format less sun specific.
11327
11328 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11329
11330 * gdb.t31/chillvars.exp: Add and remove initial dummy
11331 breakpoint, so that symbol table is forced in.
11332 (Needed at least on Sunos4, though it seems not SVR4.)
11333 * gdb.t31/chillvars.exp: Update for changed output format.
11334
11335 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11336
11337 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11338
11339 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11340
11341 * Makefile.in: Added --srcdir when invoking runtest, removed the
11342 need for a local config file. (optional now)
11343
11344 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11345
11346 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11347 failure count used to force early termination. Add some more
11348 expected failures for gnu style demangling.
11349
11350 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11351
11352 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11353 pmi variable from gdb.t20/gdbme to get optimized away.
11354 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11355 Check for written corefile upon timeout _and_ eof.
11356
11357 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11358
11359 * config/unix-gdb.exp: Add missing return 0.
11360
11361 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11362
11363 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11364 test termination.
11365
11366 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11367
11368 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11369 disappeared.
11370
11371 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11372
11373 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11374 time as i860 support works.
11375
11376 * gdb.t15/funcargs.exp: Fix expected outputs to include
11377 "backtrace 100\r" rather than just "backtrace\r", to match last
11378 change.
11379
11380 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11381
11382 * config/udi-gdb.exp (gdb_exit): Remove close command.
11383 (gdb_target_udi): New procedure to set the UDI target.
11384 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11385 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11386 Added waits for prompts after several question responses. Added
11387 some more responses used by a29k-amd-udi-gdb.
11388 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11389 pass different arguments, restart UDI connection after program
11390 completion.
11391 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11392 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11393 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11394 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11395 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11396 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11397 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11398 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11399 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11400 after program completion.
11401 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11402 compiled with a SELECT_VECS setting.
11403 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11404 infinite recursion.
11405
11406 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11407 Added checks for COFF results, and made them expected failures for
11408 all targets. It would be better to make them expected failures
11409 for COFF targets only.
11410
11411 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11412
11413 * Makefile.in: add null dvi target, don't bother to recurse
11414 through test directories for info and install-info; rename
11415 $(datadir) to be dejagnu instead of deja-gnu
11416
11417 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11418
11419 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11420 compiler to coredump.
11421 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11422 code.
11423
11424 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11425
11426 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11427 coredump.
11428 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11429 code.
11430
11431 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11432
11433 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11434 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11435 which in a shell. Deletes xgdb when done.
11436 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11437 Tests the return from the "set height" or "set width" commands.
11438 Added a few return codes where needed.
11439
11440 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11441
11442 * Makefile.in (SUBDIRS): Add gdb.t17.
11443 * configure.in (subdirs): Add gdb.t17.
11444 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11445 files to test gdb's calling of functions in the inferior with
11446 the correct arguments and gdb's ability to retrieve any
11447 result returned.
11448
11449 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11450
11451 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11452 may be called after gdb goes away. Previous versions of expect
11453 needed these to avoid file descriptor leaks, but they cause
11454 errors with the current revision of expect.
11455 * gdb.t00/gdbvars.exp: Use -re on expected output after
11456 setting sevenbit-strings.
11457 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11458 to set sevenbit-strings consistent across tests.
11459 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11460 set sevenbit-strings consistent across tests.
11461
11462 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11463
11464 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11465 expected output to match current "expect" expectations.
11466
11467 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11468
11469 * gdb.t00/default.exp: Change expected output for default "source"
11470 command, to match new gdb behavior which requires a filename to
11471 source.
11472
11473 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11474
11475 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11476 expected fail for i486-*-* that misses the marker2 function.
11477 * gdb.t10/crossload.exp (bfddefault): Allow successful
11478 recognition of a format to pass even if no symbols are found.
11479 Explicitly catch failures where the format is not recognized
11480 or is ambiguous, and add the reason to the fail message.
11481 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11482 the cause is and invalid target and add reason to failure message.
11483 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11484 elf32-i386, elf32-sparc, and elf32-i860.
11485 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11486 Set up expected failure for 'filename'::variable scope resolution,
11487 which is now apparently broken on all targets.
11488 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11489 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11490 gdb.t23/templates.exp: Change failure for missing binfile into
11491 just a warning.
11492 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11493 references.
11494
11495 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11496
11497 * gdb.t00/default.exp: Add expected output for default "source"
11498 command, to match new gdb behavior.
11499 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11500
11501 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11502
11503 * config/*-gdb.exp: returns an error, rather than exiting on
11504 internal errors.
11505
11506 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11507
11508 * gdb.t03/gdbme.c: Add pointer to struct variable.
11509 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11510 referencing struct members.
11511
11512 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11513
11514 * configure.in (mips-idt-ecoff): New target.
11515 * config/mips-gdb.exp: New file for remote board using MIPS remote
11516 debugging protocol.
11517
11518 * Redid configuration scheme. Removed gdb.t*/configure.in.
11519 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11520 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11521 distclean targets. Built executables via .o files. Adjusted
11522 tests to account for source files in $(srcdir) rather than
11523 $(objdir).
11524 * lib/gdb.exp (runto): Don't expect () after the function name,
11525 because it may have arguments.
11526
11527 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11528
11529 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11530 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11531 expected failures for mips-idt-* and mips-sgi-*.
11532 * gdb.t00/default.exp (attach): Kill process if requested.
11533 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11534 that does not read core files.
11535 * gdb.t01/run.exp: Removed checks for exit status code.
11536 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11537 it is linked in.
11538 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11539 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11540 appropriate, rather than doing it by hand.
11541 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11542 execution.
11543 * gdb.t10/crossload.exp: Kill existing program if needed.
11544 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11545 appropriate, rather than doing it by hand. Always increase
11546 timeout for this test, not just for VxWorks.
11547
11548 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11549
11550 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11551 of Chill STRUCT types and STRUCT values.
11552 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11553 than "char".
11554 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
11555 struct2): New struct definitions and initializations to test
11556 simple Chill STRUCT types.
11557
11558 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11559
11560 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11561 the null byte at the end of strings.
11562 * gdb.t00/default.exp: Make show version insensitive to copyright
11563 date.
11564 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11565 to avoid dependencies on target char signedness.
11566 * gdb.t16/printcmds.exp: Update expected results for explicitly
11567 unsigned char.
11568 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11569 now work.
11570 * gdb.t21/demangle.exp: Add many more patterns for template
11571 demangling, most of them being expected failures.
11572 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11573 string we are matching for, to match on the whole string.
11574 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11575 and fix a whole bunch that had incorrect expected output but were
11576 passing anyway because of the bug in "proc demangle".
11577 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11578 type.
11579 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11580
11581 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11582
11583 * gdb/testsuite: made modifications to testcases, etc., to allow
11584 them to work properly given the reorganization of deja-gnu and the
11585 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11586
11587 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11588
11589 * gdb/testsuite: Initial creation of gdb/testsuite.
11590 Migrated dejagnu testcases and support files for testing nm to
11591 gdb/testsuite from deja-gnu. These files were moved "as is"
11592 with no modifications. This migration is part of a major overhaul
11593 of dejagnu. The modifications to these testcases, etc., which
11594 will allow them to work with the new version of dejagnu will be
11595 made in a future update.
11596
11597 For additional changes see gdb.mi/ChangeLog-1999-2003.
11598 \f
11599 Local Variables:
11600 mode: change-log
11601 left-margin: 8
11602 fill-column: 74
11603 version-control: never
11604 End:
This page took 0.336459 seconds and 4 git commands to generate.