2004-02-04 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
7bfdd688
FF
12004-02-04 Fred Fish <fnf@redhat.com>
2
3 * gdb.arch/gdb1431.c: Add underbar prefixed version of global
4 function symbols and update copyright years.
5 * gdb.arch/gdb1291.c: Ditto.
6
aaa08ee4
MC
72004-02-03 Michael Chastain <mec.gnu@mindspring.com>
8
9 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
10
dbad7755
MC
112004-02-03 Michael Chastain <mec.gnu@mindspring.com>
12
13 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
14
ec4646ef
MC
152004-02-03 Michael Chastain <mec.gnu@mindspring.com>
16
17 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
18
1b802196
FF
192004-02-02 Fred Fish <fnf@redhat.com>
20
21 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
22 remote targets. Update copyright years.
23
18fe2033
JJ
242004-02-02 Jeff Johnston <jjohnstn@redhat.com>
25
26 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
27 support.
28 * gdb.base/langs.exp: Fix test which attempts to create
29 breakpoint on non-existent function to handle new pending
30 support.
31 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
32 a breakpoint.
33 * gdb.base/pending.exp: New test.
34 * gdb.base/pending.c: New file.
35 * gdb.base/pendshr.c: Ditto.
36
8d577d32
DC
372004-02-02 David Carlton <carlton@kealia.com>
38
39 * gdb.cp/overload.exp: Add overloadNamespace tests.
40 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
41 (overloadNamespace, XXX): New.
42 (main): Call XXX::marker2.
43
3ad13771
FF
442004-02-01 Fred Fish <fnf@redhat.com>
45
46 * gdb.base/dump.exp: Use runto_main instead of "runto main".
47 * gdb.base/finish.exp: Ditto.
48 * gdb.base/gcore.exp: Ditto.
49 * gdb.base/huge.exp: Ditto.
50 * gdb.base/info-proc.exp: Ditto.
51 * gdb.base/return2.exp: Ditto.
52 * gdb.threads/gcore-thread.exp: Ditto.
53
44c75849
DJ
542004-02-01 Daniel Jacobowitz <drow@mvista.com>
55
56 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
57
005bc093
MK
582004-02-01 Mark Kettenis <kettenis@gnu.org>
59
60 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
61 that opening the file succeeds on OpenBSD.
62
c47cebdb
DJ
632004-02-01 Daniel Jacobowitz <drow@mvista.com>
64
65 * gdb.threads/thread-specific.c: New file.
66 * gdb.threads/threads-specific.exp: New test script.
67 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
68 to expect_out.
69
5a01311c
MK
702004-02-01 Mark Kettenis <kettenis@gnu.org>
71
72 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
73 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
74 only on the "print_small_structs from print_long_arg_list" test.
75
ce22a4f1
DJ
762004-02-01 Daniel Jacobowitz <drow@mvista.com>
77
78 * gdb.base/completion.exp: Kill a stray backslash.
79
80 From Jim Ingham <jingham@apple.com>:
81 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
82 agrees with the result from sending a tab.
83
abbab9d3
DJ
842004-01-31 Daniel Jacobowitz <drow@mvista.com>
85
86 * gdb.base/chng-syms.exp: Remove stray newline.
87
53904d1e
MK
882004-01-31 Mark Kettenis <kettenis@gnu.org>
89
90 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
91 *-*-openbsd*.
92 * gdb.asm/openbsd.inc: New file.
93
3a4b3aac
MK
942004-01-30 Mark Kettenis <kettenis@gnu.org>
95
96 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
97 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
98 *-*solaris2*. Remove commented out default settings for
99 asm-flags. Replace gdb_compile with target_link.
100
ebac27b4
MC
1012004-01-29 Michael Chastain <mec.gnu@mindspring.com>
102
103 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
104 for all tests. Remove old hp-ux and cygnus xfail cases.
105
d8679d84
PH
1062004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
107
108 * gdb.base/chng-syms.exp: New file.
109 * gdb.base/chng-syms.c: New file.
110
0a55bc22
MC
1112004-01-24 Michael Chastain <mec.gnu@mindspring.com>
112
113 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
114 Provide arms for current output in all my configurations.
115
94b8e876
MC
1162004-01-24 Michael Chastain <mec.gnu@mindspring.com>
117
118 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
119 * lib/compiler.cc: Likewise.
120 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
121 get the right preprocessor. Eval the output directly. Remove
122 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
123 hp_f77_compiler and hp_f90_compiler completely.
124 (gdb_preprocess): Delete.
125 (get_compiler): Delete.
126
7cf03d44
MK
1272004-01-24 Mark Kettenis <kettenis@gnu.org>
128
129 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
130 <string.h>.
131
68b6dce9
NR
1322004-01-24 Nick Roberts <nick@nick.uklinux.net>
133
134 * gdb.mi/mi-stack.exp: Update copyright.
135
b368761e
DC
1362004-01-23 David Carlton <carlton@kealia.com>
137
138 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
139 test for cp_lookup_transparent_type.
140 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
141 call them.
142
f2061b53
DJ
1432004-01-23 Daniel Jacobowitz <drow@mvista.com>
144
145 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
146 after -var-update.
147
37fc574a
DC
1482004-01-23 David Carlton <carlton@kealia.com>
149
150 * gdb.cp/namespace.cc (C::ensureRefs): New.
151 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
152
8e94b928
NR
1532004-01-20 Nick Roberts <nick@nick.uklinux.net>
154
155 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
156 case "-stack-list-locals 2".
157 * gdb.mi/mi-var-child.exp: Test for case
158 "-var-list-children --all-values NAME".
159
997b0952
MC
1602004-01-18 Michael Chastain <mec.gnu@mindspring.com>
161
162 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
163
52470da3
MK
1642004-01-18 Mark Kettenis <kettenis@gnu.org>
165
7049b4b8
MK
166 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
167 used with gdb_test_multiple.
168
52470da3
MK
169 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
170 read at address 0. This fixes PR testsuite/1504.
171
da6012e5
DJ
1722004-01-18 Daniel Jacobowitz <drow@mvista.com>
173
174 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
175 Remove downloading, guessing the host executable, the calls to
176 gdb_file_cmd and gdb_target_cmd, and "load" support.
177 (infer_host_exec): New function broken out from gdb_load.
178 (gdb_load): New wrapper for gdbserver_gdb_load.
179 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
180 gdb_target_cmd. Use -target-select.
181 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
182 Download binaries to the host. Clear last_mi_remote_file when
183 we load a new binary.
184 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
185 call gdbserver_gdb_load and mi_gdb_target_cmd.
186
32c70722
MC
1872004-01-17 Michael Chastain <mec.gnu@mindspring.com>
188
189 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
190 type patterns.
191
b0cecf36
MC
1922004-01-17 Michael Chastain <mec.gnu@mindspring.com>
193
194 * gdb.cp/templates.exp: Fix typo in test name of
195 "print Foo<volatile char*>::foo".
196
4120d7e6
MC
1972004-01-15 Michael Chastain <mec.gnu@mindspring.com>
198
199 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
200
f679e530
BE
2012004-01-16 Ben Elliston <bje@wasabisystems.com>
202
203 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
204 (clean mostlyclean): Remove empty rm.
205
091c48f6
MC
2062004-01-15 Michael Chastain <mec.gnu@mindspring.com>
207
208 * gdb.base/setvar.exp: Add copyright years.
209
3e5fc8d2
DC
2102004-01-14 David Carlton <carlton@bactrian.org>
211
212 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
213 PR c++/1511 and update coment.
214 * gdb.cp/templates.exp: Update patterns to match current output.
215 If changes involve something other than whitespace, KFAIL
216 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
217
63d06c5c
DC
2182004-01-14 David Carlton <carlton@kealia.com>
219
220 * gdb.cp/namespace.exp: Add tests involving classes defined within
221 namespaces.
222 * gdb.cp/namespace.cc (C::CClass): New.
223 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
224
a51dab88
EZ
2252004-01-14 Elena Zannoni <ezannoni@redhat.com>
226
227 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
228 what debug info we have. Print a better message if something goes
229 wrong while producing the separate debug info file.
230
a476ccc9
MC
2312004-01-14 Michael Chastain <mec.gnu@mindspring.com>
232
233 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
234
f453692c
MC
2352004-01-14 Michael Chastain <mec.gnu@mindspring.com>
236
237 * gdb.base/callfuncs.c: Add copyright notice.
238
f40063a5
MC
2392004-01-13 Michael Chastain <mec.gnu@mindspring.com>
240
241 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
242 inheritance. PR gdb/1498, PR gcc/13539.
243
19ac3974
EZ
2442004-01-13 Elena Zannoni <ezannoni@redhat.com>
245
246 * gdb.threads/gcore-thread.exp: Prefix name of binary with
247 test specific name.
248 * gdb.mi/gdb669.exp: Ditto.
249 * gdb.mi/mi-pthreads.exp: Ditto.
250 * gdb.mi/mi1-pthreads.exp: Ditto.
251 * gdb.mi/mi2-pthreads.exp: Ditto.
252
56c97c6e
MC
2532004-01-12 Michael Chastain <mec.gnu@mindspring.com>
254
255 * gdb.cp/member-ptr.cc: Add copyright notice.
256
a0644324
MC
2572004-01-12 Michael Chastain <mec.gnu@mindspring.com>
258
259 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
260 some patterns for recent versions of gcc and hpacc. Delete
261 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
262 Delete tests that access a NULL pointer-to-member-data. This
263 script is still disabled for gcc.
264
32fabe09
EZ
2652004-01-12 Elena Zannoni <ezannoni@redhat.com>
266
267 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
268 escaped correctly.
269
1f8a6abb
EZ
2702004-01-12 Elena Zannoni <ezannoni@redhat.com>
271
272 * gdb.base/sepdebug.exp: New file.
273 * gdb.base/sepdebug.c: New file.
274 * lib/gdb.exp (separate_debug_filename): New procedure.
275 (gdb_gnu_strip_debug): New procedure.
276
48efe704
AC
2772004-01-12 Andrew Cagney <cagney@redhat.com>
278
279 * gdb.mi/ChangeLog: Delete file. Renamed to ...
280 * gdb.mi/ChangeLog-1999-2003: New file.
281
a9415475
AC
2822004-01-12 Andrew Cagney <cagney@redhat.com>
283
284 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
285 "Renaming a directory to a non-empty directory returns ENOTEMPTY
286 or EEXIST", treat EBUSY as an XFAIL.
287
83b8cf9d
MC
2882004-01-11 Michael Chastain <mec.gnu@mindspring.com>
289
290 * gdb.base/scope.exp: Remove obsolete setup_xfail for
291 hp_cc_compiler.
292
9939d2a8
MC
2932004-01-10 Michael Chastain <mec.gnu@mindspring.com>
294
295 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
296 decorations.
297
1ff8cadf
MC
2982004-01-10 Michael Chastain <mec.gnu@mindspring.com>
299
300 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
301 and "(aCC)" decorations. Remove obsolete doco about old
302 test results.
303
6fa9022e
MC
3042004-01-09 Michael Chastain <mec.gnu@mindspring.com>
305
306 * gdb.cp/exception.exp: Fix typo in doco.
307
209721fe
MK
3082004-01-09 Mark Kettenis <kettenis@gnu.org>
309
310 * gdb.base/gdb1476.exp: Fix typo.
311
ef11303e
MC
3122004-01-09 Michael Chastain <mec.gnu@mindspring.com>
313
314 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
315 file.
316
041ab88c
MC
3172004-01-09 Michael Chastain <mec.gnu@mindspring.com>
318
319 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
320 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
321 Use gdb_compile. Remove restriction on gcc. Add some patterns
322 for recent version of gdb. Delete second half, which was a copy
323 of the first half with different build flags. This test is
324 still disabled because it is still not ready for production.
325
e36d075a
MC
3262004-01-08 Michael Chastain <mec.gnu@mindspring.com>
327
328 * gdb.cp/exception.cc: Add copyright notice.
329 * gdb.cp/exception.exp: Add a notice that this file is broken
330 because of line number changes caused by addition of copyright
331 notice.
332
42b190ad
MC
3332004-01-08 Michael Chastain <mec.gnu@mindspring.com>
334
335 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
336 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
337
8f25f06b
MC
3382004-01-08 Michael Chastain <mec.gnu@mindspring.com>
339
340 * gdb.cp/classes.exp: Accept gnu abi 2.
341 * gdb.cp/derivation.exp: Likewise.
342 * gdb.cp/overload.exp: Likewise.
343 * gdb.cp/virtfunc.exp: Likewise.
344
06ded8b8
MC
3452004-01-08 Michael Chastain <mec.gnu@mindspring.com>
346
347 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
348 semicolon after end of function.
349
77c26ae3
MC
3502004-01-07 Michael Chastain <mec.gnu@mindspring.com>
351
352 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
353 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
354 boilerplate code for compiling and running the program under
355 test. Add some string method tests.
356
20757486
MC
3572004-01-07 Michael Chastain <mec.gnu@mindspring.com>
358
359 * gdb.cp/bs15503.cc: Add copyright notice.
360 * gdb.cp/bs15503.exp: Adjust line number.
361
0fd3b503
MC
3622004-01-07 Michael Chastain <mec.gnu@mindspring.com>
363
364 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
365 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
366
10d1bea8
MC
3672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
368
369 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
370 hp_cc_compiler.
371
2789202a
MC
3722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
373
374 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
375 * gdb.cp/ctti.exp: Use the marker instead of "next".
376 With gcc, run further before bailing.
377
b862f14c
MC
3782004-01-07 Michael Chastain <mec.gnu@mindspring.com>
379
380 * gdb.cp/cttiadd.cc: Add copyright notice.
381 * gdb.cp/cttiadd1.cc: Likewise.
382 * gdb.cp/cttiadd2.cc: Likewise.
383 * gdb.cp/cttiadd3.cc: Likewise.
384
96da2469
MC
3852004-01-07 Michael Chastain <mec.gnu@mindspring.com>
386
387 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
388 Use gdb_test, gdb_test_multiple. Use floating-point values that
389 have exact representations in IEEE-ish formats.
390
053248ff
MC
3912004-01-07 Michael Chastain <mec.gnu@mindspring.com>
392
393 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
394 compilers. Delete duplicate call to get_compiler_info.
395 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
396 * gdb.base/volatile.exp: Likewise.
397
84acecdd
MK
3982004-01-07 Mark Kettenis <kettenis@gnu.org>
399
400 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
401 memory at address 0.
402
fe11a27f
MC
4032004-01-07 Michael Chastain <mec.gnu@mindspring.com>
404
405 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
406 to test for hp-ux assembler. Fix copyright years.
407
60ad077b
AC
4082004-01-07 Andrew Cagney <cagney@redhat.com>
409
410 * gdb.base/fileio.c (strerrno): Add "EBUSY".
411
1c9b8f33
AC
4122004-01-07 Andrew Cagney <cagney@redhat.com>
413
414 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
415 when creating the read-only file. From analysis by Roland McGrath
416 and Elena Zannoni.
417
753ccc7a
MC
4182004-01-06 Michael Chastain <mec.gnu@mindspring.com>
419
420 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
421
eca3e36b
MC
4222004-01-06 Michael Chastain <mec.gnu@mindspring.com>
423
424 * gdb.base/cvexpr.c: Be type-safe with function pointers and
425 data pointers.
426
f8d4bac4
MC
4272004-01-06 Michael Chastain <mec.gnu@mindspring.com>
428
429 * gdb.cp/m-static.exp: Compile one source file at a time.
430 Delete unused call to get_compiler_info.
431
9b4e0f94
MC
4322004-01-06 Michael Chastain <mec.gnu@mindspring.com>
433
434 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
435 * gdb.base/call-rt-st.exp: Likewise.
436 * gdb.base/nodebug.exp: Likewise.
437 * gdb.base/volatile.exp: Likewise.
438 * gdb.cp/ref-types.exp: Likewise.
439 * gdb.cp/templates.exp: Likewise.
440
023c1024
MK
4412004-01-05 Mark Kettenis <kettenis@gnu.org>
442
443 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
444
19703c4a
MC
4452004-01-05 Michael Chastain <mec.gnu@mindspring.com>
446
447 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
448 hppa*-hp-hpux*.
449
18b67037
MK
4502004-01-04 Mark Kettenis <kettenis@gnu.org>
451
ba6219c8
MK
452 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
453 x86_64-*-*.
454
18b67037
MK
455 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
456 sparc64-*-* and sparc*-solaris2*.
457
1bfbbb9d
MK
4582004-01-04 Mark Kettenis <kettenis@gnu.org>
459
460 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
461 return ${tests}" test. The ${tests} already mentions the
462 filename.
463
06846494
MC
4642004-01-02 Michael Chastain <mec.gnu@mindspring.com>
465
466 * gdb.cp/local.exp: Accept gcc abi 2.
467
3b0cb202
MC
4682004-01-02 Michael Chastain <mec.gnu@mindspring.com>
469
470 * gdb.cp/templates.exp: Accept gcc abi 2.
471
0643ec3f
MC
4722004-01-02 Michael Chastain <mec.gnu@mindspring.com>
473
474 * lib/compiler.cc: Remove supports_template_debugging.
475 * gdb.cp/templates.exp: Do not test supports_template_debugging.
476
d231d0b1
MC
4772004-01-01 Michael Chastain <mec.gnu@mindspring.com>
478
479 * gdb.cp/namespace.exp: Accept gcc abi 2.
480
44ffb27c
MC
4812004-01-01 Michael Chastain <mec.gnu@mindspring.com>
482
483 * gdb.cp/method.exp: Accept gcc abi 2.
484
184ad485
MC
4852004-01-01 Michael Chastain <mec.gnu@mindspring.com>
486
487 * gdb.cp/classes.exp: Generate identical results as old version.
488 * gdb.cp/derivation.exp: Likewise.
489 * gdb.cp/overload.exp: Likewise.
490 * gdb.cp/virtfunc.exp: Likewise.
491
116f09e7
MC
4922004-01-01 Michael Chastain <mec.gnu@mindspring.com>
493
494 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
495 mysterious bug with sourceware version of expect.
496
b1379776
MC
4972004-01-01 Michael Chastain <mec.gnu@mindspring.com>
498
499 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
500 current versions of gcc, including gcc abi 2. Remove gratuitous
501 restart of test program. Use gdb_test_multiple and gdb_test for
502 all tests. Add patterns to xfail missing "const" in "const char *"
503 and kfail PR gdb/1155.
504
6b7a4c0e
MC
5052004-01-01 Michael Chastain <mec.gnu@mindspring.com>
506
507 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
508 current versions of gcc, including gcc abi 2. Remove gratuitous
509 restart of test program. Use gdb_test_multiple and gdb_test for
510 all tests. Add patterns to kfail PR gdb/1498.
511
51615d72
MC
5122003-12-31 Michael Chastain <mec.gnu@mindspring.com>
513
514 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
515 current versions of gcc, including gcc abi 2. Use "breakpoint"
516 and "continue" instead of restarting the target program. Use
517 gdb_test_multiple and gdb_test for all tests.
518
7b79a9d7
MK
5192004-01-01 Mark Kettenis <kettenis@gnu.org>
520
521 * gdb.asm/asm-source.exp: Update copyright year. Link statically
522 for *-*-solaris2*.
523
1cd3489f
MC
5242003-12-31 Michael Chastain <mec.gnu@mindspring.com>
525
526 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
527 current versions of gcc, including gcc abi 2. Use "breakpoint"
528 and "continue" instead of restarting the target program several
529 times. Use gdb_test_multiple and gdb_test for all tests.
530
850742db
MC
5312003-12-18 Michael Chastain <mec.gnu@mindspring.com>
532
533 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
534 source files.
535
eb4bbda8
MC
5362003-12-16 Michael Chastain <mec.gnu@mindspring.com>
537
538 * gdb.base/environ.exp: Handle compiling test case from multiple
539 source files.
540
e42c7771
MC
5412003-12-16 Michael Chastain <mec.gnu@mindspring.com>
542
543 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
544
80e4b428
JB
5452003-12-17 Jim Blandy <jimb@redhat.com>
546
5f06973a
JB
547 * gdb.base/freebpcmd.c: Add copyright notice.
548
80e4b428
JB
549 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
550
0ab84fb7
MC
5512003-12-16 Michael Chastain <mec.gnu@mindspring.com>
552
553 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
554
1b3bb3d0
JB
5552003-12-13 Jim Blandy <jimb@redhat.com>
556
557 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
558
3a4c9371
KB
5592003-12-12 Kevin Buettner <kevinb@redhat.com>
560
561 * gdb.asm/frv.inc: New file.
562 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
563
a1dea79a
FF
5642003-12-09 Fred Fish <fnf@redhat.com>
565
566 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
567 functions to break1.c and leave prototypes behind. Add more
568 "set breakpoint NN here" comments.
569 * gdb.base/break1.c: New file.
570
571 * gdb.base/break.exp: Handle compiling test case from multiple
572 source files and change source file references as needed.
573 * gdb.base/completion.exp: Ditto.
574 * gdb.base/condbreak.exp: Ditto.
575 * gdb.base/define.exp: Ditto.
576 * gdb.base/ena-dis-br.exp: Ditto.
577 * gdb.base/info-proc.exp: Ditto.
578 * gdb.base/maint.exp: Ditto.
579 * gdb.base/until.exp: Ditto.
580
581 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
582 hardcoded line numbers.
583 * gdb.base/define.exp: Ditto.
584 * gdb.base/ena-dis-br.exp: Ditto.
585 * gdb.base/maint.exp: Ditto.
586 * gdb.base/until.exp: Ditto.
587
588 * gdb.base/completion.exp: Use "break1" for completion tests since
589 "break" is no longer a unique prefix.
590
5266b69c
AC
5912003-12-06 Andrew Cagney <cagney@redhat.com>
592
593 * gdb.base/structs.exp (test_struct_returns): When applicable, set
594 "return_value_unimplemented". When an unimplemented struct return
595 architecture, report incorrect values as a KFAIL
596
374451f0
MC
5972003-12-05 Michael Chastain <mec.gnu@mindspring.com>
598
599 * gdb.cp/rtti.exp: Accept new wording of warning from
600 cp_lookup_rtti_type.
601
ba9b20a7
MC
6022003-12-05 Michael Chastain <mec.gnu@mindspring.com>
603
604 Partial fix for PR testsuite/1456.
605 * gdb.base/scope.exp (test_at_main): Replace references to
606 gcc_compiled with calls to test_compiler_info.
607 (test_at_foo): Likewise.
608 (test_at_bar): Likewise.
609
b74b6d0b
MC
6102003-12-04 Michael Chastain <mec.gnu@mindspring.com>
611
612 Partial fix for PR testsuite/1456.
613 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
614 to test_compiler_info.
615
ccfa3402
MC
6162003-12-03 Michael Chastain <mec.gnu@mindspring.com>
617
618 * gdb.base/so-impl-ld.exp: Update copyright notice.
619
f6246aba
MC
6202003-12-02 Michael Chastain <mec.gnu@mindspring.com>
621
622 Partial fix for PR testsuite/1456.
623 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
624 to test_compiler_info.
625
13ae734a
MC
6262003-11-28 Michael Chastain <mec.gnu@mindspring.com>
627
628 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
629 from current versions of gdb. Clean up regular expressions.
630 Delete redundant timeout case.
631
d8e1cdee
MC
6322003-11-28 Michael Chastain <mec.gnu@mindspring.com>
633
634 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
635 from current versions of gdb. Clean up regular expressions.
636 Delete redundant timeout case.
637
96457b64
MC
6382003-12-01 Michael Chastain <mec.gnu@mindspring.com>
639
640 Partial fix for PR testsuite/1456.
641 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
642 gcc_compiled with call to test_compiler_info.
643
f35309fc
MC
6442003-11-30 Michael Chastain <mec.gnu@mindspring.com>
645
646 Partial fix for PR testsuite/1456.
647 * gdb.base/list.exp (test_list_function): Delete unused declaration
648 of gcc_compiled.
649
d7afdf9b
MC
6502003-11-29 Michael Chastain <mec.gnu@mindspring.com>
651
652 Partial fix for PR testsuite/1456.
653 * gdb.base/complex.exp: Replace reference to gcc_compiled with
654 call to test_compiler_info.
655
71507b56
MK
6562003-11-29 Mark Kettenis <kettenis@gnu.org>
657
658 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
659 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
660 it to create the appropriate note.inc.
661 * gdb.asm/asmsrc1.s: Include "note.inc".
662 * gdb.asm/netbsd.inc: New file.
663 * gdb.asm/empty.inc: New file.
664
f81f93f7
MC
6652003-11-28 Michael Chastain <mec.gnu@mindspring.com>
666
667 Partial fix for PR testsuite/1456.
668 * gdb.base/constvars.exp: Replace references to gcc_compiled with
669 calls to test_compiler_info.
670
9a77938e
MC
6712003-11-27 Michael Chastain <mec.gnu@mindspring.com>
672
673 Partial fix for PR testsuite/1456.
674 * gdb.base/volatile.exp: Replace references to gcc_compiled with
675 calls to test_compiler_info.
676
e8367dc7
MK
6772003-11-27 Mark Kettenis <kettenis@gnu.org>
678
679 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
680 pattern for the KFAILs.
681
526c61ee
AF
6822003-11-25 Adam Fedor <fedor@gnu.org>
683
684 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
685 * gdb.objc/objcdecode.m: New file.
686
28f2d600
AF
6872003-11-25 Adam Fedor <fedor@gnu.org>
688
689 * gdb.objc/nondebug.exp: Test for PR objc/1236.
690 * gdb.objc/nondebug.m: New file.
691
a3895cee
BE
6922003-11-26 Ben Elliston <bje@wasabisystems.com>
693
694 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
695 NetBSD as it does on FreeBSD. Modelled on a similar change by
696 Mark Kettenis on 2003-05-30.
697 (link-flags): Set to "--entry _start" regardless of target.
698 Special linker flags are to be appended to $link-flags.
699 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
700
c9f2c8a3
MC
7012003-11-25 Michael Chastain <mec.gnu@mindspring.com>
702
703 * gdb.cp/method.exp: Accept output of new demangler.
704
15a0587a 7052003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
706
707 * gdb/class2.exp: New file.
708 * gdb/class2.cc: New file.
709
3c00b570
MC
7102003-11-25 Michael Chastain <mec.gnu@mindspring.com>
711
712 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
713 of new demangler.
714
7027acc7
MK
7152003-11-23 Mark Kettenis <kettenis@gnu.org>
716
717 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
718 of gdb_test "run".
719
b0e1598a
MK
7202003-11-23 Mark Kettenis <kettenis@gnu.org>
721
722 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
723 "continue" into "run".
724
4d9eda44
MC
7252003-11-23 Michael Chastain <mec.gnu@mindspring.com>
726
727 Partial fix for PR testsuite/1456.
728 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
729 call to test_compiler_info.
730 * gdb.cp/ctti.exp: Likewise.
731 * gdb.cp/derivation.exp: Likewise.
732 * gdb.cp/member-ptr.exp: Likewise.
733 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
734 reference to gcc_compiled.
735
7362003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
737
738 Fix PR testsuite/1463.
739 * gdb.base/structs.exp (start_structs_test): Call
740 get_debug_format before using the debug format.
741
d422fe19
AC
7422003-11-22 Andrew Cagney <cagney@redhat.com>
743
744 * lib/gdb.exp (gdb_test_multiple): Add simple example.
745 * gdb.base/structs.exp: Use gdb_test_multiple.
746
039cf96d
AC
7472003-11-20 Andrew Cagney <cagney@redhat.com>
748
6882279b
AC
749 * gdb.base/structs.exp: Handle and recover from internal errors.
750 Replace "foo${n}" with "foo<n>" in test messages.
751
e53890ae
AC
752 * gdb.base/structs.exp: Update copyright. Rewrite.
753 * gdb.base/structs.c: Update copyright. Rewrite.
754
2b211c59
AC
755 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
756 resync count exceeded.
757
039cf96d
AC
758 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
759 from the internal error.
760 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
761 Original from Jim Blandy.
762 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 763
eac98b22
AC
7642003-11-19 Andrew Cagney <cagney@redhat.com>
765
766 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
767 KFAIL.
768
67455b2a
MK
7692003-11-17 Mark Kettenis <kettenis@gnu.org>
770
771 New testcase for PR backtrace/1435.
772 * gdb.arch/i386-unwind.exp: New file.
773 * gdb.arch/i386-unwind.c: New file.
774
853d6e5b
AC
7752003-11-17 Andrew Cagney <cagney@redhat.com>
776
777 * lib/gdb.exp (compiler_info): New global.
778 (test_compiler_info): New function.
779 (get_compiler_info): Set compiler_info.
780 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
781 "compiler_info" to gcc-<major>-<minor>.
782
38cf6e11
MC
7832003-11-15 Michael Chastain <mec.gnu@mindspring.com>
784
785 * gdb.trace/configure: Remove.
786
a50d3602
EZ
7872003-11-13 Elena Zannoni <ezannoni@redhat.com>
788
789 * gdb.base/break.c: Add comments to aid finding line numbers for
790 breakpoints.
791 * gdb.base/break.exp: Remove all references to explicit line
792 numbers.
793
d9407aaa
NC
7942003-11-11 Nick Clifton <nickc@redhat.com>
795
796 * gdb.base/shreloc.exp: Do not run for targets which do not
797 support shared objects.
798
db488fc1
CV
7992003-11-10 Corinna Vinschen <vinschen@redhat.com>
800
801 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
802 Don't run tests if nofileio flag is given.
803
6a90a18e
EZ
8042003-11-07 Elena Zannoni <ezannoni@redhat.com>
805
806 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
807 as well as 'Watchpoint'.
808
0b915e9c
EZ
8092003-11-06 Elena Zannoni <ezannoni@redhat.com>
810
811 Reported by Jim Ingham <jingham@apple.com>:
812 * gdb.base/annota1.exp: Match at least one occurrence of the
813 signal handler annotation.
814
d7e4b55f
EZ
8152003-11-06 Elena Zannoni <ezannoni@redhat.com>
816
817 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
818 as well as 'Watchpoint'.
819
2fe4e8d0
MC
8202003-11-05 Michael Chastain <mec@shout.net>
821
822 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
823
6ef88553
KW
8242003-11-03 Kris Warkentin <kewarken@qnx.com>
825
826 * gdb.arch/gdb1291.c: New test file.
827 * gdb.arch/gdb1291.exp: New test script.
828 * gdb.arch/gdb1431.c: New test file.
829 * gdb.arch/gdb1431.exp: New test script.
830
ae7dc4d8
MC
8312003-10-22 Michael Chastain <mec@shout.net>
832
833 * gdb.mi/pthreads.c: Add copyright notice.
834
c39d7427
MC
8352003-10-22 Michael Chastain <mec@shout.net>
836
837 * gdb.threads/pthreads.c: Add copyright notice.
838
8b7d96c1
MC
8392003-10-20 Michael Chastain <mec@shout.net>
840
841 * gdb.base/gdb1056.exp: New test script.
842
d1d69fdd
DJ
8432003-10-13 Daniel Jacobowitz <drow@mvista.com>
844
845 * gdb.threads/killed.exp: Use gdb_run_cmd.
846
7d605576
DJ
8472003-10-13 Daniel Jacobowitz <drow@mvista.com>
848
849 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
850 create a core file.
851 * gdb.threads/gcore-thread.exp: Likewise.
852
618ec112
CV
8532003-10-13 Corinna Vinschen <vinschen@redhat.com>
854
855 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
856 type, based on char type.
857 (struct bit_flags_short_t): New bitfield type, based on short type.
858 (init_bit_flags_char): New fuction.
859 (init_bit_flags_short): Ditto.
860 (print_bit_flags_char): Ditto.
861 (print_bit_flags_short): Ditto.
862 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
863
9367a73c
MC
8642003-10-11 Michael Chastain <mec@shout.net>
865
866 * gdb.base/call-rt-st.exp: Update copyright year.
867
1decf120
KI
8682003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
869
870 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
871 * gdb.disasm/sh3.s: Ditto.
872
5445b2ae
DJ
8732003-10-07 Daniel Jacobowitz <drow@mvista.com>
874
875 * gdb.threads/switch-threads.exp: New test.
876 * gdb.threads/switch-threads.c: New source file.
877
aec24853
CV
8782003-10-07 Corinna Vinschen <vinschen@redhat.com>
879
880 * gdb.base/ending-run.exp: Add sh specific case.
881
adc7428d
AC
8822003-10-06 Andrew Cagney <cagney@redhat.com>
883
884 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
885 * gdb.disasm/mn10200.exp: Delete obsolete file.
886
c9d37158
DJ
8872003-09-29 Daniel Jacobowitz <drow@mvista.com>
888
889 * ChangeLog: Correct an entry command.exp -> commands.exp.
890 * gdb.base/commands.exp (bp_deleted_in_command_test)
891 (temporary_breakpoint_commands): Check noargs.
892
79c2c32d
DC
8932003-09-25 David Carlton <carlton@kealia.com>
894
895 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
896 of some print tests, where appropriate. Add tests for C::D::cd,
897 E::ce, F::cXfX, G::XgX.
898 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
899
594e6d67
RE
9002003-09-25 Richard Earnshaw <rearnsha@arm.com>
901
902 * lib/java.exp (java_init): Import target_alias before using it.
903
10f0d451
DC
9042003-09-25 David Carlton <carlton@kealia.com>
905
906 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
907
274bcba0
EZ
9082003-09-23 Elena Zannoni <ezannoni@redhat.com>
909
910 * gdb.base/selftest.exp: Accomodate more instruction reordering
911 weirdness.
912
cdbf20f7
MC
9132003-09-17 Michael Chastain <mec@shout.net>
914
915 * gdb.cp/gdb1355.exp: New file.
916 * gdb.cp/gdb1355.c: New file.
917
71e06f80
CV
9182003-09-15 Corinna Vinschen <vinschen@redhat.com>
919
920 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
921 * gdb.asm/sh.inc: New file.
922
5c4e30ca
DC
9232003-09-11 David Carlton <carlton@kealia.com>
924
bd45b7af
DC
925 * gdb.cp/namespace.exp: Add tests for namespace types.
926 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
927 (test_namespace): New.
928
1c199746
EZ
9292003-09-11 Elena Zannoni <ezannoni@redhat.com>
930
931 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 932 * gdb.stabs/weird.exp: Ditto.
1c199746 933
04ed252f
MC
9342003-09-08 Michael Chastain <mec@shout.net>
935
936 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
937
d8a2d9e7
MC
9382003-09-07 Michael Chastain <mec@shout.net>
939
940 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
941 'parse error'.
942
161afb24
MK
9432003-09-07 Mark Kettenis <m.kettenis@osp.nl>
944
945 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
946
49f2741a
MC
9472003-08-30 Michael Chastain <mec@shout.net>
948
949 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
950 * gdb.gdb/observer.exp: Ditto.
951 * gdb.gdb/xfullpath.exp: Ditto.
952
8afa723e
MK
9532003-08-29 Mark Kettenis <kettenis@gnu.org>
954
955 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
956 *-*-*bsd*.
957
f31dfe3b
JJ
9582003-08-28 Jeff Johnston <jjohnstn@redhat.com>
959
960 * gdb.base/dump.exp: Skip for ia64.
961
4630e498
JJ
9622003-08-25 Jeff Johnston <jjohnstn@redhat.com>
963
964 * gdb.asm/asm-source.exp: Add ia64 support.
965 * gdb.asm/ia64.inc: New file.
966
1105b7ef
MC
9672003-08-22 Michael Chastain <mec@shout.net>
968
969 * gdb.cp: New directory.
970 * gdb.cp/*: Copy from gdb.c++/*.
971 * gdb.c++/*: Remove.
972 * Makefile.in: Change gdb.c++ to gdb.cp.
973 * configure.in: Ditto.
974 * configure: Regnerate.
975
c945b932
MK
9762003-08-18 Mark Kettenis <kettenis@gnu.org>
977
978 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
979 * gdb.arch/i386-prologue.c (gdb1338): Add function.
980
2b66634b
DJ
9812003-08-17 Daniel Jacobowitz <drow@mvista.com>
982
983 * mi-var-display.exp (-var-list-children weird): Accept function
984 pointers with argument types.
985 * mi1-var-display.exp (-var-list-children weird): Likewise.
986 * mi2-var-display.exp (-var-list-children weird): Likewise.
987
a356f73b
DJ
9882003-08-17 Daniel Jacobowitz <drow@mvista.com>
989
990 * gdb.base/annota3.exp: Add missing newline.
991
483417b8
MC
9922003-08-06 Michael Chastain <mec@shout.net>
993
994 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
995
c99c59c3
MS
9962003-08-12 Michael Snyder <msnyder@redhat.com>
997
998 * gdb.base/float.exp: Add test for SH.
999
55ed7501
MK
10002003-08-10 Mark Kettenis <kettenis@gnu.org>
1001
1002 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
1003
1a371f2e
EZ
10042003-08-07 Elena Zannoni <ezannoni@redhat.com>
1005
1006 * gdb.base/completion.exp: Remove reduntant completion test
1007 on filename.
1008
e0f353ce
EZ
10092003-08-07 Elena Zannoni <ezannoni@redhat.com>
1010
1011 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1012 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1013 gdb.trace/save-trace.exp: Make sure that full pathnames are
1014 escaped correctly.
1015
5710a1af
EZ
10162003-08-07 Elena Zannoni <ezannoni@redhat.com>
1017
1018 * configure.in: Don't generate config.h from config.hin.
1019 * configure: Regenerate.
1020 * config.hin: Remove file.
1021 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1022 * gdb.threads/pthreads.c: Ditto.
1023
dcd81ce9
DJ
10242003-08-07 Daniel Jacobowitz <drow@mvista.com>
1025
1026 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1027 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1028 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1029 Replace ld24 with seth/add3.
1030
6009d884
AC
10312003-08-02 Andrew Cagney <cagney@redhat.com>
1032
1033 * gdb.base/annota3.exp: New file.
1034 * gdb.base/annota3.c: New file.
1035 * gdb.c++/annota3.exp: New file.
1036 * gdb.c++/annota3.cc: New file.
1037
51514e06
MC
10382003-07-29 Michael Chastain <mec@shout.net>
1039
1040 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1041 actually failed.
1042 (do_pass): Likewise.
1043 * gdb.threads/tls.exp: Always initialize no_of_threads.
1044
4ee6625b
DJ
10452003-07-27 Daniel Jacobowitz <drow@mvista.com>
1046
1047 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1048 pattern.
1049 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1050 * gdb.threads/tls.exp: Recognize one case of the host library not
1051 supporting TLS.
1052
225f2bf6
AC
10532003-07-27 Andrew Cagney <cagney@redhat.com>
1054
1055 * gdb.base/fileio.exp: Use SH when running commands using
1056 remote_exec.
1057
bcb27c9f
DJ
10582003-07-24 Daniel Jacobowitz <drow@mvista.com>
1059
1060 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1061 * gdb.base/relocate.c (dummy): New padding array.
1062
3d67be83
MS
10632003-07-22 Michael Snyder <msnyder@redhat.com>
1064
1065 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1066
1067 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1068 patterns to be more general, accepting old and new output.
1069 Some output chars (such as '+') also must be quoted.
1070 Some addresses are displayed numerically instead of
1071 symbolically.
1072
57ba3b85
MS
10732003-07-23 Michael Snyder <msnyder@redhat.com>
1074
686d097c
MS
1075 * gdb.base/return2.exp: Don't test long-long return.
1076
57ba3b85
MS
1077 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1078 * gdb.disasm/t01_mov.exp: Ditto.
1079 * gdb.disasm/t02_mova.s: Ditto.
1080 * gdb.disasm/t02_mova.exp: Ditto.
1081 * gdb.disasm/t03_add.s: Ditto.
1082 * gdb.disasm/t03_add.exp: Ditto.
1083 * gdb.disasm/t04_sub.s: Ditto.
1084 * gdb.disasm/t04_sub.exp: Ditto.
1085 * gdb.disasm/t05_cmp.s: Ditto.
1086 * gdb.disasm/t05_cmp.exp: Ditto.
1087 * gdb.disasm/t06_ari2.s: Ditto.
1088 * gdb.disasm/t06_ari2.exp: Ditto.
1089 * gdb.disasm/t07_ari3.s: Ditto.
1090 * gdb.disasm/t07_ari3.exp: Ditto.
1091 * gdb.disasm/t08_or.s: Ditto.
1092 * gdb.disasm/t08_or.exp: Ditto.
1093 * gdb.disasm/t09_xor.s: Ditto.
1094 * gdb.disasm/t09_xor.exp: Ditto.
1095 * gdb.disasm/t10_and.s: Ditto.
1096 * gdb.disasm/t10_and.exp: Ditto.
1097 * gdb.disasm/t11_logs.s: Ditto.
1098 * gdb.disasm/t11_logs.exp: Ditto.
1099 * gdb.disasm/t12_bit.s: Ditto.
1100 * gdb.disasm/t12_bit.exp: Ditto.
1101 * gdb.disasm/t13_otr.s: Ditto.
1102 * gdb.disasm/t13_otr.exp: Ditto.
1103
e00759ef
EZ
11042003-07-22 Elena Zannoni <ezannoni@redhat.com>
1105
1106 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1107
8bc2021f
EZ
11082003-07-22 Elena Zannoni <ezannoni@redhat.com>
1109
1110 * gdb.threads/tls.c : New file.
1111 * gdb.threads/tls.exp : New file.
1112 * gdb.threads/tls-main.c : New file.
1113 * gdb.threads/tls-shared.c : New file.
1114 * gdb.threads/tls-shared.exp : New file.
1115
89320c4c
AS
11162003-07-22 Andreas Schwab <schwab@suse.de>
1117
1118 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1119
180dea7c
AS
11202003-07-20 Andreas Schwab <schwab@suse.de>
1121
1122 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1123 due to insn reordering.
1124
0714963c
AC
11252003-07-15 Andrew Cagney <cagney@redhat.com>
1126
1127 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1128
98a23b3f
MC
11292003-07-15 Michael Chastain <mec@shout.net>
1130
1131 * gdb.base/gdb1250.exp: New file.
1132 * gdb.base/gdb1250.c: New file.
1133
27e417a2
ML
11342003-07-09 Michal Ludvig <mludvig@suse.cz>
1135
1136 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1137 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1138
8bc2021f
EZ
11392003-07-09 Elena Zannoni <ezannoni@redhat.com>
1140
1141 * gdb.threads/tls.c: New file.
1142 * gdb.threads/tls.exp: New file.
1143 * gdb.threads/tls-main.c: New file.
1144 * gdb.threads/tls-shared.c: New file.
1145 * gdb.threads/tls-shared.exp: New file.
1146
d99968dc
EZ
11472003-07-09 Elena Zannoni <ezannoni@redhat.com>
1148
1149 * gdb.base/annota1.exp: Make sure that we properly escape the
1150 full path of the source file. Xfail more permissive patterns,
1151 due to a compiler debug info problem.
1152
83876b3b
AS
11532003-07-07 Andreas Schwab <schwab@suse.de>
1154
2705e972
AS
1155 * gdb.asm/m68k.inc: New file.
1156 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1157
83876b3b
AS
1158 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1159 arguments"): Also match negative number.
1160
1161 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1162
3a871b37
DJ
11632003-07-03 Daniel Jacobowitz <drow@mvista.com>
1164
1165 * gdb.base/store.c (charest): New typedef.
1166 (add_char): Rename to add_charest, update.
1167 (wack_char): Rename to wack_charest, update types. Return l + r
1168 to keep r live across the call.
1169 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1170 (wack_double, wack_doublest): Return l + r to keep r live across
1171 the call.
1172 * gdb.base/store.exp: Accomodate store.c changes.
1173
b2a7f303
DC
11742003-06-30 David Carlton <carlton@kealia.com>
1175
1176 * gdb.c++/maint.exp (test_invalid_name): New.
1177 (test_first_component): Add tests for invalid names.
1178
3c6cb4a1
MC
11792003-06-29 Michael Chastain <mec@shout.net>
1180
1181 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1182 output of '<VTT for class>' for virtual base classes.
1183
f1c2644b
DJ
11842003-06-29 Daniel Jacobowitz <drow@mvista.com>
1185
1186 * gdb.base/completion.exp: Tab-complete "complet" instead of
1187 "compl".
1188 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1189
18080350
DJ
11902003-06-29 Daniel Jacobowitz <drow@mvista.com>
1191
1192 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1193 * gdb.base/volatile.exp: Likewise.
1194
f56973f8
DJ
11952003-06-29 Daniel Jacobowitz <drow@mvista.com>
1196
1197 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1198 gdb/1265.
1199
12002003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1201 Daniel Jacobowitz <drow@mvista.com>
1202
1203 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1204 initial line count of 'captured_main' from 26 to 32.
1205 (test_with_self): Allow xmalloc call to be interleaved with the
1206 preceding two lines.
1207
e766d4d6
JB
12082003-06-24 Joel Brobecker <brobecker@gnat.com>
1209
1210 * gdb.base/bang.exp: New testcase.
1211
f125c9a4
JB
12122003-06-23 Joel Brobecker <brobecker@gnat.com>
1213
1214 * gdb.base/langs.exp: Add some tests for the "minimal" language
1215 support.
1216
6e25beaf
EZ
12172003-06-23 Elena Zannoni <ezannoni@redhat.com>
1218
1219 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1220 the testcase.
1221
2f816dda
DJ
12222003-06-22 Daniel Jacobowitz <drow@mvista.com>
1223
1224 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1225 offset.
1226
db5a5748
DJ
12272003-06-22 Daniel Jacobowitz <drow@mvista.com>
1228
1229 * gdb.c++/pr-1210.cc: New file.
1230 * gdb.c++/pr-1210.exp: New file.
1231
1df0c130
DJ
12322003-06-21 Daniel Jacobowitz <drow@mvista.com>
1233
1234 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1235 000-exec-continue.
1236
a92feac0
MK
12372003-06-15 Mark Kettenis <kettenis@gnu.org>
1238
1239 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1240 on *-*-*bsd* instead of *-*-freebsd*.
1241
81a58f5b
AC
12422003-06-14 Andrew Cagney <cagney@redhat.com>
1243
1244 * gdb.base/store.exp: Test longest and doublest. Test all
1245 parameters. Weaken return statement match.
1246 * gdb.base/store.c: Add longest and doublest - aka long long and
1247 long double functions. Put all parameters into local register
1248 variables. Use negative values.
1249
b257a0d3
AC
12502003-06-14 Andrew Cagney <cagney@redhat.com>
1251
1252 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1253 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1254 exit status.
1255 * gdb.base/fileio.exp: Disable target when nointerrupts and
1256 noinferiorio, instead of limiting it to remote. Use remote_exec
1257 instead of system.
1258
21c38304
JJ
12592003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1260
1261 * gdb.base/float.exp: Add ia64 support.
1262
1bcdb424
CV
12632003-06-12 Corinna Vinschen <vinschen@redhat.com>
1264
1265 * gdb.base/fileio.exp: Run only on remote targets.
1266
6aeb981f
CV
12672003-06-10 Corinna Vinschen <vinschen@redhat.com>
1268
1269 * gdb.base/fileio.c: New file, testing File-I/O.
1270 * gdb.base/fileio.exp: Ditto.
1271
53df362e
RG
12722003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1273
1274 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1275 shared objects after relocation at load time (gdb PR/1132).
1276 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1277 as above, part of the shared object relocation test.
1278
ffee1b46
MK
12792003-06-08 Mark Kettenis <kettenis@gnu.org>
1280
b5ca3722
MK
1281 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1282 fully filled history list.
1283 * gdb.base/gdb_history: New file.
1284
03ed860d
MK
1285 * gdb.base/signals.exp: XFAIL "continue to func1" on
1286 i*86-*-freebsd*.
1287
ffee1b46
MK
1288 * gdb.base/attach.exp: When trying to attach to a nonexistent
1289 process, make it possible to specify the PID based on the target,
1290 and do so for *-*-freebsd*.
1291
d80dbb52
RH
12922003-06-02 Richard Henderson <rth@redhat.com>
1293
1294 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1295
6dd77b81
RH
12962003-06-02 Richard Henderson <rth@redhat.com>
1297
1298 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1299
f6347e16
RH
13002003-06-02 Richard Henderson <rth@redhat.com>
1301
1302 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1303
2c161407
DJ
13042003-06-01 Daniel Jacobowitz <drow@mvista.com>
1305
1306 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1307 of globalvar.
1308
572eb746
MK
13092003-06-01 Mark Kettenis <kettenis@gnu.org>
1310
1311 * gdb.asm/asm-source.exp: Check for memory read errors in
1312 disassembler test on *BSD too.
1313
9e9617a5
RH
13142003-06-01 Richard Henderson <rth@redhat.com>
1315
1316 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1317 for .frame.
1318 (gdbasm_call): Lose ldgp.
1319 (gdbasm_startup): Add frame information.
1320 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1321
7b34ad4e
MK
13222003-05-31 Mark Kettenis <kettenis@gnu.org>
1323
1324 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1325 i?86-*-*.
1326
10059fdf
MK
13272003-05-30 Mark Kettenis <kettenis@gnu.org>
1328
1329 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1330 FreeBSD.
1331
acf4b816
RH
13322003-05-29 Richard Henderson <rth@redhat.com>
1333
1334 * gdb.asm/alpha.inc: New file.
1335 * gdb.asm/asm-source.exp: Use it.
1336
e9ecd949
JB
13372003-05-29 Jim Blandy <jimb@redhat.com>
1338
1339 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1340 'core.PID'.
1341
e3e5a4f3
JB
13422003-05-22 Jim Blandy <jimb@redhat.com>
1343
1344 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1345 backtrace.
1346
72fe3d25
DC
13472003-05-20 David Carlton <carlton@math.stanford.edu>
1348
1349 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1350 this time.
1351
58da2eb2
DC
13522003-05-19 David Carlton <carlton@bactrian.org>
1353
1354 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1355 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1356
1fcb5155
DC
13572003-05-19 David Carlton <carlton@bactrian.org>
1358
1359 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1360 namespace tests.
1361 Bump copyright date.
1362 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1363 (main): Call C::D::marker2.
1364 * gdb.c++/namespace1.cc: New file.
1365
85e85163
JJ
13662003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1367
1368 Roland McGrath <roland@redhat.com>
1369 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1370 there is no manager thread.
1371
a25fbfec
JJ
13722003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1373
1374 * gdb.threads/schedlock.exp: Remove assumption that all threads
1375 will run in a particular small time slice. Also ensure we break
1376 in one of the child threads rather than the main thread.
1377
be375bae
JB
13782003-05-07 Jim Blandy <jimb@redhat.com>
1379
09bf6082
JB
1380 Add support for assembly source testing on the s390x.
1381 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1382 architecture.
1383 * gdb.asm/s390x.inc: New file.
1384
be375bae
JB
1385 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1386 succession of 'if' statements.
1387
00905d52
AC
13882003-05-05 Andrew Cagney <cagney@redhat.com>
1389
1390 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1391
b1e29e33
AC
13922003-05-05 Andrew Cagney <cagney@redhat.com>
1393
1394 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1395 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1396
e33d66ec
EZ
13972003-05-02 Elena Zannoni <ezannoni@redhat.com>
1398
1399 * gdb.base/charset.exp: Update based on new behavior of set/show
1400 charset commands.
1401
2b6fd0d8
AC
14022003-05-01 Andrew Cagney <cagney@redhat.com>
1403
1404 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1405 variable do not give memory errors.
1406
130cacce
AF
14072003-04-30 Adam Fedor <fedor@gnu.org>
1408
1409 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1410 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1411 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1412 gdb.objc/basicclass.m: : New files
1413
1414 * lib/gdb.exp (gdb_compile_objc): New procedure.
1415
bea71854
DJ
14162003-04-27 Daniel Jacobowitz <drow@mvista.com>
1417
1418 * gdb.base/signals.exp: Make backtrace tests more specific.
1419
0f20eeea
DC
14202003-04-23 David Carlton <carlton@bactrian.org>
1421
1422 * gdb.c++/maint.exp (test_first_component): Add tests for
1423 'operator' in more locations.
1424
c8c4d8dc
KB
14252003-04-16 Kevin Buettner <kevinb@redhat.com>
1426
1427 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1428
3fe60e3c
EZ
14292003-04-16 Elena Zannoni <ezannoni@redhat.com>
1430
1431 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1432 func marke' instead. Update test name.
1433
9219021c
DC
14342003-04-15 David Carlton <carlton@math.stanford.edu>
1435
1436 * gdb.c++/maint.exp: New file.
1437
5dd55bdd
EZ
14382003-04-14 Elena Zannoni <ezannoni@redhat.com>
1439
1440 * gdb.threads/schedlock.c: Change type of thread function argument
1441 to long, to avoid warnings on 64-bit platforms.
1442
00890572
EZ
14432003-04-14 Elena Zannoni <ezannoni@redhat.com>
1444
1445 * gdb.base/attach.exp: Add new message from ptrace in case of
1446 attaching to nonexistent process.
1447
93201743
JB
14482003-04-11 Jim Blandy <jimb@redhat.com>
1449
1450 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1451 gdb.c++/userdef.cc: Place comments on the lines to which the
1452 marker function might return.
1453 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1454 gdb.c++/userdef.exp: Look for those comments to check that we've
1455 returned to the right place, instead of checking line numbers.
1456
2a11c64d
EZ
14572003-04-11 Elena Zannoni <ezannoni@redhat.com>
1458
1459 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1460 match on sourcefile name, instead of directory name.
1461
68ab8fc5
EZ
14622003-04-10 Elena Zannoni <ezannoni@redhat.com>
1463
1464 * gdb.base/completion.exp: Use string_to_regexp to match the
1465 working directory name.
1466
5624293a
JB
14672003-04-09 Jim Blandy <jimb@redhat.com>
1468
1469 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1470 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1471 after an inferior function call, report the failure, but allow the
1472 test to continue.
1473
f1f02ee4
SC
14742003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1475
1476 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1477 with -DPROTOTYPES.
1478
6eb79af0
SC
14792003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1480
1481 * gdb.base/break.exp: Revert last patch.
1482
8dfb4cf0
SC
14832003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1484
1485 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1486 with -DPROTOTYPES.
1487
ed4c619a
AC
14882003-04-02 Andrew Cagney <cagney@redhat.com>
1489
1490 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1491 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1492 matching directories by the name breakpoint.
1493 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1494 Make "continue to marker1" consistent.
1495 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1496 message consistent.
1497 * lib/gdb.exp: Put "the program is no longer running", and "the
1498 program exited" in parenthesis.
1499 * lib/mi-support.exp: Ditto.
1500
4e35d5f0
BR
15012003-04-02 Bob Rossi <bob_rossi@cox.net>
1502
1503 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1504
71900fe8
AC
15052003-03-29 Andrew Cagney <cagney@redhat.com>
1506
1507 * gdb.base/sizeof.c (main): Print the value of '\377'.
1508 * gdb.base/sizeof.exp: Check the sign of '\377'.
1509
c0655a16
MC
15102003-03-27 Michael Chastain <mec@shout.net>
1511
1512 * gdb.base/gdb1090.exp: New file.
1513 * gdb.base/gdb1090.cc: New file.
1514
5b2a3989
JB
15152003-03-27 J. Brobecker <brobecker@gnat.com>
1516
1517 * gdb.gdb/observer.exp: New regression test.
1518
79876890
MC
15192003-03-27 Michael Chastain <mec@shout.net>
1520
1521 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1522 * gdb.base/ptype.exp: Likewise.
1523
6eac95e3
CV
15242003-03-27 Corinna Vinschen <vinschen@redhat.com>
1525
1526 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1527
e8c71839
MC
15282003-03-26 Michael Chastain <mec@shout.net>
1529
1530 * gdb.base/ptype.exp: Actually use some typedef'd types.
1531
71b10041
SC
15322003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1533
1534 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1535 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1536
2512cf80
CV
15372003-03-20 Corinna Vinschen <vinschen@redhat.com>
1538
1539 * gdb.base/default.exp: Fix regular expression.
1540
0d195a4f
CV
15412003-03-20 Corinna Vinschen <vinschen@redhat.com>
1542
1543 * gdb.base/args.exp: Fix regular expression.
1544
8a2dbca8
CV
15452003-03-20 Corinna Vinschen <vinschen@redhat.com>
1546
1547 * gdb.base/help.exp: Allow Win32 child process.
1548
bf028682
CV
15492003-03-20 Corinna Vinschen <vinschen@redhat.com>
1550
1551 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1552 when stepping out of main().
1553
182dbe85
CV
15542003-03-20 Corinna Vinschen <vinschen@redhat.com>
1555
1556 * gdb.base/default.exp: Check for win32 specific message when calling
1557 "run" without executable.
1558
d67a6ba5
CV
15592003-03-20 Corinna Vinschen <vinschen@redhat.com>
1560
1561 * gdb.base/args.exp: Expect .exe in output.
1562
a955b5bb
CV
15632003-03-20 Corinna Vinschen <vinschen@redhat.com>
1564
1565 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1566 Cygwin native.
1567
bf6bad4b
AC
15682003-03-17 Andrew Cagney <cagney@redhat.com>
1569
1570 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1571 vector registes.
1572 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1573 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1574
293e9a31
DC
15752003-03-17 David Carlton <carlton@math.stanford.edu>
1576
1577 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1578 test, for PR breakpoints/38.
1579 Call test_watchpoint_and_breakpoint.
1580 * gdb.base/watchpoint.c (func3): New function.
1581 (main): Call func3.
1582
5330f2db
DC
15832003-03-04 David Carlton <carlton@math.stanford.edu>
1584
1585 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1586 Garply<Garply<char> >:: garply".
1587 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1588 with respect to PR c++/1111; note also PR c++/1113.
1589 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1590 respect to PR c++/1062.
1591 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1592
6ece72da
DC
15932003-03-03 David Carlton <carlton@math.stanford.edu>
1594
1595 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1596 with respect to PR c++/57.
1597 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1598 c++/826.
1599 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1600 respect to PR c++/57.
1601
85ca1584
DC
16022003-03-03 David Carlton <carlton@math.stanford.edu>
1603
1604 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1605 respect to PR c++/33 into FAILs.
1606
98e9c5b8
MC
16072003-03-03 Michael Chastain <mec@shout.net>
1608
7bedbf27
MC
1609 * configure.in: Update copyright years.
1610
16112003-03-03 Michael Chastain <mec@shout.net>
1612
1613 * Makefile.in: Update copyright years.
98e9c5b8 1614
f683e100
DC
16152003-02-28 David Carlton <carlton@math.stanford.edu>
1616
1617 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1618 print class instead of struct and/or superfluous protection
1619 specifiers, as long as the resulting output is equivalent to the
1620 source code.
1621 Delete FIXME from end of messages on tests that don't need
1622 fixing.
1623
a9e0cf2c
DC
16242003-02-28 David Carlton <carlton@math.stanford.edu>
1625
1626 * gdb.c++/templates.exp (do_tests): Allow const in the two
1627 Foo<volatile char *>::foo tests.
1628
e8d359df
MS
16292003-02-27 Michael Snyder <msnyder@redhat.com>
1630
1631 * gdb.base/restore.c (main): Return zero, so exit code
1632 will be consistant.
1633
0b71dc91
DC
16342003-02-26 David Carlton <carlton@math.stanford.edu>
1635
1636 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1637 char *>::foo" test with respect to PR c++/33. Create a new test
1638 which is identical to that one except that it doesn't put the
1639 space between the "char" and the "*"; KFAIL it, too.
1640
dd14ab43
DC
16412003-02-26 David Carlton <carlton@math.stanford.edu>
1642
1643 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1644 template types into either PASSes or KFAILs (corresponding to PR
1645 c++/57). Tweak indentation. Update copyright.
1646
1146c7f1
SC
16472003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1648
1649 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1650
74641dfb
MC
16512003-02-13 Michael Chastain <mec@shout.net>
1652
1653 * gdb.base/exprs.exp: Remove i960 remnants.
1654 * gdb.base/funcargs.exp: Likewise.
1655 * gdb.base/list.exp: Likewise.
1656 * gdb.base/ptype.exp: Likewise.
1657
559cd2d0
DC
16582003-02-14 David Carlton <carlton@math.stanford.edu>
1659
1660 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1661 pEe->D::vg()" from XFAIL to KFAIL.
1662
c4f90d87
JM
16632003-02-13 Jason Molenda (jmolenda@apple.com)
1664
1665 * gdb.base/maint.exp: Update maint print statistics regexp to include
1666 new entries.
1667
cbc4d97c
MC
16682003-02-13 Michael Chastain <mec@shout.net>
1669
1670 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1671
40f235b7
MC
16722003-02-12 Michael Chastain <mec@shout.net>
1673
1674 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1675 * gdb.c++/inherit.exp: Likewise.
1676 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1677 * gdb.c++/templates.exp: Likewise.
1678 * gdb.c++/virtfunc.exp: Likewise.
1679
c56716b0
JM
16802003-02-06 Jason Molenda (jason-cl@molenda.com)
1681
1682 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1683 why the code is written that way.
1684
070afcf8
MC
16852003-02-05 Michael Chastain <mec@shout.net>
1686
1687 * gdb.base/dump.exp: Add missing copyright line.
1688
5d0331e5
JM
16892003-02-05 Jason Molenda (jason-cl@molenda.com)
1690
f7ae6d3e 1691 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1692 at the beginning so the breakpoint doesn't get set on the loop.
1693
92851186
MC
16942003-02-05 Michael Chastain <mec@shout.net>
1695
1696 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1697 output for configurations with gcc 2.95.3.
1698
cbf1e085
AC
16992003-02-05 Keith Seitz <keiths@redhat.com>
1700 Andrew Cagney <ac131313@redhat.com>
1701
1702 * gdb.mi/mi-cli.exp: New file.
1703
29518e1e
MC
17042003-02-04 Michael Chastain <mec@shout.net>
1705
1706 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1707 Call perror and then continue.
1708
5af1d5f3
MC
17092003-02-03 Michael Chastain <mec@shout.net>
1710
1711 * gdb.c++/pr-1023.cc: New file.
1712 * gdb.c++/pr-1023.exp: New file.
1713
6b549786
JB
17142003-02-05 Jim Blandy <jimb@redhat.com>
1715
1716 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1717 it's local to foobar. Check for it there, and check that it's not
1718 present in main.
1719 * gdb.c++/local.cc (marker2): New function.
1720 (foobar): Call marker1.
1721 (main): Call marker2 instead of marker1.
1722
67f16606
AC
17232003-02-04 Andrew Cagney <ac131313@redhat.com>
1724
1725 * gdb.disasm/mn10200.exp: Obsolete file.
1726 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1727 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1728 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1729
1c5cb38e
DC
17302003-02-04 David Carlton <carlton@math.stanford.edu>
1731
1732 * gdb.c++/overload.exp: Test intToChar(1).
1733 * gdb.c++/overload.cc (intToChar): New.
1734 (main): Call intToChar.
1735
d1fe6965
DC
17362003-02-03 David Carlton <carlton@math.stanford.edu>
1737
1738 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1739 'might_kfail' arg.
1740 KFAIL some of the continue_to_bp_overloaded calls, according to
1741 PR c++/1025.
1742
9ba61c5d
MC
17432003-02-01 Michael Chastain <mec@shout.net>
1744
1745 * gdb.base/advance.c (marker1): New marker function.
1746 * gdb.base/advance.exp: When the 'advance' command lands on the
1747 return breakpoint, it can legitimately stop on either the
1748 current line or the next line. Accommodate both outcomes.
1749 * gdb.base/until.exp: Likewise.
1750
e7494ffb
AC
17512003-02-02 Andrew Cagney <ac131313@redhat.com>
1752
1753 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1754 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1755 now a list, not a tuple.
1756 * gdb.mi/mi-var-display.exp: Ditto.
1757 * gdb.mi/gdb792.exp: Ditto.
1758
075559bc
AC
17592003-02-01 Andrew Cagney <ac131313@redhat.com>
1760
1761 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1762 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1763 stack backtraces.
1764 * gdb.mi/mi-syn-frame.c: Part of same.
1765
2bd4c7b1
MK
17662003-02-01 Mark Kettenis <kettenis@gnu.org>
1767
1768 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1769 gdb.mi/mi1-pthreads.exp: Return instead of calling
1770 gdb_suppress_entire_file.
1771
eabd8992
MS
17722003-02-01 Mark Salter <msalter@redhat.com>
1773
1774 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1775
71469e2f
MS
17762003-01-31 Mark Salter <msalter@redhat.com>
1777
1778 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1779 Support empty arg.
1780
38a94d44
MC
17812003-01-30 Michael Chastain <mec@shout.net>
1782
1783 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1784 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1785 has been fixed in gdb/readline on 2003-01-09.
1786
19ea9e73
MS
17872003-01-29 Michael Snyder <msnyder@redhat.com>
1788
e8d359df
MS
1789 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1790 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1791 * gdb.base/args.exp: Skip if target does not support args passing.
1792
2307bd6a
DJ
17932003-01-22 Daniel Jacobowitz <drow@mvista.com>
1794
19ea9e73 1795 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1796 gdb_test. Accept a list of expect arguments as the third
1797 parameter.
1798 (gdb_test): Use it.
1799
f2dd3617
EZ
18002003-01-20 Elena Zannoni <ezannoni@redhat.com>
1801
1802 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1803 allow for different test tree configurations. Update some
1804 tescases accordingly.
1805 * gdb.arch/altivec-regs.exp: Ditto.
1806 * gdb.asm/asm-source.exp: Ditto.
1807 * gdb.base/advance.exp: Ditto.
1808 * gdb.base/display.exp: Ditto.
1809 * gdb.base/long_long.exp: Ditto.
1810 * gdb.base/mips_pro.exp: Ditto.
1811 * gdb.base/overlays.exp: Ditto.
1812 * gdb.base/relocate.exp: Ditto.
1813 * gdb.base/setshow.exp: Ditto.
1814 * gdb.base/step-line.exp: Ditto.
1815 * gdb.base/step-test.exp: Ditto.
1816 * gdb.base/until.exp: Ditto.
1817 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1818
c71cdefd
DC
18192003-01-17 David Carlton <carlton@math.stanford.edu>
1820
1821 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1822 corresponding to PR c++/945.
1823 Update copyright.
1824
fdba05d7
DC
18252003-01-17 David Carlton <carlton@math.stanford.edu>
1826
1827 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1828 corresponding to PR c++/68.
1829
18302003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1831
1832 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1833 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1834 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1835
c362c33a
EZ
18362003-01-15 Elena Zannoni <ezannoni@redhat.com>
1837
0fbc361c
EZ
1838 * gdb.base/break.exp: Fix change of default location, because of
1839 removal of until tests.
1840 * gdb.base/help.exp: Update test for new 'until' help message.
1841 Add test for help on 'advance'.
c362c33a
EZ
1842 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1843
dabf8a35
MK
18442003-01-15 Mark Kettenis <kettenis@gnu.org>
1845
1846 * gdb.base/default.exp: Adapt "info float" test for recent changes
1847 to that command. Add test for "info vector".
1848 * gdb.base/float.exp: New file. Add test for "info float" that
1849 resembles the old test in gdb.base/default.exp.
1850
a1769aca
DC
18512003-01-15 David Carlton <carlton@math.stanford.edu>
1852
1853 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1854
82025e13
EZ
18552003-01-15 Elena Zannoni <ezannoni@redhat.com>
1856
1857 * gdb.base/break.exp: Move the tests of until command from here...
1858 * gdb.base/until.exp: ... to here. New file. Add other tests.
1859 * gdb.base/advance.c: New file.
1860 * gdb.base/advance.exp: New file.
1861
8f9ab801
EZ
18622003-01-14 Elena Zannoni <ezannoni@redhat.com>
1863
1864 * gdb.base/args.c: New file.
1865 * gdb.base/args.exp: New file.
1866
9ae66589
DJ
18672003-01-14 Daniel Jacobowitz <drow@mvista.com>
1868
1869 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1870
8d77e5c3
DJ
18712003-01-14 Daniel Jacobowitz <drow@mvista.com>
1872
1873 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1874
12d2f0a1
DJ
18752003-01-14 Daniel Jacobowitz <drow@mvista.com>
1876
1877 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1878 dates.
1879
6ca37014
DJ
18802003-01-13 Daniel Jacobowitz <drow@mvista.com>
1881
1882 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1883
b0023472
DJ
18842003-01-13 Daniel Jacobowitz <drow@mvista.com>
1885
1886 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1887 (ptype &*"foo").
1888 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1889
d6abaea5
DJ
18902002-01-13 Daniel Jacobowitz <drow@mvista.com>
1891
1892 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1893 * gdb.mi/mi1-console.exp: Likewise.
1894
dfd536a7
DJ
18952002-01-13 Daniel Jacobowitz <drow@mvista.com>
1896
1897 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1898 * gdb.mi/mi1-console.exp: Likewise.
1899
a1fb14a2
DJ
19002003-01-13 Daniel Jacobowitz <drow@mvista.com>
1901
1902 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1903
c4cf40b7
DJ
19042003-01-09 Daniel Jacobowitz <drow@mvista.com>
1905
1906 * gdb.base/detach.exp: New test.
1907
696d5a5b
DJ
19082003-01-09 Daniel Jacobowitz <drow@mvista.com>
1909
1910 * Makefile.in (ALL_SUBDIRS): New variable.
1911 (subdirs, clean, distclean): Use it.
1912 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1913 regenerating Makefile, since it is generated from the top level.
1914 * gdb.asm/Makefile.in: Likewise.
1915 * gdb.base/Makefile.in: Likewise.
1916 * gdb.c++/Makefile.in: Likewise.
1917 * gdb.disasm/Makefile.in: Likewise.
1918 * gdb.java/Makefile.in: Likewise.
1919 * gdb.mi/Makefile.in: Likewise.
1920 * gdb.threads/Makefile.in: Likewise.
1921 * gdb.trace/Makefile.in: Likewise.
1922
754533e4
DC
19232003-01-09 David Carlton <carlton@math.stanford.edu>
1924
1925 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1926 Add copyright year 2003.
1927
d8b3e9ee
MC
19282003-01-06 Michael Chastain <mec@shout.net>
1929
1930 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1931 When selecting a thread, 'line' and 'file' are optional.
1932 * gdb.mi/mi1-pthreads.exp: Likewise.
1933
8e9e0fe6
AS
19342003-01-06 Andreas Schwab <schwab@suse.de>
1935
1936 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1937 failures.
1938
b5ab8ff3
DJ
19392003-01-04 Daniel Jacobowitz <drow@mvista.com>
1940
1941 Fix PR gdb/844
1942 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1943 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1944
1945 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1946 instead of calling gdb_suppress_entire_file.
1947 * gdb.threads/print-threads.exp: Likewise.
1948 * gdb.threads/schedlock.exp: Likewise.
1949
1950 * gdb.threads/killed.exp: Return instead of calling
1951 gdb_suppress_entire_file.
1952 * gdb.threads/linux-dp.exp: Likewise.
1953 * gdb.threads/pthreads.exp: Likewise.
1954
1e698235
DJ
19552003-01-04 Daniel Jacobowitz <drow@mvista.com>
1956
1957 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1958 stabs.
1959 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1960 * gdb.base/whatis.exp: Always allow (void) after function names.
1961
147ff08c
DJ
19622003-01-04 Daniel Jacobowitz <drow@mvista.com>
1963
1964 * gdb.c++/casts.exp: Correct regexp.
1965
dc62bfc2
MK
19662003-01-04 Mark Kettenis <kettenis@gnu.org>
1967
1968 * configure.in: Call AC_CONFIG_HEADER. Don't call
1969 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1970 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1971 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1972 aforementioned directories in the AC_OUPUT call.
1973 * config.hin: New file.
1974 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1975 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1976 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1977 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1978 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1979 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1980 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1981 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1982 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1983 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1984 gdb.threads/configure.in, gdb.threads/configure,
1985 gdb.threads/config.in, gdb.trace/configure.in,
1986 gdb.trace/configure: Removed.
1987
77afa639
MC
19882003-01-03 Michael Chastain <mec@shout.net>
1989
1990 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1991 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1992
7634bb6e
DJ
19932003-01-03 Daniel Jacobowitz <drow@mvista.com>
1994
1995 * gdb.base/store.exp: Fix regular expressions.
1996
b39c905e
MK
19972002-12-28 Mark Kettenis <kettenis@gnu.org>
1998
1999 * configure.in: Rewrite.
2000 * configure: Regenerated.
2001
0a8551dd
DC
20022003-01-03 David Carlton <carlton@math.stanford.edu>
2003
2004 * gdb.base/psymtab.exp: New file.
2005 * gdb.base/psymtab1.c: Ditto.
2006 * gdb.base/psymtab2.c: Ditto.
2007
c60b7188
AF
20082002-12-23 Adam Fedor <fedor@gnu.org>
2009
2010 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2011
ee73db83
DC
20122002-12-23 David Carlton <carlton@math.stanford.edu>
2013
2014 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2015 and current_directory initialization.
2016
d6c1774e
JB
20172002-12-22 Jim Blandy <jimb@redhat.com>
2018
f0a847b8
JB
2019 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2020 rather than as part of the output file name.
2021
d6c1774e
JB
2022 * gdb.base/attach.exp: There's no need to copy the test program to
2023 /tmp; that was only ever necessary on HP/UX, and this test is
2024 entirely disabled there anyway.
2025
f0708dbb
JB
20262002-12-21 Jim Blandy <jimb@redhat.com>
2027
4c2acfea
JB
2028 * gdb.c++/psmang.exp: Doc fix.
2029
f0708dbb
JB
2030 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2031 test.
2032
9579e000
DC
20332002-12-20 David Carlton <carlton@math.stanford.edu>
2034
2035 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2036
d1810171
MC
20372002-12-18 Michael Chastain <mec@shout.net>
2038
2039 * gdb.c++/annota2.exp: Add copyright year 2002.
2040
76565097
DC
20412002-12-17 David Carlton <carlton@math.stanford.edu>
2042
2043 * gdb.c++/try_catch.cc: Add marker comments.
2044 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2045 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2046 * gdb.c++/m-static.cc: Ditto.
2047 * gdb.c++/m-static1.cc: Ditto.
2048 * gdb.c++/try_catch.cc: Ditto.
2049
da81390b
JJ
20502002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2051
2052 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2053 to see whether we are using the new -environment-directory
2054 command which resets via -r or the old version of the command
2055 which may prompt the user. Part of fix for gdb/741.
2056
b304d130
AC
20572002-12-13 Andrew Cagney <ac131313@redhat.com>
2058
2059 * gdb.fortran/types.exp: Update obsolete comment.
2060 * gdb.fortran/exprs.exp: Ditto.
2061 * lib/gdb.exp: Delete obsolete code.
2062 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2063 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2064 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2065 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2066 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2067 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2068 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2069 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2070 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2071 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2072 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2073 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2074 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2075 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2076 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2077 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2078 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2079 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2080 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2081 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2082 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2083 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2084 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2085 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2086 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2087 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2088 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2089 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2090 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2091 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2092 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2093 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2094 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2095 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2096 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2097 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2098 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2099
a23b6e6a
DC
21002002-12-11 David Carlton <carlton@math.stanford.edu>
2101
2102 * gdb.c++/m-data.exp: Add test for members that shadow global
2103 variables: see PR gdb/804.
2104 * gdb.c++/m-data.cc: Ditto.
2105
6604731b
DJ
21062002-12-10 Daniel Jacobowitz <drow@mvista.com>
2107
2108 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2109
de46ecd7
DC
21102002-12-06 David Carlton <carlton@math.stanford.edu>
2111
2112 * gdb.base/store.c: Don't declare functions static.
2113
27e829d0
AC
21142002-12-04 Andrew Cagney <ac131313@redhat.com>
2115
2116 * gdb.base/store.exp, gdb.base/store.c: New files.
2117
92806416
DJ
21182002-12-03 Daniel Jacobowitz <drow@mvista.com>
2119
2120 * gdb.base/selftest.exp: Update for current gdb.
2121
3bcbaac5
DJ
21222002-12-03 Daniel Jacobowitz <drow@mvista.com>
2123
2124 * gdb.base/maint.exp: Only dump symbols from one source file
2125 or objfile.
2126
f4f00b1f
DJ
21272002-12-03 Daniel Jacobowitz <drow@mvista.com>
2128
2129 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2130 function call.
2131
f1c8a949
JB
21322002-11-25 Jim Blandy <jimb@redhat.com>
2133
2134 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2135 function appearing in error message.
2136
9e297a97
DJ
21372002-11-21 Daniel Jacobowitz <drow@mvista.com>
2138
2139 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2140
1f312e79
JJ
21412002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2142
2143 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2144 for mi1 and current mi is in correct format. New mi startup message
2145 should be in mi console format. This is part of fix for PR gdb/604.
2146
83c31e7d
FN
21472002-09-18 Fernando Nasser <fnasser@redhat.com>
2148
2149 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2150 which explicitly prints the zero offset as "+0".
2151
322b3f65
DJ
21522002-10-22 Daniel Jacobowitz <drow@mvista.com>
2153
2154 * gdb.threads/schedlock.c (args): Make unsigned.
2155
21562002-10-21 Daniel Jacobowitz <drow@mvista.com>
2157
2158 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2159 numbers. Allow "foo2|selected stack frame".
2160 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2161 * gdb.asm/asmsrc2.s: Likewise.
2162 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2163 comments.
2164 * gdb.asm/mips.inc: New file.
2165
5e2fe5b8
AF
21662002-10-18 Adam Fedor <fedor@gnu.org>
2167
2168 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2169 * gdb.base/help.exp: Likewise.
2170
abe1a5d0
KB
21712002-10-17 Kevin Buettner <kevinb@redhat.com>
2172
2173 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2174 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2175
10abb1d4
JB
21762002-10-02 Jim Blandy <jimb@redhat.com>
2177
2178 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2179
1f609b42
AC
21802002-10-01 Andrew Cagney <ac131313@redhat.com>
2181
2182 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2183 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2184 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2185 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2186 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2187 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2188 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2189
0aee02e4
AC
21902002-09-29 Andrew Cagney <ac131313@redhat.com>
2191
2192 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2193 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2194 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2195 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2196 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2197 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2198 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2199
6fde09ad
KB
22002002-09-27 Kevin Buettner <kevinb@redhat.com>
2201
2202 * gdb.base/annota1.exp (info break): Make directory components of
2203 path optional since not all compilers emit this debug information.
2204
2205 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2206 step ends up stepping out of the function instead of stopping on
2207 the epilogue.
2208
9e8aab75
KS
22092002-09-26 Keith Seitz <keiths@redhat.com>
2210
2211 * lib/insight-support.exp (gdbtk_start): Figure out where
2212 the insight executable is based on where gdb is. Use this
2213 executable to start insight instead of gdb.
2214
e36180d7
AC
22152002-09-25 Andrew Cagney <cagney@redhat.com>
2216
2217 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2218
9dd34b2b
AC
22192002-09-24 Andrew Cagney <ac131313@redhat.com>
2220
2221 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2222 test_isolated_complaints.
2223 (test_empty_complaint): New function.
2224 (test_empty_complaints): New function. Check no output when no
2225 complaints.
2226
dea97812
KB
22272002-09-19 Jim Blandy <jimb@redhat.com>
2228
2229 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2230
54951bd7
AC
22312002-09-19 Andrew Cagney <ac131313@redhat.com>
2232
2233 * gdb.gdb/complaints.exp: New file.
2234
dec43320
AC
22352002-09-18 Andrew Cagney <ac131313@redhat.com>
2236
2237 * gdb.base/maint.exp: Check `help maint internal-warning'.
2238
e70d6e3f
DC
22392002-09-18 David Carlton <carlton@math.stanford.edu>
2240
2241 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2242 numbers, and replace them by a single breakpoint after the
2243 constructors are all finished.
2244 Add test 4.
2245 * gdb.c++/m-static.cc: Add test 4.
2246 * gdb.c++/m-static.h: New file.
2247 * gdb.c++/m-static1.cc: New file.
2248
2249 * gdb.c++/printmethod.exp: New file.
2250 * gdb.c++/printmethod.cc: New file.
2251
2252 * gdb.c++/pr-574.exp: New file.
2253 * gdb.c++/pr-574.cc: New file.
2254
afb5c968
CV
22552002-09-18 Corinna Vinschen <vinschen@redhat.com>
2256
2257 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2258 embedded targets which never actually exit.
2259
31e45dee
FN
22602002-09-18 Fernando Nasser <fnasser@redhat.com>
2261
2262 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2263 "don't step after run" as unresolved or unsupported, instead of xfail.
2264
a283c5a1
CV
22652002-09-18 Corinna Vinschen <vinschen@redhat.com>
2266
2267 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2268 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2269 Add newline to expected string in "step out of main (status wrapper)"
2270 case.
2271
11350d2a
CV
22722002-09-18 Corinna Vinschen <vinschen@redhat.com>
2273
2274 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2275 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2276
0deec7d6
TT
22772002-09-17 Tom Tromey <tromey@redhat.com>
2278
2279 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2280 \000, not \0, in double-quoted string.
2281
b2b4a1b5
CV
22822002-09-14 Corinna Vinschen <vinschen@redhat.com>
2283
c9d37158 2284 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2285 string after running the commands execution on breakpoint tests.
2286
1c56143a
CV
22872002-09-13 Corinna Vinschen <vinschen@redhat.com>
2288
2289 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2290
37f8da45
JB
22912002-09-12 Joel Brobecker <brobecker@gnat.com>
2292
2293 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2294
08b468e0
KS
22952002-09-10 Keith Seitz <keiths@redhat.com>
2296
2297 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2298 runto proc.
2299 (mi_run_to_main): Use mi_runto.
2300 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2301
dc360f58
KS
23022002-09-10 Keith Seitz <keiths@redhat.com>
2303
2304 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2305 regexp for stopping at main. Could have multiple event notifications.
2306 Don't assume that main was declared with no parameters.
2307 (mi_next): Use mi_step_to.
2308 (mi_step): Use mi_next_to.
2309
ce3abcfb
CV
23102002-09-09 Corinna Vinschen <vinschen@redhat.com>
2311
2312 * gdb.base/default.exp: Fix expected string in `info float' test.
2313
d1f5b980
BE
23142002-09-09 Ben Elliston <bje@redhat.com>
2315
2316 * config/mips.exp: Update comments.
2317 * config/mips-idt.exp: Likewise.
2318 * config/nind.exp: Likewise.
2319 * config/slite.exp: Likewise.
2320 * config/sparclet.exp: Likewise.
2321 * config/udi.exp: Likewise.
2322 * config/vx.exp: Likewise.
2323 * config/vxworks29k.exp: Likewise.
2324
2f71430b
JB
23252002-09-05 Jim Blandy <jimb@redhat.com>
2326
2327 * gdb.threads/killed.exp: Fix test failure message.
2328
7ddebc7e
KS
23292002-09-04 Keith Seitz <keiths@redhat.com>
2330
2331 * lib/mi-support.exp: Update copyright.
2332 (mi_gdb_test): Increase the priority of the expected pattern
2333 so that it matches gdb_test.
2334
0ae67eb3
KS
23352002-09-03 Keith Seitz <keiths@redhat.com>
2336
2337 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2338 Use integer comparison instead of string comparison for testing
2339 whether binary was built.
2340
38fc42c8
JB
23412002-09-03 Jim Blandy <jimb@redhat.com>
2342
2343 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2344
b6ff0e81
JB
23452002-08-29 Jim Blandy <jimb@redhat.com>
2346
2347 * gdb.threads/pthreads.exp: Move the portable thread compilation
2348 code into a function in lib/gdb.exp, and call that from here.
2349 * lib/gdb.exp (gdb_compile_pthreads): New function.
2350
07c98896
KS
23512002-08-29 Keith Seitz <keiths@redhat.com>
2352
2353 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2354 expect_out so that callers can get at it.
2355
0312286c
DJ
23562002-08-23 Daniel Jacobowitz <drow@mvista.com>
2357
2358 * gdb.threads/print-threads.c: New file.
2359 * gdb.threads/print-threads.exp: New file.
2360 * gdb.threads/schedlock.c: New file.
2361 * gdb.threads/schedlock.exp: New file.
2362
dd039bc4
EZ
23632002-08-22 Elena Zannoni <ezannoni@redhat.com>
2364
2365 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2366 not altivec.c.
2367
1f36144c
MK
23682002-08-17 Mark Kettenis <kettenis@gnu.org>
2369
2370 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2371 targets. The problem should be fixed now.
2372
16057ec7 23732002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2374
2375 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2376 2002-07-24 change that removes final dots from error messages.
2377
3c1499ad
TT
23782002-08-13 Tom Tromey <tromey@redhat.com>
2379
2380 * gdb.base/readline.exp: New file.
2381
a20ce2c3
AC
23822002-08-01 Andrew Cagney <ac131313@redhat.com>
2383
2384 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2385 supress message.
2386
db034ac5
AC
23872002-08-01 Andrew Cagney <cagney@redhat.com>
2388
2389 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2390 CHILL_FOR_TARGET and CHILL_LIB.
2391 * configure.in (configdirs): Remove gdb.chill.
2392 * configure: Regenerate.
2393 * lib/gdb.exp: Obsolete references to chill.
2394 * gdb.fortran/types.exp: Ditto.
2395 * gdb.fortran/exprs.exp: Ditto.
2396
3e000b18
KB
23972002-07-30 Kevin Buettner <kevinb@redhat.com>
2398
2399 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2400 set Irix-specific compile and link flags.
2401
28f4966b
KB
24022002-07-29 Kevin Buettner <kevinb@redhat.com>
2403
2404 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2405 source files. The ``-o'' option doesn't work with the ``-E'' option
2406 when using the Irix compiler.
2407
46c0d5a6
DJ
24082002-07-19 Daniel Jacobowitz <drow@mvista.com>
2409
2410 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2411 Improve support for reusing an exec file. Copy exec file
2412 to target, and run gdbserver on the target instead of on the host.
2413
eecf4bed
JB
24142002-07-18 Jim Blandy <jimb@redhat.com>
2415
0f815cdf
JB
2416 * gdb.base/ending-run.exp: Don't expect to see the program end in
2417 some orderly fashion when we're running on a real stand-alone
2418 board.
2419
eecf4bed
JB
2420 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2421 targets that don't support interrupts.
2422
52d309e4
JB
24232002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2424
2425 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2426 systems.
2427 Move comments in expect statements to inside the actions, so that they
2428 don't get matched against.
2429
ff683d9e
MK
24302002-07-10 Mark Kettenis <kettenis@gnu.org>
2431
2432 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2433 function when asleep" test.
2434
b5356753
AC
24352002-07-10 Andrew Cagney <ac131313@redhat.com>
2436
2437 * gdb.base/page.exp: Rewrite to handle problems with very long
2438 `info set' output. Update copyright.
2439
6aa4d13a
AC
24402002-06-26 Andrew Cagney <ac131313@redhat.com>
2441
2442 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2443 gdb.threads-hp.
2444 * gdb.hp/configure: Regenerate.
2445 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2446 * gdb.hp/gdb.threads-hp/configure: Delete file.
2447 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2448
8cf8c2b8
AC
24492002-06-22 Andrew Cagney <ac131313@redhat.com>
2450
2451 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2452 setlocale, bindtextdomain and textdomain.
2453
6827a8f8
JB
24542002-06-11 Jim Blandy <jimb@redhat.com>
2455
919d772c
JB
2456 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2457 preprocessor macro information is present.
2458
6827a8f8
JB
2459 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2460 tests.
2461
c15b0d21
MS
24622002-06-06 Michael Snyder <msnyder@redhat.com>
2463
c5984d70
MS
2464 * gdb.base/overlays.exp: Record addresses of overlay
2465 functions in TCL variables rather than in GDB variables,
2466 to avoid having GDB convert them to pointers (with loss
2467 of information).
2468
99a8512b
MS
2469 * gdb.base/d10v.ld: Merge in several years worth of
2470 default linker script changes.
c15b0d21
MS
2471 * gdb.base/long_long.exp: Add check for sizeof (long double).
2472
be26fe0d
ML
24732002-06-06 Michal Ludvig <mludvig@suse.cz>
2474
2475 * gdb.asm/asm-source.exp: Add x86-64 target.
2476 * gdb.asm/x86_64.inc: New.
2477
258093ca 24782002-05-30 Michael Chastain <mec@shout.net>
258093ca 2479
4b3153f1 2480 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2481 * gdb.c++/m-static.cc: New file.
2482 * gdb.c++/m-static.exp: New file.
2483
241264c6
MS
24842002-05-28 Michael Snyder <msnyder@redhat.com>
2485
2486 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2487 precision.
2488
9bba8c8f 24892002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2490
4b3153f1 2491 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2492 * gdb.c++/m-data.cc: New file.
2493 * gdb.c++/m-data.exp: New file.
2494
24952002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2496
4b3153f1 2497 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2498 * gdb.c++/try_catch.cc: New file.
2499 * gdb.c++/try_catch.exp: New file.
2500
def1b996
MC
25012002-05-27 Michael Chastain <mec@shout.net>
2502
2503 * gdb.c++/local.exp: Accept more nested types in output.
2504
522ba268
MC
25052002-05-26 Michael Chastain <mec@shout.net>
2506
2507 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2508
277254ba
MS
25092002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2510
2511 * lib/gdb.exp (gdb_wrapper_init): Just because
2512 gdb_wrapper_file exists, this does not mean that the file
2513 should not be rebuilt. That is what gdb_wrapper_initialized
2514 is for.
2515 (default_gdb_init): Reset gdb_wrapper_initialized.
2516
b61a8733
MS
25172002-05-23 Michael Snyder <msnyder@redhat.com>
2518
5bdb6d01
MS
2519 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2520 the precision of the floating point test results.
2521 * gdb.base/call-rt-st.exp: Ditto.
2522
b61a8733
MS
2523 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2524 * gdb.base/call-rt-st.exp: Ditto.
2525
56f6e910
MC
25262002-05-19 Michael Chastain <mec@shout.net>
2527
2528 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2529
ad0b0016
EZ
25302002-05-19 Elena Zannoni <ezannoni@redhat.com>
2531
2532 * configure.in (configdirs): Add gdb.arch.
2533 * configure: Regenerate.
2534
f617d2b6
JB
25352002-05-17 Jim Blandy <jimb@redhat.com>
2536
2537 * gdb.base/completion.exp: Recognize the more detailed error
2538 messages produced by the macro expander's lexical analyzer.
2539
eac2a696
EZ
25402002-05-14 Elena Zannoni <ezannoni@redhat.com>
2541
2542 * gdb.arch/altivec-abi.c: New file.
2543 * gdb.arch/altivec-abi.exp: New file.
2544 * gdb.arch/altivec-regs.c: New file.
2545 * gdb.arch/altivec-regs.exp: New file.
2546
2fdde8f8
DJ
25472002-05-14 Daniel Jacobowitz <drow@mvista.com>
2548
2549 * gdb.base/maint.exp (maint print type): Update for new type
2550 structure.
eac2a696 2551
e31f1a7c
EZ
25522002-05-14 Elena Zannoni <ezannoni@redhat.com>
2553
2554 * gdb.arch: New directory.
2555 * gdb.arch/configure.in: New file.
2556 * gdb.arch/configure: New file.
2557 * gdb.arch/Makefile.in: New file.
2558
db589741
CV
25592002-05-13 Corinna Vinschen <vinschen@redhat.com>
2560
2561 * gdb.asm/asm-source.exp: Add v850 as supported target.
2562 * gdb.asm/v850.inc: New file.
2563
8ce2a7dc
DJ
25642002-05-13 Daniel Jacobowitz <drow@mvista.com>
2565
2566 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2567
df763c7f
DJ
25682002-05-12 Daniel Jacobowitz <drow@mvista.com>
2569
2570 * gdb.base/break.exp: Check 'break "marker2"'.
2571
377daeed
MS
25722002-05-10 Michael Snyder <msnyder@redhat.com>
2573
2574 * gdb.base/long_long.exp: Fix typo.
2575
c4b7bc2b
JB
25762002-05-10 Jim Blandy <jimb@redhat.com>
2577
ecac9a4e
JB
2578 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2579 a bug.
2580
c4b7bc2b
JB
2581 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2582 Recognize more detailed error message produced by the macro
2583 expander's lexical analyzer.
2584 * lib/gdb.exp (test_print_reject): Same.
2585
e71019a1
MK
25862002-05-09 Mark Kettenis <kettenis@gnu.org>
2587
2588 * gdb.c++/method.exp: Fix typo.
2589
fedfc8e6
MS
25902002-05-08 Michael Snyder <msnyder@redhat.com>
2591
166a1957
MS
2592 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2593 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2594 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2595 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2596 Add iftarget clause for strongarm.
2597
f1c47eb2
MS
25982002-05-06 Michael Snyder <msnyder@redhat.com>
2599
cb9a9d3e
MS
2600 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2601 (gdb_continue_to_end): Accept output from status wrapper.
2602 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2603 Clean up fail messages to match pass messages.
2604
f1c47eb2
MS
2605 Enable the "needs_status_wrapper" testsuite feature.
2606 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2607 (gdb_compile): Conditionally call gdb_wrapper_init.
2608 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2609 * gdb.c++/method.exp: Recognize output from status wrapper.
2610
6079c749
BE
26112002-05-06 Ben Elliston <bje@redhat.com>
2612From Graydon Hoare <graydon@redhat.com>
2613
2614 * config/sid.exp: Include support for "rawsid" protocol.
2615
188baff3
JB
26162002-05-03 Jim Blandy <jimb@redhat.com>
2617
2618 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2619 * gdb.c++/hang3.C: New file.
2620
b9c07f0f
AC
26212002-05-04 Andrew Cagney <ac131313@redhat.com>
2622
2623 * gdb.base/default.exp: Remove obsolete code.
2624 * gdb.c++/misc.exp: Ditto. Update copyright.
2625 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2626 * gdb.base/whatis.exp: Ditto. Update copyright.
2627 * gdb.base/scope.exp: Ditto. Update copyright.
2628 * gdb.base/ptype.exp: Ditto. Update copyright.
2629 * gdb.base/printcmds.exp: Ditto. Update copyright.
2630 * gdb.base/opaque.exp: Ditto. Update copyright.
2631 * gdb.base/list.exp: Ditto.
2632 * gdb.base/funcargs.exp: Ditto. Update copyright.
2633 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2634 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2635 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2636 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2637 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2638 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2639
5c7a0397
MS
26402002-05-02 Michael Snyder <msnyder@redhat.com>
2641
d6dcc264 2642 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2643 * gdb.base/long_long.exp: Add xscale target.
2644 * gdb.base/default.exp: Add xscale target.
2645
eb7f1c48
JB
26462002-05-01 Jim Blandy <jimb@redhat.com>
2647
2648 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2649 gdb.c++/hang.exp: New test.
2650
a6befae8
FF
26512002-05-01 Fred Fish <fnf@redhat.com>
2652
2653 * gdb.base/completion.exp: Handle completions of "./Make" for
2654 more than one completion possibility, as is the case when we
2655 build and test in the source tree.
2656
0a310277
AG
26572002-04-29 Anthony Green <green@redhat.com>
2658
2659 * gdb.java/jmisc1.exp: New file.
2660 * gdb.java/jmisc2.exp: New file.
2661
6ff9af88
DJ
26622002-04-24 Daniel Jacobowitz <drow@mvista.com>
2663
2664 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2665
96b3d632
EZ
26662002-04-23 Elena Zannoni <ezannoni@redhat.com>
2667
2668 * gdb.base/help.exp: Change 'help status' to allow for target
2669 dependent output differences.
2670
5019bb54
MC
26712002-04-22 Michael Chastain <mec@shout.net>
2672
2673 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2674
a805a116
MC
26752002-04-22 Michael Chastain <mec@shout.net>
2676
2677 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2678
a1706bfd
DM
26792002-04-17 David S. Miller <davem@redhat.com>
2680
2681 * gdb.asm/sparc64.inc: New file.
2682 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2683
a73a20a2
EZ
26842002-04-19 Elena Zannoni <ezannoni@redhat.com>
2685
2686 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2687 instruction file directly into the build tree. Clean up at end of
2688 test.
2689
ba678339
DM
26902002-04-18 David S. Miller <davem@redhat.com>
2691
2692 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2693 handle 64-bit platforms correctly.
2694 * gdb.base/maint.exp: Likewise.
2695
b03399da
KB
26962002-04-18 Kevin Buettner <kevinb@redhat.com>
2697
2698 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2699 ``-fpic'' when compiling files comprising a shared library, but
2700 it does need additional linker flags in order to find shared
2701 libraries at run time.
2702
e2004992
KB
27032002-04-18 Kevin Buettner <kevinb@redhat.com>
2704
2705 * gdb.base/cvexpr.c (use): New function.
2706 (main): Invoke use() on all global variables to prevent
2707 some linkers from deleting these otherwise unused symbols.
2708
d8937120
MC
27092002-04-17 Michael Chastain <mec@shout.net>
2710From David S. Miller <davem@redhat.com>
2711
2712 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2713 handle 64-bit platforms correctly.
2714
ffd61a58
MS
27152002-04-12 Michael Snyder <msnyder@redhat.com>
2716From Jim Blandy <jimb@redhat.com>
2717 * gdb.base/foo.c (foox): Remove section attribute; the linker
2718 script can handle this instead.
2719 * gdb.base/bar.c (barx): Same.
2720 * gdb.base/baz.c (bazx): Same.
2721 * gdb.base/grbx.c (grbxx): Same.
2722
2723 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2724 manager doesn't automatically unmap overlays unnecessarily.
2725
6b8426a6
MH
27262002-04-10 Martin M. Hunt <hunt@redhat.com>
2727
2728 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2729 stepping out of main.
2730
34af4875
MC
27312002-04-09 Michael Chastain <mec@shout.net>
2732
2733 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2734 scope so that the nested scope tests will make sense.
2735 * gdb.c++/local.exp: Write patterns that actually work with gcc
2736 (the HP patterns "were never known to work with gcc").
2737 Keep the old aCC patterns too.
2738
2d1676a0
DJ
27392002-04-09 Daniel Jacobowitz <drow@mvista.com>
2740
2741 * gdb.base/attach.exp: Correct target board test.
2742
3a63e3f9
MC
27432002-04-08 Michael Chastain <mec@shout.net>
2744
2745 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2746 in a const method. Add some xfail and fail cases for configurations
2747 that do not emit the "const ...".
2748
f18dabd2
MC
27492002-04-07 Michael Chastain <mec@shout.net>
2750
2751 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2752 Accept "A * const" and "const A * const" as type of "this".
2753 Fix spelling of getFunky throughout. Make messages uniform.
2754
0fcddd82
EZ
27552002-04-07 Elena Zannoni <ezannoni@redhat.com>
2756
2757 Work around for PR gdb/285:
2758 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2759
16a8534a
EZ
27602002-04-07 Elena Zannoni <ezannoni@redhat.com>
2761
2762 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2763 instructions file at run time instead of configure time.
2764 Sometimes we run the test in a directory that is not the one we
2765 configured in.
2766 * gdb.asm/configure.in: Delete creation of symlink.
2767 * gdb.asm/configure: Regenerate.
2768
24181d81
JB
27692002-04-05 J. Brobecker <brobecker@gnat.com>
2770
2771 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2772 xfullpath () function.
2773
7cdb7107
DJ
27742002-04-04 Daniel Jacobowitz <drow@mvista.com>
2775
2776 * gdb.asm/Makefile.in: Correct dependencies.
2777
2778 * gdb.asm/powerpc.inc: New file.
2779 * gdb.asm/asm-source.exp: Add PowerPC.
2780 * gdb.asm/configure.in: Likewise.
2781 * gdb.asm/configure: Regenerated.
2782
a7d17088
DJ
27832002-04-04 Daniel Jacobowitz <drow@mvista.com>
2784
2785 * gdb.base/relocate.exp: New file.
2786 * gdb.base/relocate.c: New file.
2787
cd721503
FF
27882002-04-04 Fred Fish <fnf@redhat.com>
2789
2790 * gdb.base/step-test.exp: Update comment regarding stopping in
2791 memcpy/bcopy calls inserted as part of the compiler runtime.
2792
b22ad7a7
MS
27932002-04-04 Michael Snyder <msnyder@redhat.com>
2794
2795 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2796
5f279fa6
DJ
27972002-04-03 Daniel Jacobowitz <drow@mvista.com>
2798
2799 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2800 (gdb_expect): Remove $notransfer hack.
2801
dd0fd3ce
DJ
28022002-04-02 Daniel Jacobowitz <drow@mvista.com>
2803
2804 * gdb.c++/classes.exp ("calling method for small class"): Match
2805 updated register output.
2806
1e50cda1
DJ
28072002-03-30 Daniel Jacobowitz <drow@mvista.com>
2808
2809 Fix PR gdb/452
2810 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2811 when finished. Make gdb_file_cmd send "exec-file" when
2812 appropriate.
2813
24015922
DJ
28142002-03-30 Daniel Jacobowitz <drow@mvista.com>
2815
2816 * gdb.base/attach.exp: Remove extra setup_xfail.
2817
dd7dfd64
MS
28182002-03-26 Michael Snyder <msnyder@redhat.com>
2819
2820 * gdb.base/default.exp: Add tests for dump, append, and restore.
2821 * gdb.base/help.exp: Add tests for dump, append, and restore.
2822 * gdb.base/dump.exp: New file, test dump, append and restore.
2823 * gdb.base/dump.c: New file.
2824
48b2f8d7
MS
28252002-03-27 Michael Snyder <msnyder@redhat.com>
2826
2827 * gdb.base/help.exp: Modify expect strings to reflect
2828 clean-ups in help messages.
2829
05b4d525
FF
28302002-03-26 Fred Fish <fnf@redhat.com>
2831
2832 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2833 have debugging info for those functions and the compiler uses them
2834 internally to copy structs around.
2835
d7679631
FF
28362002-03-26 Fred Fish <fnf@redhat.com>
2837
2838 * gdb.base/list.exp: Revert the change made yesterday and add note
2839 about why we don't list the default lines for remote targets.
2840
523ac3f9
MS
28412002-03-25 Michael Snyder <msnyder@redhat.com>
2842
2843 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2844
754b2b8d
FF
28452002-03-25 Fred Fish <fnf@redhat.com>
2846
2847 * gdb.base/list.exp: This test works on remote targets so remove
2848 the short circuit for remote targets. Update copyright.
2849
33c3e192
FF
28502002-03-25 Fred Fish <fnf@redhat.com>
2851
2852 * gdb.base/attach.exp: Fix logic error that was suppressing this
2853 test for all non hppa*-*-hpux* targets, instead of the hp target.
2854 Move comments closer to the suppression point. Also now need to
2855 check that we are running natively.
2856
d43e73ee
MS
28572002-03-22 Michael Snyder <msnyder@redhat.com>
2858
882c8f02
MS
2859 * gdb.base/default.exp: Add test for gcore. Update copyright.
2860 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2861
04c12f60
FF
28622002-03-06 Fred Fish <fnf@redhat.com>
2863
2864 * gdb.base/funcargs.c: Remove extraneous ';' character.
2865 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2866
b43df995
MC
28672002-03-04 Michael Chastain <mec@shout.net>
2868
2869 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2870 accommodate gcc v3 function signature.
2871 * gdb.mi/mi0-var-cmd-exp: Ditto.
2872
92362027
AC
28732002-02-24 Andrew Cagney <ac131313@redhat.com>
2874
2875 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2876 ``GNU/Linux'' or ``Linux kernel''
2877 * testsuite/gdb.threads/pthreads.c: Ditto.
2878
258ad32d
MC
28792002-02-24 Michael Chastain <mec@shout.net>
2880
2881 * gdb.threads/pthreads.c (thread1): Add a return statement.
2882 (thread2): Likewise.
2883 (foo): Likewise.
2884
04c3b3d4
MC
28852002-02-23 Michael Chastain <mec@shout.net>
2886
2887 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2888 to placate gcc.
2889
5a2a0a20
MC
28902002-02-23 Michael Chastain <mec@shout.net>
2891
2892 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2893 test "ptype bint". The test passes on all my stabs configurations.
2894
a640f7fc
JB
28952002-02-21 Jim Blandy <jimb@redhat.com>
2896
27924826
JB
2897 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2898 filename at a time, and watch for the ones we want to see.
2899
a640f7fc
JB
2900 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2901 types of pointers to prototyped functions.
2902
edcc8c75
AC
29032002-02-20 Andrew Cagney <ac131313@redhat.com>
2904
2905 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2906 signed, unsigned and straight char.
2907 (padding_char, padding_short, padding_int, padding_long,
2908 padding_long_long, padding_float, padding_double,
2909 padding_long_double): New global variables.
2910 (fill, fill_structs): New functions.
2911
2912 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2913 for correctly sized writes. Update copyright.
2914 (get_valueof): New procedure.
2915 (get_sizeof): Call get_valueof.
2916 (check_valueof): New procedure.
2917 (check_padding): New procedure.
2918
ac57ea44
MC
29192002-02-20 Michael Chastain <mec@shout.net>
2920
2921 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2922 to setup_xfail. Document some of the remaining calls.
2923
7a10c941
MC
29242002-02-18 Michael Chastain <mec@shout.net>
2925
2926 * gdb.c++/userdef.exp: Update copyright year.
2927
fb8acdcc
DJ
29282002-02-18 Daniel Jacobowitz <drow@mvista.com>
2929
2930 * gdb.c++/userdef.exp: Test overloaded operators properly.
2931 Remove xfails.
2932
fda6ae12
MS
29332002-02-14 Michael Snyder <msnyder@redhat.com>
2934
2935 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2936
676a0442
DJ
29372002-02-14 Daniel Jacobowitz <drow@mvista.com>
2938
2939 * gdb.base/a2-run.exp: Check for a remote target properly.
2940 * gdb.base/annota1.exp: Likewise.
2941 * gdb.base/list.exp: Likewise.
2942 * gdb.base/reread.exp: Likewise.
2943 * gdb.base/scope.exp: Likewise.
2944 * gdb.base/shlib-call.exp: Likewise.
2945 * gdb.base/term.exp: Likewise.
2946 * gdb.c++/annota2.exp: Likewise.
2947
78b4f468
RE
29482002-02-13 Richard Earnshaw <rearnsha@arm.com>
2949
2950 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2951
9a81ba51
MC
29522002-02-10 Michael Chastain <mec@shout.net>
2953
2954 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2955 (call_after_alloca): Ditto.
2956
004af6c7
DJ
29572002-02-10 Daniel Jacobowitz <drow@mvista.com>
2958
2959 * gdb.base/ending-run.exp: Guard "cont" test with
2960 gdb_skip_stdio_test.
2961
37225f62
JB
29622002-02-06 Jim Blandy <jimb@redhat.com>
2963
2964 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2965 from here...
2966 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2967 To here. Disable this test on non-HP platforms. Add big comment.
2968
fe6fdd96
MS
29692002-02-04 Michael Snyder <msnyder@redhat.com>
2970
2971 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2972 other than d10v and m32r.
2973
036fad3f
RE
29742002-02-02 Richard Earnshaw <rearnsha@arm.com>
2975
2976 * gdb.base/default.exp: Rewrite test patterns to reduce time
2977 taken to match them.
2978
7148ab62
DJ
29792002-01-30 Daniel Jacobowitz <drow@mvista.com>
2980
2981 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2982 Allow a start function above main.
2983 * gdb.threads/linux-dp.exp: Fix copyright date.
2984
396cc255
DJ
29852002-01-30 Daniel Jacobowitz <drow@mvista.com>
2986
2987 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2988 (check_philosopher_stack): Check for manager thread before checking
2989 for a just-starting thread.
2990
f038d31b
DJ
29912002-01-30 Daniel Jacobowitz <drow@mvista.com>
2992
2993 From Neil Booth <neil@daikokuya.demon.co.uk>:
2994 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2995 warnings.
2996
b3ff9d9a
FF
29972002-01-21 Fred Fish <fnf@redhat.com>
2998
2999 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
3000 not caller.
3001
39ad761d
JB
30022002-01-21 Jim Blandy <jimb@redhat.com>
3003
3004 * gdb.base/reread.exp: Check that GDB properly re-reads the
3005 executable file when it changes while no inferior is running.
3006
aaf320fa
FF
30072002-01-21 Fred Fish <fnf@redhat.com>
3008
3009 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3010 optionally accept the "shlib events" variation.
3011
808a31f5
JB
30122002-01-21 Jim Blandy <jimb@redhat.com>
3013
3014 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3015 call `fflush' after every `printf', so that the output is produced
3016 at predictable points, regardless of whatever buffering does (or
3017 doesn't) take place.
3018 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3019 at different points.
3020
4420d5e2
DJ
30212002-01-20 Daniel Jacobowitz <drow@mvista.com>
3022
3023 * gdb.c++/inherit.exp: Update copyright years.
3024 * gdb.c++/method.exp: Likewise.
3025
3e36a0f4
DJ
30262002-01-20 Daniel Jacobowitz <drow@mvista.com>
3027
3028 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3029 artificial methods/arguments.
3030 * gdb.c++/derivation.exp: Likewise.
3031 * gdb.c++/inherit.exp: Likewise.
3032 * gdb.c++/method.exp: Likewise.
3033 * gdb.c++/virtfunc.exp: Likewise.
3034
b4ceaee6
AC
30352002-01-18 Andrew Cagney <ac131313@redhat.com>
3036
3037 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3038 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3039 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3040 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3041 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3042 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3043
ecace851
JB
30442002-01-17 Jim Blandy <jimb@redhat.com>
3045
3046 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3047 anchoring the pattern matching the entry point symbol's name.
3048
375fc983
AC
30492002-01-17 Andrew Cagney <ac131313@redhat.com>
3050
3051 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3052 continue/quit query. Update copyright.
3053
fe6fdd96
MS
30542002-01-14 Michael Snyder <msnyder@redhat.com>
3055
3056 * gdb.base/gcore.exp: Remove extra debugging output.
3057
e017c81f
DJ
30582002-01-13 Daniel Jacobowitz <drow@mvista.com>
3059
3060 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3061 for slightly dubious v2 mangled string.
3062
37ab3bf8
DJ
30632002-01-13 Daniel Jacobowitz <drow@mvista.com>
3064
3065 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3066
1bc05c3a 30672002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3068
1bc05c3a 3069 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3070
1bc05c3a
JM
3071 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3072 constructors.
3073 * gdb.c++/derivation.exp: Likewise.
3074 * gdb.c++/templates.exp: Likewise.
3075 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3076
1bc05c3a
JM
30772002-01-10 Michael Snyder <msnyder@redhat.com>
3078
3079 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3080
a911c360
MS
30812002-01-08 Michael Snyder <msnyder@redhat.com>
3082
3083 * gdb.base/gcore.exp: New test for generate-core-file command.
3084 * gdb.base/gcore.c: Testcase for above.
3085 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3086
ea2119ec
JM
30872002-01-08 Jason Merrill <jason@redhat.com>
3088
3089 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3090
68203136
FF
30912002-01-07 Fred Fish <fnf@redhat.com>
3092
3093 * gdb.c++/overload.exp: Remove unconditional xfails for:
3094 print foo_instance1.overloadargs(1)
3095 print foo_instance1.overloadargs(1, 2)
3096 print foo_instance1.overloadargs(1, 2, 3)
3097 print foo_instance1.overloadargs(1, 2, 3, 4)
3098 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3099 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3100 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3101 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3102 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3103 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3104 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3105 print foo_instance1.overload1arg()
3106 print foo_instance1.overload1arg((char)arg2)
3107 print foo_instance1.overload1arg((signed char)arg3)
3108 print foo_instance1.overload1arg((unsigned char)arg4)
3109 print foo_instance1.overload1arg((int)arg7)
3110 print foo_instance1.overload1arg((unsigned int)arg8)
3111 print foo_instance1.overload1arg((float)arg11)
3112 print foo_instance1.overload1arg((double)arg12)
3113
21b9b5b1
MS
31142002-01-07 Michael Snyder <msnyder@redhat.com>
3115
3116 * gdb.base/huge.exp: New test. Print a very large target data object.
3117 (skip_huge_test): New test variable. Define if you want to skip this
3118 test. The test reads an 8 megabyte data object from the target, so it
3119 might be very time consuming on remote targets with a slow connection.
3120 * gdb.base/huge.c: New file. Test case for above.
3121
725f922e
FF
31222002-01-07 Fred Fish <fnf@redhat.com>
3123
3124 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3125 g_instance.bfoo, and g_instance.cfoo.
3126
634d57ec
JL
3127Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3128
f286b2c3
JL
3129 * gdb.base/break.c (multi_line_if_conditional): New function.
3130 (multi_ilne_while_conditional): Likewise.
3131 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3132 IF or WHILE condition puts the breakpoint at the start of
3133 the condition.
3134
634d57ec
JL
3135 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3136 hppa*-*-hpux* expected failure.
3137 * gdb.base/structs.exp (do_function_calls): Similarly.
3138
3139 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3140 watchpoints.
3141
9fbfe2dc
AC
31422002-01-06 Andrew Cagney <ac131313@redhat.com>
3143
3144 Fix PR gdb/66.
3145 * gdb.base/structs.exp: Replace skip for a29k with skip for
3146 gdb,cannot_call_functions.
3147 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3148 * gdb.base/callfuncs.exp: Ditto.
3149 * gdb.base/call-rt-st.exp: Ditto.
3150 * gdb.base/call-strs.exp: Ditto.
3151 * gdb.base/callfwmall.exp: Ditto.
3152 * gdb.base/scope.exp: Obsolete xfail a29k.
3153 * gdb.c++/misc.exp: Ditto.
3154 * gdb.c++/cplusfuncs.exp: Ditto.
3155 * gdb.base/ptype.exp: Ditto.
3156 * gdb.base/printcmds.exp: Ditto.
3157 * gdb.base/opaque.exp: Ditto.
3158 * gdb.base/list.exp: Ditto.
3159 * gdb.base/funcargs.exp: Ditto.
3160 * gdb.base/default.exp: Ditto.
3161
8ddad156
MS
31622002-01-04 Michael Snyder <msnyder@redhat.com>
3163
ca4976a6 3164 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3165 * gdb.base/maint.exp: Add tests for maint info sections options.
3166
1b074332
JL
3167Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3168
3169 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3170
7d159115
CV
31712001-12-20 Corinna Vinschen <vinschen@redhat.com>
3172
3173 * gdb.asm/arm.inc: New file.
3174 * gdb.asm/asm-source.exp: Add arm targets.
3175 * gdb.asm/configure.in: Ditto.
3176 * gdb.asm/configure: Recreated from configure.in.
3177
8fb87725
JL
3178Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3179
afabe08c
JL
3180 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3181 with HP's compiler.
3182 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3183 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3184 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3185 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3186
3187 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3188 either HP's compilers or GCC.
3189
db521deb
JL
3190 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3191 a SIGBUS or SIGSEGV.
3192
3193 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3194
3195 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3196 can be compiled with either HP's compiler or GCC.
3197
cfa88ab7
JL
3198 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3199 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3200 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3201
ca344dff
JL
3202 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3203 to match current gdb output. Update due to using auto-solib-limit
3204 for limiting instead of overloading auto-solib-add.
3205 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3206 test program.
3207
3f3c6e55 3208 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3209 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3210 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3211 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3212 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3213 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3214 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3215 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3216 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3217 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3218 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3219 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3220 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3221
8fb87725
JL
3222 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3223 a SIGTRAP to the inferior.
3224
cf599fa7
CV
32252001-12-19 Corinna Vinschen <vinschen@redhat.com>
3226
3227 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3228 Substitute call to target_link by call to gdb_compile.
3229
2cd045cd
JL
3230Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3231
3232 * gdb.base/break.exp: Fix HP specific search string when testing
3233 backtracing in a called function.
3234
3235 * gdb.base/constvars.exp: Only set lang to C++ if we're
3236 compiling the test with HP's compilers.
3237 * gdb.base/volatile.exp: Similarly.
3238
99ebe9ac
JB
32392001-12-19 Jim Blandy <jimb@redhat.com>
3240
3241 * gdb.base/printcmds.exp: Expect the null character to be printed
3242 as '\0', and the '\013' to be printed as '\v'.
3243 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3244 * gdb.base/setvar.exp: Same.
3245
b9891b29
JB
32462001-12-17 Jim Blandy <jimb@redhat.com>
3247
0eba65ab
JB
3248 * gdb.base/completion.exp: Rather than completing very long
3249 filenames, which can make the readline library produce output we
3250 don't recognize, cd to the directory first, and then complete
3251 using nice, short relative paths.
3252
6970b5b1
JB
3253 * gdb.base/completion.exp: On some systems, there is, in fact, a
3254 variable named `b' in scope, since GDB treats all static
3255 variables as being in scope. So use `no_var_named_this'
3256 instead of `b'.
3257
b9891b29
JB
3258 * gdb.base/corefile.exp: Recognize the message saying that GDB
3259 can't find the core file's registers as a failure.
3260
e6ccd35f
JSC
32612001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3262
3263 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3264 test expect string more specific.
3265
105ba819
CV
32662001-12-13 Corinna Vinschen <vinschen@redhat.com>
3267
3268 * gdb.asm/asm-source.exp: Add support for xstormy16.
3269 * gdb.asm/configure.in: Ditto.
3270 * gdb.asm/configure: Rebuild.
3271 * gdb.asm/xstormy16.inc: New file.
3272
e9e79dd9
FF
32732001-12-10 Fred Fish <fnf@redhat.com>
3274
3275 * gdb.base/maint.exp: Update to match changes in type dumping code.
3276
347dc97d
JB
32772001-12-10 Jim Blandy <jimb@redhat.com>
3278
3279 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3280 matching the entry point symbol's name at the beginning of the
3281 line.
3282
5178b9d6
DJ
32832001-12-07 Daniel Jacobowitz <drow@mvista.com>
3284
3285 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3286 gdb.c++/inherit.exp, gdb.c++/method.exp,
3287 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3288 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3289 and class layout support.
3290
af890c52
DJ
32912001-12-07 Daniel Jacobowitz <drow@mvista.com>
3292
3293 * gdb.c++/classes.exp: Add test for static member function.
3294 * gdb.c++/misc.cc: Add class with static member function.
3295
7a345fb3
JB
32962001-12-07 Jim Blandy <jimb@redhat.com>
3297
f2e54a80 3298 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3299 those tests as `unsupported'.
3300 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3301 Rewrite subsequent tests to use it.
3302
3303 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3304 those tests as `unsupported'.
3305 * gdb.base/structs.exp (call_struct_func): New function.
3306 (do_function_calls): Use call_struct_func to call the functions
3307 returning structs.
3308
0bc69509
JB
3309 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3310 whether functions are prototyped or not, so we can't possibly pass
3311 arguments to t_float_values2 properly.
3312
7a345fb3
JB
3313 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3314 value of `timeout' for targets other than the mips*tx39-*.
3315
edb6ede1
MS
33162001-12-06 Michael Snyder <msnyder@redhat.com>
3317
3318 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3319 and detect whether the start symbol has a leading underscore.
3320
2d842f13
JB
33212001-12-04 Jim Blandy <jimb@redhat.com>
3322
3323 * gdb.base/completion.exp: Clarify indentation.
3324
68550daf
JB
33252001-12-03 Jim Blandy <jimb@redhat.com>
3326
3327 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3328 variables on the S/390, not `.word'.
3329
cd5195a8
JB
33302001-11-30 Jim Blandy <jimb@redhat.com>
3331
3332 Add assembly-source tests for s390-ibm-linux.
3333 * gdb.asm/s390.inc: New file.
3334 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3335 the S/390 architecture.
3336 * gdb.asm/configure: Regenerated.
3337
ca9efc90
MS
33382001-11-30 Michael Snyder <msnyder@redhat.com>
3339
3340 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3341 next, info source, info sources, info line, global and static
3342 variables, and static functions.
3343 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3344 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3345 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3346 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3347 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3348 (gdbasm_leave): Restore frame pointer.
3349 (gdbasm_startup): Copy stack set-up from crt0.S.
3350
d0e66976
FN
33512001-11-26 Fernando Nasser <fnasser@redhat.com>
3352
3353 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3354 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3355 to a local (non-static) variable. Copy tstruct.a to a static buffer
3356 and return a pointer to that buffer.
3357 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3358
e2334072
MK
33592001-11-24 Mark Kettenis <kettenis@gnu.org>
3360
3361 * gdb.asm/configure.in: Fix recognition of ix86 target.
3362 * gdb.asm/configure: Regenerate.
3363
756caa3d
MS
33642001-11-21 Michael Snyder <msnyder@redhat.com>
3365
3366 * gdb.asm/sparc.inc: New file.
3367 * gdb.asm/asm-source.exp: Recognize sparc target.
3368 * gdb.asm/configure.in: Recognize sparc target.
3369 * gdb.asm/configure: Regenerate.
3370
9a4d72d5
MS
33712001-11-21 Michael Snyder <msnyder@redhat.com>
3372
3373 * gdb.asm/m32r.inc: New file.
3374 * gdb.asm/asm-source.exp: Recognize m32r target.
3375 * gdb.asm/configure.in: Recognize m32r target.
3376 * gdb.asm/configure: Regenerate.
3377
a773d1cd
MS
33782001-11-20 Michael Snyder <msnyder@redhat.com>
3379
017ac23d
MS
3380 * gdb.asm/i386.inc: New file.
3381 * gdb.asm/asm-source.exp: Recognize ix86 target.
3382 * gdb.asm/configure.in: Recognize ix86 target.
3383 * gdb.asm/configure: Regenerate.
3384
a773d1cd
MS
3385 * gdb.c++/namespace.exp: Fix quotes in output messages.
3386
bb632afb
MS
33872001-11-14 Michael Snyder <msnyder@redhat.com>
3388
25d559ca 3389 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3390 qualifier in a type cast expression, to designate an address
3391 in the instruction space (Harvard architecture).
3392
4749e309
MS
33932001-11-13 Michael Snyder <msnyder@redhat.com>
3394
3395 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3396 Tests for expressions using 'const' and 'volatile'.
3397
25050984
CV
33982001-11-13 Corinna Vinschen <vinschen@redhat.com>
3399
3400 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3401
1902c51f
DJ
34022001-11-12 Daniel Jacobowitz <drow@mvista.com>
3403
3404 * lib/mi-support.exp (mi_run_to_helper): Move comments
3405 outside of gdb_expect.
3406
dcf95b47
DJ
34072001-11-11 Daniel Jacobowitz <drow@mvista.com>
3408
3409 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3410 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3411 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3412 mi0_run_to): New functions.
3413 * gdb.mi/mi-simplerun.exp: Use them.
3414 * gdb.mi/mi0-simplerun.exp: Likewise.
3415 * gdb.mi/mi-var-cmd.exp: Likewise.
3416 * gdb.mi/mi0-var-cmd.exp: Likewise.
3417
45b074e1
AC
34182001-11-10 Andrew Cagney <ac131313@redhat.com>
3419
3420 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3421 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3422
bf50d346
AC
34232001-11-09 Andrew Cagney <ac131313@redhat.com>
3424
3425 * gdb.base/restore.exp: Include $expected value in restored test
3426 message.
3427
9383332c
AC
34282001-11-09 Andrew Cagney <ac131313@redhat.com>
3429
3430 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3431 implemented.
3432
db62520a
MS
34332001-11-08 Michael Snyder <msnyder@redhat.com>
3434
3435 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3436 Add pass/fail message for stop at breakpoint in call dummy function.
3437
b5703437
MS
34382001-11-07 Michael Snyder <msnyder@redhat.com>
3439
760f6330
MS
3440 * gdb.c++/templates.exp (test_template_breakpoints):
3441 If we get an overload menu, but it does not match what
3442 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3443 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3444 making the whitespace optional. Argument for "new" may be
3445 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3446 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3447 making the whitespace optional. Also replace "(void) with
3448 "((void|)), making the keyword "void" optional.
63f50499
MS
3449 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3450 making the whitespace optional. Also replace "(void) with
3451 "((void|)), making the keyword "void" optional.
3bf40917
MS
3452 * gdb.base/callfuncs.c (t_float_values): This function must
3453 _not_ be prototyped, and the following function (t_float_values2)
3454 must be prototyped (if the compiler supports it), so that GDB
3455 can be tested against both cases. Usually one case involves
3456 promotion of float to double, while the other does not.
3457 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3458 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3459 includes a stack frame for "start".
3460
c8ab4e6d
JB
34612001-11-05 Jim Blandy <jimb@redhat.com>
3462
3463 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3464 pointers are 32 bits long, and that offsets of relocs are always
3465 stored in the data (REL-style), and not in the reloc entry itself
3466 (RELA-style).
3467 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3468 stabs.
3469
3f08ced9
MS
34702001-11-01 Michael Snyder <msnyder@redhat.com>
3471
3472 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3473 and regular expression operators by using quoting.
3474
cbfa24cd
MS
34752001-10-31 Michael Snyder <msnyder@redhat.com>
3476
3477 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3478 depending on what the symbol table contains.
3479 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3480 the output of the ptype command. Similarly, accept both "const &"
3481 and "const&".
3482
aaa68313
CV
34832001-10-31 Corinna Vinschen <vinschen@redhat.com>
3484
3485 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3486 symbol `STORAGE' to allow to choose the storage class of
3487 the local datastructures.
3488 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3489 compiler directive.
3490
91740388
MS
34912001-10-30 Michael Snyder <msnyder@redhat.com>
3492
3493 * gdb.base/jump.exp: Allow it to run for all targets.
3494
1b7c05e7
CV
34952001-10-29 Corinna Vinschen <vinschen@redhat.com>
3496
3497 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3498 with new double_array size.
3499 (main): Change storage class of all local variables to static.
3500 Reduce size of double_array to 9.
3501 * gdb.base/call-ar-st.exp: Increase timeout value.
3502 Change expected output for double array to match new size in
3503 call-ar-st.c.
3504
36a22261
CV
35052001-10-29 Corinna Vinschen <vinschen@redhat.com>
3506
3507 * gdb.base/ending-run.exp: Create identical output when passing
3508 `step to end of run' case. Add regular expression branch satisfying
3509 Stormy16 target.
3510
92b8ae91
MK
35112001-10-28 Mark Kettenis <kettenis@gnu.org>
3512
3513 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3514 that we catch the expected failure under Linux/x86.
3515
cb135b83
OF
35162001-10-29 Orjan Friberg <orjanf@axis.com>
3517
3518 * gdb.base/setvar.exp: Escape curly braces.
3519 * gdb.stabs/weird.exp: Ditto.
3520
6884aa54
DJ
35212001-10-27 Daniel Jacobowitz <drow@mvista.com>
3522
3523 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3524 * gdm.mi/mi0-hack-cli.exp: Likewise.
3525
0398c9aa
AC
35262001-10-25 Andrew Cagney <ac131313@redhat.com>
3527
3528 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3529 messages.
3530
d20bf2e8
AC
35312001-10-21 Andrew Cagney <ac131313@redhat.com>
3532
3533 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3534 checking MI enabled.
3535
03dd63aa
CV
35362001-10-09 Corinna Vinschen <vinschen@redhat.com>
3537
3538 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3539
1d9d99f3
FCE
35402001-10-04 Frank Ch. Eigler <fche@redhat.com>
3541
3542 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3543 if gdb child process crashes, just signal an error.
3544
838ae6c4
JB
35452001-10-02 Jim Blandy <jimb@redhat.com>
3546
3547 * lib/gdb.exp (test_xfail_format): Simplify.
3548
3549 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3550 front of the variable name `format'. Simplify `if'.
3551
8f0cbc1c
DJ
35522001-10-01 Daniel Jacobowitz <drow@mvista.com>
3553
3554 * gdb.threads/pthreads.exp: Wait for output and delay
3555 before sending ^C.
3556
1f08dafd
DJ
35572001-10-01 Daniel Jacobowitz <drow@mvista.com>
3558
3559 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3560 some incorrect output instead of timing out.
3561 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3562
674f90ff
CV
35632001-09-28 Corinna Vinschen <vinschen@redhat.com>
3564
3565 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3566 check to allow additional `int'.
3567
9b284272
DJ
35682001-09-27 Daniel Jacobowitz <drow@mvista.com>
3569
3570 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3571 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3572
b55a4771
MS
35732001-09-27 Michael Snyder <msnyder@redhat.com>
3574
3575 * lib/gdb.exp (test_debug_format): New proc.
3576 (setup_xfail_format): Use new proc test_debug_format.
3577 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3578 proc; use new service proc test_debug_format.
3579 Replace all other "gcc_compiled" tests with this test.
3580 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3581 proc; use new service proc test_debug_format.
3582 Replace all other "gcc_compiled" tests with this test.
3583
35842001-09-27 Michael Snyder <msnyder@redhat.com>
3585
3586 * gdb.base/cvexpr.exp: New file.
3587 * gdb.base/cvexpr.c: New file
3588 Test for expressions using const and volatile keywords.
3589
4e6667ac
CV
35902001-09-26 Corinna Vinschen <vinschen@redhat.com>
3591
3592 * gdb.base/constvars.exp: Check for different orders of keywords
3593 and additional "int" strings in output.
3594
4f337972
AC
35952001-09-22 Andrew Cagney <ac131313@redhat.com>
3596
3597 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3598 responses from "help maint".
3599
2015650d
FCE
36002001-09-19 Frank Ch. Eigler <fche@redhat.com>
3601
3602 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3603 to localhost:NNN instead of :NNN, in case Xvfb is listening
3604 only on TCP.
3605
f3bcedc1
CV
36062001-09-19 Corinna Vinschen <vinschen@redhat.com>
3607
3608 * gdb.base/recurse.exp: When checking leaving the watchpoint
3609 scope, recognize when gdb is in function's epilogue and pass.
3610
6b819c92
KS
36112001-09-18 Keith Seitz <keiths@redhat.com>
3612
3613 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3614 support for running tests against sid targets.
3615 (gdbtk_done): Ditto.
3616
a10c9419
CV
36172001-09-18 Corinna Vinschen <vinschen@redhat.com>
3618
3619 * gdb.base/ending-run.c (main): Set stdout buffersize
3620 to the same reasonable value for any target.
3621 * gdb.base/ending-run.exp: Add a regular expression
3622 to make testsuite happy on Sanyo Stormy16 target.
3623
739d0d99
CV
36242001-09-17 Corinna Vinschen <vinschen@redhat.com>
3625
3626 * gdb.base/display.c (do_loops): Add float variable `f'.
3627 Increment f in loop.
3628 * gdb.base/display.exp: Increment timeout by 60 seconds.
3629 Change float display test to use variable `f'.
3630
1b8947f0
JB
36312001-09-17 Jim Blandy <jimb@redhat.com>
3632
3633 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3634 overflowing the limited breakpoint tables on some ROM monitors
3635 (like the ROM68K).
3636
9890ac81
FCE
36372001-09-15 Frank Ch. Eigler <fche@redhat.com>
3638
3639 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3640 the "-ac" (disable access control) flag.
3641
6db765ea
JH
36422001-08-30 Jeff Holcomb <jeffh@redhat.com>
3643
3644 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3645 ints.
3646
4c32cc04
KS
36472001-08-30 Keith Seitz <keiths@redhat.com>
3648
3649 * lib/gdb.exp: Move all insight-related functionality into
3650 separate file.
3651 * lib/insight-support.exp: New file.
3652
8d6e6f81
FCE
36532001-08-29 Frank Ch. Eigler <fche@redhat.com>
3654
3655 * config/sid.exp (sid_start): Never set sid verbosity; disable
3656 expect_background {} that consumed its stdout; tolerate </dev/null.
3657 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3658
6a90e1d0
AC
36592001-08-18 Andrew Cagney <ac131313@redhat.com>
3660
3661 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3662 CLI jump command to start it.
3663 (mi_run_to_main): Fail immediatly when unexpected output.
3664
1759b3c3
AC
36652001-08-18 Andrew Cagney <ac131313@redhat.com>
3666
3667 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3668 beginning of function. Fix PR gdb/191.
3669
61d11d80
FCE
36702001-08-16 Frank Ch. Eigler <fche@redhat.com>
3671
3672 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3673 what to force sid endianness to.
3674
942a4df2
KS
36752001-08-15 Keith Seitz <keiths@redhat.com>
3676
3677 * lib/gdb.exp (gdbtk_start): Don't set environment
3678 variables for TCL_LIBRARY and friends. Insight will
3679 now figure these out for itself.
3680
0521c418
MS
36812001-08-02 Michael Snyder <msnyder@redhat.com>
3682
3683 * gdb.base/completion.exp: Remove the symbol "a64l" from
3684 the expect string; this is target-specific, and not related
3685 to what is being tested.
3686
74a9a58a
DB
36872001-08-02 Dave Brolley <brolley@redhat.com>
3688
3689 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3690
c70819fa
MS
36912001-07-25 Michael Snyder <msnyder@redhat.com>
3692
c2b8fa57
MS
3693 * gdb.base/consecutive.exp: New file. Test stepping over
3694 breakpoints on consecutive instructions.
3695 * gdb.base/consecutive.c: New file.
3696
c70819fa
MS
3697 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3698 curly braces in regular expressions.
3699
2b1a1355
MS
37002001-07-25 Michael Snyder <msnyder@redhat.com>
3701
3702 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3703 legitimate output from stepping out of main.
3704
413eca6f
KS
37052001-07-22 Keith Seitz <keiths@redhat.com>
3706
3707 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3708 the empty string, do not run the tests.
3709
7e5a9322
SC
37102001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3711
3712 * gdb.base/long_long.exp: Detect size of pointer. Take into
3713 account 2-byte pointers when testing for p/a results.
3714
de58f10f
SC
37152001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3716
3717 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3718 and defined to 1K for m68hc11.
3719 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3720 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3721 (sizeof_random_data): New variable to tell the size of the data table;
3722 don't test past this size; always run to main.
3723
d6f5fea1
SC
37242001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3725
3726 * gdb.base/return2.exp: return of long long and double fails for
3727 68HC11; don't execute these tests on that platform.
3728 * gdb.base/return.exp: Return of a double fails for 68hc11.
3729
c477543d
SC
37302001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3731
3732 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3733 tests that print a float.
3734 * call-rt-st.exp: Likewise.
3735
63cf1c79
MK
37362001-07-12 Mark Kettenis <kettenis@gnu.org>
3737
3738 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3739 running this test on Linux.
3740
112f9ab5
MC
37412001-06-24 Michael Chastain <chastain@redhat.com>
3742
3743 * gdb.base/arithmet.exp: Remove some tests to make all test names
3744 unique.
3745
4970cb0f
MS
37462001-07-03 Michael Snyder <msnyder@redhat.com>
3747
3748 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3749 the output of the ptype command.
3750
d85da69f
MS
37512001-07-02 Michael Snyder <msnyder@redhat.com>
3752
4c8a82de
MS
3753 * gdb.base/completion.exp: Don't assume that break.c is the only
3754 source file that may contain functions named "marker".
d85da69f
MS
3755 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3756
8afc772b
AC
37572001-06-28 Andrew Cagney <ac131313@redhat.com>
3758
3759 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3760 of files to delete.
3761
3762 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3763 * gdb.disasm/h8300s.exp: New file.
3764 gdb.disasm/h8300s.s: Likewise.
3765
cff22675
AC
37662001-06-27 Andrew Cagney <ac131313@redhat.com>
3767
3768 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3769 empty breakpoint tables.
3770
68c81b54
AC
37712001-06-25 Andrew Cagney <ac131313@redhat.com>
3772
3773 * lib/mi-support.exp: Update args=... part of stop-reason
3774 patterns. Accept either a list or a tuple.
3775
2dd62704
AC
37762001-06-23 Andrew Cagney <ac131313@redhat.com>
3777
3778 * lib/mi-support.exp: Remove local emacs variable defining
3779 change-log-default-name.
3780
b4127474
MC
37812001-06-22 Michael Chastain <chastain@redhat.com>
3782
3783 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3784 This is operationally compatible with the previous version.
3785
8dbfb380
JB
37862001-06-13 Jim Blandy <jimb@redhat.com>
3787
3788 * lib/gdb.exp (gdb_test): Doc fix.
3789
f2d8c86d
MC
37902001-06-10 Michael Chastain <chastain@redhat.com>
3791
3792 * gdb.base/exprs.exp: Remove a duplicate test.
3793
81564d34
JB
37942001-06-06 Jim Blandy <jimb@redhat.com>
3795
3796 * gdb.base/return2.exp (main): Use values to test float and double
3797 returns that are not NaN's, to avoid being confused by IEEE
3798 comparison rules.
3799
da55addb
MS
38002001-06-04 Michael Snyder <msnyder@redhat.com>
3801
3802 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3803 non-zero if control_c fails. Terminate the test on failure,
3804 rather than wait for 12 more tests to time out.
3805
42c65987
JB
38062001-06-06 Jim Blandy <jimb@redhat.com>
3807
b18bced9
JB
3808 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3809 Don't forget to match the GDB prompt.
3810
42c65987
JB
3811 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3812
5b41e5f0
JB
38132001-06-04 Jim Blandy <jimb@redhat.com>
3814
3815 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3816 command.
3817
015e046f
KB
38182001-05-31 Kevin Buettner <kevinb@redhat.com>
3819
3820 * gdb.base/annota1.exp (info break): Match four or more spaces
3821 after "Address".
3822
fb1ffbbe
MC
38232001-05-31 Michael Chastain <chastain@redhat.com>
3824
3825 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3826 (dm_type_int_star): Likewise.
3827 (dm_type_long_star): Likewise.
3828 (dm_type_void_star): Likewise.
3829
5ea2a32c
KB
38302001-05-29 Kevin Buettner <kevinb@redhat.com>
3831
3832 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3833 to a known value in order to get consistent results regardless
3834 of the setting of INPUTRC or the presence or contents of .inputrc.
3835
ae23c492
MS
38362001-05-24 Michael Snyder <msnyder@redhat.com>
3837
ac55707e
MS
3838 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3839 Don't require that the main thread and the manager thread are the
3840 first in the list.
3841
ae23c492
MS
3842 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3843 debugging. If test fails, issue an "unsupported" not a "fail".
3844
400071f1
JB
38452001-05-24 Jim Blandy <jimb@redhat.com>
3846
3847 Don't assume that short is shorter than int.
3848 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3849 assume that shorts are smaller than ints. On a 16-bit machine,
3850 this isn't true.
3851 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3852 an int, is not equal to ~0 stored in an unsigned char. This tests
3853 the same thing that the previous test meant to, but works on
3854 16-bit machines, too.
3855 ("print unsigned char != (~0)"): Same test, complemented.
3856
0816a3e5
MS
38572001-05-24 Michael Snyder <msnyder@redhat.com>
3858
3859 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3860 test for (full_coverage == 0). This makes the test run faster,
3861 and prevents dejagnu getting out of step.
3862
f6dc23a9
KB
38632001-05-23 Kevin Buettner <kevinb@redhat.com>
3864
3865 * gdb.base/finish.exp (finish_void): Revise pattern for
3866 stopping on the call statement to not permit stopping at
3867 the start of the instructions comprising the call sequence.
3868
7dbd117d
MC
38692001-05-19 Michael Chastain <chastain@redhat.com>
3870
3871 * gdb.base/callfuncs.exp: Make all test names unique.
3872 * gdb.base/commands.exp: Make all test names unique.
3873 * gdb.base/condbreak.exp: Make all test names unique.
3874 * gdb.base/dbx.exp: Make all test names unique.
3875 * gdb.base/default.exp: Make all test names unique.
3876 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3877 and TIMEOUT messages to their corresponding PASS message.
3878 * gdb.base/ending-run.exp: Make all test names unique.
3879 * gdb.base/long_long.exp: Remove duplicate test.
3880
6b0b0a9e
KB
38812001-05-21 Kevin Buettner <kevinb@redhat.com>
3882
3883 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3884 stop on the call statement as well as the statement after the
3885 call.
3886
2caa35cb
MS
38872001-05-21 Michael Snyder <msnyder@redhat.com>
3888
3889 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3890
40713331
EZ
38912001-05-10 Elena Zannoni <ezannoni@redhat.com>
3892
3893 * gdb.base/completion.exp: Revamp test. Make it execute on all
3894 platforms.
3895
c2c1be8d
EZ
38962001-05-10 Elena Zannoni <ezannoni@redhat.com>
3897
2c9cd303
EZ
3898 * config/gdbserver.exp (gdb_load): Handle the case
3899 in which the arguments to gdbserver are given in the
3900 baseboard configuration file.
3901 Also handle the case in which the server needs to do a
3902 load.
3903
9671de48
KS
39042001-05-07 Keith Seitz <keiths@cygnus.com>
3905
3906 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3907 set up the display for testing.
3908 (gdbtk_start): Convert all paths to paths that tcl will like.
3909 Export target information to environment.
3910 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3911 necessary.
3912 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3913 (to_tcl_path): New proc to convert a given pathname into
3914 a path acceptible as an argument to a tcl command.
3915 (_gdbtk_export_target_info): New proc to export target info
3916 into the environment for gdbtk testing.
3917 (gdbtk_done): New proc to signal end-of-test.
3918
5a360f47
JB
39192001-05-06 Jim Blandy <jimb@redhat.com>
3920
3921 * restore.c: Make the code of caller0 correspond to its comment.
3922
66c756c6
MS
39232001-05-03 Michael Snyder <msnyder@redhat.com>
3924
3925 * config/sid.exp (gdb_target_sid): Check for error messages.
3926 On error or timeout, don't make expect exit (which will terminate
3927 all subsequent tests); instead just make gdb exit.
3928 (gdb_load): Check for error messages. On error or timeout,
3929 return a negative value.
3930
a966fde5
JB
39312001-04-24 Jim Blandy <jimb@redhat.com>
3932
851c18e0
JB
3933 * gdb.c++/templates.exp: If we see the prompt for the overload
3934 list, but we haven't recognized any of the longer patterns,
3935 arrange for this test to fail, not hang.
3936
a966fde5
JB
3937 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3938 variations.
3939
db144853
MC
39402001-04-22 Michael Chastain <chastain@redhat.com>
3941
3942 * gdb.c++/local.exp: Use the 'runto' library function.
3943 * gdb.c++/namespace.exp: Likewise.
3944 * gdb.c++/overload.exp: Likewise.
3945
3207ec21
KB
39462001-03-26 Kevin Buettner <kevinb@redhat.com>
3947
3948 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3949 * gdb.base/step-line.exp: New file. Test step/next in presence of
3950 #line directives.
3951 * gdb.base/step-line.c: New file. Test program for the above.
3952 * gdb.base/step-line.inp: New file. We pretend that this file has
3953 been transformed by some other tool into step-line.c.
3954
13b57657
JB
39552001-03-21 Jim Blandy <jimb@redhat.com>
3956
3957 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3958 unmangled operator names.
3959
754cbe1c
JB
39602001-03-20 Jim Blandy <jimb@redhat.com>
3961
3962 * gdb.threads/linux-dp.exp: Recognize an additional message
3963 generated by GDB when it doesn't understand how to debug threads
3964 on the target system.
3965
177495c9
AC
39662001-03-19 Andrew Cagney <ac131313@redhat.com>
3967
3968 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3969
f266096b
MC
39702001-03-12 Michael Chastain <chastain@redhat.com>
3971
3972 * gdb.c++/derivation.exp: Use the 'runto' library function.
3973
cac3c2ff
MC
39742001-03-12 Michael Chastain <chastain@redhat.com>
3975
3976 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3977
b6c11a24
MC
39782001-02-24 Michael Chastain <chastain@redhat.com>
3979
3980 * gdb.c++/ref-types.exp: Change handwritten code to library
3981 function 'runto'.
3982
6bae5bce
OF
39832001-03-16 Orjan Friberg <orjanf@axis.com>
3984
3985 * gdb.base/signals.exp: Set count to 0 explicitly.
3986
0015fd9a
MS
39872001-03-15 Mark Salter <msalter@redhat.com>
3988
3989 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3990 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3991 (gdb_load): Add support for additional target_info: gdb_download_size
3992 and gdb_load_timeout.
0015fd9a 3993
fc33412a
DT
3994Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3995
3996 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3997 file -- to prevent failing when the compile fails but we have no
3998 intention of running the tests anyway.
3999
4000 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
4001 tests if set.
4002
4003 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
4004 integers.
4005
4006 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4007 * gdb.c++/namespace.exp: Ditto.
4008
115f06de
OF
40092001-03-07 Orjan Friberg <orjanf@axis.com>
4010
4011 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4012 * gdb.base/pointers.exp: Relax pattern match of decimals.
4013
b6ba6518
KB
40142001-03-06 Kevin Buettner <kevinb@redhat.com>
4015
4016 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4017 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4018 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4019 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4020 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4021 config/sh.exp, config/sid.exp, config/slite.exp,
4022 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4023 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4024 config/vxworks.exp, config/vxworks29k.exp,
4025 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4026 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4027 gdb.base/arithmet.exp, gdb.base/assign.exp,
4028 gdb.base/async.exp, gdb.base/attach.exp,
4029 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4030 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4031 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4032 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4033 gdb.base/commands.exp, gdb.base/completion.exp,
4034 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4035 gdb.base/constvars.exp, gdb.base/corefile.exp,
4036 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4037 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4038 gdb.base/ending-run.exp, gdb.base/environ.exp,
4039 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4040 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4041 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4042 gdb.base/funcargs.exp, gdb.base/help.exp,
4043 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4044 gdb.base/logical.exp, gdb.base/long_long.exp,
4045 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4046 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4047 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4048 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4049 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4050 gdb.base/regs.exp, gdb.base/relational.exp,
4051 gdb.base/remote.exp, gdb.base/reread.exp,
4052 gdb.base/restore.exp, gdb.base/return2.exp,
4053 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4054 gdb.base/selftest.exp, gdb.base/setshow.exp,
4055 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4056 gdb.base/sigall.exp, gdb.base/signals.exp,
4057 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4058 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4059 gdb.base/step-test.exp, gdb.base/structs.c,
4060 gdb.base/structs.exp, gdb.base/structs2.exp,
4061 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4062 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4063 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4064 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4065 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4066 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4067 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4068 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4069 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4070 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4071 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4072 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4073 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4074 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4075 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4076 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4077 gdb.trace/circ.exp, gdb.trace/collection.exp,
4078 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4079 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4080 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4081 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4082 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4083 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4084 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4085 notices.
4086
dc96c6c7 40872001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4088
4089 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4090 first arg is int not float.
4091
dc96c6c7 40922001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4093
4094 * gdb.base/reread.exp: Unsupported for non-native targets;
4095 doesn't work for remote debugging.
4096
9b0c4aeb
FN
40972001-02-19 Fernando Nasser <fnasser@redhat.com>
4098
4099 From Drew Moseley <dmoseley@redhat.com>
4100 * gdb.base/ending-run.exp: Properly handle the BSP state when
4101 stepping past the end of main.
4102
02aa71d5
MC
41032001-02-19 John Moore <jmoore@redhat.com>
4104
4105 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4106 Converted HPUX fix for non-expected items following multiple
4107 step commands into general solution for all platforms.
4108
1fa449a4
MC
41092001-02-18 Michael Chastain <chastain@redhat.com>
4110
4111 * gdb.c++/classes.exp (do_tests): Change runto statements
4112 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4113 statements demangler agnostic.
4114 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4115 (gdb_virtfunc_restart): Likewise.
4116
b2f9ec70
MC
41172001-02-14 Michael Chastain <chastain@redhat.com>
4118
4119 * gdb.c++/inherit.exp (do_tests): Change runto statements
4120 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4121 statements demangler agnostic.
4122
cf74b8ca
AC
4123Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4124
4125 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4126 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4127 before calling common_routine 15 times'' tests.
4128
99f78f56
MC
41292001-02-11 Michael Chastain <chastain@redhat.com>
4130
4131 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4132 Helps the test script figure out which demangler is in use.
4133 (dm_type_foo_ref): Ditto.
4134 (dm_type_int_star): Ditto.
4135 (dm_type_long_star): Ditto.
4136 (dm_type_unsigned_int): Ditto.
4137 (dm_type_void): Ditto.
4138 (dm_type_void_star): Ditto.
99707966 4139 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4140 Probe the gdb demangler and set variables to accommodate
4141 formatting differences.
4142 (info_func_regexp): New function. Same as info_func, but
4143 matches against a regexp.
4144 (info_func): Match against a literal string.
4145 (print_addr_2): New function. Match against a literal string,
4146 which can be different from the input to gdb.
4147 (print_addr): Simply call print_addr_2 with the same argument twice.
4148 (test_lookup_operator_functions): Use demangler formatting variables.
4149 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4150 the tests in the same order as the C++ class declaration.
4151 (test_paddr_operator_functions): Ditto.
4152 (test_paddr_overloaded_functions): Ditto.
4153 (test_paddr_hairy_functions): Use demangler formatting variables.
4154 Add reference to gdb/19 for related tests.
4155 (do_tests): Call probe_demangler.
4156
1de8f023
KB
41572001-01-30 Kevin Buettner <kevinb@redhat.com>
4158
4159 * gdb.c++/templates.cc (printf): Remove unused function definition.
4160
ca3f91ed
MS
41612001-01-26 Felix Lee <flee@redhat.com>
4162
4163 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4164
41652001-01-25 matthew green <mrg@redhat.com>
4166
4167 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4168 up sid.
4169 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4170
41712001-01-25 matthew green <mrg@redhat.com>
4172
4173 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4174 Deprecate $sid_spawn_id.
4175 (sid_exit): Remove code necessary only for `spawn.'
4176
41772001-01-25 matthew green <mrg@redhat.com>
4178
4179 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4180
fb18ec4a
MC
41812001-01-28 Michael Chastain <chastain@redhat.com>
4182
4183 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4184 to call when tests fail. It takes gdb out of the overloaded
4185 function choice menu back to the main prompt, so that the test
4186 program stays synchronized.
4187 (set_bp_overloaded): New proc to collect all the common
4188 code for setting a breakpoint on an overloaded name. Calls
4189 take_gdb_out_of_choice_menu when needed.
4190 (menu_overload1arg): New variable to collect the repeated
4191 instances of the expected menu for an overloaded name. Change
4192 the regular expression to handle changes in g++ type encoding:
4193 "void" can be either "void" or "", and "unsigned int" can be
4194 either "unsigned int" or "unsigned".
4195 (continue_to_bp_overloaded): Change regular expressions to handle
4196 changes in g++ type encoding.
4197 (no proc): Call take_gdb_out_of_choice_menu when needed.
4198 Remove redundant calls to "info break". Accept either "canceled"
4199 or "cancelled". Change regular expressions in "info break"
4200 calls to handle changes in g++ type encoding. Give all tests
4201 unique strings.
4202
9c646a6e
BE
42032001-01-17 Ben Elliston <bje@redhat.com>
4204
4205 * config/sid.exp: New file.
4206
9549d9c1
AC
4207Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4208
4209 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4210
dc96c6c7 42112000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4212
4213 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4214 Add a RE to accept a non-ascii char if one is ever presented.
4215
b4df4f68
FN
42162000-12-20 Fernando Nasser <fnasser@redhat.com>
4217
297dd0fd 4218 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4219
dc96c6c7 42202000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4221
4222 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4223 in regexp. One '\' does not suffice on Linux.
4224
4a7bddb6
MC
42252000-12-09 Michael Chastain <chastain@redhat.com>
4226
4227 * gdb.base/break.exp (test_clear_command): Use a marker function
4228 rather than 'main' for the test function. Also move this
4229 test to an execution point where the marker function names are
4230 guaranteed to be bound to functions. (Executing tests after a
4231 'finish' from main runs into name conflicts with local names
4232 in __libc_start_main).
4233
dc96c6c7 42342000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4235
4236 * gdb.base/finish.exp: New test for gdb's "finish" command.
4237 * gdb.base/return2.exp: New test for gdb's "return" command.
4238 * gdb.base/return2.c: New source file for above.
4239
dc96c6c7 42402000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4241
4242 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4243 * gdb.base/miscexprs.exp: Ditto.
4244 * gdb.base/pointers.exp: Ditto.
4245 * gdb.c++/derivation.exp: Ditto.
4246 * gdb.c++/local.exp: Ditto.
4247 * gdb.c++/namespace.exp: Ditto.
4248 * gdb.c++/overload.exp: Ditto.
4249 * gdb.c++/ref-types.exp: Ditto.
4250
dc96c6c7 42512000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4252
4253 * gdb.base/constvars.exp: Test result of "up" command.
4254 * gdb.base/miscexprs.exp: Ditto.
4255 * gdb.base/pointers.exp: Ditto.
4256 * gdb.base/scope.exp: Ditto.
4257 * gdb.c++/derivation.exp: Ditto.
4258 * gdb.c++/local.exp: Ditto.
4259 * gdb.c++/namespace.exp: Ditto.
4260 * gdb.c++/overload.exp: Ditto.
4261 * gdb.c++/ref-types.exp: Ditto.
4262
44097287
FN
42632000-11-22 Michael Chastain <chastain@redhat.com>
4264
4265 * mips_pro.exp: Accept either "middle -> top -> main" or
4266 "middle -> main" in the backtrace, because gcc can optimize
4267 tail calls to jumps. Remove setup_xfail for the hppa case.
4268 Add a comment with the original warning messages from PR 3016,
4269 which was filed in 1993, to preserve them for posterity.
4270
9d2e1bab
ND
42712000-11-17 Nick Duffek <nsd@redhat.com>
4272
4273 * lib/gdb.exp (gdb_test): Override timeout with board info.
4274
1aca8eb7
ND
42752000-11-17 Nick Duffek <nsd@redhat.com>
4276
4277 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4278 the second kill and detach messages.
4279
93076499
ND
42802000-11-17 Nick Duffek <nsd@redhat.com>
4281
4282 * configure.in: Add AC_EXEEXT.
4283 * configure: Regenerate.
4284 * Makefile.in (just-check): Export EXEEXT.
4285 * lib/gdb.exp ($EXEEXT): Import from environment.
4286 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4287 expect "maint dump-me" on Cygwin.
4288 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4289 $EXEEXT.
4290
30e87cd3
ND
42912000-11-17 Nick Duffek <nsd@redhat.com>
4292
4293 * gdb.base/break.exp: Test backtrace and finish from called
4294 function on all platforms, not just HP-UX.
4295
dc96c6c7 42962000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4297
4298 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4299 code from gdb_target_monitor, so it can be used independantly
4300 for gdbserver. Also comment out an unnecessary PUTS.
4301
dc96c6c7 43022000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4303
4304 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4305 * gdb.base/corefile.exp: Expect the message "Program is being
4306 debugged already" when we send the "corefile" command, since
4307 the preceeding gdb_load may have connected gdb to a remote target.
4308 * gdb.base/display.exp: Disable hardware watchpoints if new
4309 board info variable "no_hardware_watchpoints" is true.
4310 Replace single-letter commands with more readable ones.
4311 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4312 if new board info variable "no_hardware_watchpoints" is true.
4313 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4314 to see if stdio (printf) testing is possible.
4315 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4316 board info variable "no_hardware_watchpoints" is true. Use new
4317 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4318
39124dea
FN
43192000-11-13 Fernando Nasser <fnasser@redhat.com>
4320
4321 From Orjan Friberg <orjanf@axis.com>:
4322 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4323 in array print pattern match.
4324
a9e2e984
FN
43252000-11-09 Fernando Nasser <fnasser@redhat.com>
4326
4327 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4328 spelling "cancelled" to U.S. spelling "canceled" to match changes
4329 made to gdb.
4330 * gdb.c++/ovldbreak.exp: Ditto.
4331
c7db355b
PS
43322000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4333
4334 * gdb.base/callfuncs.c (main): Moved to end of file, call
4335 t_double_values to initialize the FPU before inferior calls are made.
4336 * gdb.base/callfuncs.exp: Test for register preservation after calling
4337 inferior functions. Add tests for continuining, finishing and
4338 returning from a stop in a call dummy.
4339
dc96c6c7 43402000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4341
4342 * gdb.base/commands.exp: Break up long lines, and re-indent.
4343
dc96c6c7 43442000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4345
4346 * config/gdbserver.exp: Rewritten from the ground up, to make it
4347 compatible with the current dejagnu tree, and to make it work with
4348 the new "gdbserver" in libremote.
4349
dc96c6c7 43502000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4351
4352 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4353 * gdb.base/varargs.exp: Skip entire test if no printf support.
4354 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4355 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4356
dc96c6c7 43572000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4358
4359 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4360 no floating point support.
4361 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4362 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4363 * gdb.base/call-rt-st.exp: Ditto.
4364 * gdb.base/call-strs.exp: Ditto.
4365
bac5fc66
JG
43662000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4367
4368 * gdb.base/sizeof.c: include <stdio.h>.
4369
4370 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4371 'finish', otherwise uncaptured gdb_prompt would potentially
4372 throw remaining test points out of sync.
4373
b22a6027
SB
43742000-07-26 Scott Bambrough <scottb@netwinder.org>
4375
4376 * gdb.base/recurse.exp: Run tests for all targets.
4377 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4378 gnu-oldld case on ARM.
4379 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4380 for ARM targets.
4381
d8231941
AG
4382Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4383
4384 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4385 * gdb.java/configure: Rebuild.
4386
8caabe69
AG
4387Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4388
4389 * gdb.java/jv-exp.exp: New file.
4390
9d273ca3
AG
4391Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4392
4393 * configure: Rebuilt.
4394 * configure.in (configdirs): Add gdb.java.
4395 * gdb.java/jmisc.java: New file.
4396 * gdb.java/jmisc.exp: New file.
4397 * gdb.java/Makefile.in: New file.
4398 * gdb.java/configure: Rebuilt.
4399 * gdb.java/configure.in: New file.
4400 * lib/java.exp: New file.
4401
4f823a66
AC
4402Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4403
4404 * gdb.base/exprs.exp: Test casts to a pointer including over and
4405 underflow.
4406
2391e11d
AC
4407Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4408
4409 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4410 and the compilers sizes.
4411
54602222
ND
44122000-07-09 Nick Duffek <nsd@redhat.com>
4413
4414 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4415 (use_methods): New function.
4416 (main): Call use_methods().
4417 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4418 (do_tests): Call test_method_param_class.
4419
2bec0572
ND
44202000-07-09 Nick Duffek <nsd@redhat.com>
4421
4422 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4423 spelling.
4424 (test_enums): New procedure. Move enum tests from end of script
4425 to here. Set breakpoint on function name instead of line number.
4426 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4427 (enums2): New marker function.
4428 (enums1): New function.
4429 (main): Call enums1(). Move enum tests to enums1().
4430
78492fde
AC
4431Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4432
4433 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4434 compile/link program. Update line numbers.
4435 * gdb.asm/d10v.inc: Define ``startup''.
4436 * gdb.asm/asmsrc1.s: Add definition of _start.
4437
49a2cef8
AC
4438Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4439
4440 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4441
3e6c8688
EZ
44422000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4443
4444 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4445 of 'help maint print' command.
4446
9ff5cbe9
AC
4447Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4448
4449 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4450 they use gdb_expect_list.
4451
17c579bd
AC
4452Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4453
4454 * gdb.base/commands.exp: Use ``set remote
4455 memory-read-packet-size'' instead of ``set endian big'' to test
4456 long commands.
4457
e6d71bf3
DB
44582000-06-03 Daniel Berlin <dan@cgsoftware.com>
4459
4460 * gdb.c++/templates.exp (do_tests): Make all of these work under
4461 g++, and stop skipping them.
4462
4463 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4464 work under g++.
4465
e5f9ba7b
MS
4466 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4467 initialization.
4468
dc96c6c7 44692000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4470
4471 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4472 the regular expression: accept an (almost) arbitrary sequence of
4473 "frames-invalid" and "breakpoints-invalid" messages both before
4474 and after the "starting" message.
4475
dc96c6c7 44762000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4477
4478 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4479
dc96c6c7 44802000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4481
4482 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4483 Relax the regular expression a little, make it pass on Solaris 8.
4484
8216cda9
KB
44852000-05-12 Kevin Buettner <kevinb@redhat.com>
4486
4487 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4488 a call, do not require that gdb stop on the line after the call.
4489 Instead, it is permissible for gdb to stop on the line of the
4490 call itself.
4491
1a570b2f
MS
44922000-05-12 Michael Snyder <msnyder@.cygnus.com>
4493
4494 * gdb.base/break.exp (bp on small function, optimized file):
4495 Add a second pass pattern. The behavior differs here between stabs
4496 and dwarf for one-line functions. Stabs preserves two line symbols
4497 (one before the prologue and one after) with the same line number,
4498 but dwarf regards these as duplicates and discards one of them.
4499 Therefore the address after the prologue (where the breakpoint is)
4500 has no exactly matching line symbol, and GDB reports the breakpoint
4501 as if it were in the middle of a line rather than at the beginning.
4502
dc96c6c7 45032000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4504
4505 * gdb.base/interrupt.exp: Make "pass" message say "send"
4506 rather than "send_gdb" (for consistancy).
4507
7d418785
AC
4508Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4509
4510 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4511 * gdb.c++/templates.cc: Properly check for GCC version number.
4512 * lib/compiler.cc: Likewise
4513
dc96c6c7 45142000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4515
4516 * gdb.base/break.exp: When compiled with -O2 optimization,
4517 gdb may not stop at the first line of main, due to code motion.
4518
dc96c6c7 45192000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4520
4521 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4522 This test depends on parsing the printf output from the target.
4523 Since the sparclet stub doesn't do stdio, this will never work.
4524 * gdb.base/call-rt-st.exp: ditto.
4525 * gdb.base/call-strs: ditto.
4526
dc96c6c7 45272000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4528
4529 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4530
4531 * gdb.base/ending-run.exp: After connecting to a remote target,
4532 but before running, the target will appear to be in a random
4533 location. Specify both a file and a line for breakpoints.
4534 Also, the function that calls main may be called 'init'
4535 rather than 'start'.
4536
a5a51225
EZ
45372000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4538
4539 * gdb.base/help.exp: Update output for add-symbol-file command.
4540
7930cc7c
FN
45412000-04-10 Fernando Nasser <fnasser@cygnus.com>
4542
4543 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4544 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4545
23e37ab1
C
45462000-04-07 J.T. Conklin <jtc@redback.com>
4547
e93c542c
C
4548 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4549
23e37ab1
C
4550 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4551
591b8fa3
PDM
4552Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4553
4554 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4555 values that can be represented exactly.
4556 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4557 above change, and to not check against the directory part of the source
4558 file name.
4559 (step into print_long_arg_list): Likewise.
4560 (print print_small_structs from print_long_arg_list): Likewise.
4561 (print print_long_arg_list): Likewise.
4562
7a495180
EZ
45632000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4564
30b53638 4565 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4566
beb998c6
AC
4567Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4568
4569 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4570
1c689132
DB
45712000-03-25 Daniel Berlin <dan@cgsoftware.com>
4572
4573 * gdb.base/commands.exp (deprecated_command_test): Add test for
4574 deprecate with no arguments.
4575
c1790a9d
JL
45762000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4577
4578 * gdb.base/break.exp: Add new test for setting breakpoints on
4579 optimized code so we can test breakpoints work even when function
4580 prologues may be optimized away
4581
003ba290
FN
45822000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4583
4584 From David Whedon <dwhedon@gordian.com>
4585 * gdb.base/commands.exp : Added command deprecator tests.
4586
6837a0a2
DB
45872000-03-22 Daniel Berlin <dan@cgsoftware.com>
4588
4589 * gdb.base/help.exp: Added test for new apropos command.
4590
b9593231
KB
45912000-03-21 Kevin Buettner <kevinb@redhat.com>
4592
4593 * gdb.base/pointers.c (usevar): New function.
4594 (main): Make sure that global variables v_int_pointer2, rptr,
4595 and y are all referenced someplace in the program by calling
4596 usevar() on them. [Some linkers delete symbols which are
4597 never referenced. The space remains, but there's no way to
4598 get a (symbolic) handle on the variable from the debugger.]
4599
751a959b
EZ
46002000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4601
4602 * gdb.base/printcmds.c: Add typedeffed arrays.
4603
4604 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4605 procedure to test arrays that are typedef'd.
4606
73a93a32
JI
46072000-03-13 James Ingham <jingham@leda.cygnus.com>
4608
4609 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4610 the library directories.
73a93a32 4611
fb40c209
AC
4612Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4613
4614 * configure.in (configdirs): Add sub directory gdb.mi.
4615 * configure: Re-generate.
4616
4617 * gdb.mi: New directory.
beb998c6 4618
ee4dd2c9
AC
46192000-02-25 Scott Bambrough <scottb@netwinder.org>
4620
4621 * gdb.base/long_long.exp: Correct test suite failure when printing
4622 a long long value as a double on ARM platforms.
4623
70f0cc22
JB
46242000-02-16 Jim Blandy <jimb@redhat.com>
4625
4626 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4627 default source file is set properly before running this test.
4628
853819b8
EZ
46292000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4630
4631 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4632 gdbtk/library directory, not in gdbtcl2.
4633
dfcd3bfb
JM
46342000-02-04 Jim Blandy <jimb@redhat.com>
4635
4636 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4637 backslash from regexp pattern.
4638
4639 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4640 procedure. Use it to run all the "continue to bp overloaded"
4641 tests. Note that this changes the names of the tests slightly.
4642 If the breakpoint hit message includes a hex PC value, because
4643 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4644 from the real source code, still consider that a pass.
4645
4646 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4647 XFAIL here if the breakpoint message contains a hex address. Note
4648 similar change on 1999-11-02.
4649
4650 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4651
4652 * gdb.base/ptype.exp: Establish a default source file before
4653 calling get_debug_format.
4654
46552000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4656
4657 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4658
8b93c638
JM
46592000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4660
4661 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4662 of successive stepi commands -- while in the prologue we should see
4663 the function entry bracket.
4664
46652000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4666
4667 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4668 reach __change_mode() when stepping through the end of main().
4669
c5394b80
JM
46702000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4671
4672 * gdb.base/default.exp: Fix expected pattern.
4673 * gdb.base/help.exp: Same.
4674
0d06e24b
JM
46752000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4676
4677 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4678 Don't use xfail's because that affects only the following test.
beb998c6 4679
0d06e24b
JM
4680 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4681 solaris or linux.
4682
4683 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4684
dc96c6c7 46852000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4686
beb998c6 4687 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4688 "A syntax error" rather than "A parse error". Accept both.
4689
46902000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4691
4692 * gdb.base/default.exp: Remove OS dependent string from "target
4693 remote" test.
4694 * gdb.base/help.exp: Same for "help target remote" test.
4695
c3f6f71d
JM
46962000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4697
4698 From Jim Kingdon <kingdon@redhat.com>:
4699
4700 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4701 prompt (cleanup rather than necessity, but still might keep output
4702 from spilling to next test).
4703
47042000-01-02 Fred Fish <fnf@cygnus.com>
4705
4706 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4707 AIX, which defines them in <sys/types.h>.
4708
ed9a39eb 47091999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4710
ed9a39eb
JM
4711 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4712 float" test.
4713
47141999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4715
ed9a39eb 4716 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4717
4718 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4719 outermost frame disallowed".
4720
47211999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4722
4723 * gdb.base/setvar.exp: New tests for setting the value of a struct
4724 with a constant list.
4725
47261999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4727
4728 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4729 require the user to type a cast before setting the value of a struct.
4730
de57eccd
JM
47311999-12-06 Jim Blandy <jimb@cygnus.com>
4732
4733 * gdb.base/default.exp: Expect the new 'info float' command on
4734 all i386 platforms.
4735
4736 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4737 LinuxThreads libraries that don't support debugging.
4738
c2d11a7d
JM
4739Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4740
4741 * gdb.base/remote.c: Fill the buffer with truely random data.
4742 Change the buffer type to ``unsigned char'' to simplify size
4743 arithmetic.
4744
4745 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4746 stub only handles 400-1 byte packets. Verify that the download
4747 worked.
4748
47491999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4750
4751 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4752 tests, using UNRESOLVED for the untested cases. Also, does not wait
4753 for a timeout if the prompt was received before a recognizable pattern.
4754
47551999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4756
4757 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4758
47591999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4760
4761 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4762 watchpoints.
4763
47641999-11-24 Jason Merrill <jason@casey.cygnus.com>
4765
4766 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4767
4768 * gdb.c++/local.exp: Be more flexible in recognizing local class
4769 name mangling. Don't allow horribly truncated method names.
4770 * gdb.c++/derivation.exp: Expect protected inheritance.
4771 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4772 * gdb.c++/virtfunc.exp: Likewise.
4773 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4774 when printing a nested enum.
4775
47761999-11-22 Jim Blandy <jimb@cygnus.com>
4777
4778 * gdb.base/step-test.exp: Properly await GDB's response to setting
4779 a breakpoint on the call to large_struct_by_value.
4780
4781 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4782 just because we have debug info for the `start' function.
4783
47841999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4785
4786 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4787 "Unknown signal" messages, which indicate (on LinuxThreads) that
4788 GDB doesn't know how to debug threads on this system. This is
4789 better than hanging while philosopher 0 dumps chatter into gdb.log.
4790
47911999-11-18 Tom Tromey <tromey@cygnus.com>
4792
4793 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4794
47951999-11-18 Fred Fish <fnf@cygnus.com>
4796
4797 * gdb.base/coremaker2.c: Add sample program for generating
4798 cores that is more self contained than coremaker.c. Eventually
4799 I'll add more code to this and tie it into the testsuite.
4800
4ce44c66
JM
48011999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4802
4803 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4804
48051999-11-10 Jimmy Guo <guo@cup.hp.com>
4806
4807 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4808 from $srcdir/lib/.
4809 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4810 and gdb.c++/.
4811
4812 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4813
beb998c6 4814 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4815 'continue with watch' test point.
4816
48171999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4818
4819 Merged from p2linux-990323-branch:
beb998c6 4820
4ce44c66
JM
4821 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4822
11cf8741
JM
4823Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4824
4825 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4826 {limit,fixed}''. Test ``set download-write-size''.
4827
4828Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4829
4830 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4831 gdb_expect_list.
4832
4833Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4834
4835 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4836
48371999-11-03 Mark Salter <msalter@cygnus.com>
4838
4839 * gdb.base/break.exp: Fix "stub continue" pattern.
4840
48411999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4842
4843 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4844
48451999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4846
4847 * gdb.base/display.exp ("finish"): Add timeout clause.
4848
4849 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4850 plain prompt clause, so this doesn't have to time out in order to
4851 fail.
4852
4853 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4854 breakpoint hit messages include an address.
4855
4856 * gdb.base/display.exp: Don't forget to escape parens in regular
4857 expressions. Unix regexp notatation sucks.
4858
48591999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4860
4861 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4862 order for 'signalled' message.
4863
5c44784c
JM
48641999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4865
4866 From Jimmy Guo <guo@cup.hp.com>:
4867 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4868 * gdb.base/annota1.c: Add code for tests to work with.
4869
48701999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4871
4872 * gdb.base/remote.exp: New test for remote downloading settings.
4873 * gdb.base/remote.c: New file with large .data.
4874
917317f4
JM
48751999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4876
4877 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4878 for LinuxThreads support, merged from the Code Fusion branch.
4879
4880Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4881
4882 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4883 containing exp_continue into a while within an expect. Don't
4884 attempt a start more than three times. Check return value from
4885 gdb_load.
beb998c6 4886
2df3850c
JM
4887Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4888
4889 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4890 a pass case.
4891
2acceee2
JM
48921999-10-01 Kevin Buettner <kevinb@cygnus.com>
4893
4894 * gdb.base/break.c (main): Added a statement that we can step
4895 off of.
4896 * gdb.base/break.exp: Added tests for setting a breakpoint
4897 at an offset and stepping onto a breakpoint.
4898
48991999-10-01 Fred Fish <fnf@cygnus.com>
4900
beb998c6 4901 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4902 gdb output.
4903
c2c6d25f
JM
49041999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4905
4906 * gdb.base/break.exp: Code locations are in hex, don't forget!
4907 (For HP-UX.)
4908
49091999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4910
4911 * condbreak.exp: Use break.c as test program.
4912 * condbreak.c: Remove, redundant with break.c.
4913
49141999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4915
4916 * config/monitor.exp (gdb_target_monitor): Disable X- and
4917 Z-packets if the target needs it.
4918
49191999-09-13 James Ingham <jingham@leda.cygnus.com>
4920
4921 * gdb.c++/overload.exp: Added tests for listing overloaded
4922 functions with function pointers in the arg, explicitly calling
4923 out the version you want.
4924
cff3e48b
JM
49251999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4926
4927 * long_long.exp: Add variations of test cases that work for
4928 targets with 16-bit ints and 32-bit doubles.
4929
d4f3574e
SS
49301999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4931
4932 * break.c (main): Compare a possibly-uninitialized argc with an
4933 unlikely value that fits in 16 bits.
4934
49351999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4936
4937 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4938 0xfeeb, don't want negative numbers if ints are 16 bits.
4939
4940 * lib/gdb.exp (skip_cplus_tests): New proc.
4941 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4942 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4943 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4944 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4945 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4946 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4947 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4948 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4949
4950 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4951
4952Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4953
4954 * gdb.base/corefile.exp (up): Allow a parameter to appear
4955 in the frame that we're going up to.
4956
4957 From Jim Blandy <jimb@cygnus.com>:
4958
4959 * gdb.base/default.exp (info float): Expect some output now.
4960
4961 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4962 returning floating-point values to fail on the x86.
4963 * gdb.base/callfwmall.exp (do_function_calls): Same.
4964
4965 * gdb.base/list.exp (test_listsize): Correct expectations for
4966 listing line 1 with listsize 2. Also, listing a single line
4967 works now, as does listing three lines. [Kevin's note: There
4968 were a number of other cases fixed too where the expectations
4969 differed...]
4970
49711999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4972
4973 * gdb.base/selftest.exp: Add case for when version prints as
4974 constant string instead of char pointer.
4975
104c1213
JM
49761999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4977
4978 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4979 stepping out of main.
4980
4981 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4982 G++ used.
4983
4984 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4985 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4986
4987 * gdb.c++/ovldbreak.exp: Update match string in test that
4988 includes a warning of multiple breakpoints.
4989
49901999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4991
4992 * gdb.base/display.exp: Improve precision of step-after-finish
4993 added yesterday.
4994
4995 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4996 test.
4997
4998 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4999 configs when using G++, not just hppa*.
5000
50011999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5002
5003 * gdb.base/async.c: New file.
5004 * gdb.base/async.exp: New file.
5005
5006Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5007
5008 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5009 PA64.
5010
53a5351d
JM
5011Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5012
104c1213
JM
5013 * gdb.base/display.exp: "finish" can leave us mid-line on many
5014 targets, deal with it. Add a small constant to main, instead of
5015 1000 since main+1000 may not be a valid address in the target.
5016
53a5351d
JM
5017 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5018 on hpux11.
5019
5020 * gdb.base/attach.exp: Handle another hpux11 error message variant
5021 when attaching to a process that does not exist.
5022
50231999-08-19 J.T. Conklin <jtc@redback.com>
5024
5025 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5026 characters in 'continue to 1241' test.
5027
50281999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5029
5030 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5031 stop in print_long_arg_list, define and use a whitespace
5032 variable in print_small_structs test, add an XFAIL for Solaris.
5033 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5034 interested enough to fix.
5035
7be570e7
JM
50361999-08-13 Keith Seitz <keiths@cygnus.com>
5037
5038 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5039 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5040 proc knows about targets other than the natives.
5041 (test_assign): Use "gdb_run_cmd" to "run" the target.
5042 Check that we've actually hit the breakpoint at main.
5043 When we attempt to assign a value to a local variable, check
5044 that the variable is in the current scope, i.e., don't use
5045 a test with an empty result.
5046
5047Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5048
5049 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5050 command.
5051
50521999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5053
5054 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5055 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5056 gdb.compat, gdb.threads-hp.
5057 gdb.hp/configure, gdb.hp/configure.in: New files.
5058 gdb.hp/Makefile.in: Recurse into new subdirs.
5059 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5060 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5061 in object files.
5062 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5063
96baa820
JM
50641999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5065
5066 * gdb.base/display.exp: Help expect by putting a newline in the
5067 funky printf, remove a bogus p/a test.
5068
50691999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5070
5071 * gdb.base/display.exp: Make sure that when we say 'run', we are
5072 connected to the target. This is necessary when running not
5073 natively.
5074
50751999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5076
5077 * gdb.base/step-test.exp: Removed some extraneous messages.
5078
5079 * gdb.base/long_long.exp: Don't run memory examination tests
5080 on little-endian targets (they will need a different set of
5081 results to match).
5082
50831999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5084
5085 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5086 until somebody decides to fix GDB.
5087
5088 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5089 constant as "ULL".
5090 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5091 matches for a couple x/2 commands.
5092
a0b3c4fd
JM
50931999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5094
5095 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5096 by merging in ref-types2 tests.
5097 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5098
5099 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5100 * gdb.c++/Makefile.in: Add standard actions.
5101 (EXECUTABLES): Rename from PROGS, update list.
5102 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5103 from gdb.hp.
5104 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5105 foo and bar locals.
5106 * gdb.c++/anon-union.exp: Fix tests to match.
5107 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5108 expect matches to handle output variations.
5109 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5110 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5111 output, add HP alternatives for new and delete prints.
5112 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5113 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5114 * gdb.c++/demangle.exp: Use $style when reporting failure.
5115 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5116 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5117 match alternatives.
5118 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5119 compilers.
5120 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5121 * gdb.c++/method.exp: Add match alternatives.
5122 * gdb.c++/misc.cc: Add bool types.
5123 * gdb.c++/misc.exp: Add tests for bool types.
5124 * gdb.c++/overload.exp: Add xfails.
5125 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5126 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5127 add some more template parameter tests (only for HP currently).
5128 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5129 * gdb.c++/virtfunc.cc: Add return type and value for main.
5130 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5131 match alternatives.
beb998c6 5132
a0b3c4fd
JM
51331999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5134
5135 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5136
51371999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5138
5139 * gdb.base/signals.exp: Don't expect getting a backtrace from
5140 within a signal handler to fail on Linux.
5141
51421999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5143
5144 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5145 * lib/gdb.exp: Remove some gratuitious semicolons.
5146 (delete_breakpoints): Increase timeout.
5147 (gdb_expect): Add -notransfer option.
5148 (gdb_test): Use -notransfer option.
5149 (get_compiler_info): Add f77 case.
5150 (get_compiler): New proc, split out from gdb_preprocess, add f77
5151 case.
5152 (gdb_preprocess): Call get_compiler.
5153
5154 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5155 * gdb.base/attach.exp, gdb.base/display.exp,
5156 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5157 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5158 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5159 third arg to gdb_test.
5160 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5161 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5162 HP-UX xfails, add others.
5163 * gdb.base/completion.exp: Reflect name change of self-test.
5164 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5165 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5166 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5167 HP failure number.
5168 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5169 useless HP-UX 10.30 references.
5170 * gdb.base/maint.exp: Loosen matches.
5171 * gdb.base/pointers.c (main): Declare more_code.
5172 * gdb.base/pointers.exp: Match on output of a `next'.
5173 * gdb.base/structs.c: Add prototypes.
5174 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5175 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5176
51771999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5178
5179 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5180 command.
5181
51821999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5183
5184 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5185 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5186
5187 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5188 debug info. Deal with lack of signal hanlder info in stack.
5189
5190 From Jim Kingdon <kingdon@redhat.com>:
5191 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5192
5a2468f5
JM
51931999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5194
5195 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5196 gdb.base/foll-vfork.exp: Don't run for crosses.
5197
adf40b2e
JM
5198Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5199
5200 * gdb.base/configure.in: Check for gdbvars.exp instead of
5201 a1-selftest.exp.
5202 * gdb.base/configure: Re-generate.
5203
52041999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5205
5206 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5207 in trying to run first and name is too long.
5208
5209 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5210 pointers2.c and pointers2.exp, respectively.
5211 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5212 doschk happier.
5213
43e526b9
JM
52141999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5215
5216 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5217 callfuncs2.c and callfuncs2.exp.
5218
5219 * gdb.base/list.exp: Remove mistaken xfails.
5220 * gdb.base/list0.h: Add optional prototypes.
5221
9846de1b
JM
5222Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5223
5224 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5225 calling malloc.
5226 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5227 * ptype.exp: Move test for get_debug_format to before its first
5228 use.
5229
52301999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5231
5232 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5233 * gdb.base/annota2.cc, annota2.exp: Move from here.
5234 * gdb.c++/annota2.cc, annota2.exp: To here.
5235 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5236
43ff13b4
JM
5237Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5238
5239 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5240 a consistent format.
5241
085dd6e6
JM
52421999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5243
5244 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5245 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5246 HP compilers, also set the globals $true and $false.
5247
5248 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5249 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5250 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5251 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5252 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5253 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5254 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5255 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5256 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5257 whatis.c} Add C++ compatible function definitions and return
5258 types, add includes for library functions.
5259 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5260 * gdb.base/step-test.c (myglob): Rename from glob.
5261 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5262 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5263 files, move here from gdb.hp.
5264 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5265 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5266 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5267 Adjust line numbers in regexps.
5268
5269 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5270 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5271 instead of 0/1.
5272
5273 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5274 foll-vfork.exp: New files, move here from gdb.hp.
5275 * gdb.base/page.exp: New file, test of pagination command.
5276
5277 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5278 recursion test.
5279 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5280
5281 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5282 gdb.base/solib.exp: Fix compiler invocation process.
5283
5284 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5285 HP-UX 11, turn off overload resolution explicitly.
5286 * gdb.base/commands.exp: Set argument list explicitly, add
5287 watchpoint test.
5288 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5289 them work.
5290 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5291 expressions properly.
5292 * gdb.base/corefile.exp: Loosen the match slightly.
5293 * gdb.base/default.exp: Allow "Error accessing memory" message
5294 also.
5295 * gdb.base/display.exp: Skip over x/0 j if PA64.
5296 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5297 * gdb.base/interrupt.exp: Ditto.
5298 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5299 in use.
5300 * gdb.base/list.exp: Add xfails for HP-UX.
5301 * gdb.base/long_long.exp: Refine some of the numeric matches.
5302 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5303 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5304 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5305 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5306 * gdb.base/ptype.exp: Succeed on more varieties of output.
5307 * gdb.base/scope.exp: Add xfails for HP-UX.
5308 * gdb.base/sect-cmd.exp: Add more cases.
5309 * gdb.base/setvar.exp: Add xfails for HP-UX.
5310 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5311 * gdb.base/signals.exp: Match on void symbolically.
5312 * gdb.base/step-test.exp: Add case for PA64.
5313 * gdb.base/term.exp: Add exit and restart.
5314 * gdb.base/twice.exp: Clean up after self.
5315 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5316 * gdb.base/whatis.exp: Allow more ways to pass tests.
5317
5318 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5319 no longer useful.
5320
5321Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5322
5323 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5324 list of patterns.
5325 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5326 print_double_array(double_array)", "continuing to breakpoint
5327 1018", "print print_double_array(array_d)" and "continuing to
5328 1034" tests.
beb998c6 5329
085dd6e6
JM
53301999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5331
5332 * Makefile.in: Add empty html and install-html targets.
5333
53341999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5335
5336 * config/mt-*: Remove, these haven't been used since 1996.
5337
53381999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5339
5340 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5341 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5342 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5343
9e0b60a8
JM
53441999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5345
5346 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5347 simpler match case for the ptype of the big class.
5348
53491999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5350
5351 * gdb.exp: Fix test for gdb_prompt existence.
5352
53531999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5354
5355 * gdb.exp (gdb_test): Add fail after calls to perror.
5356
53571999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5358
5359 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5360
53611999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5362
5363 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5364
0f71a2f6
JM
5365Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5366
5367 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5368 malloc() is linked in.
5369
53701999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5371
5372 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5373 step at end.
5374
5375 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5376
53771999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5378
5379 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5380
cce74817
JM
5381Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5382
5383 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5384 * gdb.base/mips_pro.exp: Likewise.
5385
53861999-06-02 Keith Seitz <keiths@cygnus.com>
5387
5388 * gdb.c++/templates.cc: Change all "new" operators to throw
5389 an exception.
5390 * gdb.c++/cplusfuncs.cc: Likewise.
5391
5392 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5393
5394Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5395
5396 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5397 * gdb.base/ending-run.exp: When stepping out of main, accept a
5398 step into an arbitrary assembler file.
5399
392a587b
JM
54001999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5401
beb998c6 5402 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5403 "breakpoint-invalid" to be printed.
beb998c6 5404 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5405 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5406 * gdb.base/annota2.cc: Initialize a.x to 0.
5407
9e086581
JM
54081999-05-17 Keith Seitz <keiths@cygnus.com>
5409
5410 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5411 when "skip_float_tests" set.
5412 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5413 "print print_ten_doubles", and "step into print_long_arg_list".
5414 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5415 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5416 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5417 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5418 "skip_float_tests" is set.
5419 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5420 when "skip_float_tests" set.
beb998c6 5421
cd0fc7c3
SS
54221999-05-06 Keith Seitz <keiths@cygnus.com>
5423
5424 * gdb.base/annota2.cc: Include stdio.h.
5425
5426Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5427
5428 * gdb.base/crossload.exp: Remove, this has been disabled ever
5429 since BFD stopped including all targets, and cross-GDB gets
5430 plenty of testing anyway.
5431 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5432 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5433 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5434 * gdb.base/README: Remove, was doc for this.
5435 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5436 needed.
5437
b83266a0
SS
54381999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5439
5440 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5441 output.
5442
5443 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5444 * gdb.base/annota2.exp: New file. More annotation tests.
5445 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5446 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5447
54481999-04-23 Angela Marie Thomas <angela@cygnus.com>
5449
5450 * config/cfdbug.exp: New file.
5451
7a292a7a
SS
54521999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5453
5454 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5455 Marcus Daniel's and Dale Hawkins's demangler crashes.
5456
5457 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5458 test_lucid_style_demangling, test_arm_style_demangling,
5459 test_hp_style_demangling): Try Tom Tromey's core-dumping
5460 identifier under each demangling style.
5461
54621999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5463
5464 * gdb.c++/demangle.exp: Include the current demangling style
5465 in all test names.
5466 (current_demangling_style): New global variable.
5467 (set_demangling_style, test_demangling_core, test_demangling,
5468 test_demangling_exact): New functions.
5469 (test_gnu_style_demangling, test_lucid_style_demangling,
5470 test_arm_style_demangling, test_hp_style_demangling): Use those,
5471 instead of calling gdb_test and gdb_test_exact directly.
5472 (catch_demangling_errors): New function, which reports errors
5473 signalled by the demangling test functions in an orderly way.
5474 (do_tests): Use catch_demangling_errors.
5475
54761999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5477
5478 * gdb.base/signals.exp (test_handle_all_print): Use () for
5479 grouping in expressions, not {}.
5480
5481 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5482 initialized yet.
5483
54841999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5485
5486 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5487 are listed.
5488
54891999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5490
5491 * gdb.stabs/weird.exp: Test for CC being defined before
5492 looking at its value.
5493
54941999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5495
5496 * gdb.base/call-ar-st.exp: Remove stray '#'.
5497 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5498 "short int" and "long int".
5499 * gdb.c++/overload.cc: Cast the string added in the previous
5500 change, to mollify finicky HP compiler.
5501 * gdb.hp/reg-test.exp (testfile): Fix file name.
5502 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5503
7a292a7a
SS
5504 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5505 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5506 alternate form of enum ptype.
5507
c906108c
SS
55081999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5509
7a292a7a
SS
5510 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5511 * gdb.hp/*.exp: Change all to run compiler probe only after
5512 passing skip_hp_tests, so as not to waste time on guaranteed
5513 failure.
5514
c906108c
SS
5515 * gdb.c++/overload.cc: Pass string instead of char addr, always
5516 init ccpfoo.
5517 * gdb.c++/templates.cc: Fix syntax error.
5518
7a292a7a
SS
5519Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5520
5521 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5522 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5523 command.
5524
55251999-03-18 James Ingham <jingham@cygnus.com>
5526
5527 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5528
5529 * gdb.c++/method.exp: It was testing an uninitialized int on the
5530 stack and assuming it was positive.
5531
5532 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5533
5534 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5535 keep it from killing the rest of the tests.
7a292a7a
SS
5536 Use gdb_continue_to_end.
5537
5538 * gdb.base/sigall.exp: use gdb_continue_to_end.
5539
5540 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5541
5542 * gdb.base/display.exp: use runto_main, not run.
5543
beb998c6
AC
5544 * gdb.base/default.exp: Check for the current error message in the
5545 r abbreviation test.
7a292a7a
SS
5546 Add strongarm to the targets that know info float.
5547
beb998c6 5548 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5549 run which doesn't work with monitors.
5550
5551 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5552
5553 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5554
5555 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5556 program. Traps the case (in Cygmon) when the program never really
5557 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5558 more places, so I used my name. Sorry Mark...
5559
5560 * config/monitor.exp (gdb_target_monitor): added another
5561 target_info parameter: remotebinarydownload. This will set the
5562 remotebinarydownload flag if this is causing some boards trouble.
5563
55641999-03-18 Mark Salter <msalter@cygnus.com>
5565
5566 * lib/gdb.exp (continue_to_exit): New function.
5567
5568 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5569 * gdb.base/ending-run.exp: Ditto.
5570 * gdb.base/step-test.exp: Ditto.
5571
55721999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5573
5574 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5575 (suggested by Art Haas <ahaas@neosoft.com>).
5576
55771999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5578
5579 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5580
5581Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5582
5583 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5584 descriptions of types (short unsigned int vs unsigned short, etc).
5585
55861999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5587
5588 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5589 a call to strlen; sometimes we do have sources.
5590
55911999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5592
5593 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5594 character, so GDB won't print garbage after its end.
beb998c6 5595
c906108c
SS
5596 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5597 breakpoint there instead. Sometimes GCC emits memcpy to handle
5598 the large structures being passed by value, so we step into that
5599 instead of sum_array_print, which obscures what we're really testing.
5600 * gdb.base/step-test.exp: However, we do want a test that notices
5601 the bizarre steps into memcpy, so do that here. Add check for
5602 stepping into function calls that pass large structures by value.
5603 ("Is that a noun clause, or are you just happy to see me?")
5604 Remove all references to specific line numbers.
5605 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5606 New type and function.
5607 (main): Call large_struct_by_value, passing it a large struct by value.
5608 * lib/gdb.exp (gdb_get_line_number): New function.
5609
5610 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5611 more portable.
5612
7a292a7a
SS
56131999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5614
c906108c
SS
5615 * lib/gdb.exp: Doc fixes.
5616
7a292a7a
SS
56171999-03-05 Nick Clifton <nickc@cygnus.com>
5618
beb998c6 5619 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5620
56211999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5622
c906108c
SS
5623 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5624 commands. They're not germane to this test, and they don't work
5625 that way on remote targets.
5626
3fc11d3e
JM
56271999-03-01 James Ingham <jingham@cygnus.com>
5628
5629 * Changelog entries merged over from gdb development branch.
5630
3fc11d3e
JM
5631 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5632
5633 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5634 for outputting results of test run.
5635
2d4a1622 5636 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5637
5638 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5639
7a292a7a
SS
56401999-02-25 Felix Lee <flee@cygnus.com>
5641
5642 * lib/gdb.exp (debug_format): initialize
5643
c906108c
SS
56441999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5645
5646 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5647 * gdb.base/call-rt-st.c: Ditto.
5648
c906108c
SS
56491999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5650
5651 * gdb.threads/pthreads.exp (horiz): New variable.
5652 (test_startup): Fix regexps that capture thread numbers.
5653
56541999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5655
5656 * gdb.base/smoke.exp: Disambiguate two test case names (both
5657 called ``print'').
5658
5659Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5660
5661 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5662 compilation.
5663
56641999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5665
5666 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5667 actual output formatting.
5668 * gdb.base/smoke.exp: GDB removes leading 0's.
5669 * gdb.base/volatile.exp: Don't check type of remuneration;
5670 that variable is no longer defined in constvars.c.
5671 * gdb.base/step-test.c (main): Exit with explicit exit code.
5672 * gdb.base/step-test.exp: Remove two nexti checks--they are
5673 not portable.
5674
56751999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5676
5677 * gdb.base/help.exp ("help delete display"): Fix test to match
5678 gdb's output.
5679
5680 * gdb.base/long_long.c (known_types): Initialize values to zero.
5681 * gdb.base/long_long.exp: Step one more line
5682 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5683 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5684 unique test case names.
5685
5686Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5687
beb998c6 5688 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5689
5690 * gdb.c++/method.exp: Add missing close brace.
5691
56921999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5693
5694 * gdb.base/maint.exp: Use 'set height 0' to disable page
5695 prompting, not 'set height 400'.
5696
5697 Fix a bunch of timeouts.
5698 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5699 four separate tests, so expect doesn't take forever to match a ton
5700 of text against a regexp with lots of .* forms.
5701 ("maint print psymbols", "maint print symbols"): Make some of
5702 these greps more selective, so that expect doesn't try to wade
5703 through huge piles of output and time out.
5704
5705 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5706
5707 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5708 tests: one which doesn't expect shlib events to be reported, and
5709 another which does, but is XFAIL for all platforms other than
5710 HP/UX.
5711
5712 * gdb.base/break.exp: Teach the test suite that the `catch
5713 fork', `catch vfork', and `catch exec' commands produce error
5714 messages on platforms that don't provide these features.
5715
5716Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5717
5718 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5719 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5720 (shortening names from solib_threshold.exp etc), won't run on
5721 anything but HP-UX for the foreseeable future.
5722 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5723 reflect move.
5724
5725Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5726
5727 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5728 gdb.trace/Makefile.in (clean): Remove all test executables.
5729
5730Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5731
5732 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5733 successfully re-sets breakpoints in shared libraries.
5734 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5735
5736Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5737
beb998c6
AC
5738 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5739 and compiled w/o GCC.
c906108c
SS
5740
5741 * gdb.hp/watch-cmd.exp: ditto.
5742
5743 * gdb.hp/watch-hp.exp: ditto.
5744
5745 * gdb.hp/xdb1.exp: ditto.
5746
5747 * gdb.hp/xdb2.exp: ditto.
5748
5749 * gdb.hp/dbx.exp: ditto.
5750
5751Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5752
5753 * constvars.c: Remove C++-isms.
5754 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5755 with GCC.
5756
5757Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5758
5759 The following changes are part of the HP merge.
5760
5761 * gdb.base/break.exp: new tests to verify that catchpoints for
5762 fork, vfork, and exec don't trigger inappropriately.
5763
5764 * gdb.base/opaque.exp: compile one file at a time, then link.
5765
5766 * gdb.base/signals.exp: be more restrictive about which hppa
5767 systems receive a setup_xfail. new tests.
5768
5769 * gdb.base/solib_threshold.build: new file.
5770 * gdb.base/solib_threshold.exp: new file.
5771 * gdb.base/solib_threshold.link_opts: new file.
5772 * gdb.base/solib_threshold.mk: new file.
5773 * gdb.base/gen_solib_threshold.c: new file.
5774
5775 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5776 tests. New tests for enums inside classes.
5777
5778 * gdb.c++/compiler.cc: indicate support of template debugging.
5779
5780 * gdb.c++/demangle.exp: run hp style demangling tests.
5781
5782 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5783 tests.
5784
5785 * gdb.c++/misc.cc: changes to support new tests.
5786
5787 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5788 to support new tests.
5789
5790 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5791 gcc, then skip these tests.
5792
5793Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5794
5795 The following files are part of the HP merge; some had longer
5796 names at HP, but have been renamed to be no more than 14
5797 characters in length.
5798
5799 * gdb.hp/ambiguous.cc: new file.
5800 * gdb.hp/ambiguous.exp: new file.
5801 * gdb.hp/attach.exp: new file.
5802 * gdb.hp/attach2.exp: new file.
5803 * gdb.hp/classes-hp.exp: new file.
5804 * gdb.hp/ctti.exp: new file.
5805 * gdb.hp/ctti-add.cc: new file.
5806 * gdb.hp/ctti-add1.cc: new file.
5807 * gdb.hp/ctti-add2.cc: new file.
5808 * gdb.hp/ctti-add3.cc: new file.
5809 * gdb.hp/dbx.exp: new file.
5810 * gdb.hp/exception.cc: new file.
5811 * gdb.hp/exception.exp: new file.
5812 * gdb.hp/foll-exec.c: new file.
5813 * gdb.hp/foll-exec.exp: new file.
5814 * gdb.hp/foll-fork.c: new file.
5815 * gdb.hp/foll-fork.exp: new file.
5816 * gdb.hp/foll-vfork.c: new file.
5817 * gdb.hp/foll-vfork.exp: new file.
5818 * gdb.hp/inherit-hp.exp: new file.
5819 * gdb.hp/more-steps.exp: new file.
5820 * gdb.hp/namespace.cc: new file.
5821 * gdb.hp/namespace.exp: new file.
5822 * gdb.hp/optimize.exp: new file.
5823 * gdb.hp/pxdb.c: new file.
5824 * gdb.hp/pxdb.exp: new file.
5825 * gdb.hp/quicksort.exp: new file.
5826 * gdb.hp/reg-test.exp: new file.
5827 * gdb.hp/reg-test.s: new file.
5828 * gdb.hp/sized-enum.c: new file.
5829 * gdb.hp/sized-enum.exp: new file.
5830 * gdb.hp/start-stop.exp: new file.
5831 * gdb.hp/templ-hp.cc: new file.
5832 * gdb.hp/templ-hp.exp: new file.
5833 * gdb.hp/thr-lib.c: new file.
5834 * gdb.hp/thr-lib.exp: new file.
5835 * gdb.hp/thr-lib.h: new file.
5836 * gdb.hp/thr-liblib.c: new file.
5837 * gdb.hp/virtfun-hp.c: new file.
5838 * gdb.hp/virtfun-hp.exp: new file.
5839 * gdb.hp/watch-cmd.exp: new file.
5840 * gdb.hp/watch-hp.exp: new file.
5841 * gdb.hp/xdb1.exp: new file.
5842 * gdb.hp/xdb2.exp: new file.
5843 * gdb.hp/xdb3.exp: new file.
5844
5845Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5846
5847 The following files are part of the HP merge; some had longer
5848 names at HP, but have been renamed to be no more than 14
5849 characters in length.
5850
5851 * gdb.base/ss.h: new file.
5852 * gdb.base/call-ar-st.c: new file.
5853 * gdb.base/call-ar-st.exp: new file.
5854 * gdb.base/call-rt-st.c: new file.
5855 * gdb.base/call-rt-st-exp: new file.
5856 * gdb.base/call-strs.exp: new file.
5857 * gdb.base/ena-dis-br.exp: new file.
5858 * gdb.base/environ.exp: new file.
5859 * gdb.base/long_long.exp: new file.
5860 * gdb.base/sect-cmd.exp: new file.
5861 * gdb.base/shlib-cl2.exp: new file.
5862 * gdb.base/smoke.exp: new file.
5863 * gdb.base/so-impl-ld.c: new file.
5864 * gdb.base/so-impl-ld.exp: new file.
5865 * gdb.base/so-indr-cl.c: new file.
5866 * gdb.base/so-indr-cl.exp: new file.
5867 * gdb.base/varargs.exp: new file.
5868 * gdb.base/volatile.exp: new file.
5869 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5870 * gdb.base/display.exp: new file.
c906108c
SS
5871 * gdb.c++/derivation.exp: new file.
5872 * gdb.c++/local.exp: new file.
5873 * gdb.c++/member-ptr.exp: new file.
5874 * gdb.c++/overload.exp: new file.
5875 * gdb.c++/ovldbreak.exp: new file.
5876 * gdb.c++/ref-types.exp: new file.
5877 * gdb.c++/ref-types2.exp: new file.
5878 * gdb.c++/userdef.exp: new file.
beb998c6 5879
c906108c
SS
5880Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5881
5882 * gdb.base/default.exp: Reflect wording change in remote.c.
5883
dc96c6c7 5884Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5885
5886 * gdb.base/help.exp: Update to reflect current text.
5887
5888Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5889
5890 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5891 they're stack variables and contain garbage.
5892 * gdb.c++/anon-union.exp: new file.
5893
5894 The following changes were made by David Taylor
5895 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5896 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5897 in changes by HP.
5898
5899 * gdb.base/bitops.exp: new file.
5900 * gdb.base/default.exp: change expected messages for catch and
5901 info catch tests to reflect HP merge changes.
5902 * gdb.base/enable-disable-break.exp
5903 * gdb.base/ending-run.c: new file.
5904 * gdb.base/long_long.c: new file.
5905 * gdb.base/maint.exp: new file.
5906 * gdb.base/pointers2.exp: new file.
5907 * gdb.base/shlib-call2.exp: new file.
5908 * gdb.base/solib.exp: new file.
5909 * gdb.base/step-test.c: new file.
5910 * gdb.c++/anon-union.cc: new file.
5911 * gdb.c++/local.cc: new file.
5912 * gdb.c++/member-pointer.cc: new file.
5913 * gdb.c++/method.cc: new file.
5914 * gdb.c++/ref-types.cc: new file.
5915 * gdb.c++/ref-types2.cc: new file.
5916 * gdb.c++/userdef.cc: new file.
beb998c6 5917
c906108c
SS
5918 * gdb.base/scope.exp: compile one file at a time, then link.
5919 * gdb.base/langs.exp: ditto.
5920 * gdb.base/list.exp: ditto.
beb998c6 5921
c906108c
SS
5922Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5923
5924 The following changes were made by David Taylor
5925 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5926 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5927 in changes by HP.
beb998c6 5928
c906108c
SS
5929 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5930 skip tests. When compiling pass c++ flag to gdb_compile.
5931 * gdb.c++/
beb998c6 5932
c906108c
SS
5933 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5934 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5935 (skip_hp_tests): new function.
5936 (gdb_preprocess): new function.
5937
5938 * configure.in (hpdir): decide whether to configure gdb.hp.
5939 * configure: regenerated.
5940
5941 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5942 to delete on clean.
5943 (EXECUTABLES): update to reflect new additions.
5944 * gdb.base/commands.exp: update message expected.
5945 * gdb.base/default.exp: add copyright notice.
5946 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5947 * gdb.base/help.exp: update messages to reflect current text.
5948 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5949 targets for recurse tests.
5950 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5951 skip this file.
5952
5953 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5954 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5955 compilation.
5956 * gdb.c++/misc.exp: ditto.
5957 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5958 run the tests. tell gdb_compile that it's a c++ compilation.
5959
5960 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5961
c906108c
SS
5962 * gdb.base/all-bin.exp: new file.
5963 * gdb.base/arithmet.exp: new file.
5964 * gdb.base/assign.exp: new file.
5965 * gdb.base/completion.exp: new file.
5966 * gdb.base/cond-expr.exp: new file.
5967 * gdb.base/condbreak.exp: new file.
5968 * gdb.base/define.exp: new file.
5969 * gdb.base/dollar.exp: new file.
5970 * gdb.base/environment.exp: new file.
5971 * gdb.base/eval-skip.exp: new file.
5972 * gdb.base/jump.exp: new file.
5973 * gdb.base/logical.exp: new file.
5974 * gdb.base/pointers.exp: new file.
5975 * gdb.base/relational.exp: new file.
5976 * gdb.base/section_command.exp: new file.
5977 * gdb.base/whatis-expr.exp: new file.
5978
5979 * gdb.base/all-types.c: new file.
5980 * gdb.base/call-array-struct.c: new file.
5981 * gdb.base/call-return-struct.c: new file.
5982 * gdb.base/call-strings.c: new file.
5983 * gdb.base/callfuncs2.c: new file.
5984 * gdb.base/condbreak.c: new file.
5985 * gdb.base/constvars.c: new file.
5986 * gdb.base/display.c: new file.
5987 * gdb.base/int-type.c: new file.
5988 * gdb.base/jump.c: new file.
5989 * gdb.base/miscexprs.c: new file.
5990 * gdb.base/pointers.c: new file.
5991 * gdb.base/pointers2.c: new file.
5992 * gdb.base/shmain.c: new file.
5993 * gdb.base/shr1.c: new file.
5994 * gdb.base/shr2.c: new file.
5995 * gdb.base/solib.c: new file.
5996 * gdb.base/solib1.c: new file.
5997 * gdb.base/solib2.c: new file.
5998 * gdb.base/varargs.c: new file.
5999 * gdb.c++/derivation.cc: new file.
6000 * gdb.c++/overload.cc: new file.
6001 * gdb.c++/ovldbreak.cc: new file.
6002 * gdb.hp/attach.c: new file.
6003 * gdb.hp/attach2.c: new file.
6004 * gdb.hp/average.c: new file.
6005 * gdb.hp/compiler.c: new file.
6006 * gdb.hp/compiler.cc: new file.
6007 * gdb.hp/execd-program.c: new file.
6008 * gdb.hp/follow-exec.c: new file.
6009 * gdb.hp/follow-fork.c: new file.
6010 * gdb.hp/follow-vfork-and-exec.c: new file.
6011 * gdb.hp/misc-hp.cc: new file.
6012 * gdb.hp/more-steps.c: new file.
6013 * gdb.hp/optimize.c: new file.
6014 * gdb.hp/quicksort.c: new file.
6015 * gdb.hp/run-hp.c: new file.
6016 * gdb.hp/start-stop.c: new file.
6017 * gdb.hp/sum.c: new file.
6018 * gdb.hp/templates-hp.cc: new file.
6019 * gdb.hp/thread-local-in-lib.c: new file.
6020 * gdb.hp/thread-local-in-lib.h: new file.
6021 * gdb.hp/thread-local-in-lib.lib.c: new file.
6022 * gdb.hp/vforked-program.c: new file.
6023 * gdb.hp/virtfunc-hp.cc: new file.
6024 * gdb.hp/watchpoint-hp.c: new file.
6025 * gdb.hp/xdb.c: new file.
6026 * gdb.hp/xdb0.c: new file.
6027 * gdb.hp/xdb0.h: new file.
6028 * gdb.hp/xdb1.c: new file.
6029
6030Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6031
6032 The following change was made by Edith Epstein
6033 <eepstein@cygnus.com> as part of a project to merge in changes
6034 originally made by HP; HP did not create ChangeLog entries.
6035
6036 * gdb.c++/demangle.exp: changed the expected output for some
6037 ARM-style mangling -- removed second reference to datatype.
6038 For example, maint demangle __dt__11T1__pt__2_cFv
6039 T1<char>::~T1<char>(void)
6040 becomes,
6041 maint demangle __dt__11T1__pt__2_cFv
6042 T1<char>::~T1(void)
6043
6044 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 6045
c906108c
SS
6046Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6047
6048 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6049 * gdb.trace/backtrace.exp: Likewise.
6050 * gdb.trace/circ.exp: Likewise.
6051 * gdb.trace/collection.exp: Likewise.
6052 * gdb.trace/deltrace.exp: Likewise.
6053 * gdb.trace/infotrace.exp: Likewise.
6054 * gdb.trace/limits.exp: Likewise.
6055 * gdb.trace/packetlen.exp: Likewise.
6056 * gdb.trace/passc-dyn.exp: Likewise.
6057 * gdb.trace/passcount.exp: Likewise.
6058 * gdb.trace/report.exp: Likewise.
6059 * gdb.trace/save-trace.exp: Likewise.
6060 * gdb.trace/tfind.exp: Likewise.
6061 * gdb.trace/tracecmd.exp: Likewise.
6062 * gdb.trace/while-dyn.exp: Likewise.
6063 * gdb.trace/while-stepping.exp: Likewise.
6064
60651998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6066
6067 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6068
6069Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6070
6071 From Brendan Kehoe:
6072 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6073 int return types.
6074
6075Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6076
6077 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6078 remote dos host testing right.
6079
6080Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6081
6082 * gdb.base/corefile.exp: remove some xfails.
6083
6084Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6085
6086 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6087 have different timestamps.
6088
6089Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6090
6091 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6092 gdb.base/default.exp: Replace "exec" with "executable".
6093
6094Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6095
6096 * gdb.base/default.exp: Change else if to elseif from previous
6097 delta.
6098
6099Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6100
6101 * gdb.base/default.exp: Add brace missing from previous delta.
6102
6103Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6104
6105 * gdb.base/default.exp: Support test for info float for all
6106 varieties of arm toolchain.
6107
dc96c6c7 6108Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6109
6110 * gdb.trace/*.exp: remove "remote_download" command.
6111
dc96c6c7 6112Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6113
6114 * gdb.trace/*.exp: remove -gdwarf from compile.
6115
6116Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6117
6118 * gdb.trace/configure.in(AC_INIT): typo
6119 * gdb.trace/configure: regenerated
6120
dc96c6c7 6121Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6122
6123 * config/m68k-emc.exp: New file.
6124 * lib/<emc-support.exp trace-support.exp}: New files.
6125 * configure.in: add new test directory gdb.trace.
6126 * gdb.trace/{configure configure.in Makefile.in}: New files.
6127 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6128 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6129 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6130 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6131 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6132 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6133 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6134
dc96c6c7 6135Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6136
6137 * gdb.c++/classes.exp: Change all regular expressions to match
6138 arbitrary combinations of newline/carriage-return, so that they
6139 will work equally well on Unix and Windows.
6140 * gdb.c++/inherit.exp: ditto.
6141 * gdb.c++/virtfunc.exp: ditto.
6142
61431998-08-11 Dawn Perchik <dawn@cygnus.com>
6144
6145 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6146
c2d11a7d
JM
6147Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6148
6149 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6150 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6151 to use a0-a3/d0-d3 as needed.
6152
6153Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6154
6155 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6156 * gdb.disasm/am33.exp: Corresponding changes.
6157
c906108c
SS
61581998-07-11 Felix Lee <flee@cygnus.com>
6159
6160 * gdb.base/callfuncs.exp: add cmp10 test.
6161 * gdb.base/callfuncs.c (cmp10): new function.
6162
6163Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6164
beb998c6 6165 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6166 into two parts to get around a synchronization problem in expect.
6167
3fc11d3e
JM
6168Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6169
6170 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6171
6172 * configure.in: Add options for gdbtk testsuite.
6173
6174 * configure: Regenerate.
6175
6176 * gdb.gdbtk: New directory to hold gdbtk tests.
6177
c906108c
SS
6178Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6179
6180 * gdb.fortran/types.exp: Escape brackets in expect patterns
6181 for test_float_literal_types_accepted tests.
6182 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6183 before run test.
6184
c2d11a7d
JM
6185Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6186
6187 * am33.exp: Just compile, do not link the testcase.
6188 * am33.s: Add ".am33" pseudoop to force am33 mode.
6189
c906108c
SS
61901998-06-25 Felix Lee <flee@cygnus.com>
6191
6192 * gdb.base/setshow.exp: make sure $pc is sane.
6193
6194 * gdb.stabs/weird.exp: split expect patterns properly.
6195
c2d11a7d
JM
6196Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6197
6198 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6199 * gdb.disasm/am33.exp: Run it.
6200
dc96c6c7 6201Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6202
6203 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6204 match processing (and eliminate spurious timeouts when running).
6205
dc96c6c7 6206Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6207
6208 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6209 exception test, but conditionalize it on target [mach | gnu].
6210
dc96c6c7 6211Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6212
6213 * gdb.base/overlays.exp: fixup compile line for linker script.
6214
6215Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6216
6217 * gdb.fortran/types.exp: don't guess at float size.
6218
6219Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6220
6221 * gdb.base/exprs.exp: delete test that depends on int size.
6222
6223Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6224
6225 * config/sim.exp: Removed checks for target triplets.
6226 (gdb_target_sim): Use gdb,target_sim_options.
6227
6228Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6229
6230 * gdb.base/reread.exp: New file.
6231 * gdb.base/reread1.c: New file.
6232 * gdb.base/reread2.c: New file.
6233
6234Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6235
6236 * config/sim.exp: Use 'target sim -sparclite' when running
6237 SPARClite programs.
6238
6239Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6240
6241 * gdb.base/structs2.exp: New file.
6242 * gdb.base/structs2.c: New file.
6243
6244Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6245
6246 * gdb.asm/common.inc: New file.
6247 * gdb.asm/d10v.inc: New file.
6248 * asm-source.exp: Pass -I's to gas to find .inc files.
6249 Update line numbers in expected output.
6250 * asmsrc1.s: Rewrite.
6251 * asmsrc2.s: Rewrite.
6252 * configure.in: Create arch.inc symlink.
6253 * configure: Regenerate.
6254 * Makefile.in (distclean): Delete arch.inc.
6255
6256Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6257
6258 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6259 (t_enum_value2): ditto
6260 (t_enum_value3): ditto
6261 (main): ditto
6262Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6263
6264 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6265 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6266 change.
6267 Use gdb_test instead of send_gdb/gdb_expect sequences.
6268
6269Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6270
6271 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6272 not void.
6273
6274Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6275
6276 * gdb.base/branches.c: Code with lots of loops and
6277 subroutines. Used to test gdbs ability to single step through PC
6278 changes, especially to test mips-tdep.c:mips_next_pc
6279
6280Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6281
6282 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6283 more rigorous EGCS C++ error checking.
6284
6285Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6286
6287 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6288 tests.
c906108c 6289 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6290 function when asleep.
c906108c 6291 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6292 for i*86 Linux and SVR4 signal handling problems.
6293 Remove linux xfail for `next to handler in signals_tests_1', fixed
6294 by recent infrun.c change.
c906108c 6295 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6296 stack backtraces.
c906108c
SS
6297 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6298 target.[ch] change.
6299
6300Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6301
6302 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6303 for a newline from gdb before continuing.
6304 (default_gdb_exit): Just look for y or n.
6305 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6306 it does, fail the rests of the tests in the file.
6307
6308Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6309
6310 * config/cygmon.exp: New file.
6311
6312Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6313
6314 * gdb.base/list.exp: Fix problem with "list default lines around
6315 main" test on remote targets.
6316
6317 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6318 run test on remote targets.
6319
6320Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6321
6322 * gdb.asm: New directory.
6323 * configure.in: Configure it.
6324 * configure: Regenerate.
6325 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6326 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6327
6328Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6329
6330 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6331
dc96c6c7 6332Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6333
c906108c
SS
6334 * gdb.base/overlays (several files): Merge the two overlay
6335 managers into one. Change variables (foox, barx, bazx, grbxx)
6336 back into ints but force them to load in their proper sections.
6337
6338Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6339
6340 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6341 on-chip insn memory and IMAP1 to upper 128k.
6342 (D10VCopy): Handle memory regions crossing 16k boundaries.
6343 (D10VCopy): Transfer data in 32 bit chunks.
6344
6345Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6346
6347 * gdb.base/overlays.c (main): Exit normally when result is
6348 correct.
6349
6350 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6351 map. Include space for printf in .text segment.
6352
6353 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6354 updated d10v memory VMA/LMA map.
6355 (D10VCopy): Call D10VTranslate.
beb998c6 6356
c906108c
SS
6357Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6358
6359 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6360
6361 * gdb.base/bar.c (barx, bar): Change variable to small array so
6362 that it won't be put into the .sdata - small data -
6363 section. Update reference.
6364 * gdb.base/baz.c (bazx, baz): Ditto.
6365 * gdb.base/foo.c (foox, foo): Ditto.
6366 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6367
6368 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6369 to be arrays.
beb998c6 6370
dc96c6c7 6371Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6372
c906108c
SS
6373 * gdb.base/overlays.exp: fix up and get working again.
6374 Add tests for backtraces from an overlay function.
beb998c6 6375
c906108c
SS
6376Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6377
6378 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6379 "calling function with watchpoint enabled".
6380
6381Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6382
6383 * gdb.base/break.exp (test_next_with_recursion): Remove
6384 gdb_suppress_tests for d10v-*-*.
6385 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6386 pending review of whether it is useful or not.
6387
6388Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6389
6390 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6391
6392Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6393
6394 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6395 * config/dve.exp: New file to support Densan boards.
6396
6397Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6398
6399 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6400 reads and BSD.
6401
6402Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6403
6404 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6405 response.
6406
6407 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6408
6409Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6410
6411 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6412 test.
6413
6414 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6415 target_sizeof_long and target_bigendian_p.
6416 (structs_by_value, structs_by_reference): Check values according
6417 to targets word size and endianess.
beb998c6 6418
c906108c
SS
6419Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6420
6421 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6422 output.
6423
6424Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6425
6426 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6427 Update test of set args help to match source change.
6428
6429Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6430
6431 * gdb.base/default.exp: Expect help system output to be in
6432 alphabetical order.
6433 * gdb.base/help.exp: Ditto.
6434
6435Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6436
6437 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6438 "i*86-pc-linux-gnu*".
6439 * gdb.base/interrupt.exp: Ditto.
6440 * gdb.base/corefile.exp: Ditto.
6441
6442 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6443 define vxworks when building the testcase.
6444
6445 * gdb.base/ptype.exp: Fix testnames to be unique.
6446 * gdb.base/radix.exp: Ditto.
6447 * gdb.base/term.exp: Ditto.
6448 * gdb.base/whatis.exp: Ditto.
6449 * gdb.c++/classes.exp: Ditto.
6450
6451Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6452
6453 * gdb.base/callfuncs.exp: Fix indentation.
6454
6455 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6456 suppress_flag has been set.
6457 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6458 target feature.
6459
6460Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6461
6462 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6463 the testcase.
6464
6465 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6466 set_debug_traps() and breakpoint().
6467 * gdb.c++/misc.cc (main): Ditto.
6468 * gdb.c++/templates.cc (main): Ditto.
6469 * gdb.c++/virtfunc.cc (main): Ditto.
6470
6471Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6472
6473 * lib/gdb.exp(gdb_step_for_stub): New function.
6474 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6475 exists, reload the executable and do a "continue" instead of
6476 doing a jump.
6477 (runto_main): Use gdb_step_for_stub.
beb998c6 6478
c906108c
SS
6479 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6480 tests to have unique names.
6481 * gdb.base/callfuncs.exp: Ditto.
6482 * gdb.base/commands.exp: Ditto.
6483 * gdb.base/default.exp: Ditto.
6484 * gdb.base/help.exp: Ditto.
6485 * gdb.base/list.exp: Ditto.
6486 * gdb.base/opaque.exp: Ditto.
6487 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6488 similar tests.
beb998c6 6489
c906108c
SS
6490 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6491 * gdb.c++/cplusfuncs.cc: Ditto.
6492 * gdb.c++/virtfunc.cc: Ditto.
6493
6494 * config/monitor.exp: Keep track of the last file we saw, rather
6495 than trying to get the info from gdb.
6496
6497 * gdb.fortran/types.exp: Move comment to previous line.
6498
6499Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6500
6501 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6502 target mode.
6503
6504Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6505
6506 From Bob Manson:
6507 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6508 string from GDB when it connects.
6509
6510 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6511
6512Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6513
6514 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6515 if we can't get a debug format from GDB (we may be testing an
6516 older GDB). Use a 10 second timeout when checking for the format.
6517
6518 * gdb.stabs/weird.exp: Fix quoting.
6519
6520 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6521
6522Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6523
6524 * config/arm-ice.exp: New file.
6525
6526Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6527
6528 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6529 until it has been modified to work with the new testsuite.
6530
99707966 6531 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6532 testcase won't compile, cause all of the testcases in the file to
6533 fail instead.
6534
6535 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6536 (gdb_clear_suppressed): New procedure.
6537 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6538 it contains a positive value.
6539
6540Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6541
6542 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6543
6544 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6545
6546Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6547
6548 * lib/gdb.exp (setup_xfail_format): New function.
6549 (get_debug_format): New function to get debug format.
6550 (debug_format): New global variable to hold last value set
6551 by get_debug_format.
6552 * gdb.base/list.exp: Call get_debug_format and expect some
6553 tests to fail for DWARF 1 and COFF formats.
6554 * gdb.c++/ptype.exp: Ditto.
6555 * gdb.c++/classes.exp: Ditto.
6556 * gdb.c++/cplusfuncs.exp: Ditto.
6557 * gdb.c++/inherit.exp: Ditto.
6558 * gdb.c++/templates.exp: Ditto.
6559 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6560
c906108c
SS
6561Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6562
6563 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6564 host doesn't have a currently-open connection.
6565
6566 * config/sparclet.exp: Cleanups and fixes to make it generic for
6567 any gdb stub target. Handle cases where gdb doesn't respond when
6568 interrupted in a sane fashion.
6569
6570 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6571 same thing in a totally different way.
6572
6573 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6574 setting "timeout".
6575 (gdb_start): We set the global gdb_prompt variable in
6576 default_gdb_init now.
6577
6578Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6579
6580 * gdb.base/printcmds.exp: Fix "check for floating addition"
6581 regexp to accept results within approx +/- .01 of exact value.
6582 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6583
6584Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6585
6586 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6587 properly.
6588 (gdb_expect): Add optional timeout parameter, and add timeout
6589 value to various calls.
6590 (gdb_suppress_tests): Only give one warning message per group.
6591
6592Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6593
6594 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6595 global variables. Handle getting a value for $timeout more
6596 gracefully.
6597
6598Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6599
6600 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6601 initialize.
6602 (default_gdb_init): New procedure; allow gdb_init to be overridden
6603 by a target configuration file.
6604 (gdb_expect): Pass the timeout to remote_expect.
6605
6606 * config/monitor.exp(gdb_load): Fix typo in regexp.
6607
6608Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6609
6610 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6611
6612Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6613
6614 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6615 here. Call gdb_target_exec before rebooting the target, to make
6616 sure the connection to the target is closed.
6617 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6618 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6619 Also detect "Timeout reading from remote" error.
6620
6621 * config/gdbserver.exp: Pass the executable being loaded to
6622 gdb_target_monitor. Don't call gdb_file_cmd here; let
6623 gdb_target_monitor do it.
6624
6625 * gdb.disasm/hppa.exp: Don't use exec_output.
6626
6627Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6628
6629 * gdb.base/list.exp: If we're debugging a non-native target,
6630 try to set the pc register to point to the start of the
6631 program before doing the first list command.
6632
6633 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6634 test_calls after restarting.
6635
6636 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6637 reloading.
6638
6639 * gdb.base/watchpoint.exp: Fix typo.
6640
6641 * gdb.base/setshow.exp: Check for use_gdb_stub.
6642
6643 * gdb.base/break.exp: Fix continue until exit test for the gdb
6644 stub case.
6645 * gdb.base/langs.exp: Ditto.
6646
6647 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6648 gdb_load_offset. If we weren't given a file to load, figure out
6649 what the current file is and use it.
6650
6651 * config/i386-bozo.exp: New file.
6652
6653Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6654
6655 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6656 feature.
6657
6658 * config/proelf.exp: New entry.
6659
6660Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6661
6662 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6663 of regexps.
6664
6665 * gdb.base/watchpoint.exp: Don't run the test_stepping
6666 tests if gdb can't call functions on the target.
6667
6668 * gdb.base/setshow.exp: Don't run the set prompt tests if
6669 the board has gdb_prompt set.
6670
6671Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6672
6673 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6674 * gdb.base/commands.exp: Likewise.
6675 * gdb.base/setshow.exp: Likewise.
6676
6677Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6678
6679 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6680 feature.
6681
6682 * config/i960.exp: New file.
6683
6684Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6685
6686 * gdb.base/funcargs.exp: Check for gdb,short_int target
6687 feature instead of looking for explicit target triplets.
6688
dc96c6c7 6689Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6690
beb998c6 6691 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6692 "p 123DEADBEEF", to check parse_number.
6693 * top.c: change "to enable to enable" to "to enable" in a couple
6694 of help strings.
6695
6696Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6697
6698 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6699 on the mn10300.
beb998c6 6700
c906108c
SS
6701Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6702
6703 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6704 where the test executable is run with explicit args.
6705 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6706
6707Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6708
6709 * gdb.base/run.c: Use FAKEARGV to build test executable that
6710 does not require a command line arg, since most simulators
6711 don't currently support passing such an arg into the simulated
6712 program.
6713 * gdb.base/commands.exp: Change tests to insert the proper
6714 value as the arg to the first recursive factorial call. Change
6715 compilation line to define FAKEARGV at compile time.
6716
6717Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6718
6719 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6720 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6721 function with watchpoint enabled" test.
6722
6723Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6724
6725 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6726 Don't call gdb_test when the command doesn't return to a gdb prompt.
6727
6728 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6729 "Tests restarted" messages.
6730
6731Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6732
6733 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6734
dc96c6c7 6735Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6736
6737 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6738 for INFO SYMBOL; add help tests for OVERLAY commands.
6739 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6740 add tests for OVERLAY commands
6741 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6742 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6743 * gdb.base/sigall.c: add usestubs code frag
6744 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6745
c906108c
SS
6746Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6747
6748 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6749 failures.
6750 (gdb_stop_suppressing_tests): Note that tests have restarted.
6751
6752Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6753
6754 * config/h8300.exp: New file.
6755
6756Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6757
6758 * gdb.base/setshow.exp: Check for the existence of a
6759 feature, not its value.
6760
6761Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6762
6763 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6764
6765 * gdb.base/scope.exp: It's now init0(), not init().
6766
6767 * gdb.base/scope0.c: For now, change init() to be init0().
6768
6769 * config/monitor.exp: Use gdb_serial in preference to serial
6770 or netport.
6771
6772 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6773 and it's not already set.
6774
6775Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6776
6777 * gdb.base/setshow.exp: Only test the run command if the target
6778 isn't using a stub and if it supports argument passing.
6779
6780Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6781
6782 * config/udi.exp(gdb_start): Make sure UDICONF is set
6783 properly before starting gdb.
6784
6785Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6786
6787 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6788 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6789 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6790
6791Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6792
6793 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6794 specialized code to reboot the board, use remote_reboot instead.
6795
6796 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6797
6798 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6799
6800 * config/monitor.exp: Make sure we disconnect from the target.
6801 Also, try a reboot/reload cycle instead of failing if the
6802 load fails.
6803
6804Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6805
6806 * gdb.base/default.exp: Don't set match_max.
6807 * gdb.base/help.exp: Ditto.
6808 * gdb.base/list.exp: Ditto.
6809 * gdb.base/signals.exp: Ditto.
6810
6811 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6812 set, use remote_ld to download the testcase instead of
6813 the GDB loader.
6814
6815Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6816
6817 * config/vr5000.exp: New file.
6818
6819 * config/monitor.exp(gdb_target_monitor): Add pattern for
6820 "Ending remote" to detect errors in connecting.
6821
6822 * gdb.base/setshow.exp: Add .* within auto language test.
6823
6824 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6825 target feature.
6826
6827 * config/monitor.exp(gdb_load): Check for a failure when loading,
6828 and reboot the board if necessary.
6829
6830 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6831 a set of tests. Remove print.* from the patterns being checked.
6832
6833Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6834
6835 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6836 refer to gdb_spawn_id.
6837
6838 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6839 longer used.
6840 * config/sparclet.exp: Ditto.
6841 * config/sparclet-old.exp: Ditto.
6842 * config/slite.exp: Ditto.
6843 * config/sim.exp: Ditto.
6844 * gdb.base/funcargs.exp: Ditto.
6845
6846 * lib/gdb.exp:Remove references to gdb_spawn_id.
6847 (gdb_expect): Move to remote.exp.
6848
6849Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6850
6851 * config/monitor.exp: Detect the "Couldn't establish connection"
6852 message from GDB.
6853
6854Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6855
6856 * gdb.base/bitfields.exp: Use runto instead of explicit
6857 gdb_run_cmd/gdb_expect sequences.
6858
6859 * gdb.base/break.exp(text_next_with_recursion): Add match for
6860 gdb_expect call.
6861
6862 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6863 We also need to handle the "A program is being debugged already"
6864 prompt from gdb. Use gdb_test to set the baud rate.
6865
6866 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6867 to 20000. Really. I mean it.
6868
6869Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6870
6871 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6872 fails. If suppress_flag is set, skip perror message about not
6873 being able to send to GDB.
6874 (send_gdb): If suppress_flag is set, don't try to send commands to
6875 GDB.
6876 (gdb_expect): If suppress_flag is set, always fail immediately.
6877 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6878 (gdb_init): Call gdb_stop_suppressing_tests.
6879 (default_gdb_exit): Ditto.
6880 (default_gdb_start): Ditto.
6881
6882 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6883 gdb_stop_suppressing_tests as appropriate.
6884 * gdb.base/break.exp: Ditto.
6885 * gdb.base/callfuncs.exp: Ditto.
6886 * gdb.base/commands.exp: Ditto.
6887 * gdb.base/exprs.exp: Ditto.
6888 * gdb.base/funcargs.exp: Ditto.
6889 * gdb.base/list.exp: Ditto.
6890 * gdb.base/recurse.exp: Ditto.
6891 * gdb.base/scope.exp: Ditto.
6892 * gdb.base/structs.exp: Ditto.
6893 * gdb.c++/inherit.exp: Ditto.
6894
6895Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6896
6897 * config/vr4300.exp: New file.
6898
99707966
MC
6899 * gdb.*/*.exp: Call gdb_expect instead of expect.
6900
6901 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6902
6903Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6904
6905 * lib/gdb.exp(gdb_init): New function.
6906
6907 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6908 for each individual variable set.
6909
6910 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6911 name.
6912
6913 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6914
6915 * gdb.base/scope.exp: Use gdb_test.
6916
6917 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6918 aborting; the testsuite driver will do that for us (see
6919 gdb_finish). Also, use gdb_test in a few more places.
6920
6921Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6922
6923 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6924
6925Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6926
6927 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6928 and "add_tests" are not at the same address.
6929
6930Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6931
6932 * gdb.base/ptype.exp: Use gdb_test.
6933
6934Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6935
6936 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6937 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6938 left in. No longer expect them to fail.
6939
6940 * gdb.stabs/*.mt; Deleted, no longer used.
6941 * gdb.stabs/configure.in: Remove references to target makefile
6942 frags.
6943 * gdb.stabs/configure: Rebuilt.
6944
6945 * gdb.disasm/*.mt: Deleted, no longer used.
6946 * gdb.disasm/configure.in: Remove references to target makefile
6947 frags. Use "sh3.s" as the unique filename for this directory.
6948 * gdb.disasm/configure: Rebuilt.
6949
6950 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6951 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6952 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6953
6954Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6955
6956 * config/udi.exp: Use mondfe,name instead of remote_host.
6957
6958Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6959
6960 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6961 a function with a watchpoint enabled on the mn10200.
6962
6963 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6964 before trying to create it!
6965
6966Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6967
6968 * config/vx.exp: Use hostname instead of netport.
6969
6970 * config/vxworks.exp: New file.
6971
6972 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6973
6974 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6975 gdb before assuming everything worked. Send a ^C if a timeout
6976 occurs.
6977
6978 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6979 $gdb_spawn_id directly.
6980 (gdb_run_cmd): Try _start as well as start. Use the target feature
6981 gdb,start_symbol as the symbol to start from when jumping.
6982
6983Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6984
6985 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6986 redundant) test.
6987
6988 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6989 it doesn't lose for 16bit integer systems.
6990
6991Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6992
6993 * gdb.fortran/types.exp: If the target doesn't support "double"
6994 data types, then expect "real" types to only be 4 bytes.
6995
6996 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6997 call tests if the target doesn't support inferior function calls.
6998
6999 * gdb.base/printcmds.exp: Allow minor deviation in FP values
7000 in printf tests.
7001
7002Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
7003
7004 * gdb.base/help.exp: Disable "help set", "help show", and
7005 "help support". Simplify regexp for "help stack".
7006
7007 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7008 to 60 seconds. Temporarily set match_max to 15000 around the
7009 "info copying" test.
7010
7011 * gdb.base/nodebug.exp: Don't try to do an inferior function
7012 call if the target doesn't support them.
7013 * gdb.base/printcmds.exp: Likewise.
7014 * gdb.base/setvar.exp: Likewise.
7015 * gdb.base/structs.exp: Likewise.
7016 * gdb.c++/templates.exp: Likewise.
7017 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7018
7019 * gdb.base/recurse.exp: Enable for the mn10200.
7020
7021 * configure.in: Do configure gdb.stabs directory for *-*-elf
7022 targets.
7023 * configure: Rebuilt.
7024
7025 * gdb.base/break.exp: Check for gdb,noresults before testing
7026 exit status and/or results from the target.
7027 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7028 * lib/gdb.exp: Remove old (now bogus) initialization of
7029 noinferior, noargs, noresults and nosignals.
7030
7031Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7032
7033 * config/sh.exp: New file.
7034
7035 * config/slite.exp: Try to connect multiple times to the board
7036 before rebooting. Only send a "monitor run" if need_monitor_run
7037 is set.
7038
7039 * gdb.base/break.exp: Don't do the "stub continue" test if
7040 the target has gdb_stub set.
7041
7042 * gdb.base/callfuncs.exp: Increase the timeout.
7043
7044 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7045 if the target has gdb,noinferiorio set.
7046
7047 * gdb.base/list.exp: Increase match_max to 10000 characters.
7048
7049 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7050
7051 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7052 target.
7053
7054 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7055
7056Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7057
7058 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7059 trying to delete the copy of gdb. Catch the file delete so we
7060 don't die if the delete fails; also, the file should be copied to
7061 the host, not to the build.
7062
7063Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7064
7065 * lib/gdb.exp(gdb_test): Surround the result pattern with
7066 parenthesis in case it contains multiple regexps separated
7067 with |.
7068
7069 * gdb.base/watchpoint.exp: Use gdb_test.
7070 * gdb.base/default.exp: Ditto.
7071
7072Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7073
99707966 7074 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 7075
c906108c
SS
7076 * gdb.base/scope.exp: Use gdb_test.
7077 * gdb.c++/classes.exp: Ditto.
7078 * gdb.c++/inherit.exp: Ditto.
7079
7080Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7081
7082 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7083 remote_exec instead.
7084 * gdb.base/corefile.exp: Don't be ridiculous.
7085 * gdb.base/*.c: Add missing stub invocations.
7086
7087Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7088
7089 * config/slite.exp: Miscellaneous fixes.
7090
7091 * lib/gdb.exp: Fix runto.
7092
7093 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7094 the target.
7095
7096 * gdb.base/watchpoint.exp: Fix regexp.
7097
7098 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7099 close and wait commands, as the descriptor may now be
7100 invalid. Always call "remote_close host".
7101
7102Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7103
7104 Major rewrite for testsuite revision.
beb998c6 7105
c906108c
SS
7106 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7107 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7108 instead of relying on spawn_id to always contain a valid
7109 spawn id.
7110 (get_compiler_info): New procedure to build the ${binfile}.ci
7111 file, instead of replicating this in N different places.
7112 (gdb_compile): New procedure.
beb998c6 7113
c906108c
SS
7114 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7115 appropriate arguments) instead of compile. Use gdb_test in a lot
7116 more places. Use send_gdb instead of send. Always run gdb_start
7117 at the start of a testcase, as this is no longer done magically.
7118
7119 config/*-gdb.exp: Rename without the -gdb suffix.
7120
7121 config/mips.exp: Use remote_close instead of exit_remote_shell.
7122 config/monitor.exp: Use target_info instead of looking at
7123 baud, timeout, etc.
7124 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7125
7126Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7127
7128 * gdb.c++/templates.exp (test_ptype_of_templates),
7129 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7130 Update expect patterns for destructors and assignment operators
7131 to match corresponding c-typeprint.c changes.
7132 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7133 to destructor breakpoint test, GDB should be able to set the
7134 destructor breakpoint without specifying arguments.
7135
7136Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7137
7138 * gdb.threads/pthreads.exp: Change result for failure to compile due
7139 to lack of pthreads runtime support from an error to simply an
7140 unsupported test, per dejagnu standards.
7141
7142Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7143
7144 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7145 where GDB exits to reduce pattern match time.
7146 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7147
7148 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7149
dc96c6c7 7150Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7151
7152 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7153 * gdb.base/default.exp: ditto.
7154 * gdb.base/nodebug.exp: ditto.
7155 * gdb.base/printcmds.exp: ditto.
7156 * gdb.base/ptype.exp: ditto.
7157 * gdb.base/setvar.exp: ditto.
7158 * gdb.base/structs.exp: ditto.
7159 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7160
7161Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7162
7163 * configure, */configure: Rebuild with autoconf 2.12.
7164
7165Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7166
7167 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7168 use new i*86-pc-linux*-gnu quads.
7169 * gdb.base/corefile.exp: Ditto.
7170 * gdb.base/signals.exp: Ditto.
7171 * gdb.base/sigall.exp: Ditto.
7172 * gdb.base/interrupt.exp: Ditto.
7173
7174 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7175 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7176 RedHat 4.0.
beb998c6 7177
c906108c
SS
7178 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7179 linux. This allows the test case to at least compile on latest
7180 linux, but still not run due to missing the threads runtime library.
7181
7182Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7183
7184 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7185 directory to search gdb directory. Accept and step over conditional
7186 stack alignment code. Consume $prompt in failure cases.
7187 Reset timeout to $oldtimeout instead of some arbitrary value.
7188 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7189 timeout problems with infinite stack backtraces.
7190 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7191 Accept function parameters for linkfunc member.
7192
7193Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7194
7195 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7196 (CXXFLAGS): Remove, unreferenced.
7197 (B_OPTIONS): Add for -B options and add code to initialize with
7198 previous -B options and also add -B option to pick up cross compiled
7199 runtime.
7200 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7201 doing cross compiles.
7202 (target_alias): Declare global.
7203 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7204 to verify that gcc exists in build tree, and if so set CC to that
7205 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7206
c906108c
SS
7207Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7208
7209 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7210 ptype test for anonymous union. Fixup testcase to match
7211 current gcc debug output.
7212
7213Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7214
7215 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7216 force argument to an unsigned long type.
7217
7218Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7219
7220 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7221 tests and anonymous union print/ptype tests.
7222 * gdb.base/list.exp (test_forward-search): Increase timeout by
7223 5 minutes for the "search extremely long line" case.
7224 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7225 completely optional and that the pass/fail messages use the command as
7226 the message if that third arg is a null string.
7227 (gdb_test_exact): Arrange that a null string pattern means match a
7228 null string output rather than any output, which might include random
7229 errors.
7230 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7231 backtrace test.
7232 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7233 always failing and failure is now exposed by gdb.exp changes.
7234
7235Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7236
7237 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7238 weren't being noted.
7239
7240Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7241
7242 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7243 * gdb.stabs/weird.exp: Remove v_comb xfails.
7244
dc96c6c7 7245Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7246
7247 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7248 list.exp scope.exp watchpoint.exp]
7249 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7250
dc96c6c7 7251Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7252
7253 * config/monitor.exp: Increase download timeout to 1000 seconds.
7254
dc96c6c7 7255Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7256
7257 * config/m32r.exp: Increase timeout to 120 seconds.
7258
7259Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7260
7261 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7262 and accept older ordering as obsolescent gcc or gdb.
7263 * gdb.c++/templates.exp: Ditto.
7264 * gdb.c++/virtfunc.exp: Ditto.
7265
7266Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7267
7268 * gdb.base/coremaker.c: Add code to mmap some data so we
7269 can check that it ends up in the core file.
7270 * gdb.base/corefile.exp: Add test to read mmapped data
7271 from core file.
7272
dc96c6c7 7273Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7274
7275 * config/m32r.exp: New file.
7276
7277Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7278
7279 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7280 that cflags can contains -gstabs, and work correctly for other tests.
7281
dc96c6c7 7282Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7283
7284 * gdb.base/setshow.exp: New file, tests show and set.
7285 * gdb.base/setshow.c: New file, tests show and set.
7286 * gdb.base/help.exp: Add test for help set|show annotate.
7287 * gdb.base/default.exp: Add test for set|show annotate.
7288
7289Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7290
7291 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7292 errors unique.
7293 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7294 explicitly.
7295
7296Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7297
7298 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7299 and width commands. This is done elsewhere.
7300 * (gdb_start): Don't call gdb_start_sim here. That's already
7301 done in gdb_load. This fixes lots of failures in default.exp.
7302
7303Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7304
7305 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7306 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7307 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7308 in the same we we treat other failures (since it may be an expected
7309 condition), rather than as an error.
7310 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7311 old test format.
7312
7313Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7314
7315 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7316 (distclean maintainer-clean realclean): No need to remove files
7317 twice. Nuke the duplicates.
7318 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7319 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7320 Remove config.h along with other config files.
7321
7322Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7323
7324 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7325 "p func1 ()" and note that rests of tests are skipped.
7326 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7327 setup_xfails for "print func2::coremaker_local".
7328 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7329 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7330 affected by the previous run test.
7331 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7332 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7333 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7334 "pass int powerset tuple" and "pass modeless int powerset tuple".
7335 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7336 "real write 4" and "real write 8".
7337 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7338 setup_xfails for "print vs1 after tuple assign 2",
7339 "print \$i after tuple assign 2", and
7340 "print vs2 after tuple assign 2".
7341 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7342 meaningful error message and return -1 so the caller can
7343 suppress further tests and avoid a cascade of errors.
beb998c6 7344
c906108c
SS
7345Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7346
7347 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7348 format for printing version.
7349 * gdb.base/default.exp: Ditto.
7350 * gdb.base/interrupt.exp: Fix problem with cascade of
7351 errors if child process dies while calling a function.
beb998c6 7352
c906108c
SS
7353Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7354
7355 * Makefile.in (VPATH): Add
7356 * Makefile.in (Makefile, config.status): Fix rules so things get
7357 remade when necessary.
7358
7359Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7360
7361 * Makefile.in (just-check): Add path to sibling expect dir
7362 to environment variable specified by RPATH_ENVVAR.
7363
7364Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7365
7366 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7367 (just-check): Add shared library paths for libstdc++, tk,
7368 tcl, bfd, and opcodes to the environment variable specified
7369 in RPATH_ENVVAR.
7370 * configure.in: Add support to recognize --enable-shared flag
7371 and generate correct value for RPATH_ENVVAR.
7372 * configure: Regenerated with autoconf.
7373
7374Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7375
7376 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7377 include all osf versions.
7378 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7379 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7380 when target is linux. When failing to build pthreads test
7381 executable, give more meaningful message.
7382 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7383 arg for pthread_create.
beb998c6 7384
c906108c
SS
7385Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7386
7387 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7388 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7389 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7390 and -lpthreads (everybody else).
7391 (test_startup): Fail gracefully if threads are not supported.
7392 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7393 "p/c array_index("abcdef",2)" when not gcc compiled.
7394 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7395 "print func2::coremaker_local" when not gcc compiled.
7396 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7397 "ptype on opaque struct tagname (statically)",
7398 "ptype on opaque struct tagname (dynamically) 1", and
7399 "ptype on opaque struct tagname (dynamically) 2"
7400 for not compiled with gcc.
7401 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7402 backtrace when compiled with gcc.
beb998c6 7403 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7404 than always return success.
7405
7406Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7407
7408 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7409
7410Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7411
7412 * gdb.base/structs.exp: Undo last change.
7413
7414Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7415
7416 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7417 encapsulate all the steps/nexts done during self test, starting
7418 at main, and makes them less sensitive to optimization issues.
7419 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7420 signal handler" test.
7421 * gdb.threads/pthreads.exp: Only run this for native configs.
7422 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7423 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7424 tests.
7425 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7426 for "runto test_calls(void)" test.
beb998c6 7427
c906108c
SS
7428Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7429
7430 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7431 and don't expect address info in breakpoint confirmations.
7432
7433Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7434
7435 * gdb.base/list.exp (test_forward_search): Increase timeout
7436 temporarily by 60 seconds for searching extremely long line,
7437 and then reset to old value when done. Increase expect input
7438 buffer to 10000.
7439
7440Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7441
7442 * gdb.base/list.exp (test_forward_search): Fix to handle very
7443 long source line without overflowing expect's input buffer.
7444
7445Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7446
7447 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7448 "buffer_full".
7449
7450 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7451 "buffer_full".
7452
7453 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7454 "buffer_full".
7455
7456 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7457 "buffer_full".
7458
7459Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7460
7461 * configure.in (configdirs): Add gdb.threads.
7462 * configure: Regenerated with autoconf.
7463 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7464 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7465 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7466
c906108c
SS
7467Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7468
7469 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7470
7471Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7472
7473 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7474 each signal's status in the output of "handle all print".
7475 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7476 the \r\n sequence that immediately precedes the gdb prompt.
7477 * gdb.base/a1-selftest.exp: Save original timeout and restore
7478 after test.
7479
7480Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7481
7482 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7483 symbol.
7484
7485Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7486
7487 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7488
7489Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7490
7491 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7492 timeout by 60 seconds.
7493
7494Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7495
7496 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7497 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7498 error return.
7499
7500Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7501
7502 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7503 gdb initialization, also report how long dejagnu waited. Restore
7504 old timeout before doing error return. Temporarily increase timeout
7505 by 3 minutes to allow for slow startups over heavy NFS use.
7506
7507Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7508
7509 * lib/gdb.exp: Report timeout value for verbosity level 2.
7510 * config/gdbserver.exp: Ditto.
7511 * config/hppro.exp: Ditto.
7512 * config/mips-gdb.exp: Ditto.
7513 * config/monitor.exp: Ditto.
7514 * config/netware.exp: Ditto.
7515 * config/sim-gdb.exp: Ditto.
7516 * config/slite-gdb.exp: Ditto.
7517 * config/udi-gdb.exp: Ditto.
7518 * config/unix-gdb.exp: Ditto.
7519 * config/vx-gdb.exp: Ditto.
7520 * gdb.base/a1-selftest.exp: Ditto.
7521 * gdb.base/a2-run.exp: Ditto.
7522 * gdb.base/break.exp: Ditto.
7523 * gdb.base/corefile.exp: Ditto.
7524 * gdb.base/list.exp: Ditto.
7525 * gdb.base/recurse.exp: Ditto.
7526 * gdb.base/scope.exp: Ditto.
7527 * gdb.base/signals.exp: Ditto.
7528
7529Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7530
7531 * gdb.threads/Makefile.in (docdir): Removed.
7532
7533Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7534
7535 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7536 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7537 @srcdir@.
beb998c6 7538 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7539 autoconf 2.5 or higher.
7540 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7541
7542Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7543
7544 * configure: Regenerated.
7545 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7546 avoid name clashes with SunOS headers.
7547
7548Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7549
7550 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7551
7552Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7553
7554 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7555 prototype information ends up in the compiler info file.
7556
7557Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7558
7559 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7560 attempting to regenerate it. Eliminate use of a temporary file
7561 and just generate the info file directly. Source it immediately,
7562 for consistency of use.
7563 * gdb.base/corefile.exp: Ditto
7564 * gdb.base/exprs.exp: Ditto.
7565 * gdb.base/funcargs.exp: Ditto.
7566 * gdb.base/langs.exp: Ditto.
7567 * gdb.base/list.exp: Ditto.
7568 * gdb.base/mips_pro.exp: Ditto.
7569 * gdb.base/nodebug.exp: Ditto.
7570 * gdb.base/opaque.exp: Ditto.
7571 * gdb.base/ptype.exp: Ditto.
7572 * gdb.base/scope.exp: Ditto.
7573 * gdb.base/setvar.exp: Ditto.
7574 * gdb.base/signals.exp: Ditto.
7575 * gdb.base/whatis.exp: Ditto.
7576 * gdb.c++/templates.exp: Ditto.
7577 * gdb.c++/virtfunc.exp: Ditto.
7578 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7579 whether or not to add -lstdc++ to the compile command line args.
7580
7581Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7582
7583 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7584 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7585 Increase timeout, a lot of single stepping might be needed if the
7586 target has no hardware watchpoints.
7587
7588Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7589
7590 * gdb.base/break.exp: Ignore compiler warnings when compiling
7591 break.c.
7592 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7593 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7594 from remote-sim.
7595 * gdb.base/exprs.exp: Add h8300 xfails.
7596 * gdb.base/funcargs.exp: Likewise.
7597 * gdb.base/nodebug.exp: Likewise.
7598 * gdb.base/printcmds.exp: Likewise.
7599 * gdb.base/ptype.exp: Likewise.
7600 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7601 h8300 xfails.
beb998c6 7602 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7603 on the h8300.
7604 * gdb.base/funcargs.c: Explicitly make last constant argument to
7605 call_after_alloca_subr an unsigned long type.
7606 * gdb.base/return.c: Include stdio.h.
7607
7608Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7609
7610 * config/abug.exp: New file for the older Motorola Bug monitor
7611 that runs on the mvme13x series VME boards.
7612 * config/monitor.exp: Use the new config array for target settings
7613 if they exist.
7614
7615Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7616
7617 * sim-gdb.exp: Make the SH simulator allocate less space when
7618 it is targeted.
7619
7620Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7621
7622 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7623 test.
7624
7625Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7626
7627 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7628 "rs6000-*-*" for "list function in include file" when gcc compiled.
7629 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7630 for "p ctable1[120]".
7631 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7632 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7633 Remove setup_xfail for "rs6000-*-*" for
7634 "print 'scope0.c'::filelocal before run".
7635 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7636 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7637 since some compilers don't allow both options to be given
7638 on the same command line. Create object file and move it.
beb998c6 7639
c906108c
SS
7640Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7641
7642 * gdb.base/corefile.exp: Always regenerate the core file, since
7643 we always regenerate the coremaker program. Detect special case
7644 where registers cannot be read from core file.
beb998c6 7645
c906108c
SS
7646Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7647
7648 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7649 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7650 * gdb.c++/templates.exp: Only match on basename of file since
7651 some formats like xcoff don't encode directory information.
7652 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7653 and rs6000 AIX xcoff targets.
7654 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7655 * configure: Regenerate.
7656 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7657 here, rather than in distclean.
beb998c6 7658
c906108c
SS
7659Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7660
7661 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7662 defined, and use it to compile the test case with -O2. The
7663 native compilation still uses no optimization.
7664 * gdb.base/mips_pro.c: Remove inline assembly code since
7665 it is compiled PIC by default, which results in assembler
7666 warnings that make the testsuite think the compilation
7667 was unsuccessful.
7668
7669Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7670
7671 * gdb.c++/misc.exp: Add note to message for
7672 "print s.a for foo struct" that this is a known gcc 2.7.2
7673 and earlier bug.
7674
7675Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7676
7677 * gdb.base/break.exp: Fix pattern for matching "Delete all
7678 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7679 setup_xfail for deleting all breakpoints test. Fix various
7680 timeout messages to include "(timeout)".
7681 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7682 for "p t_float_values2(3.14159,float_val2)".
7683 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7684 for "continue to call2g" when gcc compiled.
7685 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7686 "up to foo in langs.exp", "show language at foo in langs.exp",
7687 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7688 and "show language at fsub in langs.exp".
7689 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7690 "list line 1 in include file", "list message for lines past EOF",
7691 "list function in include file", "list list0.h:foo", and
7692 "list filename:function; nonexistant function".
7693 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7694 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7695 and "ptype t_char_array" to be for native cc only.
beb998c6 7696
c906108c
SS
7697Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7698
beb998c6 7699 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7700 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7701 "print func2::coremaker_local", and "backtrace in corefile.exp".
7702
7703Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7704
7705 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7706 "bt in signals.exp". This problem only appears when running
7707 the testsuite, and then only intermittently.
7708
7709Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7710
7711 * gdb.base/return.exp (return_tests): Differentiate between
7712 two tests of continuing.
7713
7714Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7715
7716 * */Makefile.in (maintainer-clean): Remove config.log.
7717 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7718 * gdb.c++/Makefile.in (PROGS): Add inherit.
7719 (clean): Remove *.ci.
7720
7721Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7722
7723 * gdb.c++/misc.cc: Add test code from Mike Stump.
7724 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7725
7726Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7727
7728 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7729 to "alpha-*-osf2*" and add comment.
7730 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7731 setup_xfail for "step over execarg initialization" and
7732 "step over corearg initialization".
7733 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7734 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7735 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7736 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7737 "print func2::coremaker_local", and "backtrace in corefile.exp".
7738 * gdb.base/signals.exp: Build and source signals.ci.
7739 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7740 to be for gcc only.
7741 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7742
c906108c
SS
7743Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7744
7745 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7746 Feb 3 procfs.c change.
7747
7748Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7749
7750 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7751
7752Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7753
7754 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7755 from dejagnu's apparent default of 10 seconds, which gives random
7756 results when running the tests over NFS on moderately loaded systems.
7757 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7758
7759Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7760
7761 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7762 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7763 result reports.
7764
7765Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7766
7767 * configure.in (CY_AC_PATH_TCLH): Remove.
7768 * configure: Regenerate.
7769
7770Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7771
7772 * gdb.c++/Makefile.in (clean): Add missing '{'.
7773
7774Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7775
7776 * lib/gdb.exp: Provide a default value for noinferior.
7777
7778 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7779 Load libgloss.exp.
7780
7781Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7782
7783 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7784 the executable, not the .o to run the tests from.
7785
7786Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7787
7788 * gdb.base/break.exp: Don't test for program exit or exit status
7789 if $noresults if nonzero.
7790 * gdb.base/langs.exp: Likewise.
7791 * gdb.base/watchpoint.exp: Likewise.
7792
7793 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7794 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7795 trying to compile the testcase.
7796
7797Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7798
7799 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7800 * gdb.base/signals.exp (continue to handler): Likewise.
7801
7802Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7803
7804 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7805
7806 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7807
7808Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7809
7810 * gdb.base/corefile.exp: Recognize "not found" as failure
7811 when trying to determine if a core file was generated.
7812 If no core file was generate the first time, try again without
7813 the ulimit -c to work around braindamaged shells.
7814
7815Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7816
7817 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7818 [] tests with "test" and enclose string in quotes.
7819 * gdb.stabs/configure: Rebuild
beb998c6 7820
c906108c
SS
7821Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7822
7823 Changes in sync with expect:
7824 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7825 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7826 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7827 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7828 argument to AC_REQUIRE.
7829 * configure: Regenerated.
7830
7831Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7832
7833 * gdb.base/corefile.exp: When generating a core, discard any
7834 error messages about ulimit not found and the "core dumped"
7835 message from the shell that runs the coredumper.
7836
7837Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7838
7839 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7840
7841 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7842 which sed script to run. Expect failure for v_comb test
7843 on PA targets too.
beb998c6 7844
c906108c
SS
7845Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7846
7847 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7848 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7849
7850Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7851
7852 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7853 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7854 "sparc-sun-solaris*" xfails for "p v_comb".
7855 * lib/gdb.exp (default_gdb_start): Fix typo.
7856 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7857 messages to not include the full program name that caused
7858 the core dump since some systems (such as solaris) apparently
7859 truncate this path to about 80 characters.
7860 When generating a core file first try increasing the core file
7861 size limit to unlimited since some systems may default it to
7862 zero, and it is harmless to try it. Move the test for failing
7863 to generate a core file to where it will actually get executed.
7864 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7865 new gdb result from g++ debug info improvements and make old
7866 pattern obsolescent. Also account for size_t differences
7867 (may be int or long).
7868 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7869 initialization before function call is placed in the delay slot
7870 and thus appears to be skipped over by commands such as "next".
7871
7872Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7873
7874 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7875
7876Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7877
7878 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7879 input source file; fix code to compile test to deal with this
7880 convention.
7881 * gdb.c++/*.exp: Likewise.
7882
7883Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7884
7885 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7886 "bt in signals.exp".
7887
7888Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7889
7890 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7891 "step over execarg initialization" and
7892 "step over corearg initialization".
7893
7894Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7895
7896 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7897 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7898
7899Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7900
7901 From Rob Savoye (rob@poseidon.cygnus.com)
7902 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7903 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7904 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7905 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7906 configure.in}: Major reworking for autoconfig.
7907 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7908 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7909 New files.
7910 * config/unix-gdb.exp: Make GDB global.
7911 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7912 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7913 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7914 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7915 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7916 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7917 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7918 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7919 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7920 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7921 pr-8136.exp, result.exp, string.exp, tuples.exp},
7922 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7923 to returns as necessary, arrange for test to compile own testcase
7924 executable.
7925 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7926
c906108c
SS
7927Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7928
7929 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7930 clear_xfail at end of test which might not call either pass or fail.
7931 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7932 "backtrace through signal handler".
7933
7934Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7935
7936 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7937 continuing from a job control stop signal.
7938 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7939
7940Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7941
7942 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7943 * gdb.base/corefile.exp: Likewise.
7944 * gdb.base/funcargs.exp: Likewise.
7945
7946Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7947
7948 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7949 * config/monitor.exp: Add support for setting baud rate.
7950
7951Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7952
7953 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7954 i*86-*-linux* xfails for "backtrace through signal handler".
7955 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7956 "print func2::coremaker_local".
7957 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7958 alpha-dec-osf2* xfail for
7959 "delete all breakpoints when none".
7960
7961Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7962
7963 * gdb.base/break.exp: Change test that deletes all breakpoints
7964 when no user breakpoints are installed. A post 4.15 change
7965 causes gdb to no longer prompt in this case.
7966
7967Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7968
7969 * gdb.base/return.exp (return_tests): Change xfail for test
7970 "correct value returned double test" to stop xfailing at
7971 Solaris 2.5. Apparently the bug has been fixed.
7972
7973Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7974
7975 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7976 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7977
7978Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7979
7980 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7981 * gdb.disasm/hppa.s: Corresponding changes.
7982
7983Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7984
7985 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7986 makefile fragment.
7987 * config/mt-hpux: Deleted.
7988
7989Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7990
beb998c6 7991 * Many files: When warning about suppressed tests due to a
c906108c
SS
7992 nonexistant test binary, avoid incrementing the warning count.
7993
7994Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7995
7996 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7997
c906108c
SS
7998Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7999
8000 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
8001 "sparc-*-solaris2*".
8002
8003Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8004
8005 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8006 Add global and local variables and initialize them.
8007 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8008 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8009 extracts the file name and terminating signal from the core file.
8010 * TODO: Remove note about tests for correct mapping of corefile.
8011 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8012 from optimizing it away.
8013 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8014 handles common blocks.
8015
8016Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8017
8018 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8019 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8020
8021Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8022
8023 * Makefile.in (maintainer-clean): New target, synonym for
8024 realclean.
8025 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8026 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8027 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8028 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8029 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8030 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8031
8032Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8033
8034 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8035 xfails when not gcc compiled for "print foo::funclocal".
8036 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8037 "print foo::funclocal at foo",
8038 "print 'scope1.c'::foo::funclocal at foo",
8039 "print foo::funclocal_bss at foo",
8040 "print 'scope1.c'::foo::funclocal_bss at foo",
8041 "print foo::funclocal_ro at foo",
8042 "print 'scope1.c'::foo::funclocal_ro at foo",
8043 "print bar::funclocal at foo" and
8044 "print 'scope1.c'::bar::funclocal at foo".
8045 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8046 gcc compiled for "print foo::funclocal at bar".
8047 Expand all messages to ensure that they identify that
8048 the test is at bar().
8049 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8050 gcc compiled for:
8051 "ptype on opaque struct pointer (statically)",
8052 "ptype on opaque struct tagname (statically)",
8053 "ptype on opaque struct pointer (dynamically) 1",
8054 "ptype on opaque struct tagname (dynamically) 1",
8055 "ptype on opaque struct pointer (dynamically) 2" and
8056 "ptype on opaque struct tagname (dynamically) 2
8057 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8058 gcc compiled for:
8059 "p datalocal"
8060 "whatis datalocal",
8061 "ptype datalocal",
8062 "p bsslocal",
8063 "whatis bsslocal", and
8064 "ptype bsslocal".
8065 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8066 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8067 when not gcc compiled.
8068 * gdb.base/funcargs.exp (float_and_integral_args): Add
8069 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8070 compiled.
8071 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8072 "backtrace from call6a" when not gcc compiled.
8073 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8074 "backtrace from call7a" when not gcc compiled.
8075 * gdb.base/callfuncs.exp (do_function_calls):
8076 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8077 "p t_char_array_values(char_array_val2,char_array_val1)",
8078 "p t_char_array_values(char_array_val1,char_array_val2)",
8079 "p t_char_array_values("carray 1","carray 2")",
8080 "p t_char_array_values("carray 1",char_array_val2)",
8081 "p t_char_array_values(char_array_val1,"carray 2")",
8082 "p sum_args(1,{2})",
8083 "p sum_args(2,{2,3})",
8084 "p sum_args(3,{2,3,4})",
8085 "p sum_args(4,{2,3,4,5})"
8086 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8087 "backtrace in corefile.exp" when not gcc compiled.
8088
8089Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8090
8091 * gdb.base/signals.exp: Rewrite `handle all print' test as
8092 a procedure. Accept blanks or TABs as whitespace, increase
8093 timeout and expect input buffer size for the large output
8094 from the command. Remove "i*86-*-bsdi2.0" xfail.
8095
8096Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8097
8098 * gdb.base/setvar.exp: Add new testcases for truncation when
8099 assigning invalid values to bitfields.
8100
8101Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8102
beb998c6 8103 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8104 mips-sgi-irix* xfail for
8105 "call inferior func with struct - returns char *"
8106 and fix test so that an optional (unsigned char *) cast is
8107 accepted in the result.
8108
8109Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8110
8111 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8112 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8113 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8114 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8115 that accidentally got checked in.
8116
8117Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8118
beb998c6 8119 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8120 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8121 compiled test.
8122 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8123 Add mips-sgi-irix5* xfail for not gcc compiled.
8124 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8125 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8126 "p top", "whatis top", "p middle", and "whatis middle".
8127 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8128 "whatis signed char" for not gcc compiled.
8129 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8130 "set variable signed char=-1 (-1)" and
8131 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8132 * gdb.base/funcargs.exp (float_and_integral_args):
8133 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8134 Add mips-sgi-irix* xfail when not gcc compiled for
8135 "continue to call2b".
8136 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8137 "continue to call2g".
8138 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8139 "backtrace from call6a"
8140 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8141 "backtrace from call7k".
8142 Add mips-sgi-irix5* xfail when not gcc compiled for
8143 "backtrace from call7a".
8144 (localvars_after_alloca): Fix gdb_test cmds for
8145 "print * after runto ...".
8146 Remove rs6000-*-* xfails for
8147 "print i after runto localvars_after_alloca" and
8148 "print l after runto localvars_after_alloca"
8149 for all compilers.
8150 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8151 when not compiled with gcc, for:
8152 "print signed char == (minus)",
8153 "print signed char != (minus)",
8154 "print signed char < (minus)",
8155 "print signed char > (minus)".
8156 * gdb.base/callfuncs.exp (do_function_calls):
8157 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8158 "call inferior func with struct - returns char *".
beb998c6 8159 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8160 "correct value returned double test" to include Solaris 2.4.
8161 * gdb.base/funcargs.exp (float_and_integral_args):
8162 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8163
c906108c
SS
8164Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8165
8166 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8167 enumeration bitfields if compiling with GNU C.
8168 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8169 to empty' prompt.
8170
8171Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8172
8173 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8174 test for PRO targets.
8175
8176 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8177 breakpoints in the inferior at any given time by making
8178 two groups of breakpoints for call2*, call6* and call7*
8179 tests.
8180
8181Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8182
8183 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8184 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8185 from optimizing it away.
8186 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8187 "call inferior func with struct".
8188
8189Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8190
8191 * configure.in: Only configure gdb.chill for particular targets.
8192
8193Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8194
8195 * gdb.base/Makefile.in: Add action to .c.o transformation
8196 rule that generates a .ci file for each .o file and remove
8197 explicit .c.o rules except for callfuncs.o.
8198 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8199 generates a .ci file for each .o file and remove explicit
8200 .cc.o rules.
8201 (clean): Remove *.tmp *.ci files.
8202 (EXECUTABLES): Remove templ-info.exp.
8203 * gdb.base/compiler.c: New file.
8204 * gdb.c++/compiler.cc: New file
8205 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8206 Change rs6000-*-* xfail for
8207 "print 'scope0.c'::filelocal_ro" and
8208 "print 'scope1.c'::filelocal" and
8209 "print 'scope1.c'::filelocal_bss" and
8210 "print 'scope1.c'::filelocal_ro" and
8211 "print 'scope1.c'::foo::funclocal" and
8212 "print 'scope1.c'::foo::funclocal_ro" and
8213 "print 'scope1.c'::bar::funclocal" and
8214 "print 'scope0.c'::filelocal_ro" and
8215 "print 'scope1.c'::filelocal at foo" and
8216 "print 'scope1.c'::filelocal_bss at foo" and
8217 "print 'scope1.c'::filelocal_ro at foo" and
8218 "print 'scope1.c'::foo::funclocal at foo" and
8219 "print 'scope1.c'::foo::funclocal_bss at foo" and
8220 "print 'scope1.c'::foo::funclocal_ro at foo" and
8221 "print 'scope1.c'::bar::funclocal at foo" and
8222 "print 'scope0.c'::filelocal_ro" and
8223 "print 'scope1.c'::filelocal" and
8224 "print 'scope1.c'::filelocal_bss" and
8225 "print 'scope1.c'::filelocal_ro" and
8226 "print 'scope1.c'::foo::funclocal" and
8227 "print 'scope1.c'::foo::funclocal_bss" and
8228 "print 'scope1.c'::foo::funclocal_ro" and
8229 "print 'scope1.c'::bar::funclocal" and
8230 "print 'scope1.c'::bar::funclocal_bss"
8231 to only be xfail'd when not compiled with gcc.
beb998c6 8232 Add rs6000-*-* xfail for
c906108c
SS
8233 "print 'scope0.c'::filelocal_bss before run"
8234 when compiled with gcc.
8235 (test_at_main): Add rs6000-*-* xfail for
8236 "print filelocal_ro in test_at_main"
8237 when compiled with gcc.
8238 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8239 Add rs6000-*-aix* xfail for
c906108c
SS
8240 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8241 "ptype t_char_array", not compiled with gcc.
8242 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8243 xfail for "list foo (in include file)" when gcc compiled.
8244 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8245 (integral_args): Add rs6000-*-* xfail for
8246 "run to call0a" if not compiled with gcc.
8247 (unsigned_integral_args): Add rs6000-*-* xfail for
8248 "run to call1a" if not compiled with gcc.
8249 (float_and_integral_args): Add rs6000-*-* xfail for
8250 "run to call2a" if not compiled with gcc and for
8251 "continue to call2b" for any compiler.
8252 Add rs6000-*-* xfail to
8253 "print f1 after run to call2a" for gcc compiled.
8254 (discard_and_shuffle): Add rs6000-*-* xfail for
8255 "run to call6a".
8256 (shuffle_round_robin): Add rs6000-*-* xfail for
8257 "backtrace from call7a" if not compiled with gcc.
8258 Add rs6000-*-* xfail for
8259 "backtrace from call7b" if compiled with gcc.
8260 (call_after_alloca): Add rs6000-*-* xfail for
8261 "print c in call_after_alloca" and
8262 "print s in call_after_alloca" and
8263 "backtrace from call_after_alloca_subr"
8264 if not compiled with gcc.
8265 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8266 "print c in localvars_in_indirect_call" and
8267 "print c in localvars_in_indirect_call" and
8268 "backtrace in indirectly called function" and
8269 "stepping into indirectly called function"
8270 if not compiled with gcc.
8271 (localvars_after_alloca): Add rs6000-*-* xfail for
8272 "print c after runto localvars_after_alloca" and
8273 "print s after runto localvars_after_alloca" and
8274 "print i after runto localvars_after_alloca" and
8275 "print l after runto localvars_after_alloca"
8276 for all compilers.
8277 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8278 than whatis-info.exp.
8279 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8280 than opaque-info.exp.
8281 Setup rs6000-*-* xfail for
beb998c6 8282 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8283 "ptype on opaque struct pointer (dynamically)" when
8284 not compiled with gcc.
8285 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8286 rather than callf-info.exp.
8287 (do_function_calls): Add clear_xfail for rs6000-*-* for
8288 "p t_float_values2(3.14159,float_val2)". Seems to work
8289 fine there, both with xlc and gcc. Need to find out what
8290 it is doing right and fix other platforms.
8291 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8292 "call inferior func with struct - returns int",
8293 "call inferior func with struct - returns long",
8294 "call inferior func with struct - returns float",
8295 "call inferior func with struct - returns double",
8296 "call inferior func with struct - returns char *",
8297 but only if not gcc compiled (presumes xlc compiled).
8298 Change rs6000-*-* xfails for
8299 "call inferior func with struct - returns char" and
8300 " call inferior func with struct - returns short" to only
8301 xfail if not using gcc.
8302 (clean mostlyclean): Remove *.ci and *.tmp files.
8303 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8304 than templ-info.exp.
8305 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8306 Add rs6000-*-* xfail for "up to foo in langs.exp"
8307 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8308 when not gcc compiled.
beb998c6 8309
c906108c
SS
8310Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8311
8312 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8313 * gdb.base/corefile.exp: Likewise.
8314 * gdb.base/list.exp: Likewise.
8315 * gdb.base/scope.exp: Likewise.
8316 * gdb.base/siganls.exp: Likewise.
8317
8318 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8319 compiler output.
8320 * gdb.base/whatis.exp: Likewise.
8321
8322Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8323
8324 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8325 failure (opcode table has been fixed to match reality).
8326
8327Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8328
8329 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8330 "call inferior func with struct - returns char",
8331 "call inferior func with struct - returns short"
8332
8333 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8334 "print 'scope0.c'::filelocal at main",
8335 "print 'scope0.c'::filelocal_bss in test_at_main",
8336 "print 'scope0.c'::filelocal at foo",
8337 "print 'scope0.c'::filelocal_bss in test_at_foo",
8338 "print 'scope0.c'::filelocal at bar",
8339 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8340
c906108c
SS
8341 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8342 in source file 1". This bug seems to have been fixed with both
8343 gcc and native cc (was native assembler bug?).
8344
8345Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8346
8347 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8348 "backtrace through signal handler" to "i*86-*-sysv4*".
8349 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8350 continue" case. Add "known SVR4 bug" to fail message.
8351 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8352 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8353 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8354 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8355 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8356 "up to foo in langs.exp", "show language at foo in
8357 langs.exp", "up to cppsub_ in langs.exp", "show
8358 language at cppsub_ in langs.exp", "up to fsub in
8359 langs.exp", and "show language at fsub in langs.exp".
8360 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8361 "bactrace in corefile.exp".
8362 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8363 "call inferior function with struct - returns float" and
8364 "call inferior function with struct - returns double".
beb998c6 8365
c906108c
SS
8366Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8367
8368 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8369 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8370 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8371 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8372
8373Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8374
8375 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8376 (or overriden) "CHILL" macro rather then bare "gcc".
8377 Also look for ../../gcc/xgcc since that is what we will
8378 actually need, not "Makefile". Remove following assignment
8379 of CHILL to CHILL_FOR_TARGET because that results in
8380 recursive definition.
8381
8382Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8383
8384 * gdb.base/corefile.exp: Change xfail for backtrace in
8385 corefile.exp from linuxaout to all linux.
8386 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8387 cases where we miss the breakpoint at the signal handler
8388 for some reason. Setup xfail for linuxoldld/linuxaout and
8389 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8390 hitting SIGURG breakpoint.
8391 * gdb.base/signals.exp: Setup xfail for "next" acting like
8392 continue to add linuxoldld. Setup xfail for all linux for
8393 "next to handler in signals_tests_1", "backtrace in
8394 signals_tests_1", "continue to func1", "pass SIGUSR1",
8395 and continue to handler".
8396
8397Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8398
8399 * Update all FSF addresses except those in COPYING* files.
8400
8401Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8402
8403 * gdb.base/a2-run.exp: Change messages to be more explicit about
8404 the status of args, and quote binfile in results.
8405
8406Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8407
8408 * gdb.base/callfuncs.exp: Add tests for passing structs to
8409 inferior functions and return various types.
8410 * gdb.base/callfuncs.c: Add functions to receive a struct
8411 and return a member of the struct, in various types.
8412
8413Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8414
8415 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8416
8417Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8418
8419 * config/vxworks29k.exp: New file, sources vxworks.exp.
8420
8421Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8422
8423 * config/gdbremote.exp: New file. Testing framework using
8424 gdbserver.
8425
8426Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8427
8428 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8429 "call function when asleep" and "send end of file".
8430 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8431 for "backtrace in corefile.exp".
8432 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8433 for "backtrace through signal handler".
8434 * gdb.base/corefile.exp: Make sure we actually generate a core file
8435 before trying the core tests. Some systems allow the user to suppress
8436 generation of core files and default to that (linux for example).
8437 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8438 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8439
8440Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8441
8442 * gdb.threads: New directory with some crude multi-threaded
8443 gdb tests (step.exp and step2.exp).
8444 * config/mt-lynx (STEP_EXECUTABLE): Define.
8445 (THREADFLAGS): Define.
8446
8447Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8448
8449 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8450
8451 * gdb.base/signals.exp: Disable whole file for lynx until
8452 further notice.
8453
8454 * gdb.base/signals.exp: xfail test where "next" acts like
8455 "continue" for lynx.
8456
8457 * gdb.base/interrupt.exp: xfail test for calling function while
8458 inferior is asleep for lynx.
8459
8460 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8461 than one cr-lf after each command.
8462
8463Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8464
8465 * configure.in: Reinstate setting of stabsdirs variable, fix
8466 typo in setting up configdirs for native builds.
8467
8468 * gdb.base/return.exp: Fix typo in return double test.
8469 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8470 compiler from optimizing them away.
8471
8472Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8473
8474 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8475 sequences to be echo'd by gdb when using gdb_test.
8476 * gdb.chill/chexp.exp: Likewise.
8477 * gdb.fortran/exprs.exp: Likewise
8478
8479Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8480
8481 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8482 after the inferior gdb has started.
8483
8484 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8485 after each command.
8486 * gdb.base/funcargs.exp: Likewise.
8487 * gdb.base/gdbvars.exp: Likewise.
8488 * gdb.base/interrupt.exp: Likewise.
8489 * gdb.base/list.exp: Likewise.
8490 * gdb.base/watchpoint.exp: Likewise.
8491 * gdb.c++/demangle.exp: Likewise.
8492 * gdb.c++/inherit.exp: Likewise.
8493 * gdb.chill/chexp.exp: Likewise.
8494 * gdb.fortran/exprs.exp: Likewise.
8495
8496 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8497 test if we can't handle IO to/from the inferior.
8498
8499 * gdb.c++/misc.exp: Always check for a program already being
8500 started after sending a "run" command to gdb.
8501
8502 * gdb.base/twice.exp: Start with a fresh gdb.
8503
8504 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8505 only depend on gdb's expression code, not the chill runtime.
8506
8507 * gdb.base/return.c: Put return values into variables so we
8508 can have gdb print them rather than depending on the program
8509 to print them.
8510 * gdb.base/return.exp: Corresponding changes.
8511
8512 * lib/gdb.exp: Provide default value for noinferiorio.
8513 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8514 the inferior.
8515
8516 * gdb.base/break.exp: Always check for a program already being
8517 started after sending a "run" command to gdb.
8518 (text_next_with_recursion): Don't check the output from the
8519 program's printf statement. Instead just make sure the program
8520 exited.
8521
8522 * gdb.base/commands.exp: Protect tests which need arguments with
8523 $noargs conditionals.
8524
8525Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8526
8527 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8528 of structure member arrays to match gdb/valops.c:value_addr change.
8529
8530Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8531
8532 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8533 cases.
8534
8535Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8536
8537 * configure.in (configdirs): Remove gdb.chill from default list
8538 of subdirs and then add it back in only if doing a native build.
8539 The current chill compiler does not yet work in any cross build.
8540 * Revert all signal changes from Jul 6.
8541 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8542 for sh-hms targets, allowing these tests to link, with no other
8543 changes. Testing is suppressed by setting "nosignals" in site.exp.
8544
8545Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8546
8547 * configure.in (signaldirs): Define and add to configdirs for all
8548 targets except some specific ones that are known to not support signals.
8549 Also clean up formatting.
8550 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8551 (signals, sigall): Remove rules to build.
8552 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8553 Moved to new gdb.signals directory.
8554 * gdb.signals: New test directory.
8555 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8556 signals.c signals.exp}: New or moved files.
8557
8558Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8559
8560 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8561
8562Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8563
8564 * gdb.base/return.exp: Xfail `return double' test failure
8565 on at least Solaris 2.3 and handle future/past versions on
8566 a case by case basis as appropriate. Also update message
8567 to include i*86 failures.
8568
8569Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8570
8571 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8572
8573 * lib/gdb.exp: Fix comment which erroneously identified
8574 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8575 gdb_file_cmd not gdb_load).
8576 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8577
8578 * gdb.base/setvar.exp: Make test names consistent between pass and
8579 fail cases. Use gdb_test more.
8580
8581Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8582
8583 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8584
8585Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8586
8587 * gdb.base/help.exp: Fix expected help string for `show commands'.
8588
8589Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8590
8591 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8592
8593 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8594 of a text section.
8595
8596Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8597
8598 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8599 that loop eventually terminates. Fix Connection refused logic so
8600 that testsuite will expire nicely.
8601
8602Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8603
8604 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8605 config/rom68k.exp: New tcl glue for the appropriate monitors.
8606 These all just end up calling monitor.exp.
8607 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8608 refused' by retrying. Cleanup some timeout issues.
8609 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8610 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8611 callers don't have to set/restore global timeout variable.
8612
8613 * The following set of changes centralizes management of the global
8614 timeout variable. This way, it can be set in one target dependent
8615 place instead of dozens of places scattered throughout the test suite.
8616 If you need to lengthen a timeout, then you should either set timeout
8617 in one of the config/{target}.exp files, or multiply it by a factor.
8618 Setting it to an absolute value is always going to lose for some
8619 targets.
8620 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8621 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8622 * gdb.base/funcargs.exp: Don't set timeout.
8623 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8624 * gdb.base/printcmds.exp (test_print_string_constants
8625 test_print_array_constants): Don't set timeout.
8626 * gdb.base/ptype.exp: Don't set timeout.
8627 * gdb.base/recurse.exp: Don't set timeout.
8628 * gdb.base/return.exp: Don't set timeout.
8629 * gdb.base/watchpoint.exp: Don't set timeout.
8630 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8631 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8632
8633Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8634
8635 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8636
8637Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8638
8639 * lib/gdb.exp: Disable chill tests for irix5.
8640
8641Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8642
8643 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8644 each test pass or fail.
8645
8646Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8647
8648 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8649 xlc not gcc.
8650
8651Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8652
8653 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8654
8655Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8656
8657 * config/est.exp: Fix copyright and comments. Remove dead code.
8658 Use targetname, serialport and baud variables instead of fixed
8659 constants.
8660 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8661 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8662
8663Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8664
8665 * gdb.base/watchpoint.exp: Don't run
8666 test_watchpoint_triggered_in_syscall for sunos.
8667
8668Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8669
8670 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8671 they don't seem to exist. Do include stdio.h.
8672
8673Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8674
8675 * gdb.base/a1-selftest.exp: Add alpha xfail.
8676
8677Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8678
8679 * gdb.base/watchpoint.c (main): Prompt before calling read().
8680 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8681 Revise accordingly. Remove cruft about sending "123" several
8682 times, until it gets noticed. Clean up the "print buf[0]" stuff
8683 so that it passes or fails, and waits for prompts in the usual way.
8684
8685Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8686
8687 * gdb.base/recurse.exp: Fix comment.
8688
8689 * TODO: Remove item about printing variables in nodebug.exp. Add
8690 item about enabling tests which are only run on some targets.
8691
8692 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8693 fail, make test names unique, use new gdb_test convention
8694 regarding pattern, use gdb_test more, etc.).
8695
8696 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8697 fail, make test names unique, etc.).
8698
8699Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8700
8701 * gdb.base/nodebug.c: Change return type of top and middle to
8702 short.
8703 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8704 are fixed by the recent mdebugread.c changes. Allow `short ()'
8705 as type for top and middle.
8706
8707Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8708
8709 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8710 nearly as I can tell, the whole thing was an accident in Stu's
8711 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8712 to replace a send/expect pair with gdb_test, but ended up only
8713 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8714 of 30 Mar 1995 took care of it, but left this vestigial comment
8715 which I am now nuking.
8716
8717Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8718
8719 * gdb.base/break.exp: Look for different line number for
8720 breakpoint at main depending on usestubs.
8721
8722Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8723
8724 * gdb.base/list.exp: Adjust some alternate expect patterns to
8725 match recent list0.c change. Add alternate expect pattern for
8726 output from `list default lines around main' for optimizing
8727 compilers.
8728
8729Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8730
8731 * lib/gdb.exp: If nosignals is not set, set it to 0.
8732
8733Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8734
8735 * config/slite-gdb.exp: Responds to load symbol table prompt.
8736 * gdb.base/break.exp: Adjust line number, fix rerun.
8737 * gdb.base/langs0.c: Add #ifdef usestubs.
8738
8739Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8740
8741 * gdb.base/list.exp: Adjust line contents after adding new lines in
8742 list0.c. Also fix a syntax error.
8743
8744 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8745 * gdb.base/break.exp: ditto.
8746 * gdb.base/list.exp: ditto.
8747 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8748 * gdb.base/run.c: ditto.
8749 * gdb.base/list0.c: ditto.
8750 * gdb.base/funcargs.c: ditto.
8751
8752Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8753
8754 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8755 $targetname, $serialport and $baud instead of hardwired variables.
8756 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8757 target doesn't support signals.
8758
8759Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8760
8761 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8762
8763Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8764
8765 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8766 Don't rely on the value of an auto variable before it has been
8767 initialized. Use gdb_test more.
8768
8769Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8770
8771 * lib/gdb.exp (default_gdb_version): A version number must start
8772 with a digit, but other than that contains all characters up to
8773 the first whitespace character.
8774
8775Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8776
8777 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8778
8779Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8780
8781 * gdb.c++/*.exp: Warn if executable does not exist. The original
8782 reason for skipping the warning was that configure.in sometimes
8783 intentionally skipped building the executables but the tcl code
8784 had no way of knowing. That (a) was always bogus with respect to
8785 error handling, (b) is no longer true (right now there is no way
8786 to skip C++ tests).
8787
8788 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8789
8790Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8791
8792 * gdb.base/list.exp: Add expect patterns for output from
8793 SunPRO compiled executables.
8794 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8795 types.
8796
8797Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8798
8799 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8800 number (we are already testing that the correct source line text
8801 gets printed).
8802
8803 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8804 that is what is intended, but something needed to be done to get
8805 sunos4 native working again.
8806
8807 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8808
8809 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8810 apparently went with a (very) old xfail.
8811
8812Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8813
8814 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8815 runto_main is a proc in gdb.exp that will do 'step' for target use
8816 stubs.
8817 * gdb.base/exprs.exp: ditto.
8818 * gdb.base/interrupt.exp: ditto.
8819 * gdb.base/opaque.exp: ditto.
8820 * gdb.base/printcmds.exp: ditto.
8821 * gdb.base/ptype.exp: ditto.
8822 * gdb.base/scope.exp: ditto.
8823 * gdb.base/setvar.exp: ditto.
8824 * gdb.base/signals.exp: ditto.
8825 * gdb.base/twice.exp: ditto.
8826 * gdb.c++/classes.exp: ditto.
8827 * gdb.c++/inherit.exp: ditto.
8828 * gdb.c++/templates.exp: ditto.
8829 * gdb.base/break.exp: no run and hit main for stubs. Change line
8830 numbers for breakpoints and info breakpoint.
8831 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8832 breakpoint().
8833 * gdb.base/callfuncs.c: ditto.
8834 * gdb.base/exprs: ditto.
8835 * gdb.base/interrupt.c: ditto.
8836 * gdb.base/opaque0.c: ditto.
8837 * gdb.base/printcmds.c: ditto.
8838 * gdb.base/ptype.c: ditto.
8839 * gdb.base/scope0.c: ditto.
8840 * gdb.base/setvar.c: ditto.
8841 * gdb.base/signals.c: ditto.
8842 * gdb.base/twice.c: ditto.
8843 * gdb.c++/misc.cc: ditto.
8844 * gdb.c++/templates.cc: ditto.
8845
8846Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8847
8848 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8849
8850 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8851 somewhere between `read' and `main.c'. I'm pretty sure the
8852 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8853 and it isn't particularly useful.
8854
8855 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8856
8857Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8858
8859 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8860
8861Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8862
8863 * config/mt-slite: add LIBS and -nostdlib.
8864 * config/slite-gdb.exp: add this new file to support sparclite target.
8865
8866Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8867
8868 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8869
8870 * gdb.base/a2-run.exp: Change argument to istarget from
8871 "*-*-vxworks" to "*-*-vxworks*".
8872 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8873
8874Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8875
8876 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8877 will not runto main but do a 'step' to step out of breakpoint().
8878 * config/mt-slite: add -Dusestubs.
8879
8880Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8881
8882 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8883 instead of just @.
8884
8885 * gdb.base/signals.exp: Add test for "handle all print".
8886 * TODO: Remove "handle all print". Also remove item about
8887 checking copyright date (I don't like the idea of a spurious FAIL
8888 based on when we run the tests).
8889
8890 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8891 for SunOS4 (reason for failure not investigated). Remove
8892 redundant test for $binfile.
8893
8894 * gdb.base/nodebug.c (array_index): Call malloc.
8895
8896 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8897
8898Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8899
8900 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8901 conventions and slightly simplify the matching regexp.
8902
8903Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8904
8905 * gdb.base/break.exp: Update gdb_test invocation to use new
8906 convention.
8907
8908 * lib/gdb.exp: If noargs is not set, set it to 0.
8909
8910 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8911 tests unique.
8912
8913 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8914
8915Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8916
8917 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8918 one argument of type "<non-float parameter>".
8919
8920Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8921
8922 * config/rom68k.exp: New file to support Motorola IDP board.
8923 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8924 * gdb.base/break.c: Change things around so that this program
8925 doesn't depend upon args. This is necessary to make remote
8926 targets work (in general, they can't take args).
8927 * gdb.base/break.exp: Don't try to send args to program. Don't
8928 expect output. Also, replace lots of code with gdb_test.
8929
8930Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8931
8932 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8933 printing of '\'' (which is what the comment says we are testing,
8934 even though we were not), not '''.
8935 (test_integer_literals_rejected): Test that printing ''' is an error.
8936
8937 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8938 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8939 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8940 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8941 Use gdb_test not test_print_accept.
8942 * lib/gdb.exp: Remove test_print_accept.
8943
8944 * gdb.base/signals.exp (signal_tests_1): Make pass message
8945 consistent with fail message.
8946
8947 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8948 unsigned char; the bug (PR 1821) is fixed.
8949
8950 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8951
8952 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8953 successful tests--makes xfailing them work right.
8954
8955Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8956
8957 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8958 only \r\n, not .*. The test can pass .* as the last thing in
8959 $pattern if that is what it wants. In addition to providing this
8960 flexibility, this change should speed up pattern matching in cases
8961 where the pattern already ended with .* (there were a number of
8962 them). This change also helps catch bad patterns--in the old
8963 scheme the typo "char \*" instead of "char \\*" would pass. Now
8964 it is caught.
8965 * Many .exp files: Update callers.
8966
8967 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8968 clearer and does not spuriously match multiple ('s. Likewise for
8969 ) and *.
8970
8971 * gdb.base/nodebug.exp: Test ability to call a function and pass
8972 it a string (even with no debugging info).
8973
8974 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8975 "p '\'", which is the same as "p ''" once tcl gets done with
8976 quoting, to "p '\\'", which I suspect is what is intended (one
8977 backslash gets sent to GDB).
8978
8979 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8980
8981Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8982
8983 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8984 1817) was fixed literally years ago.
8985
8986Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8987
8988 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8989 test, it causes stepping out of call_after_alloca_subr with
8990 optimizing compilers.
8991 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8992 fails.
8993
8994 * gdb.c++/templates.exp: Source templ-info.exp only if
8995 the templates executable exists.
8996
8997 * gdb.c++/misc.cc (class Contains_static_instance,
8998 class Contains_nested_static_instance),
8999 gdb.c++/classes.exp (test_static_members): Test printing of
9000 a class that contains a static instance of the class.
9001
9002Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9003
9004 * gdb.base/langs2.c (cppsub_): Don't prototype.
9005 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9006 only, I believe).
9007
9008Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9009
9010 * lib/gdb.exp (skip_chill_tests): New procedure.
9011
9012 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9013
9014Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9015
9016 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9017 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9018
9019Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9020
9021 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9022
9023 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9024 disassemble 8, not 16, instructions for part 4.
9025
9026 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9027 support the latter anymore.
9028
9029 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9030 -DNO_PROTOTYPES.
9031 * gdb.base/callfuncs.c: Control use of prototypes based on
9032 NO_PROTOTYPES, not __STDC__.
9033 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9034 t_float_values2 tests if prototypes in use.
9035
9036 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9037 t_double_values): When checking differences against DELTA, check
9038 that difference is within the range (-DELTA,DELTA), not just
9039 (-infinity,DELTA).
9040
9041Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9042
9043 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9044 'file' command firts, then 'target', then 'load', this is due to gdb
9045 target set up.
9046 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9047
9048Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9049
9050 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9051 FP load/store variants.
9052 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9053
9054Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9055
9056 * gdb.base/term.exp: Do not give a warning if not native, it is
9057 not an abnormal condition.
9058
9059Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9060
9061 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9062 t_char_array".
9063
9064Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9065
9066 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9067 are getting the version number.
9068
9069 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9070 if not native, it is not an abnormal condition.
9071
9072Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9073
9074 * lib/gdb.exp: Just use "file exists", rather than undocumented
9075 dejagnu procedure "findfile".
9076
9077Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9078
9079 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9080 (LDFLAGS): Set to -Xlinker -Ur.
9081
9082 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9083 Removed, these values are set by lib/gdb.exp.
9084
9085 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9086
9087Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9088
9089 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9090 of replicating gdb startup code.
9091
9092 * config/mt-vxworks (LDFLAGS): Set to -r.
9093 (CFLAGS_FOR_TARGET): Removed.
9094
9095 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9096 (gdb) and gdb for vxworks uses (vxgdb).
9097
9098 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9099 executable is not in the tree and host != target, use sed and
9100 program_transform_name to determine the gdb name used by the
9101 target.
9102
9103 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9104 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9105
9106Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9107
9108 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9109 floats, chars, and shorts where there are ANSI-style function
9110 definitions.
9111
9112 * gdb.base/langs.exp, gdb.base/langs*: New test.
9113 * gdb.base/Makefile.in: Build it.
9114 * TODO: Remove item about checking that C names don't get C++
9115 demangling applied; this test tests it.
9116
9117Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9118
9119 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9120 went with the const70 xfail. The xfail went away a year ago.
9121
9122 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9123
9124 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9125 for hp300.
9126
9127 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9128
9129 * gdb.base/a1-selftest.exp: Don't run on hp300.
9130
9131Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9132
9133 * Makefile.in (site.exp): Set host_alias and target_alias as well
9134 as host_triplet and target_triplet.
9135
9136Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9137
9138 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9139
9140 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9141 places as other ecoff systems).
9142
9143 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9144 ultrix.
9145
9146Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9147
9148 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9149 remove them.
9150 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9151 variable and "variable" in addition to "data variable".
9152 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9153
9154 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9155 2.
9156 * gdb.base/list1.c (long_line): Add additional statement at start
9157 of function.
9158 * gdb.base/list.exp (test_forward_search): Update line number to
9159 reflect new statement.
9160
9161Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9162
9163 * gdb.base/signals.exp: Reinitialize searched source directories
9164 after gdb_start call.
9165
9166Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9167
9168 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9169 * gdb.stabs/Makefile.in: Likewise.
9170
9171 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9172 change. Instead split the tests into smaller pieces.
9173 * gdb.disasm/hppa.s: Corresponding changes.
9174
9175Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9176
9177 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9178 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9179
9180 * gdb.base/funcargs.exp: Modify many tests so that every test
9181 either passes or fails. Make some test names unique.
9182
9183Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9184
9185 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9186 Call stty to set interrupt character.
9187
9188 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9189 for HP assembler versus GNU assembler based on actual behavior of
9190 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9191
9192 * TODO: Suggest a few more stepping tests.
9193
9194Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9195
9196 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9197 restart GDB for h8300 after a continue.
9198 (return): Add pattern to match a29k-udi behavior.
9199 * gdb.base/nodebug.exp: Remove obsolete comment.
9200 * gdb.base/regs.exp: New file, testing of register displays.
9201 * gdb.base/return.exp: Fix typo in reference to $objdir.
9202 * gdb.base/whatis.exp: Always start with a fresh GDB.
9203
9204Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9205
9206 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9207 higher, these tests generate a lot of output.
9208
9209Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9210
9211 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9212 code following the catch silently ignored some errors; without the
9213 catch they should be thrown like any other tcl error. Also, the
9214 catch used "" instead of {} which meant all the callers who wanted
9215 to include one of the characters "[]$ had to quote it an extra time.
9216 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9217 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9218 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9219 Remove extra quoting.
9220
9221Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9222
9223 * gdb.base/commands.exp: Make test names unique; every test either
9224 passes or fails. Update some comments.
9225
9226 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9227
9228Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9229
9230 The following fixes a FAIL caused by the fact that the alpha stabs
9231 configuration didn't use the ".if alpha" code in weird.def.
9232 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9233 bit pointer, so the 32 bit version works even on the alpha.
9234 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9235 Remove the stuff which allowed us to have separate versions for
9236 alpha and everything else.
9237
9238 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9239 regexp which "info func operator\[\](" is supposed to match. Fix
9240 string to send to GDB. Note that GDB still doesn't work right. Add a
9241 new test for "info func .perator\[\](" which GDB does handle correctly.
9242
9243 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9244
9245Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9246
9247 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9248 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9249 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9250 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9251 it makes the tests harder to understand and confuses test-o-matic.
9252 The preferred style is that each test provides a PASS or a FAIL,
9253 and has a unique message (e.g. "continue #54" not just "continue")
9254 which is the same for the pass and the fail.
9255 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9256 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9257 to lib/gdb.exp.
9258 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9259 prt_accept which was basically the same thing. Likewise for
9260 test_print_reject and prt_reject.
9261 * lib/gdb.exp (test_print_reject): Add some more error message
9262 patterns to match from the former printcmds.exp (prt_reject).
9263 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9264 One defect of the passcount stuff is that some of it failed to
9265 report XPASS where appropriate.
9266 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9267 stuff before and after arg in expected pattern.
9268 (test_paddr_operator_functions): Re-do test without print_addr_of;
9269 this is the only test which seems to want extra stuff there.
9270
9271Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9272
9273 * gdb.base/nodebug.exp: Update new tests to reflect improved
9274 wording of gdb output.
9275
9276 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9277 and "ptype" work on variables in files compiled without -g.
9278 Replaces commented out "maint print msymbol" tests.
9279
9280Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9281
9282 * gdb.base/setvar.c (dummy): Call malloc.
9283
9284 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9285 losing with the irix4 sed.
9286
9287 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9288 ALRM" on irix4.
9289
9290Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9291
9292 * TODO: Remove items about corefile.exp testing new exec-file and
9293 backtrace; both are now done. Add items about printing enums.
9294
9295Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9296
9297 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9298 "get signal $thissig" test fails.
9299
9300 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9301
9302Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9303
9304 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9305 compiler warning with dec alpha compiler.
9306
9307 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9308 extra \n from gdb_test call (this explains why the prompt test
9309 that I removed yesterday was there).
9310 (user_defined_command_test): Remove extra \n and prompt test.
9311
9312 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9313 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9314 doesn't exist.
9315 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9316 Also remove alpha workaround, which turns out to be because
9317 SIGABRT == SIGLOST.
9318
9319 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9320
9321 * gdb.base/help.exp: Don't test "help show".
9322
9323Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9324
9325 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9326 "set print address" is on.
9327 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9328 pass prompt to gdb_test; gdb_test already looks for the prompt.
9329
9330 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9331
9332 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9333 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9334 was to make sure that gdb can read a core file. But (a) the "read
9335 the corefile" part didn't make it to a1-selftest.exp, we just
9336 delete the corefile after creating it, and (b) we test reading
9337 corefiles in corefile.exp anyway. Also, this test left around a
9338 xgdb process on Solaris.
9339
9340 * gdb.base/corefile.exp: Also test backtrace.
9341
9342Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9343
9344 * gdb.base/commands.exp: Test a simple user defined command with
9345 arguments and if/while statements; verify the full user command is
9346 printed by "show user".
9347
9348 * gdb.base/commands.exp: Test if/while commands as part of a
9349 breakpoint command list; verify they appear in breakpoint
9350 information.
9351
9352Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9353
9354 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9355 than by dividing by zero.
9356
9357Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9358
9359 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9360 performing an inferior call with watchpoints enabled.
9361 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9362 call.
9363
9364Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9365
9366 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9367 of "file" command.
9368
9369 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9370 Add additional pattern for when "int operator int(void);" appears
9371 in a different order.
9372
9373Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9374
9375 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9376
9377 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9378 and "signal" with ".*".
9379
9380Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9381
9382 * TODO: Add note about "handle all nostop".
9383
9384 * gdb.base/{sigall.c, sigall.exp}: New test.
9385 * gdb.base/Makefile.in: Add it.
9386
9387Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9388
9389 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9390 when invoking GDB, suppresses any windowing interface.
9391
9392Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9393
9394 * config/sim-gdb: New file, simulator testing support.
9395
9396Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9397
9398 * gdb.base/interrupt.exp: Test calling func1 twice.
9399
9400Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9401
9402 * gdb.base/list.exp (test_forward_search): Set timeout higher
9403 when we'll be getting lots of output from gdb.
9404
9405 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9406 "init_malloc" to after the expect statement. Run it if that
9407 regexp is taken, but also for two others which happen if source
9408 cannot be found.
9409
9410Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9411
9412 * gdb.base/printcmds.exp: New test, for printing register before
9413 program is running.
9414
9415Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9416
9417 * gdb.base/list.exp: Correct some alternate expect patterns
9418 to reflect changes in list1.c.
9419
9420Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9421
9422 * TODO: Add item regarding large frames.
9423
9424 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9425
9426 * TODO: Remove item about enabling return.exp; it
9427 is enabled. Suggest a few more "return" tests.
9428
9429Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9430
9431 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9432 anonymous unions.
9433
9434Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9435
9436 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9437 and pr-5646.o, so "make" is the same as "make all", not "make
9438 pr-4975.o".
9439
9440Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9441
9442 * gdb.base/list.exp: Adjust expectations to reflect changes in
9443 list1.c.
9444 (test_forward_search): New test proc.
9445 * gdb.base/list1.c (long_line): New function, has long source line.
9446
9447Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9448
9449 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9450 additional line of code that was added.
9451
9452Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9453
9454 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9455 tests so as not to overflow expect's input buffers.
9456 * gdb.disasm/hppa.exp: Corresponding changes.
9457
9458Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9459
9460 Beginnings of template debugging tests.
9461 * gdb.c++/templ-info.cc: New file to test for template
9462 debugging capability of the compiler.
9463 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9464 templ-info.cc.
9465 * gdb.c++/templates.cc: Add explicit template instantiations
9466 to enable compiling with -fno-implicit-templates. Add destructor
9467 and 'value' method to T5 class for template tests.
9468 * gdb.c++/templates.exp: Add testcases for printing of template
9469 types, setting breakpoints on template methods and calling a
beb998c6 9470 template method.
c906108c
SS
9471
9472Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9473
9474 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9475 branch target since some assemblers (gas-2.5) may emit a
9476 relocation for the branch instead of resolving it in the
9477 assembler.
9478
9479Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9480
9481 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9482 through signal handler.
9483
9484Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9485
9486 * configure.in (*-*-netware): Use config/mt-netware.
9487
9488 * config/mt-netware: New file.
9489 * config/mt-i386-netware: Removed, separate configs for different
9490 netware architectures are no longer needed now that we have
9491 --with-headers.
9492
9493Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9494
9495 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9496 by the recent changes to use ANSI C arithmetic conversions.
9497
9498Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9499
9500 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9501 bug involving using inferior_pid to figure out whether to select a
9502 frame.
9503
9504Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9505
9506 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9507 match the current disassembler output.
9508
9509Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9510
9511 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9512 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9513 types, expect "int" as type of integer values (for now).
9514
9515Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9516
9517 * gdb.base/commands.exp: New tests for if/while commands.
9518
9519Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9520
9521 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9522 by .*, since hex values have different syntax in Chill mode.
9523
9524Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9525
9526 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9527 linefeed from expect pattern for repeated types with indices > 9.
9528
9529Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9530
9531 First part of Fortran test suite.
9532 * gdb.fortran: New directory.
9533 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9534
9535Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9536
9537 * gdb.base/default.exp: Update expect pattern for load command
9538 without arguments.
9539
9540Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9541
9542 * configure.in: Change i386 to i[345]86.
9543 * gdb.base/configure.in: Likewise.
9544 * gdb.c++/configure.in: Likewise.
9545 * gdb.chill/configure.in: Likewise.
9546
9547Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9548
9549 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9550 patterns, since that is not a valid context for comments.
9551
9552Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9553
9554 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9555 repeated types and repeated types with indices > 9.
9556
9557Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9558
9559 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9560 2417; old bug has been fixed.
9561
9562Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9563
9564 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9565 send the newline ourselves instead of assuming gdb_test will do
9566 so when passed an empty input string.
9567
9568 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9569 stabs testcode.
9570
9571Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9572
9573 * lib/gdb.exp (gdb_test): Don't send anything if the first
9574 argument is an empty string. This makes cases where we want to
9575 match output that is already in expect's buffers (for example,
9576 matching a breakpoint after gdb_run_cmd has been called) work
9577 reliably.
9578
9579Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9580
9581 * config/netware.exp: New file.
9582
9583Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9584
9585 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9586 the -B and -L prefixes so we can find the debugging stub.
9587
9588 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9589 there and we are using the gcc from the tree.
9590
9591 * gdb.base/types.c: Removed.
9592
9593 * gdb.base/configure.in: Look for makefile fragments in ../config.
9594 Recognize i386-*-netware.
9595 * gdb.c++/configure.in: Likewise.
9596
9597Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9598
9599 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9600 the correct TCL syntax.
9601
9602Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9603
9604 * gdb.base/opaque.exp: use runto instead of messing around with
9605 breakpoints. Simplify by using gdb_test.
9606
9607 * gdb.base/bitfields.exp: restart between tests on netware targets
9608 because breakpoints aren't relocated after target death. Run
9609 processes to completion.
9610
9611 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9612
9613Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9614
9615 * Makefile.in: Remove extra tabs that confuse some versions
9616 of "make". Use the newly built gdb to test with by default,
9617 rather than the first one in the tester's search path.
9618
9619Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9620
9621 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9622
9623 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9624 condition help.
9625
9626Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9627
9628 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9629
9630 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9631 running.
9632 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9633 * gdb.base/funcargs.exp: Likewise.
9634
9635 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9636 * gdb.base/funcargs.exp: Likewise.
9637
9638 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9639 message is "".
9640
9641Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9642
9643 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9644 return,signals,twice}.exp: Handle non-existant binaries
9645 consistantly.
9646
9647 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9648 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9649 might testing a cross development system.
9650
9651Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9652
9653 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9654 runtest script is relative to ${srcdir}, not ${rootdir}.
9655
9656Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9657
9658 * gdb.base/signals.exp: Allow for optionality of breakpoint
9659 address.
9660
9661Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9662
9663 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9664
9665Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9666
9667 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9668 for size_t definition.
9669 * gdb.c++/templates.cc: Likewise
9670
9671 * config/mt-i386-netware: New file.
9672
9673 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9674 defined.
9675
9676 * gdb.base/Makefile.in: Added support for systems that name core
9677 files by appending "core" to the program name.
9678 * gdb.base/a1-selftest.exp: Likewise.
9679
9680Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9681
9682 * gdb.base/return.exp: Add comment and message for `return double'
9683 test failure on Sparc Solaris.
9684
9685Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9686
9687 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9688
9689Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9690
9691 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9692 from optimizing them away.
9693 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9694 patterns to include default constructors and assignment operators,
9695 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9696 character in the output of the virtual base pointer.
9697
9698Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9699
9700 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9701 expression match in print_addr_of to avoid unintented matches.
9702 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9703 versions up to 2.5.8.
9704
9705Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9706
9707 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9708 included file to run under newer versions of expect.
9709 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9710 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9711 Remove xfail for the virtual table of BDDHookV.
9712
9713Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9714
9715 * lib/gdb.exp (string_to_regexp): Set a default result.
9716 (default_gdb_start): Fix misleading message.
9717
9718Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9719
9720 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9721 Remove all CC, etc definitions.
9722 * config/mt-hpux: New file.
9723 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9724 (CFLAGS, LDFLAGS): Define.
9725 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9726
9727 * Makefile.in (site.exp): Don't insert host_os, etc.
9728 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9729 (distclean): Check existence of subdir.
9730 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9731 * gdb.base/Makefile.in: General cleanup and simplification.
9732 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9733 to build executables. Use default rule to build .o files.
9734 (EXPECT, RUNTEST, CC): Fix relative pathname.
9735 (site.exp): Don't insert host_os, etc.
9736 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9737 and/or SIGUSR1 defined.
9738 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9739 * gdb.c++/Makefile.in: General cleanup and simplification.
9740 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9741 (CFLAGS): Remove.
9742 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9743
9744Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9745
9746 * gdb.base/recurse.exp: Misc changes to get tests running again
9747 after Kung's changes to the watchpoint code.
9748 * gdb.base/watchpoint.exp: Likewise.
9749
9750Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9751
9752 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9753
9754Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9755
9756 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9757 * lib/gdb.exp (default_gdb_start): Define.
9758 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9759 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9760 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9761 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9762 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9763 Don't call gdb_target_udi in between tests.
9764
9765Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9766
9767 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9768 (which was basically just a local version of the same thing). In
9769 addition to avoiding duplication, gdb_test_exact is faster.
9770 * lib/gdb.exp (gdb_test_exact): Fix typo.
9771
9772 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9773 don't give an error.
9774
9775 * gdb.base/term.exp: Call delete_breakpoints before starting.
9776
9777 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9778 (t10): Add comment.
9779
9780Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9781
9782 Reorganization of the GDB Test Suite.
9783
9784 * gdb.base: New directory, contains all the basic tests.
9785 * gdb.c++: New directory, tests specific to C++.
9786 * gdb.chill: New directory, tests specific to Chill.
9787 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9788 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9789 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9790 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9791 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9792 t30-31 to chill).
9793 * */gdbme.*: Rename to match appropriate expect scripts.
9794 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9795 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9796 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9797 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9798 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9799 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9800 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9801 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9802 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9803 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9804 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9805 gdb.c++/virtfunc.cc: New names of C++ files.
9806 * gdb.chill/chillvars.ch: New name of Chill file.
9807 * gdb.base/configure.in, gdb.c++/configure.in,
9808 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9809 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9810 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9811 * configure.in (configdirs): Update to reflect directory changes.
9812 (target_abbrev): No longer define for any configuration.
9813 * Makefile.in: Cosmetic improvements to header comments.
9814
9815Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9816
9817 Various changes to gdb.t31:
9818
9819 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9820 * gdbme.ch: Make all key-words and predefineds be upper-case.
9821 * chillvars.exp: Expect key-words and predefinds in upper-case.
9822
9823 * chillvars.exp: Use gdb_test_exact many places.
9824 Change expected output for arrays (which now includes index labels).
9825
9826 * pr-5020.exp, gdme.ch (module PR_5020):
9827 New test, for PR-5020.
9828
9829Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9830
9831 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9832 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9833
9834Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9835
9836 * Makefile.in: Fix bit-rot in definitions of CHILL,
9837 CHILL_FOR_TARGET and Chill_LIB.
9838 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9839 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9840 CHILL, and CHILL_LIB.
9841
9842Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9843
9844 * Revert the previous changes. Please see Rob's directory
9845 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9846
9847Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9848
9849 * Makefile.in, configure.in, config/mips-gdb.exp,
9850 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9851 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9852 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9853 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9854 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9855 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9856 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9857 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9858 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9859 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9860 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9861 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9862 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9863 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9864 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9865 changes from 94Q1.
9866
9867Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9868
9869 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9870 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9871 Rob's new testing fragments.
9872
9873Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9874
9875 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9876 lib/gdb.exp: Replace error proc calls with perror.
9877
9878Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9879
9880 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9881 version also, match on casted version strings, and match on
9882 gdb startup case where the line numbers might be messed up.
9883
9884Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9885
9886 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9887 (CFLAGS): Delete it from here.
9888
9889Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9890
9891 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9892
9893Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9894
9895 * Makefile.in (RUNTEST): Default to just "runtest".
9896
9897Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9898
9899 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9900 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9901 the code has been restructured.
9902
9903Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9904
9905 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9906 \n, not just one of each.
9907
9908 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9909 /bin/cc gives a warning if you do.
9910
9911Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9912
beb998c6 9913 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9914 __t10ListS_link1ZUiRCUiPT0
9915
9916Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9917
9918 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9919 on local variables in recursive functions.
9920
9921 * gdb.t07/Makefile.in: Build the new test.
9922
9923Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9924
9925 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9926 directly. Instead compare the return values from actual calls.
9927
9928Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9929
9930 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9931
9932Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9933
9934 * From Peter Schauer with minor modifications.
9935 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9936 stops in mid-line in the caller. Add xfail for returning a float
9937 value on X86 targets.
9938
9939Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9940
9941 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9942 to avoid expect lossage.
9943 (fmem_LRbug_tests): Likewise.
9944 * gdb.disasm/hppa.s: Corresponding changes.
9945
9946 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9947 conditions to work with latest dejagnu/expect.
9948
9949 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9950 expected to fail on the PA.
9951 (backtrace in call with trampolines): Explicitly require main
9952 to be frame #1 (no trampolines should show up in backtrace).
9953
9954 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9955 "continue -expect".
9956 * gdb.t06/break.exp: Likewise.
9957 * gdb.t07/watchpoint.exp: Likewise.
9958 * gdb.t13/bitfields.exp: Likewise.
9959 * gdb.t15/{funcargs,return}.exp: Likewise.
9960 * gdb.stabs/weird.exp: Likewise.
9961 * config/{mips,udi}-gdb.exp: Likewise.
9962
9963 * hppa.sed: Enclose comments within a sed command to avoid
9964 losing with the old OSF1 sed.
9965
9966Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9967
9968 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9969 sequent dynix.
9970 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9971 * gdb.t15/funcargs.exp: Conditionally step again to really
9972 finish from marker_call_with_trampolines. Handle the case where
9973 the first step from within call_with_trampolines already steps
9974 us back to main.
9975 * gdb.t15/gdbme.c: Add comment to closing brace of
9976 call_with_trampolines for funcargs.exp.
9977
9978Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9979
beb998c6 9980 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9981 Fix typo(s).
9982
9983Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9984
9985 * gdb.t07/gdbme.c: More code for watchpoint testing.
9986
9987 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9988 "Hardware watchpoint" throughout file.
9989 (test_watchpoint_triggered_in_syscall): New test.
9990 (test_complex_watchpoint): New test.
9991
9992Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9993
9994 * gdbme.c (call_with_trampolines): New function to try and step
9995 into. Tests trampoline problems on the PA.
9996
9997 * funcargs.exp (localvars_in_indirect_call): No longer expect
9998 stepping into indirect call to fail on PAs.
9999 (test_stepping_over_trampolines): New test.
10000
10001Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10002
10003 * TODO: Add suggestions for static member function tests, and
10004 completion tests.
10005
10006Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10007
10008 * TODO: Add suggestions for "p/a" tests.
10009
10010 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10011 (default_gdb_exit): Replace all the hair with sending "quit" to
10012 the process with a simple close.
10013
10014Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10015
10016 * TODO: Add suggestions for shared library tests.
10017
10018Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10019
10020 * TODO: Add suggestions for x/s tests.
10021
10022Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10023
10024 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10025 "enable once", and "enable breakpoints once" with ".*".
10026
10027Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10028
10029 * TODO: Add suggestions about structure passing tests.
10030
10031Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10032
10033 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10034 the primary1 test, use work around if __GNUC__ < 2.
10035 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10036 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10037 Test for bad output rather than waiting for timeout. Issue
10038 second continue only if first continue failed.
10039
10040Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10041
10042 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10043 operator[] test with gdb_test because the old code didn't seem to
10044 be getting the quoting right with the new dejagnu.
10045
10046Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10047
10048 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10049 one from the path.
10050 * Makefile.in: Use a fresh expect if there is one, use runtest
10051 from the src tree if there is one.
beb998c6 10052
c906108c
SS
10053Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10054
10055 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10056 next over recursive call. Revise the tests from that point on
10057 (which had been skipped) to match GDB's actual (correct) output.
10058
10059 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10060 with next over a breakpoint whose condition is false.
10061
10062 * gdb.t00/help.exp: Comment out "help set print" tests just like
10063 (and for same reason as) "help set" test.
10064
10065Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10066
10067 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10068 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10069
10070Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10071
10072 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10073 necessary gdb_target_udi.
10074
10075 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10076
10077 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10078 1838 and 2417; they are fixed.
10079
10080 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10081 gdb.t03/ptype.exp (ptype structure, ptype union):
10082 Remove xfails; the test is looser than when the xfails were added.
10083
10084 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10085 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10086
10087 * gdb.t01/run.exp: Only run shell test if isnative.
10088
10089 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10090 since "run" automatically loads if necessary. Call gdb_target_udi
10091 after the "file" since "file" kills any execution target.
10092
10093 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10094 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10095 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10096 argument for UDI.
10097
10098Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10099
10100 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10101
10102 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10103
10104Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10105
10106 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10107 properly quoting regexps. This makes the second argument to
10108 demangle a fixed string, which matches the callers, instead of a
10109 shell-style pattern which is what the previous implementation
10110 used. Update some of the callers.
10111
10112Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10113
10114 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10115 (comib_nullified_tests): Fix typo.
10116 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10117 strings. No longer expected to fail.
10118
10119 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10120 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10121 strings. No longer expected to fail.
10122
10123 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10124 string. No longer expected to fail.
10125
10126Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10127
10128 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10129 No longer expected to fail.
10130
10131 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10132 string. No longer expected to fail.
10133
10134Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10135
10136 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10137 only in the names (I probably got most of them). I was even
10138 generous with some which differed in underscores in names, and
10139 probably missed a few, and I *still* was able to remove almost a
10140 third of the file with almost no impact on testsuite coverage.
10141
10142Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10143
10144 * gdb.t00/default.exp: Match udi_attach error message as well as
10145 the one from child_attach.
10146
10147 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10148
10149 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10150
10151 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10152 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10153
10154 * Move test with enums and partial symbols back to
10155 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10156 Reverts the change of 26 May 93. Per today's change to
10157 stabs.texinfo, the behavior that weird.exp was expecting was
10158 unreasonable; what is important is that the compiler+gdb get
10159 things right, which happens with a recent gcc. Also fix the test
10160 to deal with native compilers which put out the stab gdb can't
10161 deal with.
10162
10163Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10164
10165 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10166 in the names. The main thing these accomplish is to slow things down.
10167 Many more such duplicates surely remain.
10168
10169 * gdb.t00/help.exp: Comment out "help support" test just like
10170 (and for same reason as) "help set" test.
10171
10172Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10173
10174 * gdb.t06/break.exp: Remove setup_xfails for
10175 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10176 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10177 about known bug in gcc to include up through 2.5.8.
10178 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10179 well as "_vb$".
10180 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10181 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10182 with latest gcc and gdb.
10183 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10184 well as "_vb$".
10185
10186Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10187
10188 * configure.in (hppa*-*-*): Also configure and build stabs-only
10189 tests.
10190
10191Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10192
10193 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10194 * gdb.t10/configure.in (hppa*-*-*): Use it.
10195
10196Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10197
10198 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10199
10200Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10201
10202 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10203 versions prior to 1.13.5.
10204
10205Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10206
10207 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10208 the prompt is at the start of a line.
10209
10210Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10211
10212 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10213 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10214 in the copr tests now.
10215 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10216 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10217 expected to fail.
10218
10219Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10220
10221 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10222 gdb.t31/chillvars.exp, lib/gdb.exp:
10223 Tweak to run under either version of expect.
10224 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10225 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10226 * gdb.t11/list.exp: Remove extraneous whitespace.
10227
10228Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10229
10230 * gdb.t16/printcmds.exp (test_print_strings): Accept
10231 "(unsigned char *) " before the string.
10232
10233 * TODO: Add notes about printing of fancy types and GDB expressions.
10234
10235Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10236
10237 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10238 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10239 if doing mips-idt-ecoff.
c906108c
SS
10240
10241Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10242
10243 * Most .exp files: Tweak to run under either version of expect.
10244
10245Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10246
10247 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10248 xfails; I'm not sure why they are failing, but not because of PR 1806.
10249
10250Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10251
10252 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10253 defined in lib/gdb.exp.
10254
10255Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10256
10257 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10258 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10259 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10260 have to be typeless.
10261
10262Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10263
10264 * TODO: Add suggestion for copyright year test.
10265
10266Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10267
10268 * configure.in (*-*-lynxos*): Add stabs tests.
10269
10270Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10271
10272 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10273 so insert a tab before any assembler directive in column zero.
10274
10275 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10276 stores.
10277 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10278 stores.
10279 (fpu_short_memory_tests): Likewise.
10280
10281Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10282
10283 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10284 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10285 .stabs directives in comments.
10286
10287Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10288
10289 * TODO: New file, describing tests we could write.
10290 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10291
10292Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10293
10294 * gdb.t06/signals.exp: Add kludge to force re-sync.
10295
10296 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10297 to xgdb instead of gdb, get out of gdb.
10298
10299Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10300
10301 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10302 for info.
10303
10304Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10305
10306 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10307 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10308 * gdb.stabs/hppa.sed: New sed script for the PA.
10309
10310Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10311
10312 * gdb.stabs: Re-write weird.def and configuration to use sed
10313 instead of cpp. sed is portable and POSIX; cpp is neither.
10314
10315Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10316
10317 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10318
10319Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10320
10321 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10322
10323Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10324
10325 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10326 "_vb$".
10327 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10328 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10329
10330Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10331
10332 * lib/gdb.exp: Comment out code which depends on non-existent
10333 `transform' procedure.
10334
10335Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10336
10337 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10338 * lib/gdb.exp: Transform tool name.
10339 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10340 1.1's new error handling system.
10341
10342Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10343
10344 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10345
10346Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10347
10348 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10349 They made pattern matching so slow that timeouts happened on
10350 heavily loaded systems. Now any output from "show print" which
10351 gets us back to the GDB prompt is a PASS.
10352
10353Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10354
10355 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10356
10357Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10358
10359 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10360
10361 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10362 It is not from PR 3220.
10363
10364Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10365
10366 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10367 just started failing because they depended on the order the
10368 subcommands are presented, or exact docstring text. This kind of
10369 test is a pain and has minimal benefit.
10370
10371Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10372
10373 * gdb.t09/corefile.exp: At end of test, use "core" command with
10374 no arguments.
10375
10376Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10377
10378 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10379 17}/Makefile.in: Make it possible to run the testsuite with Sun
10380 make and CC = cross gcc by adding explicit build rules for .o
10381 files.
10382
10383Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10384
10385 * gdb.t15/funcargs.exp: Don't put comments on same line as
10386 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10387
c906108c
SS
10388Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10389
10390 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10391
10392Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10393
10394 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10395 * gdb.t20/inherit.exp: remove three dumplicate entries.
10396
10397Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10398
10399 * gdb.t06/break.exp: For "next over recursive call", fail on any
10400 incorrect output, not just on "factorial (value=2)".
10401
10402Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10403
10404 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10405 working now. Add an xfail if accesing a bss variable causes
10406 a memory error if the target is not yet run.
10407
10408Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10409
10410 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10411 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10412 name of __st* demangling (2 strings). Did Kung really get the
10413 more than 95 others right without testing them?
10414
10415Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10416
10417 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10418
10419Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10420
10421 * configure.in (configdirs): Add gdb.disasm
10422 * gdb.disasm: New directory for GDB disassembler tests.
10423 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10424
10425Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10426
10427 * gdb.t00/help.exp: Don't test "help set".
10428
10429 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10430 from within expect statements. None of these happen anymore and
10431 they cause regressions to be silently unnoticed.
10432
10433 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10434 messages) about known failures with gcc cygnus-2.4.5-930417.
10435
10436 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10437 comp-info.exp so it gets built if it doesn't exist.
10438
10439 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10440 it is no longer used.
10441 * gdb.t13/comp-info.c: Removed.
10442
10443Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10444
10445 * gdb.t06/signals.exp: Add xfail for sun3.
10446
10447Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10448
10449 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10450 relevant because ^C doesn't get sent but failure can be reproduced
10451 interactively).
10452
10453Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10454
10455 * gdb.stabs/alpha.mt: New configuration file for alpha.
10456 * gdb.stabs/configure.in: Use it.
10457 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10458 sharing with alpha.mt, redefine long to word via preprocessor.
10459 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10460 for alpha.
10461 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10462 native cc.
10463 * gdb.t00/teststrategy.exp: Change expect string so that we
10464 consume the `(xgdb)' from the command echo and from the gdb prompt.
10465 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10466 gdb currently compares all values as long, so this failure probably
10467 applies to any configuration where LONGEST is bigger than a target int.
10468 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10469 with gcc.
10470 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10471 to handle opaque pointers, gcc is.
10472 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10473 as first argument. Include <sys/types.h> and change all operator
10474 new definitions to use size_t.
10475 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10476 now that we use size_t.
10477
10478Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10479
10480 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10481 a long or float array cast all array members to the same type.
10482 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10483 with 64 bit longs.
10484 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10485 on alpha.
10486 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10487
10488Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10489
10490 * gdb.t24 (demangle.exp): Constructors of templates have names like
10491 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10492 section 14.6 of the ARM.
10493
10494 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10495 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10496 accomplish little and slow down the testsuite.
10497
10498 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10499 Accept spaces various places.
10500
10501Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10502
10503 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10504 with watchpoint enabled.
10505
10506 * Makefile.in: Remove definition of CC and remove the second
10507 definition of CXX (the "CXX = gcc" one remains). These definitions
10508 were causing backquotes to be expanded within backquotes, which
10509 doesn't work.
10510
10511Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10512
10513 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10514
10515Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10516
10517 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10518 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10519 by mips cc and contains no stabs entries.
10520
10521Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10522
10523 * config/vx-gdb.exp: Use fake device to load files rather than
10524 NFS.
10525 * lib/gdb.exp: New proc to do "file" command.
10526 * config/unix-gdb.exp: Use new "file" proc.
10527
10528Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10529
10530 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10531 Rework board rebooting slightly.
10532 (gdb_exit): Don't exit from the remote shell; there isn't one.
10533 * gdb.stabs/weird.exp: If a program is being debugged already,
10534 kill it.
10535 * gdb.t04/setvar.exp: Stop and restart gdb.
10536 * gdb.t05/expr.exp: Likewise.
10537 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10538 restart gdb and reload the program.
10539 * gdb.t08/opaque.exp: Likewise.
10540 * gdb.t12/scope.exp: Likewise.
10541 * gdb.t13/bitfields.exp: Likewise.
10542 * gdb.t15/funcargs.exp: Likewise.
10543 * gdb.t20/classes.exp: Likewise.
10544 * gdb.t03/ptype.exp: Increase timeout.
10545 * gdb.t16/printcmds.exp (test_print_string_constants,
10546 test_print_array_constants): Likewise.
10547 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10548 * gdb.t20/classes.exp (do_tests): Likewise.
10549 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10550
10551Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10552
10553 * gdb.stabs: Renamed *wierd* to *weird*.
10554
10555Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10556
10557 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10558 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10559
10560Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10561
10562 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10563 (do_tests): Remove xfail for whatis on one_var and two_var.
10564
10565Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10566
10567 * Makefile.in: Made cross building work better by adding
10568 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10569
10570Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10571
10572 * gdb.t15/{return.c,return.exp,Makefile.in}:
10573 New test, currently commented out.
10574
10575Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10576
10577 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10578 still running and removes the leftover named socket so GDb can do
10579 clean restarts.
10580
10581Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10582
10583 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10584 console, not GDB.
10585 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10586 cross testing works better with "make check"
10587 * config/unix-gdb: Use default procedures for exit and version.
10588 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10589 with the newest VxWorks.
10590
10591Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10592
10593 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10594 old form.
10595
10596 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10597 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10598
10599 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10600
10601 * config/unix-gdb.exp: Remove this version of gdb_exit
10602 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10603 Rob says he'll look at it when he gets back to testing boards.
10604
10605Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10606
10607 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10608 an expected fail for certain ptype commands.
10609
10610 * gdb.t20/classes.exp: Update expected results of "ptype class
10611 Base1" to account for the constructor that now appears in the type.
10612
10613Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10614
10615 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10616 disappeared from list.
10617 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10618 "alldone" proc with call to cleanup and exit.
10619 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10620 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10621 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10622 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10623 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10624 "alldone" proc with simple returns that suppress remaining
10625 tests. The alldone proc went away many months ago.
10626
10627Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10628
10629 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10630
10631 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10632
10633Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10634
10635 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10636 as vax gdb will display them.
10637
10638Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10639
10640 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10641 optimizers.
10642
10643 * scope.exp: Change "bad value for localval" messages so each one
10644 is unique.
10645
10646 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10647 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10648
10649 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10650
10651Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10652
10653 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10654 doesn't exist (due to optimization).
10655
10656Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10657
10658 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10659 contains \r because the filename is long.
10660
10661 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10662 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10663
10664Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10665
10666 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10667 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10668 Ultrix.
10669 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10670 int tests.
10671 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10672
10673Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10674
10675 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10676
10677 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10678 to match does not match the passing case but still matches the
c906108c
SS
10679 failing case.
10680
10681Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10682
10683 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10684
10685Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10686
10687 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10688 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10689 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10690 Remove various versions of gdb_exit.
10691 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10692 gdb_exit.
10693 * config/unix-gdb.exp: gdb_exit remains here, and should override
10694 the generic version, since it's doing a lot of wierd stuff that
10695 the other versions aren't. FIXME, fold it in, or abandon this
10696 version.
10697
10698Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10699
10700 * gdb.t24/demangle.exp: Add tests for PR 3220.
10701
10702Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10703
10704 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10705
10706Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10707
10708 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10709 "i386-*-*". Works for i486 as well.
10710
10711 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10712 bug, and expand domain of xfail to all SVR4 systems, since the
10713 actual problem is likely to be in generic SVR4 /proc support.
10714
10715Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10716
10717 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10718
10719Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10720
10721 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10722 xfails for other systems. Match a missing 'Continuing.' as an
10723 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10724
10725 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10726 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10727 Only issue warning for missing executables if -all option is used.
10728
10729 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10730 file if -all option is used. It's like an unpredictable XFAIL.
10731
10732Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10733
10734 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10735 for dynamically linked binaries.
10736
10737 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10738
10739Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10740
10741 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10742 to state that this is a known bug in old versions of g++.
10743
10744Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10745
10746 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10747 while waiting for `Continuing'.
10748
10749Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10750
10751 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10752 in text, data, and bss.
10753 * gdb.t10/nodebug.c: Add local and global test variables for
10754 initialized and uninitialized data.
10755
10756Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10757
10758 * config/unix-gdb.exp (gdb_exit): Add "wait".
10759
10760Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10761
10762 * gdb.t06/signals.exp: xfail the continue from the handler for all
10763 targets.
10764
10765 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10766 function with watchpoints enabled, the i386 call dummy starts with
10767 a call.
10768
10769 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10770 386 bsd names its corefiles.
10771
10772Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10773
10774 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10775 compilers don't grok it.
10776 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10777 with small octal ints rather than character constants, which
10778 are signed and might not fit if first promoted to int.
10779
10780Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10781
10782 * gdb.t09/Makefile.in (clean): Remove corefile.
10783
10784Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10785
10786 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10787
10788Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10789 and Jim Kingdon (kingdon@cygnus.com)
10790
10791 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10792 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10793 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10794
10795Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10796
10797 * gdb.t17/interrupt.exp: Add xfail for hppa.
10798
10799Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10800
10801 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10802 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10803 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10804 to determine signed-ness of bitfields and use the result to setup
10805 the xfail.
10806 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10807 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10808 call line is reached if necessary.
10809
10810Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10811
10812 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10813
10814Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10815
10816 * gdb.t06/break.exp: Also test `clear' command.
10817
10818Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10819
10820 * gdb.t00/teststrategy.exp: Remove extra quote.
10821
10822 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10823 watchpoint enabled to be for all non-68k machines.
10824
10825 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10826
10827Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10828
10829 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10830 targets use aout.mt instead of ecoff.mt as gas understands
10831 standard aout format.
10832
10833Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10834
10835 * lib/gdb.exp (runto): Don't insist that function we are running to
10836 was compiled with -g.
10837
10838 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10839
10840 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10841 to get back into the read system call.
10842 Accept leading newline in case where we woke it up.
10843
10844Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10845
10846 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10847 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10848 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10849 enable ecoff configuration.
10850
10851Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10852
10853 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10854
10855Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10856
10857 * gdb.t16/printcmds.exp: Add another printf test.
10858
10859Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10860
10861 * configure.in: If configured -with-stabs on any target, add
10862 stabsdirs to configdirs.
10863
10864Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10865
10866 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10867 fun" so pattern does not match the command itself.
10868
10869Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10870
10871 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10872
10873Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10874
10875 * gdb.t17/interrupt.exp: Test for more things.
10876
10877Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10878
10879 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10880 compiler arranges the code and line numbers.
10881
10882 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10883
10884Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10885
10886 * gdb.t00/help.exp: Increase expect input buffer size.
10887
10888Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10889
10890 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10891
10892 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10893
10894 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10895
10896 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10897 [0-9]*, not just [0-9].
10898
10899Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10900
10901 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10902
10903 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10904
10905Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10906
10907 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10908
10909Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10910
10911 * gdb.t06/signals.c: Add xfails for sun3.
10912
10913 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10914
10915 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10916 test_stepping tests.
10917
10918Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10919
10920 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10921
10922 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10923
10924 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10925 rather than actually putting it through cpp twice.
10926
10927 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10928
10929Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10930
10931 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10932 no longer needed.
10933
10934Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10935
10936 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10937
10938 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10939 C++ features prints as "struct", make it a pass, not an xfail.
10940
10941Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10942
10943 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10944 Don't require VA to print as "class" rather than "struct".
10945
10946Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10947
10948 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10949
10950Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10951
10952 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10953
10954Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10955
10956 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10957 order.
10958
10959Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10960
10961 * gdb.t16/printcmds.exp: Add printf tests.
10962
10963 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10964
10965 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10966
10967Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10968
10969 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10970 pass counts, to counteract any existing or future setup_xfails.
10971
10972Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10973
10974 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10975 {BEGIN,END}_COMMON for common block instead of STAB.
10976 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10977
10978 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10979 intp_var should be N_GSYM not N_LSYM.
10980 wierd-aout.S: Use a label for the value of the N_SO.
10981 wierd.def: Remove all backslashes.
10982 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10983
10984Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10985
10986 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10987 get the expected next to inheritance3.
10988
10989Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10990
10991 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10992 now that gcc-2.4 gets it right.
10993
10994Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10995
10996 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10997
10998 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10999 generating comp-info.exp which works for cross-compilation.
11000
11001Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
11002
11003 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
11004 "*-*-sysv4.*".
11005
11006Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11007
11008 * gdb.t01/run.exp: Start with a fresh gdb.
11009 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11010 SVR4.x.
11011
11012Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11013
11014 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11015 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11016 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11017 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11018 things to remove.
11019
11020Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11021
11022 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11023 test cases from bug reports.
11024
11025Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11026
11027 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11028 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11029 avoid spurious xfails.
11030 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11031 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11032 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11033
11034Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11035
11036 * gdb.t00/teststrategy.exp: Rework to provide more useful
11037 description of each test, fix problem with systems that define
11038 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11039 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11040 results for "next over recursive call" so timeouts aren't taken
11041 by error.
11042
11043Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11044
11045 * gdb.t12/scope.exp: Test printing of variables before run.
11046
11047 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11048 printed in wrong order due to sorting.
11049
11050Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11051
11052 * gdb.t00/teststrategy.exp: Fix expected results for printing
11053 user entered string constant. Is array of char, prints with no
11054 address.
11055
11056 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11057 commands.
11058 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11059 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11060 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11061 of struct of char arrays.
11062 * gdb.t00/radix.exp: New tests for radix commands.
11063
11064Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11065
11066 * gdb.t16/printcmd.exp: Print a variable before running program
11067 (with xfail for AIX).
11068
11069Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11070
11071 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11072
11073 * gdb.t16/printcmd.exp: Don't print variables before running program.
11074
11075 * gdb.t06/break.exp: Don't require envp argument to main.
11076
11077 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11078
11079 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11080 Add xfails for rs6000.
11081
11082 * gdb.t02/whatis.exp: Change other tests not to re-test something
11083 we already tested.
11084
11085 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11086 each type used has a variable of that type.
11087
11088Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11089
11090 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11091
11092Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11093
11094 * configure.in: change srctrigger to be a file, not a directory
11095
11096Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11097
11098 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11099
11100 * gdb.t11/list.exp: Fixed a couple of typos.
11101
11102Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11103
11104 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11105 is fixed and PR is closed.
11106 * gdb.t16 (gdbme.c): Add simple test string variable.
11107 * gdb.t16 (printcmds.exp): Add tests with simple test string
11108 variable, primarily for boundaries on "set print elements".
11109
11110Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11111
11112 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11113 Make leading 0's optional and don't expect a tab in the middle
11114 of the number.
11115
11116 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11117
11118 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11119 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11120 don't end command passed to gdb_test with newline.
11121
11122 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11123 signed keyword away, don't expect signed bitfields to be signed.
11124
11125 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11126 printing with only as many 1's as are in the field as well as printing
11127 with 32 1's (see comment).
11128
11129Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11130
11131 * gdb.t00/default.exp: Start with a fresh gdb.
11132 * configure.in (configdirs): Remove gdb.t31 until the chill
11133 compiler works again. It no longer is able to find chillrt0
11134 since it isn't in libchill.a anymore.
11135 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11136 wierd.o, make more modular.
11137 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11138 spurious newlines that caused problems.
11139
11140Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11141
11142 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11143 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11144 gdb.stabs/wierd.{exp,def}: Many new tests.
11145
11146 * gdb.t00/default.exp: update info line for new message.
11147
11148 * gdb.t02/{whatis.exp,gdbme.c}:
11149 Test that "char *" doesn't print as "caddr_t".
11150
11151Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11152
11153 * gdb.t00/help.exp: Use .* in place of some help messages which
11154 just changed.
11155 gdb.t00/default.exp: Update "info frame" test for new message.
11156 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11157 Remove some xfails
11158
11159Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11160
11161 * gdb.t03/{gdbme.c,ptype.exp}:
11162 Add tests for typedef'd struct and union without tags.
11163 Also check "whatis" on a variable of a typedef'd enum without a tag.
11164
11165 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11166 PRMS 1823; the bug still exists but isn't reproduced by this test
11167 anymore), and remove rs6000 XFAIL (the bug is fixed).
11168
11169 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11170 duplicated from whatis.exp. For those that are left, accept
11171 "long", "long int", or "int" for long variables (whatis.exp already
11172 has an XFAIL for "int", so no need to fail it here).
11173
11174 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11175 Deal with GCC's names for types now that GDB uses the compiler's names.
11176
11177 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11178 setup_xfail's for sunos4. If we #defined the signed keyword away,
11179 don't expect GDB to know that char it is signed.
11180
11181 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11182
11183Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11184
11185 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11186 should work on any system, regardless of debugging format.
11187 * gdb.t21/demangle.exp: Move to gdb.t24.
11188 * gdb.t24/demangle.exp: Move from gdb.t21.
11189 * gdb.t24/{Makefile.in, configure.in}: New files.
11190
11191Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11192
11193 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11194 * gdb.stabs: New directory.
11195
11196Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11197
11198 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11199 not just "Quit anyway?".
11200
11201Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11202
11203 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11204 that all setup_xfails are immediately followed by clear_xfails.
11205
11206Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11207
11208 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11209 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11210 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11211 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11212 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11213 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11214 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11215 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11216 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11217 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11218 gdb.t31/chillvars.exp, lib/gdb.exp:
11219 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11220 bug-gdb@prep.ai.mit.edu.
11221
11222Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11223
11224 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11225 with 0.0, not integer 0.
11226
11227Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11228
11229 * gdb.t06/break.exp: Update for "Kill the program" message change.
11230
11231Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11232
11233 * Makefile.in (GDBFLAGS): Set to -nx.
11234 * Makefile.in (site.exp): Use GDBFLAGS.
11235
11236Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11237
11238 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11239 Makefiles.
11240 (check): depend on just-check.
11241 (just-check): added so that tests can be run without a noop
11242 build pass.
11243
11244Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11245
11246 Switch to using configure's configdirs.
11247 * Makefile.in (Makefile): add configure.in dependency.
11248 (SUBDIRS): removed redundant assignment.
11249 * configure.in: switch subdirs assignment to configdirs.
11250 * gdb.t*/configure.in: new files.
11251
11252Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11253
11254 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11255 works.
11256
11257Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11258
11259 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11260 in explicit rules. Apparently this is not supported by some makes.
11261
11262Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11263
11264 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11265
11266Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11267
11268 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11269 disappeared.
11270
11271Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11272
11273 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11274
11275Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11276
11277 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11278 watchpoint problem that is now fixed.
11279 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11280 uninitialized convenience variables.
11281 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11282 structures.
11283
11284Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11285
11286 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11287 which causes expect to get out of sync with gdb on long output
11288 from help set.
11289 * gdb.t09/corefile.exp: Make expected pattern for core file
11290 failing signal and frame output format less sun specific.
11291
11292Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11293
11294 * gdb.t31/chillvars.exp: Add and remove initial dummy
11295 breakpoint, so that symbol table is forced in.
11296 (Needed at least on Sunos4, though it seems not SVR4.)
11297 * gdb.t31/chillvars.exp: Update for changed output format.
11298
11299Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11300
11301 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11302
11303Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11304
11305 * Makefile.in: Added --srcdir when invoking runtest, removed the
11306 need for a local config file. (optional now)
11307
11308Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11309
11310 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11311 failure count used to force early termination. Add some more
11312 expected failures for gnu style demangling.
11313
11314Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11315
11316 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11317 pmi variable from gdb.t20/gdbme to get optimized away.
11318 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11319 Check for written corefile upon timeout _and_ eof.
11320
11321Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11322
11323 * config/unix-gdb.exp: Add missing return 0.
11324
11325Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11326
11327 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11328 test termination.
11329
11330Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11331
11332 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11333 disappeared.
11334
11335Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11336
11337 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11338 time as i860 support works.
11339
beb998c6 11340 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11341 "backtrace 100\r" rather than just "backtrace\r", to match last
11342 change.
11343
11344Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11345
11346 * config/udi-gdb.exp (gdb_exit): Remove close command.
11347 (gdb_target_udi): New procedure to set the UDI target.
11348 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11349 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11350 Added waits for prompts after several question responses. Added
11351 some more responses used by a29k-amd-udi-gdb.
11352 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11353 pass different arguments, restart UDI connection after program
11354 completion.
11355 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11356 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11357 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11358 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11359 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11360 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11361 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11362 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11363 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11364 after program completion.
11365 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11366 compiled with a SELECT_VECS setting.
11367 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11368 infinite recursion.
11369
11370 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11371 Added checks for COFF results, and made them expected failures for
11372 all targets. It would be better to make them expected failures
11373 for COFF targets only.
11374
11375Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11376
11377 * Makefile.in: add null dvi target, don't bother to recurse
11378 through test directories for info and install-info; rename
11379 $(datadir) to be dejagnu instead of deja-gnu
11380
11381Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11382
11383 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11384 compiler to coredump.
11385 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11386 code.
11387
11388Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11389
11390 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11391 coredump.
11392 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11393 code.
11394
11395Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11396
11397 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11398 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11399 which in a shell. Deletes xgdb when done.
11400 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11401 Tests the return from the "set height" or "set width" commands.
11402 Added a few return codes where needed.
11403
11404Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11405
11406 * Makefile.in (SUBDIRS): Add gdb.t17.
11407 * configure.in (subdirs): Add gdb.t17.
11408 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11409 files to test gdb's calling of functions in the inferior with
11410 the correct arguments and gdb's ability to retrieve any
11411 result returned.
11412
11413Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11414
11415 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11416 may be called after gdb goes away. Previous versions of expect
11417 needed these to avoid file descriptor leaks, but they cause
11418 errors with the current revision of expect.
11419 * gdb.t00/gdbvars.exp: Use -re on expected output after
11420 setting sevenbit-strings.
11421 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11422 to set sevenbit-strings consistent across tests.
11423 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11424 set sevenbit-strings consistent across tests.
11425
11426Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11427
11428 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11429 expected output to match current "expect" expectations.
11430
11431Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11432
11433 * gdb.t00/default.exp: Change expected output for default "source"
11434 command, to match new gdb behavior which requires a filename to
11435 source.
11436
11437Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11438
11439 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11440 expected fail for i486-*-* that misses the marker2 function.
11441 * gdb.t10/crossload.exp (bfddefault): Allow successful
11442 recognition of a format to pass even if no symbols are found.
11443 Explicitly catch failures where the format is not recognized
11444 or is ambiguous, and add the reason to the fail message.
11445 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11446 the cause is and invalid target and add reason to failure message.
11447 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11448 elf32-i386, elf32-sparc, and elf32-i860.
11449 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11450 Set up expected failure for 'filename'::variable scope resolution,
11451 which is now apparently broken on all targets.
11452 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11453 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11454 gdb.t23/templates.exp: Change failure for missing binfile into
11455 just a warning.
11456 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11457 references.
11458
11459Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11460
11461 * gdb.t00/default.exp: Add expected output for default "source"
11462 command, to match new gdb behavior.
11463 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11464
11465Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11466
11467 * config/*-gdb.exp: returns an error, rather than exiting on
11468 internal errors.
11469
11470Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11471
11472 * gdb.t03/gdbme.c: Add pointer to struct variable.
11473 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11474 referencing struct members.
11475
11476Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11477
11478 * configure.in (mips-idt-ecoff): New target.
11479 * config/mips-gdb.exp: New file for remote board using MIPS remote
11480 debugging protocol.
11481
11482 * Redid configuration scheme. Removed gdb.t*/configure.in.
11483 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11484 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11485 distclean targets. Built executables via .o files. Adjusted
11486 tests to account for source files in $(srcdir) rather than
11487 $(objdir).
11488 * lib/gdb.exp (runto): Don't expect () after the function name,
11489 because it may have arguments.
11490
11491Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11492
11493 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11494 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11495 expected failures for mips-idt-* and mips-sgi-*.
11496 * gdb.t00/default.exp (attach): Kill process if requested.
11497 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11498 that does not read core files.
11499 * gdb.t01/run.exp: Removed checks for exit status code.
11500 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11501 it is linked in.
11502 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11503 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11504 appropriate, rather than doing it by hand.
11505 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11506 execution.
11507 * gdb.t10/crossload.exp: Kill existing program if needed.
11508 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11509 appropriate, rather than doing it by hand. Always increase
11510 timeout for this test, not just for VxWorks.
11511
11512Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11513
11514 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11515 of Chill STRUCT types and STRUCT values.
11516 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11517 than "char".
11518 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11519 struct2): New struct definitions and initializations to test
c906108c
SS
11520 simple Chill STRUCT types.
11521
11522Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11523
11524 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11525 the null byte at the end of strings.
11526 * gdb.t00/default.exp: Make show version insensitive to copyright
11527 date.
11528 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11529 to avoid dependencies on target char signedness.
11530 * gdb.t16/printcmds.exp: Update expected results for explicitly
11531 unsigned char.
11532 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11533 now work.
11534 * gdb.t21/demangle.exp: Add many more patterns for template
11535 demangling, most of them being expected failures.
11536 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11537 string we are matching for, to match on the whole string.
11538 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11539 and fix a whole bunch that had incorrect expected output but were
11540 passing anyway because of the bug in "proc demangle".
11541 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11542 type.
11543 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11544
11545Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11546
11547 * gdb/testsuite: made modifications to testcases, etc., to allow
11548 them to work properly given the reorganization of deja-gnu and the
11549 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11550
11551Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11552
11553 * gdb/testsuite: Initial creation of gdb/testsuite.
11554 Migrated dejagnu testcases and support files for testing nm to
11555 gdb/testsuite from deja-gnu. These files were moved "as is"
11556 with no modifications. This migration is part of a major overhaul
11557 of dejagnu. The modifications to these testcases, etc., which
11558 will allow them to work with the new version of dejagnu will be
11559 made in a future update.
48efe704
AC
11560
11561For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11562\f
11563Local Variables:
ef043731 11564mode: change-log
c906108c
SS
11565left-margin: 8
11566fill-column: 74
11567version-control: never
11568End:
This page took 0.96952 seconds and 4 git commands to generate.