]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
*** empty log message ***
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
1b802196
FF
12004-02-02 Fred Fish <fnf@redhat.com>
2
3 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
4 remote targets. Update copyright years.
5
18fe2033
JJ
62004-02-02 Jeff Johnston <jjohnstn@redhat.com>
7
8 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
9 support.
10 * gdb.base/langs.exp: Fix test which attempts to create
11 breakpoint on non-existent function to handle new pending
12 support.
13 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
14 a breakpoint.
15 * gdb.base/pending.exp: New test.
16 * gdb.base/pending.c: New file.
17 * gdb.base/pendshr.c: Ditto.
18
8d577d32
DC
192004-02-02 David Carlton <carlton@kealia.com>
20
21 * gdb.cp/overload.exp: Add overloadNamespace tests.
22 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
23 (overloadNamespace, XXX): New.
24 (main): Call XXX::marker2.
25
3ad13771
FF
262004-02-01 Fred Fish <fnf@redhat.com>
27
28 * gdb.base/dump.exp: Use runto_main instead of "runto main".
29 * gdb.base/finish.exp: Ditto.
30 * gdb.base/gcore.exp: Ditto.
31 * gdb.base/huge.exp: Ditto.
32 * gdb.base/info-proc.exp: Ditto.
33 * gdb.base/return2.exp: Ditto.
34 * gdb.threads/gcore-thread.exp: Ditto.
35
44c75849
DJ
362004-02-01 Daniel Jacobowitz <drow@mvista.com>
37
38 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
39
005bc093
MK
402004-02-01 Mark Kettenis <kettenis@gnu.org>
41
42 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
43 that opening the file succeeds on OpenBSD.
44
c47cebdb
DJ
452004-02-01 Daniel Jacobowitz <drow@mvista.com>
46
47 * gdb.threads/thread-specific.c: New file.
48 * gdb.threads/threads-specific.exp: New test script.
49 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
50 to expect_out.
51
5a01311c
MK
522004-02-01 Mark Kettenis <kettenis@gnu.org>
53
54 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
55 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
56 only on the "print_small_structs from print_long_arg_list" test.
57
ce22a4f1
DJ
582004-02-01 Daniel Jacobowitz <drow@mvista.com>
59
60 * gdb.base/completion.exp: Kill a stray backslash.
61
62 From Jim Ingham <jingham@apple.com>:
63 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
64 agrees with the result from sending a tab.
65
abbab9d3
DJ
662004-01-31 Daniel Jacobowitz <drow@mvista.com>
67
68 * gdb.base/chng-syms.exp: Remove stray newline.
69
53904d1e
MK
702004-01-31 Mark Kettenis <kettenis@gnu.org>
71
72 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
73 *-*-openbsd*.
74 * gdb.asm/openbsd.inc: New file.
75
3a4b3aac
MK
762004-01-30 Mark Kettenis <kettenis@gnu.org>
77
78 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
79 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
80 *-*solaris2*. Remove commented out default settings for
81 asm-flags. Replace gdb_compile with target_link.
82
ebac27b4
MC
832004-01-29 Michael Chastain <mec.gnu@mindspring.com>
84
85 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
86 for all tests. Remove old hp-ux and cygnus xfail cases.
87
d8679d84
PH
882004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
89
90 * gdb.base/chng-syms.exp: New file.
91 * gdb.base/chng-syms.c: New file.
92
0a55bc22
MC
932004-01-24 Michael Chastain <mec.gnu@mindspring.com>
94
95 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
96 Provide arms for current output in all my configurations.
97
94b8e876
MC
982004-01-24 Michael Chastain <mec.gnu@mindspring.com>
99
100 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
101 * lib/compiler.cc: Likewise.
102 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
103 get the right preprocessor. Eval the output directly. Remove
104 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
105 hp_f77_compiler and hp_f90_compiler completely.
106 (gdb_preprocess): Delete.
107 (get_compiler): Delete.
108
7cf03d44
MK
1092004-01-24 Mark Kettenis <kettenis@gnu.org>
110
111 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
112 <string.h>.
113
68b6dce9
NR
1142004-01-24 Nick Roberts <nick@nick.uklinux.net>
115
116 * gdb.mi/mi-stack.exp: Update copyright.
117
b368761e
DC
1182004-01-23 David Carlton <carlton@kealia.com>
119
120 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
121 test for cp_lookup_transparent_type.
122 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
123 call them.
124
f2061b53
DJ
1252004-01-23 Daniel Jacobowitz <drow@mvista.com>
126
127 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
128 after -var-update.
129
37fc574a
DC
1302004-01-23 David Carlton <carlton@kealia.com>
131
132 * gdb.cp/namespace.cc (C::ensureRefs): New.
133 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
134
8e94b928
NR
1352004-01-20 Nick Roberts <nick@nick.uklinux.net>
136
137 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
138 case "-stack-list-locals 2".
139 * gdb.mi/mi-var-child.exp: Test for case
140 "-var-list-children --all-values NAME".
141
997b0952
MC
1422004-01-18 Michael Chastain <mec.gnu@mindspring.com>
143
144 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
145
52470da3
MK
1462004-01-18 Mark Kettenis <kettenis@gnu.org>
147
7049b4b8
MK
148 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
149 used with gdb_test_multiple.
150
52470da3
MK
151 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
152 read at address 0. This fixes PR testsuite/1504.
153
da6012e5
DJ
1542004-01-18 Daniel Jacobowitz <drow@mvista.com>
155
156 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
157 Remove downloading, guessing the host executable, the calls to
158 gdb_file_cmd and gdb_target_cmd, and "load" support.
159 (infer_host_exec): New function broken out from gdb_load.
160 (gdb_load): New wrapper for gdbserver_gdb_load.
161 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
162 gdb_target_cmd. Use -target-select.
163 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
164 Download binaries to the host. Clear last_mi_remote_file when
165 we load a new binary.
166 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
167 call gdbserver_gdb_load and mi_gdb_target_cmd.
168
32c70722
MC
1692004-01-17 Michael Chastain <mec.gnu@mindspring.com>
170
171 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
172 type patterns.
173
b0cecf36
MC
1742004-01-17 Michael Chastain <mec.gnu@mindspring.com>
175
176 * gdb.cp/templates.exp: Fix typo in test name of
177 "print Foo<volatile char*>::foo".
178
4120d7e6
MC
1792004-01-15 Michael Chastain <mec.gnu@mindspring.com>
180
181 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
182
f679e530
BE
1832004-01-16 Ben Elliston <bje@wasabisystems.com>
184
185 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
186 (clean mostlyclean): Remove empty rm.
187
091c48f6
MC
1882004-01-15 Michael Chastain <mec.gnu@mindspring.com>
189
190 * gdb.base/setvar.exp: Add copyright years.
191
3e5fc8d2
DC
1922004-01-14 David Carlton <carlton@bactrian.org>
193
194 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
195 PR c++/1511 and update coment.
196 * gdb.cp/templates.exp: Update patterns to match current output.
197 If changes involve something other than whitespace, KFAIL
198 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
199
63d06c5c
DC
2002004-01-14 David Carlton <carlton@kealia.com>
201
202 * gdb.cp/namespace.exp: Add tests involving classes defined within
203 namespaces.
204 * gdb.cp/namespace.cc (C::CClass): New.
205 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
206
a51dab88
EZ
2072004-01-14 Elena Zannoni <ezannoni@redhat.com>
208
209 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
210 what debug info we have. Print a better message if something goes
211 wrong while producing the separate debug info file.
212
a476ccc9
MC
2132004-01-14 Michael Chastain <mec.gnu@mindspring.com>
214
215 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
216
f453692c
MC
2172004-01-14 Michael Chastain <mec.gnu@mindspring.com>
218
219 * gdb.base/callfuncs.c: Add copyright notice.
220
f40063a5
MC
2212004-01-13 Michael Chastain <mec.gnu@mindspring.com>
222
223 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
224 inheritance. PR gdb/1498, PR gcc/13539.
225
19ac3974
EZ
2262004-01-13 Elena Zannoni <ezannoni@redhat.com>
227
228 * gdb.threads/gcore-thread.exp: Prefix name of binary with
229 test specific name.
230 * gdb.mi/gdb669.exp: Ditto.
231 * gdb.mi/mi-pthreads.exp: Ditto.
232 * gdb.mi/mi1-pthreads.exp: Ditto.
233 * gdb.mi/mi2-pthreads.exp: Ditto.
234
56c97c6e
MC
2352004-01-12 Michael Chastain <mec.gnu@mindspring.com>
236
237 * gdb.cp/member-ptr.cc: Add copyright notice.
238
a0644324
MC
2392004-01-12 Michael Chastain <mec.gnu@mindspring.com>
240
241 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
242 some patterns for recent versions of gcc and hpacc. Delete
243 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
244 Delete tests that access a NULL pointer-to-member-data. This
245 script is still disabled for gcc.
246
32fabe09
EZ
2472004-01-12 Elena Zannoni <ezannoni@redhat.com>
248
249 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
250 escaped correctly.
251
1f8a6abb
EZ
2522004-01-12 Elena Zannoni <ezannoni@redhat.com>
253
254 * gdb.base/sepdebug.exp: New file.
255 * gdb.base/sepdebug.c: New file.
256 * lib/gdb.exp (separate_debug_filename): New procedure.
257 (gdb_gnu_strip_debug): New procedure.
258
48efe704
AC
2592004-01-12 Andrew Cagney <cagney@redhat.com>
260
261 * gdb.mi/ChangeLog: Delete file. Renamed to ...
262 * gdb.mi/ChangeLog-1999-2003: New file.
263
a9415475
AC
2642004-01-12 Andrew Cagney <cagney@redhat.com>
265
266 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
267 "Renaming a directory to a non-empty directory returns ENOTEMPTY
268 or EEXIST", treat EBUSY as an XFAIL.
269
83b8cf9d
MC
2702004-01-11 Michael Chastain <mec.gnu@mindspring.com>
271
272 * gdb.base/scope.exp: Remove obsolete setup_xfail for
273 hp_cc_compiler.
274
9939d2a8
MC
2752004-01-10 Michael Chastain <mec.gnu@mindspring.com>
276
277 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
278 decorations.
279
1ff8cadf
MC
2802004-01-10 Michael Chastain <mec.gnu@mindspring.com>
281
282 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
283 and "(aCC)" decorations. Remove obsolete doco about old
284 test results.
285
6fa9022e
MC
2862004-01-09 Michael Chastain <mec.gnu@mindspring.com>
287
288 * gdb.cp/exception.exp: Fix typo in doco.
289
209721fe
MK
2902004-01-09 Mark Kettenis <kettenis@gnu.org>
291
292 * gdb.base/gdb1476.exp: Fix typo.
293
ef11303e
MC
2942004-01-09 Michael Chastain <mec.gnu@mindspring.com>
295
296 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
297 file.
298
041ab88c
MC
2992004-01-09 Michael Chastain <mec.gnu@mindspring.com>
300
301 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
302 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
303 Use gdb_compile. Remove restriction on gcc. Add some patterns
304 for recent version of gdb. Delete second half, which was a copy
305 of the first half with different build flags. This test is
306 still disabled because it is still not ready for production.
307
e36d075a
MC
3082004-01-08 Michael Chastain <mec.gnu@mindspring.com>
309
310 * gdb.cp/exception.cc: Add copyright notice.
311 * gdb.cp/exception.exp: Add a notice that this file is broken
312 because of line number changes caused by addition of copyright
313 notice.
314
42b190ad
MC
3152004-01-08 Michael Chastain <mec.gnu@mindspring.com>
316
317 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
318 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
319
8f25f06b
MC
3202004-01-08 Michael Chastain <mec.gnu@mindspring.com>
321
322 * gdb.cp/classes.exp: Accept gnu abi 2.
323 * gdb.cp/derivation.exp: Likewise.
324 * gdb.cp/overload.exp: Likewise.
325 * gdb.cp/virtfunc.exp: Likewise.
326
06ded8b8
MC
3272004-01-08 Michael Chastain <mec.gnu@mindspring.com>
328
329 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
330 semicolon after end of function.
331
77c26ae3
MC
3322004-01-07 Michael Chastain <mec.gnu@mindspring.com>
333
334 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
335 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
336 boilerplate code for compiling and running the program under
337 test. Add some string method tests.
338
20757486
MC
3392004-01-07 Michael Chastain <mec.gnu@mindspring.com>
340
341 * gdb.cp/bs15503.cc: Add copyright notice.
342 * gdb.cp/bs15503.exp: Adjust line number.
343
0fd3b503
MC
3442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
345
346 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
347 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
348
10d1bea8
MC
3492004-01-07 Michael Chastain <mec.gnu@mindspring.com>
350
351 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
352 hp_cc_compiler.
353
2789202a
MC
3542004-01-07 Michael Chastain <mec.gnu@mindspring.com>
355
356 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
357 * gdb.cp/ctti.exp: Use the marker instead of "next".
358 With gcc, run further before bailing.
359
b862f14c
MC
3602004-01-07 Michael Chastain <mec.gnu@mindspring.com>
361
362 * gdb.cp/cttiadd.cc: Add copyright notice.
363 * gdb.cp/cttiadd1.cc: Likewise.
364 * gdb.cp/cttiadd2.cc: Likewise.
365 * gdb.cp/cttiadd3.cc: Likewise.
366
96da2469
MC
3672004-01-07 Michael Chastain <mec.gnu@mindspring.com>
368
369 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
370 Use gdb_test, gdb_test_multiple. Use floating-point values that
371 have exact representations in IEEE-ish formats.
372
053248ff
MC
3732004-01-07 Michael Chastain <mec.gnu@mindspring.com>
374
375 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
376 compilers. Delete duplicate call to get_compiler_info.
377 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
378 * gdb.base/volatile.exp: Likewise.
379
84acecdd
MK
3802004-01-07 Mark Kettenis <kettenis@gnu.org>
381
382 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
383 memory at address 0.
384
fe11a27f
MC
3852004-01-07 Michael Chastain <mec.gnu@mindspring.com>
386
387 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
388 to test for hp-ux assembler. Fix copyright years.
389
60ad077b
AC
3902004-01-07 Andrew Cagney <cagney@redhat.com>
391
392 * gdb.base/fileio.c (strerrno): Add "EBUSY".
393
1c9b8f33
AC
3942004-01-07 Andrew Cagney <cagney@redhat.com>
395
396 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
397 when creating the read-only file. From analysis by Roland McGrath
398 and Elena Zannoni.
399
753ccc7a
MC
4002004-01-06 Michael Chastain <mec.gnu@mindspring.com>
401
402 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
403
eca3e36b
MC
4042004-01-06 Michael Chastain <mec.gnu@mindspring.com>
405
406 * gdb.base/cvexpr.c: Be type-safe with function pointers and
407 data pointers.
408
f8d4bac4
MC
4092004-01-06 Michael Chastain <mec.gnu@mindspring.com>
410
411 * gdb.cp/m-static.exp: Compile one source file at a time.
412 Delete unused call to get_compiler_info.
413
9b4e0f94
MC
4142004-01-06 Michael Chastain <mec.gnu@mindspring.com>
415
416 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
417 * gdb.base/call-rt-st.exp: Likewise.
418 * gdb.base/nodebug.exp: Likewise.
419 * gdb.base/volatile.exp: Likewise.
420 * gdb.cp/ref-types.exp: Likewise.
421 * gdb.cp/templates.exp: Likewise.
422
023c1024
MK
4232004-01-05 Mark Kettenis <kettenis@gnu.org>
424
425 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
426
19703c4a
MC
4272004-01-05 Michael Chastain <mec.gnu@mindspring.com>
428
429 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
430 hppa*-hp-hpux*.
431
18b67037
MK
4322004-01-04 Mark Kettenis <kettenis@gnu.org>
433
ba6219c8
MK
434 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
435 x86_64-*-*.
436
18b67037
MK
437 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
438 sparc64-*-* and sparc*-solaris2*.
439
1bfbbb9d
MK
4402004-01-04 Mark Kettenis <kettenis@gnu.org>
441
442 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
443 return ${tests}" test. The ${tests} already mentions the
444 filename.
445
06846494
MC
4462004-01-02 Michael Chastain <mec.gnu@mindspring.com>
447
448 * gdb.cp/local.exp: Accept gcc abi 2.
449
3b0cb202
MC
4502004-01-02 Michael Chastain <mec.gnu@mindspring.com>
451
452 * gdb.cp/templates.exp: Accept gcc abi 2.
453
0643ec3f
MC
4542004-01-02 Michael Chastain <mec.gnu@mindspring.com>
455
456 * lib/compiler.cc: Remove supports_template_debugging.
457 * gdb.cp/templates.exp: Do not test supports_template_debugging.
458
d231d0b1
MC
4592004-01-01 Michael Chastain <mec.gnu@mindspring.com>
460
461 * gdb.cp/namespace.exp: Accept gcc abi 2.
462
44ffb27c
MC
4632004-01-01 Michael Chastain <mec.gnu@mindspring.com>
464
465 * gdb.cp/method.exp: Accept gcc abi 2.
466
184ad485
MC
4672004-01-01 Michael Chastain <mec.gnu@mindspring.com>
468
469 * gdb.cp/classes.exp: Generate identical results as old version.
470 * gdb.cp/derivation.exp: Likewise.
471 * gdb.cp/overload.exp: Likewise.
472 * gdb.cp/virtfunc.exp: Likewise.
473
116f09e7
MC
4742004-01-01 Michael Chastain <mec.gnu@mindspring.com>
475
476 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
477 mysterious bug with sourceware version of expect.
478
b1379776
MC
4792004-01-01 Michael Chastain <mec.gnu@mindspring.com>
480
481 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
482 current versions of gcc, including gcc abi 2. Remove gratuitous
483 restart of test program. Use gdb_test_multiple and gdb_test for
484 all tests. Add patterns to xfail missing "const" in "const char *"
485 and kfail PR gdb/1155.
486
6b7a4c0e
MC
4872004-01-01 Michael Chastain <mec.gnu@mindspring.com>
488
489 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
490 current versions of gcc, including gcc abi 2. Remove gratuitous
491 restart of test program. Use gdb_test_multiple and gdb_test for
492 all tests. Add patterns to kfail PR gdb/1498.
493
51615d72
MC
4942003-12-31 Michael Chastain <mec.gnu@mindspring.com>
495
496 * gdb.cp/virtfunc.exp: Rewrite. Clean up patterns to match
497 current versions of gcc, including gcc abi 2. Use "breakpoint"
498 and "continue" instead of restarting the target program. Use
499 gdb_test_multiple and gdb_test for all tests.
500
7b79a9d7
MK
5012004-01-01 Mark Kettenis <kettenis@gnu.org>
502
503 * gdb.asm/asm-source.exp: Update copyright year. Link statically
504 for *-*-solaris2*.
505
1cd3489f
MC
5062003-12-31 Michael Chastain <mec.gnu@mindspring.com>
507
508 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
509 current versions of gcc, including gcc abi 2. Use "breakpoint"
510 and "continue" instead of restarting the target program several
511 times. Use gdb_test_multiple and gdb_test for all tests.
512
850742db
MC
5132003-12-18 Michael Chastain <mec.gnu@mindspring.com>
514
515 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
516 source files.
517
eb4bbda8
MC
5182003-12-16 Michael Chastain <mec.gnu@mindspring.com>
519
520 * gdb.base/environ.exp: Handle compiling test case from multiple
521 source files.
522
e42c7771
MC
5232003-12-16 Michael Chastain <mec.gnu@mindspring.com>
524
525 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
526
80e4b428
JB
5272003-12-17 Jim Blandy <jimb@redhat.com>
528
5f06973a
JB
529 * gdb.base/freebpcmd.c: Add copyright notice.
530
80e4b428
JB
531 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
532
0ab84fb7
MC
5332003-12-16 Michael Chastain <mec.gnu@mindspring.com>
534
535 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
536
1b3bb3d0
JB
5372003-12-13 Jim Blandy <jimb@redhat.com>
538
539 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
540
3a4c9371
KB
5412003-12-12 Kevin Buettner <kevinb@redhat.com>
542
543 * gdb.asm/frv.inc: New file.
544 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
545
a1dea79a
FF
5462003-12-09 Fred Fish <fnf@redhat.com>
547
548 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
549 functions to break1.c and leave prototypes behind. Add more
550 "set breakpoint NN here" comments.
551 * gdb.base/break1.c: New file.
552
553 * gdb.base/break.exp: Handle compiling test case from multiple
554 source files and change source file references as needed.
555 * gdb.base/completion.exp: Ditto.
556 * gdb.base/condbreak.exp: Ditto.
557 * gdb.base/define.exp: Ditto.
558 * gdb.base/ena-dis-br.exp: Ditto.
559 * gdb.base/info-proc.exp: Ditto.
560 * gdb.base/maint.exp: Ditto.
561 * gdb.base/until.exp: Ditto.
562
563 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
564 hardcoded line numbers.
565 * gdb.base/define.exp: Ditto.
566 * gdb.base/ena-dis-br.exp: Ditto.
567 * gdb.base/maint.exp: Ditto.
568 * gdb.base/until.exp: Ditto.
569
570 * gdb.base/completion.exp: Use "break1" for completion tests since
571 "break" is no longer a unique prefix.
572
5266b69c
AC
5732003-12-06 Andrew Cagney <cagney@redhat.com>
574
575 * gdb.base/structs.exp (test_struct_returns): When applicable, set
576 "return_value_unimplemented". When an unimplemented struct return
577 architecture, report incorrect values as a KFAIL
578
374451f0
MC
5792003-12-05 Michael Chastain <mec.gnu@mindspring.com>
580
581 * gdb.cp/rtti.exp: Accept new wording of warning from
582 cp_lookup_rtti_type.
583
ba9b20a7
MC
5842003-12-05 Michael Chastain <mec.gnu@mindspring.com>
585
586 Partial fix for PR testsuite/1456.
587 * gdb.base/scope.exp (test_at_main): Replace references to
588 gcc_compiled with calls to test_compiler_info.
589 (test_at_foo): Likewise.
590 (test_at_bar): Likewise.
591
b74b6d0b
MC
5922003-12-04 Michael Chastain <mec.gnu@mindspring.com>
593
594 Partial fix for PR testsuite/1456.
595 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
596 to test_compiler_info.
597
ccfa3402
MC
5982003-12-03 Michael Chastain <mec.gnu@mindspring.com>
599
600 * gdb.base/so-impl-ld.exp: Update copyright notice.
601
f6246aba
MC
6022003-12-02 Michael Chastain <mec.gnu@mindspring.com>
603
604 Partial fix for PR testsuite/1456.
605 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
606 to test_compiler_info.
607
13ae734a
MC
6082003-11-28 Michael Chastain <mec.gnu@mindspring.com>
609
610 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
611 from current versions of gdb. Clean up regular expressions.
612 Delete redundant timeout case.
613
d8e1cdee
MC
6142003-11-28 Michael Chastain <mec.gnu@mindspring.com>
615
616 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
617 from current versions of gdb. Clean up regular expressions.
618 Delete redundant timeout case.
619
96457b64
MC
6202003-12-01 Michael Chastain <mec.gnu@mindspring.com>
621
622 Partial fix for PR testsuite/1456.
623 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
624 gcc_compiled with call to test_compiler_info.
625
f35309fc
MC
6262003-11-30 Michael Chastain <mec.gnu@mindspring.com>
627
628 Partial fix for PR testsuite/1456.
629 * gdb.base/list.exp (test_list_function): Delete unused declaration
630 of gcc_compiled.
631
d7afdf9b
MC
6322003-11-29 Michael Chastain <mec.gnu@mindspring.com>
633
634 Partial fix for PR testsuite/1456.
635 * gdb.base/complex.exp: Replace reference to gcc_compiled with
636 call to test_compiler_info.
637
71507b56
MK
6382003-11-29 Mark Kettenis <kettenis@gnu.org>
639
640 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
641 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
642 it to create the appropriate note.inc.
643 * gdb.asm/asmsrc1.s: Include "note.inc".
644 * gdb.asm/netbsd.inc: New file.
645 * gdb.asm/empty.inc: New file.
646
f81f93f7
MC
6472003-11-28 Michael Chastain <mec.gnu@mindspring.com>
648
649 Partial fix for PR testsuite/1456.
650 * gdb.base/constvars.exp: Replace references to gcc_compiled with
651 calls to test_compiler_info.
652
9a77938e
MC
6532003-11-27 Michael Chastain <mec.gnu@mindspring.com>
654
655 Partial fix for PR testsuite/1456.
656 * gdb.base/volatile.exp: Replace references to gcc_compiled with
657 calls to test_compiler_info.
658
e8367dc7
MK
6592003-11-27 Mark Kettenis <kettenis@gnu.org>
660
661 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
662 pattern for the KFAILs.
663
526c61ee
AF
6642003-11-25 Adam Fedor <fedor@gnu.org>
665
666 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
667 * gdb.objc/objcdecode.m: New file.
668
28f2d600
AF
6692003-11-25 Adam Fedor <fedor@gnu.org>
670
671 * gdb.objc/nondebug.exp: Test for PR objc/1236.
672 * gdb.objc/nondebug.m: New file.
673
a3895cee
BE
6742003-11-26 Ben Elliston <bje@wasabisystems.com>
675
676 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
677 NetBSD as it does on FreeBSD. Modelled on a similar change by
678 Mark Kettenis on 2003-05-30.
679 (link-flags): Set to "--entry _start" regardless of target.
680 Special linker flags are to be appended to $link-flags.
681 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
682
c9f2c8a3
MC
6832003-11-25 Michael Chastain <mec.gnu@mindspring.com>
684
685 * gdb.cp/method.exp: Accept output of new demangler.
686
15a0587a 6872003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
688
689 * gdb/class2.exp: New file.
690 * gdb/class2.cc: New file.
691
3c00b570
MC
6922003-11-25 Michael Chastain <mec.gnu@mindspring.com>
693
694 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
695 of new demangler.
696
7027acc7
MK
6972003-11-23 Mark Kettenis <kettenis@gnu.org>
698
699 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
700 of gdb_test "run".
701
b0e1598a
MK
7022003-11-23 Mark Kettenis <kettenis@gnu.org>
703
704 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
705 "continue" into "run".
706
4d9eda44
MC
7072003-11-23 Michael Chastain <mec.gnu@mindspring.com>
708
709 Partial fix for PR testsuite/1456.
710 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
711 call to test_compiler_info.
712 * gdb.cp/ctti.exp: Likewise.
713 * gdb.cp/derivation.exp: Likewise.
714 * gdb.cp/member-ptr.exp: Likewise.
715 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
716 reference to gcc_compiled.
717
7182003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
719
720 Fix PR testsuite/1463.
721 * gdb.base/structs.exp (start_structs_test): Call
722 get_debug_format before using the debug format.
723
d422fe19
AC
7242003-11-22 Andrew Cagney <cagney@redhat.com>
725
726 * lib/gdb.exp (gdb_test_multiple): Add simple example.
727 * gdb.base/structs.exp: Use gdb_test_multiple.
728
039cf96d
AC
7292003-11-20 Andrew Cagney <cagney@redhat.com>
730
6882279b
AC
731 * gdb.base/structs.exp: Handle and recover from internal errors.
732 Replace "foo${n}" with "foo<n>" in test messages.
733
e53890ae
AC
734 * gdb.base/structs.exp: Update copyright. Rewrite.
735 * gdb.base/structs.c: Update copyright. Rewrite.
736
2b211c59
AC
737 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
738 resync count exceeded.
739
039cf96d
AC
740 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
741 from the internal error.
742 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
743 Original from Jim Blandy.
744 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 745
eac98b22
AC
7462003-11-19 Andrew Cagney <cagney@redhat.com>
747
748 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
749 KFAIL.
750
67455b2a
MK
7512003-11-17 Mark Kettenis <kettenis@gnu.org>
752
753 New testcase for PR backtrace/1435.
754 * gdb.arch/i386-unwind.exp: New file.
755 * gdb.arch/i386-unwind.c: New file.
756
853d6e5b
AC
7572003-11-17 Andrew Cagney <cagney@redhat.com>
758
759 * lib/gdb.exp (compiler_info): New global.
760 (test_compiler_info): New function.
761 (get_compiler_info): Set compiler_info.
762 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
763 "compiler_info" to gcc-<major>-<minor>.
764
38cf6e11
MC
7652003-11-15 Michael Chastain <mec.gnu@mindspring.com>
766
767 * gdb.trace/configure: Remove.
768
a50d3602
EZ
7692003-11-13 Elena Zannoni <ezannoni@redhat.com>
770
771 * gdb.base/break.c: Add comments to aid finding line numbers for
772 breakpoints.
773 * gdb.base/break.exp: Remove all references to explicit line
774 numbers.
775
d9407aaa
NC
7762003-11-11 Nick Clifton <nickc@redhat.com>
777
778 * gdb.base/shreloc.exp: Do not run for targets which do not
779 support shared objects.
780
db488fc1
CV
7812003-11-10 Corinna Vinschen <vinschen@redhat.com>
782
783 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
784 Don't run tests if nofileio flag is given.
785
6a90a18e
EZ
7862003-11-07 Elena Zannoni <ezannoni@redhat.com>
787
788 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
789 as well as 'Watchpoint'.
790
0b915e9c
EZ
7912003-11-06 Elena Zannoni <ezannoni@redhat.com>
792
793 Reported by Jim Ingham <jingham@apple.com>:
794 * gdb.base/annota1.exp: Match at least one occurrence of the
795 signal handler annotation.
796
d7e4b55f
EZ
7972003-11-06 Elena Zannoni <ezannoni@redhat.com>
798
799 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
800 as well as 'Watchpoint'.
801
2fe4e8d0
MC
8022003-11-05 Michael Chastain <mec@shout.net>
803
804 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
805
6ef88553
KW
8062003-11-03 Kris Warkentin <kewarken@qnx.com>
807
808 * gdb.arch/gdb1291.c: New test file.
809 * gdb.arch/gdb1291.exp: New test script.
810 * gdb.arch/gdb1431.c: New test file.
811 * gdb.arch/gdb1431.exp: New test script.
812
ae7dc4d8
MC
8132003-10-22 Michael Chastain <mec@shout.net>
814
815 * gdb.mi/pthreads.c: Add copyright notice.
816
c39d7427
MC
8172003-10-22 Michael Chastain <mec@shout.net>
818
819 * gdb.threads/pthreads.c: Add copyright notice.
820
8b7d96c1
MC
8212003-10-20 Michael Chastain <mec@shout.net>
822
823 * gdb.base/gdb1056.exp: New test script.
824
d1d69fdd
DJ
8252003-10-13 Daniel Jacobowitz <drow@mvista.com>
826
827 * gdb.threads/killed.exp: Use gdb_run_cmd.
828
7d605576
DJ
8292003-10-13 Daniel Jacobowitz <drow@mvista.com>
830
831 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
832 create a core file.
833 * gdb.threads/gcore-thread.exp: Likewise.
834
618ec112
CV
8352003-10-13 Corinna Vinschen <vinschen@redhat.com>
836
837 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
838 type, based on char type.
839 (struct bit_flags_short_t): New bitfield type, based on short type.
840 (init_bit_flags_char): New fuction.
841 (init_bit_flags_short): Ditto.
842 (print_bit_flags_char): Ditto.
843 (print_bit_flags_short): Ditto.
844 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
845
9367a73c
MC
8462003-10-11 Michael Chastain <mec@shout.net>
847
848 * gdb.base/call-rt-st.exp: Update copyright year.
849
1decf120
KI
8502003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
851
852 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
853 * gdb.disasm/sh3.s: Ditto.
854
5445b2ae
DJ
8552003-10-07 Daniel Jacobowitz <drow@mvista.com>
856
857 * gdb.threads/switch-threads.exp: New test.
858 * gdb.threads/switch-threads.c: New source file.
859
aec24853
CV
8602003-10-07 Corinna Vinschen <vinschen@redhat.com>
861
862 * gdb.base/ending-run.exp: Add sh specific case.
863
adc7428d
AC
8642003-10-06 Andrew Cagney <cagney@redhat.com>
865
866 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
867 * gdb.disasm/mn10200.exp: Delete obsolete file.
868
c9d37158
DJ
8692003-09-29 Daniel Jacobowitz <drow@mvista.com>
870
871 * ChangeLog: Correct an entry command.exp -> commands.exp.
872 * gdb.base/commands.exp (bp_deleted_in_command_test)
873 (temporary_breakpoint_commands): Check noargs.
874
79c2c32d
DC
8752003-09-25 David Carlton <carlton@kealia.com>
876
877 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
878 of some print tests, where appropriate. Add tests for C::D::cd,
879 E::ce, F::cXfX, G::XgX.
880 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
881
594e6d67
RE
8822003-09-25 Richard Earnshaw <rearnsha@arm.com>
883
884 * lib/java.exp (java_init): Import target_alias before using it.
885
10f0d451
DC
8862003-09-25 David Carlton <carlton@kealia.com>
887
888 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
889
274bcba0
EZ
8902003-09-23 Elena Zannoni <ezannoni@redhat.com>
891
892 * gdb.base/selftest.exp: Accomodate more instruction reordering
893 weirdness.
894
cdbf20f7
MC
8952003-09-17 Michael Chastain <mec@shout.net>
896
897 * gdb.cp/gdb1355.exp: New file.
898 * gdb.cp/gdb1355.c: New file.
899
71e06f80
CV
9002003-09-15 Corinna Vinschen <vinschen@redhat.com>
901
902 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
903 * gdb.asm/sh.inc: New file.
904
5c4e30ca
DC
9052003-09-11 David Carlton <carlton@kealia.com>
906
bd45b7af
DC
907 * gdb.cp/namespace.exp: Add tests for namespace types.
908 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
909 (test_namespace): New.
910
1c199746
EZ
9112003-09-11 Elena Zannoni <ezannoni@redhat.com>
912
913 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 914 * gdb.stabs/weird.exp: Ditto.
1c199746 915
04ed252f
MC
9162003-09-08 Michael Chastain <mec@shout.net>
917
918 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
919
d8a2d9e7
MC
9202003-09-07 Michael Chastain <mec@shout.net>
921
922 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
923 'parse error'.
924
161afb24
MK
9252003-09-07 Mark Kettenis <m.kettenis@osp.nl>
926
927 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
928
49f2741a
MC
9292003-08-30 Michael Chastain <mec@shout.net>
930
931 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
932 * gdb.gdb/observer.exp: Ditto.
933 * gdb.gdb/xfullpath.exp: Ditto.
934
8afa723e
MK
9352003-08-29 Mark Kettenis <kettenis@gnu.org>
936
937 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
938 *-*-*bsd*.
939
f31dfe3b
JJ
9402003-08-28 Jeff Johnston <jjohnstn@redhat.com>
941
942 * gdb.base/dump.exp: Skip for ia64.
943
4630e498
JJ
9442003-08-25 Jeff Johnston <jjohnstn@redhat.com>
945
946 * gdb.asm/asm-source.exp: Add ia64 support.
947 * gdb.asm/ia64.inc: New file.
948
1105b7ef
MC
9492003-08-22 Michael Chastain <mec@shout.net>
950
951 * gdb.cp: New directory.
952 * gdb.cp/*: Copy from gdb.c++/*.
953 * gdb.c++/*: Remove.
954 * Makefile.in: Change gdb.c++ to gdb.cp.
955 * configure.in: Ditto.
956 * configure: Regnerate.
957
c945b932
MK
9582003-08-18 Mark Kettenis <kettenis@gnu.org>
959
960 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
961 * gdb.arch/i386-prologue.c (gdb1338): Add function.
962
2b66634b
DJ
9632003-08-17 Daniel Jacobowitz <drow@mvista.com>
964
965 * mi-var-display.exp (-var-list-children weird): Accept function
966 pointers with argument types.
967 * mi1-var-display.exp (-var-list-children weird): Likewise.
968 * mi2-var-display.exp (-var-list-children weird): Likewise.
969
a356f73b
DJ
9702003-08-17 Daniel Jacobowitz <drow@mvista.com>
971
972 * gdb.base/annota3.exp: Add missing newline.
973
483417b8
MC
9742003-08-06 Michael Chastain <mec@shout.net>
975
976 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
977
c99c59c3
MS
9782003-08-12 Michael Snyder <msnyder@redhat.com>
979
980 * gdb.base/float.exp: Add test for SH.
981
55ed7501
MK
9822003-08-10 Mark Kettenis <kettenis@gnu.org>
983
984 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
985
1a371f2e
EZ
9862003-08-07 Elena Zannoni <ezannoni@redhat.com>
987
988 * gdb.base/completion.exp: Remove reduntant completion test
989 on filename.
990
e0f353ce
EZ
9912003-08-07 Elena Zannoni <ezannoni@redhat.com>
992
993 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
994 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
995 gdb.trace/save-trace.exp: Make sure that full pathnames are
996 escaped correctly.
997
5710a1af
EZ
9982003-08-07 Elena Zannoni <ezannoni@redhat.com>
999
1000 * configure.in: Don't generate config.h from config.hin.
1001 * configure: Regenerate.
1002 * config.hin: Remove file.
1003 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1004 * gdb.threads/pthreads.c: Ditto.
1005
dcd81ce9
DJ
10062003-08-07 Daniel Jacobowitz <drow@mvista.com>
1007
1008 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1009 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1010 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1011 Replace ld24 with seth/add3.
1012
6009d884
AC
10132003-08-02 Andrew Cagney <cagney@redhat.com>
1014
1015 * gdb.base/annota3.exp: New file.
1016 * gdb.base/annota3.c: New file.
1017 * gdb.c++/annota3.exp: New file.
1018 * gdb.c++/annota3.cc: New file.
1019
51514e06
MC
10202003-07-29 Michael Chastain <mec@shout.net>
1021
1022 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1023 actually failed.
1024 (do_pass): Likewise.
1025 * gdb.threads/tls.exp: Always initialize no_of_threads.
1026
4ee6625b
DJ
10272003-07-27 Daniel Jacobowitz <drow@mvista.com>
1028
1029 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1030 pattern.
1031 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1032 * gdb.threads/tls.exp: Recognize one case of the host library not
1033 supporting TLS.
1034
225f2bf6
AC
10352003-07-27 Andrew Cagney <cagney@redhat.com>
1036
1037 * gdb.base/fileio.exp: Use SH when running commands using
1038 remote_exec.
1039
bcb27c9f
DJ
10402003-07-24 Daniel Jacobowitz <drow@mvista.com>
1041
1042 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1043 * gdb.base/relocate.c (dummy): New padding array.
1044
3d67be83
MS
10452003-07-22 Michael Snyder <msnyder@redhat.com>
1046
1047 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1048
1049 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1050 patterns to be more general, accepting old and new output.
1051 Some output chars (such as '+') also must be quoted.
1052 Some addresses are displayed numerically instead of
1053 symbolically.
1054
57ba3b85
MS
10552003-07-23 Michael Snyder <msnyder@redhat.com>
1056
686d097c
MS
1057 * gdb.base/return2.exp: Don't test long-long return.
1058
57ba3b85
MS
1059 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1060 * gdb.disasm/t01_mov.exp: Ditto.
1061 * gdb.disasm/t02_mova.s: Ditto.
1062 * gdb.disasm/t02_mova.exp: Ditto.
1063 * gdb.disasm/t03_add.s: Ditto.
1064 * gdb.disasm/t03_add.exp: Ditto.
1065 * gdb.disasm/t04_sub.s: Ditto.
1066 * gdb.disasm/t04_sub.exp: Ditto.
1067 * gdb.disasm/t05_cmp.s: Ditto.
1068 * gdb.disasm/t05_cmp.exp: Ditto.
1069 * gdb.disasm/t06_ari2.s: Ditto.
1070 * gdb.disasm/t06_ari2.exp: Ditto.
1071 * gdb.disasm/t07_ari3.s: Ditto.
1072 * gdb.disasm/t07_ari3.exp: Ditto.
1073 * gdb.disasm/t08_or.s: Ditto.
1074 * gdb.disasm/t08_or.exp: Ditto.
1075 * gdb.disasm/t09_xor.s: Ditto.
1076 * gdb.disasm/t09_xor.exp: Ditto.
1077 * gdb.disasm/t10_and.s: Ditto.
1078 * gdb.disasm/t10_and.exp: Ditto.
1079 * gdb.disasm/t11_logs.s: Ditto.
1080 * gdb.disasm/t11_logs.exp: Ditto.
1081 * gdb.disasm/t12_bit.s: Ditto.
1082 * gdb.disasm/t12_bit.exp: Ditto.
1083 * gdb.disasm/t13_otr.s: Ditto.
1084 * gdb.disasm/t13_otr.exp: Ditto.
1085
e00759ef
EZ
10862003-07-22 Elena Zannoni <ezannoni@redhat.com>
1087
1088 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1089
8bc2021f
EZ
10902003-07-22 Elena Zannoni <ezannoni@redhat.com>
1091
1092 * gdb.threads/tls.c : New file.
1093 * gdb.threads/tls.exp : New file.
1094 * gdb.threads/tls-main.c : New file.
1095 * gdb.threads/tls-shared.c : New file.
1096 * gdb.threads/tls-shared.exp : New file.
1097
89320c4c
AS
10982003-07-22 Andreas Schwab <schwab@suse.de>
1099
1100 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1101
180dea7c
AS
11022003-07-20 Andreas Schwab <schwab@suse.de>
1103
1104 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1105 due to insn reordering.
1106
0714963c
AC
11072003-07-15 Andrew Cagney <cagney@redhat.com>
1108
1109 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1110
98a23b3f
MC
11112003-07-15 Michael Chastain <mec@shout.net>
1112
1113 * gdb.base/gdb1250.exp: New file.
1114 * gdb.base/gdb1250.c: New file.
1115
27e417a2
ML
11162003-07-09 Michal Ludvig <mludvig@suse.cz>
1117
1118 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1119 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1120
8bc2021f
EZ
11212003-07-09 Elena Zannoni <ezannoni@redhat.com>
1122
1123 * gdb.threads/tls.c: New file.
1124 * gdb.threads/tls.exp: New file.
1125 * gdb.threads/tls-main.c: New file.
1126 * gdb.threads/tls-shared.c: New file.
1127 * gdb.threads/tls-shared.exp: New file.
1128
d99968dc
EZ
11292003-07-09 Elena Zannoni <ezannoni@redhat.com>
1130
1131 * gdb.base/annota1.exp: Make sure that we properly escape the
1132 full path of the source file. Xfail more permissive patterns,
1133 due to a compiler debug info problem.
1134
83876b3b
AS
11352003-07-07 Andreas Schwab <schwab@suse.de>
1136
2705e972
AS
1137 * gdb.asm/m68k.inc: New file.
1138 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1139
83876b3b
AS
1140 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1141 arguments"): Also match negative number.
1142
1143 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1144
3a871b37
DJ
11452003-07-03 Daniel Jacobowitz <drow@mvista.com>
1146
1147 * gdb.base/store.c (charest): New typedef.
1148 (add_char): Rename to add_charest, update.
1149 (wack_char): Rename to wack_charest, update types. Return l + r
1150 to keep r live across the call.
1151 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1152 (wack_double, wack_doublest): Return l + r to keep r live across
1153 the call.
1154 * gdb.base/store.exp: Accomodate store.c changes.
1155
b2a7f303
DC
11562003-06-30 David Carlton <carlton@kealia.com>
1157
1158 * gdb.c++/maint.exp (test_invalid_name): New.
1159 (test_first_component): Add tests for invalid names.
1160
3c6cb4a1
MC
11612003-06-29 Michael Chastain <mec@shout.net>
1162
1163 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1164 output of '<VTT for class>' for virtual base classes.
1165
f1c2644b
DJ
11662003-06-29 Daniel Jacobowitz <drow@mvista.com>
1167
1168 * gdb.base/completion.exp: Tab-complete "complet" instead of
1169 "compl".
1170 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1171
18080350
DJ
11722003-06-29 Daniel Jacobowitz <drow@mvista.com>
1173
1174 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1175 * gdb.base/volatile.exp: Likewise.
1176
f56973f8
DJ
11772003-06-29 Daniel Jacobowitz <drow@mvista.com>
1178
1179 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1180 gdb/1265.
1181
11822003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1183 Daniel Jacobowitz <drow@mvista.com>
1184
1185 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1186 initial line count of 'captured_main' from 26 to 32.
1187 (test_with_self): Allow xmalloc call to be interleaved with the
1188 preceding two lines.
1189
e766d4d6
JB
11902003-06-24 Joel Brobecker <brobecker@gnat.com>
1191
1192 * gdb.base/bang.exp: New testcase.
1193
f125c9a4
JB
11942003-06-23 Joel Brobecker <brobecker@gnat.com>
1195
1196 * gdb.base/langs.exp: Add some tests for the "minimal" language
1197 support.
1198
6e25beaf
EZ
11992003-06-23 Elena Zannoni <ezannoni@redhat.com>
1200
1201 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1202 the testcase.
1203
2f816dda
DJ
12042003-06-22 Daniel Jacobowitz <drow@mvista.com>
1205
1206 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1207 offset.
1208
db5a5748
DJ
12092003-06-22 Daniel Jacobowitz <drow@mvista.com>
1210
1211 * gdb.c++/pr-1210.cc: New file.
1212 * gdb.c++/pr-1210.exp: New file.
1213
1df0c130
DJ
12142003-06-21 Daniel Jacobowitz <drow@mvista.com>
1215
1216 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1217 000-exec-continue.
1218
a92feac0
MK
12192003-06-15 Mark Kettenis <kettenis@gnu.org>
1220
1221 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1222 on *-*-*bsd* instead of *-*-freebsd*.
1223
81a58f5b
AC
12242003-06-14 Andrew Cagney <cagney@redhat.com>
1225
1226 * gdb.base/store.exp: Test longest and doublest. Test all
1227 parameters. Weaken return statement match.
1228 * gdb.base/store.c: Add longest and doublest - aka long long and
1229 long double functions. Put all parameters into local register
1230 variables. Use negative values.
1231
b257a0d3
AC
12322003-06-14 Andrew Cagney <cagney@redhat.com>
1233
1234 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1235 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1236 exit status.
1237 * gdb.base/fileio.exp: Disable target when nointerrupts and
1238 noinferiorio, instead of limiting it to remote. Use remote_exec
1239 instead of system.
1240
21c38304
JJ
12412003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1242
1243 * gdb.base/float.exp: Add ia64 support.
1244
1bcdb424
CV
12452003-06-12 Corinna Vinschen <vinschen@redhat.com>
1246
1247 * gdb.base/fileio.exp: Run only on remote targets.
1248
6aeb981f
CV
12492003-06-10 Corinna Vinschen <vinschen@redhat.com>
1250
1251 * gdb.base/fileio.c: New file, testing File-I/O.
1252 * gdb.base/fileio.exp: Ditto.
1253
53df362e
RG
12542003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1255
1256 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1257 shared objects after relocation at load time (gdb PR/1132).
1258 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1259 as above, part of the shared object relocation test.
1260
ffee1b46
MK
12612003-06-08 Mark Kettenis <kettenis@gnu.org>
1262
b5ca3722
MK
1263 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1264 fully filled history list.
1265 * gdb.base/gdb_history: New file.
1266
03ed860d
MK
1267 * gdb.base/signals.exp: XFAIL "continue to func1" on
1268 i*86-*-freebsd*.
1269
ffee1b46
MK
1270 * gdb.base/attach.exp: When trying to attach to a nonexistent
1271 process, make it possible to specify the PID based on the target,
1272 and do so for *-*-freebsd*.
1273
d80dbb52
RH
12742003-06-02 Richard Henderson <rth@redhat.com>
1275
1276 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1277
6dd77b81
RH
12782003-06-02 Richard Henderson <rth@redhat.com>
1279
1280 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1281
f6347e16
RH
12822003-06-02 Richard Henderson <rth@redhat.com>
1283
1284 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1285
2c161407
DJ
12862003-06-01 Daniel Jacobowitz <drow@mvista.com>
1287
1288 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1289 of globalvar.
1290
572eb746
MK
12912003-06-01 Mark Kettenis <kettenis@gnu.org>
1292
1293 * gdb.asm/asm-source.exp: Check for memory read errors in
1294 disassembler test on *BSD too.
1295
9e9617a5
RH
12962003-06-01 Richard Henderson <rth@redhat.com>
1297
1298 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1299 for .frame.
1300 (gdbasm_call): Lose ldgp.
1301 (gdbasm_startup): Add frame information.
1302 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1303
7b34ad4e
MK
13042003-05-31 Mark Kettenis <kettenis@gnu.org>
1305
1306 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1307 i?86-*-*.
1308
10059fdf
MK
13092003-05-30 Mark Kettenis <kettenis@gnu.org>
1310
1311 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1312 FreeBSD.
1313
acf4b816
RH
13142003-05-29 Richard Henderson <rth@redhat.com>
1315
1316 * gdb.asm/alpha.inc: New file.
1317 * gdb.asm/asm-source.exp: Use it.
1318
e9ecd949
JB
13192003-05-29 Jim Blandy <jimb@redhat.com>
1320
1321 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1322 'core.PID'.
1323
e3e5a4f3
JB
13242003-05-22 Jim Blandy <jimb@redhat.com>
1325
1326 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1327 backtrace.
1328
72fe3d25
DC
13292003-05-20 David Carlton <carlton@math.stanford.edu>
1330
1331 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1332 this time.
1333
58da2eb2
DC
13342003-05-19 David Carlton <carlton@bactrian.org>
1335
1336 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1337 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1338
1fcb5155
DC
13392003-05-19 David Carlton <carlton@bactrian.org>
1340
1341 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1342 namespace tests.
1343 Bump copyright date.
1344 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1345 (main): Call C::D::marker2.
1346 * gdb.c++/namespace1.cc: New file.
1347
85e85163
JJ
13482003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1349
1350 Roland McGrath <roland@redhat.com>
1351 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1352 there is no manager thread.
1353
a25fbfec
JJ
13542003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1355
1356 * gdb.threads/schedlock.exp: Remove assumption that all threads
1357 will run in a particular small time slice. Also ensure we break
1358 in one of the child threads rather than the main thread.
1359
be375bae
JB
13602003-05-07 Jim Blandy <jimb@redhat.com>
1361
09bf6082
JB
1362 Add support for assembly source testing on the s390x.
1363 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1364 architecture.
1365 * gdb.asm/s390x.inc: New file.
1366
be375bae
JB
1367 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1368 succession of 'if' statements.
1369
00905d52
AC
13702003-05-05 Andrew Cagney <cagney@redhat.com>
1371
1372 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1373
b1e29e33
AC
13742003-05-05 Andrew Cagney <cagney@redhat.com>
1375
1376 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1377 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1378
e33d66ec
EZ
13792003-05-02 Elena Zannoni <ezannoni@redhat.com>
1380
1381 * gdb.base/charset.exp: Update based on new behavior of set/show
1382 charset commands.
1383
2b6fd0d8
AC
13842003-05-01 Andrew Cagney <cagney@redhat.com>
1385
1386 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1387 variable do not give memory errors.
1388
130cacce
AF
13892003-04-30 Adam Fedor <fedor@gnu.org>
1390
1391 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1392 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1393 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1394 gdb.objc/basicclass.m: : New files
1395
1396 * lib/gdb.exp (gdb_compile_objc): New procedure.
1397
bea71854
DJ
13982003-04-27 Daniel Jacobowitz <drow@mvista.com>
1399
1400 * gdb.base/signals.exp: Make backtrace tests more specific.
1401
0f20eeea
DC
14022003-04-23 David Carlton <carlton@bactrian.org>
1403
1404 * gdb.c++/maint.exp (test_first_component): Add tests for
1405 'operator' in more locations.
1406
c8c4d8dc
KB
14072003-04-16 Kevin Buettner <kevinb@redhat.com>
1408
1409 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1410
3fe60e3c
EZ
14112003-04-16 Elena Zannoni <ezannoni@redhat.com>
1412
1413 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1414 func marke' instead. Update test name.
1415
9219021c
DC
14162003-04-15 David Carlton <carlton@math.stanford.edu>
1417
1418 * gdb.c++/maint.exp: New file.
1419
5dd55bdd
EZ
14202003-04-14 Elena Zannoni <ezannoni@redhat.com>
1421
1422 * gdb.threads/schedlock.c: Change type of thread function argument
1423 to long, to avoid warnings on 64-bit platforms.
1424
00890572
EZ
14252003-04-14 Elena Zannoni <ezannoni@redhat.com>
1426
1427 * gdb.base/attach.exp: Add new message from ptrace in case of
1428 attaching to nonexistent process.
1429
93201743
JB
14302003-04-11 Jim Blandy <jimb@redhat.com>
1431
1432 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1433 gdb.c++/userdef.cc: Place comments on the lines to which the
1434 marker function might return.
1435 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1436 gdb.c++/userdef.exp: Look for those comments to check that we've
1437 returned to the right place, instead of checking line numbers.
1438
2a11c64d
EZ
14392003-04-11 Elena Zannoni <ezannoni@redhat.com>
1440
1441 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1442 match on sourcefile name, instead of directory name.
1443
68ab8fc5
EZ
14442003-04-10 Elena Zannoni <ezannoni@redhat.com>
1445
1446 * gdb.base/completion.exp: Use string_to_regexp to match the
1447 working directory name.
1448
5624293a
JB
14492003-04-09 Jim Blandy <jimb@redhat.com>
1450
1451 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1452 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1453 after an inferior function call, report the failure, but allow the
1454 test to continue.
1455
f1f02ee4
SC
14562003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1457
1458 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1459 with -DPROTOTYPES.
1460
6eb79af0
SC
14612003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1462
1463 * gdb.base/break.exp: Revert last patch.
1464
8dfb4cf0
SC
14652003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1466
1467 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1468 with -DPROTOTYPES.
1469
ed4c619a
AC
14702003-04-02 Andrew Cagney <cagney@redhat.com>
1471
1472 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1473 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1474 matching directories by the name breakpoint.
1475 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1476 Make "continue to marker1" consistent.
1477 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1478 message consistent.
1479 * lib/gdb.exp: Put "the program is no longer running", and "the
1480 program exited" in parenthesis.
1481 * lib/mi-support.exp: Ditto.
1482
4e35d5f0
BR
14832003-04-02 Bob Rossi <bob_rossi@cox.net>
1484
1485 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1486
71900fe8
AC
14872003-03-29 Andrew Cagney <cagney@redhat.com>
1488
1489 * gdb.base/sizeof.c (main): Print the value of '\377'.
1490 * gdb.base/sizeof.exp: Check the sign of '\377'.
1491
c0655a16
MC
14922003-03-27 Michael Chastain <mec@shout.net>
1493
1494 * gdb.base/gdb1090.exp: New file.
1495 * gdb.base/gdb1090.cc: New file.
1496
5b2a3989
JB
14972003-03-27 J. Brobecker <brobecker@gnat.com>
1498
1499 * gdb.gdb/observer.exp: New regression test.
1500
79876890
MC
15012003-03-27 Michael Chastain <mec@shout.net>
1502
1503 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1504 * gdb.base/ptype.exp: Likewise.
1505
6eac95e3
CV
15062003-03-27 Corinna Vinschen <vinschen@redhat.com>
1507
1508 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1509
e8c71839
MC
15102003-03-26 Michael Chastain <mec@shout.net>
1511
1512 * gdb.base/ptype.exp: Actually use some typedef'd types.
1513
71b10041
SC
15142003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1515
1516 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1517 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1518
2512cf80
CV
15192003-03-20 Corinna Vinschen <vinschen@redhat.com>
1520
1521 * gdb.base/default.exp: Fix regular expression.
1522
0d195a4f
CV
15232003-03-20 Corinna Vinschen <vinschen@redhat.com>
1524
1525 * gdb.base/args.exp: Fix regular expression.
1526
8a2dbca8
CV
15272003-03-20 Corinna Vinschen <vinschen@redhat.com>
1528
1529 * gdb.base/help.exp: Allow Win32 child process.
1530
bf028682
CV
15312003-03-20 Corinna Vinschen <vinschen@redhat.com>
1532
1533 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1534 when stepping out of main().
1535
182dbe85
CV
15362003-03-20 Corinna Vinschen <vinschen@redhat.com>
1537
1538 * gdb.base/default.exp: Check for win32 specific message when calling
1539 "run" without executable.
1540
d67a6ba5
CV
15412003-03-20 Corinna Vinschen <vinschen@redhat.com>
1542
1543 * gdb.base/args.exp: Expect .exe in output.
1544
a955b5bb
CV
15452003-03-20 Corinna Vinschen <vinschen@redhat.com>
1546
1547 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1548 Cygwin native.
1549
bf6bad4b
AC
15502003-03-17 Andrew Cagney <cagney@redhat.com>
1551
1552 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1553 vector registes.
1554 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1555 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1556
293e9a31
DC
15572003-03-17 David Carlton <carlton@math.stanford.edu>
1558
1559 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1560 test, for PR breakpoints/38.
1561 Call test_watchpoint_and_breakpoint.
1562 * gdb.base/watchpoint.c (func3): New function.
1563 (main): Call func3.
1564
5330f2db
DC
15652003-03-04 David Carlton <carlton@math.stanford.edu>
1566
1567 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1568 Garply<Garply<char> >:: garply".
1569 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1570 with respect to PR c++/1111; note also PR c++/1113.
1571 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1572 respect to PR c++/1062.
1573 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1574
6ece72da
DC
15752003-03-03 David Carlton <carlton@math.stanford.edu>
1576
1577 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1578 with respect to PR c++/57.
1579 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1580 c++/826.
1581 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1582 respect to PR c++/57.
1583
85ca1584
DC
15842003-03-03 David Carlton <carlton@math.stanford.edu>
1585
1586 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1587 respect to PR c++/33 into FAILs.
1588
98e9c5b8
MC
15892003-03-03 Michael Chastain <mec@shout.net>
1590
7bedbf27
MC
1591 * configure.in: Update copyright years.
1592
15932003-03-03 Michael Chastain <mec@shout.net>
1594
1595 * Makefile.in: Update copyright years.
98e9c5b8 1596
f683e100
DC
15972003-02-28 David Carlton <carlton@math.stanford.edu>
1598
1599 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1600 print class instead of struct and/or superfluous protection
1601 specifiers, as long as the resulting output is equivalent to the
1602 source code.
1603 Delete FIXME from end of messages on tests that don't need
1604 fixing.
1605
a9e0cf2c
DC
16062003-02-28 David Carlton <carlton@math.stanford.edu>
1607
1608 * gdb.c++/templates.exp (do_tests): Allow const in the two
1609 Foo<volatile char *>::foo tests.
1610
e8d359df
MS
16112003-02-27 Michael Snyder <msnyder@redhat.com>
1612
1613 * gdb.base/restore.c (main): Return zero, so exit code
1614 will be consistant.
1615
0b71dc91
DC
16162003-02-26 David Carlton <carlton@math.stanford.edu>
1617
1618 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1619 char *>::foo" test with respect to PR c++/33. Create a new test
1620 which is identical to that one except that it doesn't put the
1621 space between the "char" and the "*"; KFAIL it, too.
1622
dd14ab43
DC
16232003-02-26 David Carlton <carlton@math.stanford.edu>
1624
1625 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1626 template types into either PASSes or KFAILs (corresponding to PR
1627 c++/57). Tweak indentation. Update copyright.
1628
1146c7f1
SC
16292003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1630
1631 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1632
74641dfb
MC
16332003-02-13 Michael Chastain <mec@shout.net>
1634
1635 * gdb.base/exprs.exp: Remove i960 remnants.
1636 * gdb.base/funcargs.exp: Likewise.
1637 * gdb.base/list.exp: Likewise.
1638 * gdb.base/ptype.exp: Likewise.
1639
559cd2d0
DC
16402003-02-14 David Carlton <carlton@math.stanford.edu>
1641
1642 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1643 pEe->D::vg()" from XFAIL to KFAIL.
1644
c4f90d87
JM
16452003-02-13 Jason Molenda (jmolenda@apple.com)
1646
1647 * gdb.base/maint.exp: Update maint print statistics regexp to include
1648 new entries.
1649
cbc4d97c
MC
16502003-02-13 Michael Chastain <mec@shout.net>
1651
1652 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1653
40f235b7
MC
16542003-02-12 Michael Chastain <mec@shout.net>
1655
1656 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1657 * gdb.c++/inherit.exp: Likewise.
1658 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1659 * gdb.c++/templates.exp: Likewise.
1660 * gdb.c++/virtfunc.exp: Likewise.
1661
c56716b0
JM
16622003-02-06 Jason Molenda (jason-cl@molenda.com)
1663
1664 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1665 why the code is written that way.
1666
070afcf8
MC
16672003-02-05 Michael Chastain <mec@shout.net>
1668
1669 * gdb.base/dump.exp: Add missing copyright line.
1670
5d0331e5
JM
16712003-02-05 Jason Molenda (jason-cl@molenda.com)
1672
f7ae6d3e 1673 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1674 at the beginning so the breakpoint doesn't get set on the loop.
1675
92851186
MC
16762003-02-05 Michael Chastain <mec@shout.net>
1677
1678 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1679 output for configurations with gcc 2.95.3.
1680
cbf1e085
AC
16812003-02-05 Keith Seitz <keiths@redhat.com>
1682 Andrew Cagney <ac131313@redhat.com>
1683
1684 * gdb.mi/mi-cli.exp: New file.
1685
29518e1e
MC
16862003-02-04 Michael Chastain <mec@shout.net>
1687
1688 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1689 Call perror and then continue.
1690
5af1d5f3
MC
16912003-02-03 Michael Chastain <mec@shout.net>
1692
1693 * gdb.c++/pr-1023.cc: New file.
1694 * gdb.c++/pr-1023.exp: New file.
1695
6b549786
JB
16962003-02-05 Jim Blandy <jimb@redhat.com>
1697
1698 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1699 it's local to foobar. Check for it there, and check that it's not
1700 present in main.
1701 * gdb.c++/local.cc (marker2): New function.
1702 (foobar): Call marker1.
1703 (main): Call marker2 instead of marker1.
1704
67f16606
AC
17052003-02-04 Andrew Cagney <ac131313@redhat.com>
1706
1707 * gdb.disasm/mn10200.exp: Obsolete file.
1708 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1709 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1710 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1711
1c5cb38e
DC
17122003-02-04 David Carlton <carlton@math.stanford.edu>
1713
1714 * gdb.c++/overload.exp: Test intToChar(1).
1715 * gdb.c++/overload.cc (intToChar): New.
1716 (main): Call intToChar.
1717
d1fe6965
DC
17182003-02-03 David Carlton <carlton@math.stanford.edu>
1719
1720 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1721 'might_kfail' arg.
1722 KFAIL some of the continue_to_bp_overloaded calls, according to
1723 PR c++/1025.
1724
9ba61c5d
MC
17252003-02-01 Michael Chastain <mec@shout.net>
1726
1727 * gdb.base/advance.c (marker1): New marker function.
1728 * gdb.base/advance.exp: When the 'advance' command lands on the
1729 return breakpoint, it can legitimately stop on either the
1730 current line or the next line. Accommodate both outcomes.
1731 * gdb.base/until.exp: Likewise.
1732
e7494ffb
AC
17332003-02-02 Andrew Cagney <ac131313@redhat.com>
1734
1735 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1736 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1737 now a list, not a tuple.
1738 * gdb.mi/mi-var-display.exp: Ditto.
1739 * gdb.mi/gdb792.exp: Ditto.
1740
075559bc
AC
17412003-02-01 Andrew Cagney <ac131313@redhat.com>
1742
1743 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1744 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1745 stack backtraces.
1746 * gdb.mi/mi-syn-frame.c: Part of same.
1747
2bd4c7b1
MK
17482003-02-01 Mark Kettenis <kettenis@gnu.org>
1749
1750 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1751 gdb.mi/mi1-pthreads.exp: Return instead of calling
1752 gdb_suppress_entire_file.
1753
eabd8992
MS
17542003-02-01 Mark Salter <msalter@redhat.com>
1755
1756 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1757
71469e2f
MS
17582003-01-31 Mark Salter <msalter@redhat.com>
1759
1760 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1761 Support empty arg.
1762
38a94d44
MC
17632003-01-30 Michael Chastain <mec@shout.net>
1764
1765 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1766 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1767 has been fixed in gdb/readline on 2003-01-09.
1768
19ea9e73
MS
17692003-01-29 Michael Snyder <msnyder@redhat.com>
1770
e8d359df
MS
1771 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1772 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1773 * gdb.base/args.exp: Skip if target does not support args passing.
1774
2307bd6a
DJ
17752003-01-22 Daniel Jacobowitz <drow@mvista.com>
1776
19ea9e73 1777 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1778 gdb_test. Accept a list of expect arguments as the third
1779 parameter.
1780 (gdb_test): Use it.
1781
f2dd3617
EZ
17822003-01-20 Elena Zannoni <ezannoni@redhat.com>
1783
1784 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1785 allow for different test tree configurations. Update some
1786 tescases accordingly.
1787 * gdb.arch/altivec-regs.exp: Ditto.
1788 * gdb.asm/asm-source.exp: Ditto.
1789 * gdb.base/advance.exp: Ditto.
1790 * gdb.base/display.exp: Ditto.
1791 * gdb.base/long_long.exp: Ditto.
1792 * gdb.base/mips_pro.exp: Ditto.
1793 * gdb.base/overlays.exp: Ditto.
1794 * gdb.base/relocate.exp: Ditto.
1795 * gdb.base/setshow.exp: Ditto.
1796 * gdb.base/step-line.exp: Ditto.
1797 * gdb.base/step-test.exp: Ditto.
1798 * gdb.base/until.exp: Ditto.
1799 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1800
c71cdefd
DC
18012003-01-17 David Carlton <carlton@math.stanford.edu>
1802
1803 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1804 corresponding to PR c++/945.
1805 Update copyright.
1806
fdba05d7
DC
18072003-01-17 David Carlton <carlton@math.stanford.edu>
1808
1809 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1810 corresponding to PR c++/68.
1811
18122003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1813
1814 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1815 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1816 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1817
c362c33a
EZ
18182003-01-15 Elena Zannoni <ezannoni@redhat.com>
1819
0fbc361c
EZ
1820 * gdb.base/break.exp: Fix change of default location, because of
1821 removal of until tests.
1822 * gdb.base/help.exp: Update test for new 'until' help message.
1823 Add test for help on 'advance'.
c362c33a
EZ
1824 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1825
dabf8a35
MK
18262003-01-15 Mark Kettenis <kettenis@gnu.org>
1827
1828 * gdb.base/default.exp: Adapt "info float" test for recent changes
1829 to that command. Add test for "info vector".
1830 * gdb.base/float.exp: New file. Add test for "info float" that
1831 resembles the old test in gdb.base/default.exp.
1832
a1769aca
DC
18332003-01-15 David Carlton <carlton@math.stanford.edu>
1834
1835 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1836
82025e13
EZ
18372003-01-15 Elena Zannoni <ezannoni@redhat.com>
1838
1839 * gdb.base/break.exp: Move the tests of until command from here...
1840 * gdb.base/until.exp: ... to here. New file. Add other tests.
1841 * gdb.base/advance.c: New file.
1842 * gdb.base/advance.exp: New file.
1843
8f9ab801
EZ
18442003-01-14 Elena Zannoni <ezannoni@redhat.com>
1845
1846 * gdb.base/args.c: New file.
1847 * gdb.base/args.exp: New file.
1848
9ae66589
DJ
18492003-01-14 Daniel Jacobowitz <drow@mvista.com>
1850
1851 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1852
8d77e5c3
DJ
18532003-01-14 Daniel Jacobowitz <drow@mvista.com>
1854
1855 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1856
12d2f0a1
DJ
18572003-01-14 Daniel Jacobowitz <drow@mvista.com>
1858
1859 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1860 dates.
1861
6ca37014
DJ
18622003-01-13 Daniel Jacobowitz <drow@mvista.com>
1863
1864 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1865
b0023472
DJ
18662003-01-13 Daniel Jacobowitz <drow@mvista.com>
1867
1868 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1869 (ptype &*"foo").
1870 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1871
d6abaea5
DJ
18722002-01-13 Daniel Jacobowitz <drow@mvista.com>
1873
1874 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1875 * gdb.mi/mi1-console.exp: Likewise.
1876
dfd536a7
DJ
18772002-01-13 Daniel Jacobowitz <drow@mvista.com>
1878
1879 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1880 * gdb.mi/mi1-console.exp: Likewise.
1881
a1fb14a2
DJ
18822003-01-13 Daniel Jacobowitz <drow@mvista.com>
1883
1884 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1885
c4cf40b7
DJ
18862003-01-09 Daniel Jacobowitz <drow@mvista.com>
1887
1888 * gdb.base/detach.exp: New test.
1889
696d5a5b
DJ
18902003-01-09 Daniel Jacobowitz <drow@mvista.com>
1891
1892 * Makefile.in (ALL_SUBDIRS): New variable.
1893 (subdirs, clean, distclean): Use it.
1894 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1895 regenerating Makefile, since it is generated from the top level.
1896 * gdb.asm/Makefile.in: Likewise.
1897 * gdb.base/Makefile.in: Likewise.
1898 * gdb.c++/Makefile.in: Likewise.
1899 * gdb.disasm/Makefile.in: Likewise.
1900 * gdb.java/Makefile.in: Likewise.
1901 * gdb.mi/Makefile.in: Likewise.
1902 * gdb.threads/Makefile.in: Likewise.
1903 * gdb.trace/Makefile.in: Likewise.
1904
754533e4
DC
19052003-01-09 David Carlton <carlton@math.stanford.edu>
1906
1907 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1908 Add copyright year 2003.
1909
d8b3e9ee
MC
19102003-01-06 Michael Chastain <mec@shout.net>
1911
1912 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1913 When selecting a thread, 'line' and 'file' are optional.
1914 * gdb.mi/mi1-pthreads.exp: Likewise.
1915
8e9e0fe6
AS
19162003-01-06 Andreas Schwab <schwab@suse.de>
1917
1918 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1919 failures.
1920
b5ab8ff3
DJ
19212003-01-04 Daniel Jacobowitz <drow@mvista.com>
1922
1923 Fix PR gdb/844
1924 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1925 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1926
1927 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1928 instead of calling gdb_suppress_entire_file.
1929 * gdb.threads/print-threads.exp: Likewise.
1930 * gdb.threads/schedlock.exp: Likewise.
1931
1932 * gdb.threads/killed.exp: Return instead of calling
1933 gdb_suppress_entire_file.
1934 * gdb.threads/linux-dp.exp: Likewise.
1935 * gdb.threads/pthreads.exp: Likewise.
1936
1e698235
DJ
19372003-01-04 Daniel Jacobowitz <drow@mvista.com>
1938
1939 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1940 stabs.
1941 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1942 * gdb.base/whatis.exp: Always allow (void) after function names.
1943
147ff08c
DJ
19442003-01-04 Daniel Jacobowitz <drow@mvista.com>
1945
1946 * gdb.c++/casts.exp: Correct regexp.
1947
dc62bfc2
MK
19482003-01-04 Mark Kettenis <kettenis@gnu.org>
1949
1950 * configure.in: Call AC_CONFIG_HEADER. Don't call
1951 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1952 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1953 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1954 aforementioned directories in the AC_OUPUT call.
1955 * config.hin: New file.
1956 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1957 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1958 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1959 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1960 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1961 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1962 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1963 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1964 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1965 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1966 gdb.threads/configure.in, gdb.threads/configure,
1967 gdb.threads/config.in, gdb.trace/configure.in,
1968 gdb.trace/configure: Removed.
1969
77afa639
MC
19702003-01-03 Michael Chastain <mec@shout.net>
1971
1972 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1973 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1974
7634bb6e
DJ
19752003-01-03 Daniel Jacobowitz <drow@mvista.com>
1976
1977 * gdb.base/store.exp: Fix regular expressions.
1978
b39c905e
MK
19792002-12-28 Mark Kettenis <kettenis@gnu.org>
1980
1981 * configure.in: Rewrite.
1982 * configure: Regenerated.
1983
0a8551dd
DC
19842003-01-03 David Carlton <carlton@math.stanford.edu>
1985
1986 * gdb.base/psymtab.exp: New file.
1987 * gdb.base/psymtab1.c: Ditto.
1988 * gdb.base/psymtab2.c: Ditto.
1989
c60b7188
AF
19902002-12-23 Adam Fedor <fedor@gnu.org>
1991
1992 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
1993
ee73db83
DC
19942002-12-23 David Carlton <carlton@math.stanford.edu>
1995
1996 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
1997 and current_directory initialization.
1998
d6c1774e
JB
19992002-12-22 Jim Blandy <jimb@redhat.com>
2000
f0a847b8
JB
2001 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2002 rather than as part of the output file name.
2003
d6c1774e
JB
2004 * gdb.base/attach.exp: There's no need to copy the test program to
2005 /tmp; that was only ever necessary on HP/UX, and this test is
2006 entirely disabled there anyway.
2007
f0708dbb
JB
20082002-12-21 Jim Blandy <jimb@redhat.com>
2009
4c2acfea
JB
2010 * gdb.c++/psmang.exp: Doc fix.
2011
f0708dbb
JB
2012 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2013 test.
2014
9579e000
DC
20152002-12-20 David Carlton <carlton@math.stanford.edu>
2016
2017 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2018
d1810171
MC
20192002-12-18 Michael Chastain <mec@shout.net>
2020
2021 * gdb.c++/annota2.exp: Add copyright year 2002.
2022
76565097
DC
20232002-12-17 David Carlton <carlton@math.stanford.edu>
2024
2025 * gdb.c++/try_catch.cc: Add marker comments.
2026 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2027 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2028 * gdb.c++/m-static.cc: Ditto.
2029 * gdb.c++/m-static1.cc: Ditto.
2030 * gdb.c++/try_catch.cc: Ditto.
2031
da81390b
JJ
20322002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2033
2034 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2035 to see whether we are using the new -environment-directory
2036 command which resets via -r or the old version of the command
2037 which may prompt the user. Part of fix for gdb/741.
2038
b304d130
AC
20392002-12-13 Andrew Cagney <ac131313@redhat.com>
2040
2041 * gdb.fortran/types.exp: Update obsolete comment.
2042 * gdb.fortran/exprs.exp: Ditto.
2043 * lib/gdb.exp: Delete obsolete code.
2044 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2045 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2046 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2047 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2048 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2049 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2050 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2051 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2052 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2053 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2054 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2055 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2056 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2057 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2058 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2059 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2060 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2061 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2062 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2063 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2064 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2065 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2066 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2067 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2068 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2069 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2070 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2071 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2072 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2073 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2074 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2075 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2076 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2077 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2078 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2079 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2080 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2081
a23b6e6a
DC
20822002-12-11 David Carlton <carlton@math.stanford.edu>
2083
2084 * gdb.c++/m-data.exp: Add test for members that shadow global
2085 variables: see PR gdb/804.
2086 * gdb.c++/m-data.cc: Ditto.
2087
6604731b
DJ
20882002-12-10 Daniel Jacobowitz <drow@mvista.com>
2089
2090 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2091
de46ecd7
DC
20922002-12-06 David Carlton <carlton@math.stanford.edu>
2093
2094 * gdb.base/store.c: Don't declare functions static.
2095
27e829d0
AC
20962002-12-04 Andrew Cagney <ac131313@redhat.com>
2097
2098 * gdb.base/store.exp, gdb.base/store.c: New files.
2099
92806416
DJ
21002002-12-03 Daniel Jacobowitz <drow@mvista.com>
2101
2102 * gdb.base/selftest.exp: Update for current gdb.
2103
3bcbaac5
DJ
21042002-12-03 Daniel Jacobowitz <drow@mvista.com>
2105
2106 * gdb.base/maint.exp: Only dump symbols from one source file
2107 or objfile.
2108
f4f00b1f
DJ
21092002-12-03 Daniel Jacobowitz <drow@mvista.com>
2110
2111 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2112 function call.
2113
f1c8a949
JB
21142002-11-25 Jim Blandy <jimb@redhat.com>
2115
2116 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2117 function appearing in error message.
2118
9e297a97
DJ
21192002-11-21 Daniel Jacobowitz <drow@mvista.com>
2120
2121 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2122
1f312e79
JJ
21232002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2124
2125 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2126 for mi1 and current mi is in correct format. New mi startup message
2127 should be in mi console format. This is part of fix for PR gdb/604.
2128
83c31e7d
FN
21292002-09-18 Fernando Nasser <fnasser@redhat.com>
2130
2131 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2132 which explicitly prints the zero offset as "+0".
2133
322b3f65
DJ
21342002-10-22 Daniel Jacobowitz <drow@mvista.com>
2135
2136 * gdb.threads/schedlock.c (args): Make unsigned.
2137
21382002-10-21 Daniel Jacobowitz <drow@mvista.com>
2139
2140 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2141 numbers. Allow "foo2|selected stack frame".
2142 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2143 * gdb.asm/asmsrc2.s: Likewise.
2144 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2145 comments.
2146 * gdb.asm/mips.inc: New file.
2147
5e2fe5b8
AF
21482002-10-18 Adam Fedor <fedor@gnu.org>
2149
2150 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2151 * gdb.base/help.exp: Likewise.
2152
abe1a5d0
KB
21532002-10-17 Kevin Buettner <kevinb@redhat.com>
2154
2155 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2156 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2157
10abb1d4
JB
21582002-10-02 Jim Blandy <jimb@redhat.com>
2159
2160 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2161
1f609b42
AC
21622002-10-01 Andrew Cagney <ac131313@redhat.com>
2163
2164 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2165 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2166 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2167 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2168 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2169 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2170 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2171
0aee02e4
AC
21722002-09-29 Andrew Cagney <ac131313@redhat.com>
2173
2174 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2175 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2176 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2177 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2178 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2179 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2180 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2181
6fde09ad
KB
21822002-09-27 Kevin Buettner <kevinb@redhat.com>
2183
2184 * gdb.base/annota1.exp (info break): Make directory components of
2185 path optional since not all compilers emit this debug information.
2186
2187 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2188 step ends up stepping out of the function instead of stopping on
2189 the epilogue.
2190
9e8aab75
KS
21912002-09-26 Keith Seitz <keiths@redhat.com>
2192
2193 * lib/insight-support.exp (gdbtk_start): Figure out where
2194 the insight executable is based on where gdb is. Use this
2195 executable to start insight instead of gdb.
2196
e36180d7
AC
21972002-09-25 Andrew Cagney <cagney@redhat.com>
2198
2199 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2200
9dd34b2b
AC
22012002-09-24 Andrew Cagney <ac131313@redhat.com>
2202
2203 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2204 test_isolated_complaints.
2205 (test_empty_complaint): New function.
2206 (test_empty_complaints): New function. Check no output when no
2207 complaints.
2208
dea97812
KB
22092002-09-19 Jim Blandy <jimb@redhat.com>
2210
2211 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2212
54951bd7
AC
22132002-09-19 Andrew Cagney <ac131313@redhat.com>
2214
2215 * gdb.gdb/complaints.exp: New file.
2216
dec43320
AC
22172002-09-18 Andrew Cagney <ac131313@redhat.com>
2218
2219 * gdb.base/maint.exp: Check `help maint internal-warning'.
2220
e70d6e3f
DC
22212002-09-18 David Carlton <carlton@math.stanford.edu>
2222
2223 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2224 numbers, and replace them by a single breakpoint after the
2225 constructors are all finished.
2226 Add test 4.
2227 * gdb.c++/m-static.cc: Add test 4.
2228 * gdb.c++/m-static.h: New file.
2229 * gdb.c++/m-static1.cc: New file.
2230
2231 * gdb.c++/printmethod.exp: New file.
2232 * gdb.c++/printmethod.cc: New file.
2233
2234 * gdb.c++/pr-574.exp: New file.
2235 * gdb.c++/pr-574.cc: New file.
2236
afb5c968
CV
22372002-09-18 Corinna Vinschen <vinschen@redhat.com>
2238
2239 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2240 embedded targets which never actually exit.
2241
31e45dee
FN
22422002-09-18 Fernando Nasser <fnasser@redhat.com>
2243
2244 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2245 "don't step after run" as unresolved or unsupported, instead of xfail.
2246
a283c5a1
CV
22472002-09-18 Corinna Vinschen <vinschen@redhat.com>
2248
2249 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2250 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2251 Add newline to expected string in "step out of main (status wrapper)"
2252 case.
2253
11350d2a
CV
22542002-09-18 Corinna Vinschen <vinschen@redhat.com>
2255
2256 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2257 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2258
0deec7d6
TT
22592002-09-17 Tom Tromey <tromey@redhat.com>
2260
2261 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2262 \000, not \0, in double-quoted string.
2263
b2b4a1b5
CV
22642002-09-14 Corinna Vinschen <vinschen@redhat.com>
2265
c9d37158 2266 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2267 string after running the commands execution on breakpoint tests.
2268
1c56143a
CV
22692002-09-13 Corinna Vinschen <vinschen@redhat.com>
2270
2271 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2272
37f8da45
JB
22732002-09-12 Joel Brobecker <brobecker@gnat.com>
2274
2275 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2276
08b468e0
KS
22772002-09-10 Keith Seitz <keiths@redhat.com>
2278
2279 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2280 runto proc.
2281 (mi_run_to_main): Use mi_runto.
2282 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2283
dc360f58
KS
22842002-09-10 Keith Seitz <keiths@redhat.com>
2285
2286 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2287 regexp for stopping at main. Could have multiple event notifications.
2288 Don't assume that main was declared with no parameters.
2289 (mi_next): Use mi_step_to.
2290 (mi_step): Use mi_next_to.
2291
ce3abcfb
CV
22922002-09-09 Corinna Vinschen <vinschen@redhat.com>
2293
2294 * gdb.base/default.exp: Fix expected string in `info float' test.
2295
d1f5b980
BE
22962002-09-09 Ben Elliston <bje@redhat.com>
2297
2298 * config/mips.exp: Update comments.
2299 * config/mips-idt.exp: Likewise.
2300 * config/nind.exp: Likewise.
2301 * config/slite.exp: Likewise.
2302 * config/sparclet.exp: Likewise.
2303 * config/udi.exp: Likewise.
2304 * config/vx.exp: Likewise.
2305 * config/vxworks29k.exp: Likewise.
2306
2f71430b
JB
23072002-09-05 Jim Blandy <jimb@redhat.com>
2308
2309 * gdb.threads/killed.exp: Fix test failure message.
2310
7ddebc7e
KS
23112002-09-04 Keith Seitz <keiths@redhat.com>
2312
2313 * lib/mi-support.exp: Update copyright.
2314 (mi_gdb_test): Increase the priority of the expected pattern
2315 so that it matches gdb_test.
2316
0ae67eb3
KS
23172002-09-03 Keith Seitz <keiths@redhat.com>
2318
2319 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2320 Use integer comparison instead of string comparison for testing
2321 whether binary was built.
2322
38fc42c8
JB
23232002-09-03 Jim Blandy <jimb@redhat.com>
2324
2325 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2326
b6ff0e81
JB
23272002-08-29 Jim Blandy <jimb@redhat.com>
2328
2329 * gdb.threads/pthreads.exp: Move the portable thread compilation
2330 code into a function in lib/gdb.exp, and call that from here.
2331 * lib/gdb.exp (gdb_compile_pthreads): New function.
2332
07c98896
KS
23332002-08-29 Keith Seitz <keiths@redhat.com>
2334
2335 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2336 expect_out so that callers can get at it.
2337
0312286c
DJ
23382002-08-23 Daniel Jacobowitz <drow@mvista.com>
2339
2340 * gdb.threads/print-threads.c: New file.
2341 * gdb.threads/print-threads.exp: New file.
2342 * gdb.threads/schedlock.c: New file.
2343 * gdb.threads/schedlock.exp: New file.
2344
dd039bc4
EZ
23452002-08-22 Elena Zannoni <ezannoni@redhat.com>
2346
2347 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2348 not altivec.c.
2349
1f36144c
MK
23502002-08-17 Mark Kettenis <kettenis@gnu.org>
2351
2352 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2353 targets. The problem should be fixed now.
2354
16057ec7 23552002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2356
2357 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2358 2002-07-24 change that removes final dots from error messages.
2359
3c1499ad
TT
23602002-08-13 Tom Tromey <tromey@redhat.com>
2361
2362 * gdb.base/readline.exp: New file.
2363
a20ce2c3
AC
23642002-08-01 Andrew Cagney <ac131313@redhat.com>
2365
2366 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2367 supress message.
2368
db034ac5
AC
23692002-08-01 Andrew Cagney <cagney@redhat.com>
2370
2371 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2372 CHILL_FOR_TARGET and CHILL_LIB.
2373 * configure.in (configdirs): Remove gdb.chill.
2374 * configure: Regenerate.
2375 * lib/gdb.exp: Obsolete references to chill.
2376 * gdb.fortran/types.exp: Ditto.
2377 * gdb.fortran/exprs.exp: Ditto.
2378
3e000b18
KB
23792002-07-30 Kevin Buettner <kevinb@redhat.com>
2380
2381 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2382 set Irix-specific compile and link flags.
2383
28f4966b
KB
23842002-07-29 Kevin Buettner <kevinb@redhat.com>
2385
2386 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2387 source files. The ``-o'' option doesn't work with the ``-E'' option
2388 when using the Irix compiler.
2389
46c0d5a6
DJ
23902002-07-19 Daniel Jacobowitz <drow@mvista.com>
2391
2392 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2393 Improve support for reusing an exec file. Copy exec file
2394 to target, and run gdbserver on the target instead of on the host.
2395
eecf4bed
JB
23962002-07-18 Jim Blandy <jimb@redhat.com>
2397
0f815cdf
JB
2398 * gdb.base/ending-run.exp: Don't expect to see the program end in
2399 some orderly fashion when we're running on a real stand-alone
2400 board.
2401
eecf4bed
JB
2402 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2403 targets that don't support interrupts.
2404
52d309e4
JB
24052002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2406
2407 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2408 systems.
2409 Move comments in expect statements to inside the actions, so that they
2410 don't get matched against.
2411
ff683d9e
MK
24122002-07-10 Mark Kettenis <kettenis@gnu.org>
2413
2414 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2415 function when asleep" test.
2416
b5356753
AC
24172002-07-10 Andrew Cagney <ac131313@redhat.com>
2418
2419 * gdb.base/page.exp: Rewrite to handle problems with very long
2420 `info set' output. Update copyright.
2421
6aa4d13a
AC
24222002-06-26 Andrew Cagney <ac131313@redhat.com>
2423
2424 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2425 gdb.threads-hp.
2426 * gdb.hp/configure: Regenerate.
2427 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2428 * gdb.hp/gdb.threads-hp/configure: Delete file.
2429 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2430
8cf8c2b8
AC
24312002-06-22 Andrew Cagney <ac131313@redhat.com>
2432
2433 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2434 setlocale, bindtextdomain and textdomain.
2435
6827a8f8
JB
24362002-06-11 Jim Blandy <jimb@redhat.com>
2437
919d772c
JB
2438 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2439 preprocessor macro information is present.
2440
6827a8f8
JB
2441 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2442 tests.
2443
c15b0d21
MS
24442002-06-06 Michael Snyder <msnyder@redhat.com>
2445
c5984d70
MS
2446 * gdb.base/overlays.exp: Record addresses of overlay
2447 functions in TCL variables rather than in GDB variables,
2448 to avoid having GDB convert them to pointers (with loss
2449 of information).
2450
99a8512b
MS
2451 * gdb.base/d10v.ld: Merge in several years worth of
2452 default linker script changes.
c15b0d21
MS
2453 * gdb.base/long_long.exp: Add check for sizeof (long double).
2454
be26fe0d
ML
24552002-06-06 Michal Ludvig <mludvig@suse.cz>
2456
2457 * gdb.asm/asm-source.exp: Add x86-64 target.
2458 * gdb.asm/x86_64.inc: New.
2459
258093ca 24602002-05-30 Michael Chastain <mec@shout.net>
258093ca 2461
4b3153f1 2462 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2463 * gdb.c++/m-static.cc: New file.
2464 * gdb.c++/m-static.exp: New file.
2465
241264c6
MS
24662002-05-28 Michael Snyder <msnyder@redhat.com>
2467
2468 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2469 precision.
2470
9bba8c8f 24712002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2472
4b3153f1 2473 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2474 * gdb.c++/m-data.cc: New file.
2475 * gdb.c++/m-data.exp: New file.
2476
24772002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2478
4b3153f1 2479 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2480 * gdb.c++/try_catch.cc: New file.
2481 * gdb.c++/try_catch.exp: New file.
2482
def1b996
MC
24832002-05-27 Michael Chastain <mec@shout.net>
2484
2485 * gdb.c++/local.exp: Accept more nested types in output.
2486
522ba268
MC
24872002-05-26 Michael Chastain <mec@shout.net>
2488
2489 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2490
277254ba
MS
24912002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2492
2493 * lib/gdb.exp (gdb_wrapper_init): Just because
2494 gdb_wrapper_file exists, this does not mean that the file
2495 should not be rebuilt. That is what gdb_wrapper_initialized
2496 is for.
2497 (default_gdb_init): Reset gdb_wrapper_initialized.
2498
b61a8733
MS
24992002-05-23 Michael Snyder <msnyder@redhat.com>
2500
5bdb6d01
MS
2501 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2502 the precision of the floating point test results.
2503 * gdb.base/call-rt-st.exp: Ditto.
2504
b61a8733
MS
2505 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2506 * gdb.base/call-rt-st.exp: Ditto.
2507
56f6e910
MC
25082002-05-19 Michael Chastain <mec@shout.net>
2509
2510 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2511
ad0b0016
EZ
25122002-05-19 Elena Zannoni <ezannoni@redhat.com>
2513
2514 * configure.in (configdirs): Add gdb.arch.
2515 * configure: Regenerate.
2516
f617d2b6
JB
25172002-05-17 Jim Blandy <jimb@redhat.com>
2518
2519 * gdb.base/completion.exp: Recognize the more detailed error
2520 messages produced by the macro expander's lexical analyzer.
2521
eac2a696
EZ
25222002-05-14 Elena Zannoni <ezannoni@redhat.com>
2523
2524 * gdb.arch/altivec-abi.c: New file.
2525 * gdb.arch/altivec-abi.exp: New file.
2526 * gdb.arch/altivec-regs.c: New file.
2527 * gdb.arch/altivec-regs.exp: New file.
2528
2fdde8f8
DJ
25292002-05-14 Daniel Jacobowitz <drow@mvista.com>
2530
2531 * gdb.base/maint.exp (maint print type): Update for new type
2532 structure.
eac2a696 2533
e31f1a7c
EZ
25342002-05-14 Elena Zannoni <ezannoni@redhat.com>
2535
2536 * gdb.arch: New directory.
2537 * gdb.arch/configure.in: New file.
2538 * gdb.arch/configure: New file.
2539 * gdb.arch/Makefile.in: New file.
2540
db589741
CV
25412002-05-13 Corinna Vinschen <vinschen@redhat.com>
2542
2543 * gdb.asm/asm-source.exp: Add v850 as supported target.
2544 * gdb.asm/v850.inc: New file.
2545
8ce2a7dc
DJ
25462002-05-13 Daniel Jacobowitz <drow@mvista.com>
2547
2548 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2549
df763c7f
DJ
25502002-05-12 Daniel Jacobowitz <drow@mvista.com>
2551
2552 * gdb.base/break.exp: Check 'break "marker2"'.
2553
377daeed
MS
25542002-05-10 Michael Snyder <msnyder@redhat.com>
2555
2556 * gdb.base/long_long.exp: Fix typo.
2557
c4b7bc2b
JB
25582002-05-10 Jim Blandy <jimb@redhat.com>
2559
ecac9a4e
JB
2560 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2561 a bug.
2562
c4b7bc2b
JB
2563 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2564 Recognize more detailed error message produced by the macro
2565 expander's lexical analyzer.
2566 * lib/gdb.exp (test_print_reject): Same.
2567
e71019a1
MK
25682002-05-09 Mark Kettenis <kettenis@gnu.org>
2569
2570 * gdb.c++/method.exp: Fix typo.
2571
fedfc8e6
MS
25722002-05-08 Michael Snyder <msnyder@redhat.com>
2573
166a1957
MS
2574 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2575 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2576 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2577 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2578 Add iftarget clause for strongarm.
2579
f1c47eb2
MS
25802002-05-06 Michael Snyder <msnyder@redhat.com>
2581
cb9a9d3e
MS
2582 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2583 (gdb_continue_to_end): Accept output from status wrapper.
2584 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2585 Clean up fail messages to match pass messages.
2586
f1c47eb2
MS
2587 Enable the "needs_status_wrapper" testsuite feature.
2588 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2589 (gdb_compile): Conditionally call gdb_wrapper_init.
2590 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2591 * gdb.c++/method.exp: Recognize output from status wrapper.
2592
6079c749
BE
25932002-05-06 Ben Elliston <bje@redhat.com>
2594From Graydon Hoare <graydon@redhat.com>
2595
2596 * config/sid.exp: Include support for "rawsid" protocol.
2597
188baff3
JB
25982002-05-03 Jim Blandy <jimb@redhat.com>
2599
2600 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2601 * gdb.c++/hang3.C: New file.
2602
b9c07f0f
AC
26032002-05-04 Andrew Cagney <ac131313@redhat.com>
2604
2605 * gdb.base/default.exp: Remove obsolete code.
2606 * gdb.c++/misc.exp: Ditto. Update copyright.
2607 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2608 * gdb.base/whatis.exp: Ditto. Update copyright.
2609 * gdb.base/scope.exp: Ditto. Update copyright.
2610 * gdb.base/ptype.exp: Ditto. Update copyright.
2611 * gdb.base/printcmds.exp: Ditto. Update copyright.
2612 * gdb.base/opaque.exp: Ditto. Update copyright.
2613 * gdb.base/list.exp: Ditto.
2614 * gdb.base/funcargs.exp: Ditto. Update copyright.
2615 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2616 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2617 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2618 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2619 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2620 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2621
5c7a0397
MS
26222002-05-02 Michael Snyder <msnyder@redhat.com>
2623
d6dcc264 2624 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2625 * gdb.base/long_long.exp: Add xscale target.
2626 * gdb.base/default.exp: Add xscale target.
2627
eb7f1c48
JB
26282002-05-01 Jim Blandy <jimb@redhat.com>
2629
2630 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2631 gdb.c++/hang.exp: New test.
2632
a6befae8
FF
26332002-05-01 Fred Fish <fnf@redhat.com>
2634
2635 * gdb.base/completion.exp: Handle completions of "./Make" for
2636 more than one completion possibility, as is the case when we
2637 build and test in the source tree.
2638
0a310277
AG
26392002-04-29 Anthony Green <green@redhat.com>
2640
2641 * gdb.java/jmisc1.exp: New file.
2642 * gdb.java/jmisc2.exp: New file.
2643
6ff9af88
DJ
26442002-04-24 Daniel Jacobowitz <drow@mvista.com>
2645
2646 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2647
96b3d632
EZ
26482002-04-23 Elena Zannoni <ezannoni@redhat.com>
2649
2650 * gdb.base/help.exp: Change 'help status' to allow for target
2651 dependent output differences.
2652
5019bb54
MC
26532002-04-22 Michael Chastain <mec@shout.net>
2654
2655 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2656
a805a116
MC
26572002-04-22 Michael Chastain <mec@shout.net>
2658
2659 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2660
a1706bfd
DM
26612002-04-17 David S. Miller <davem@redhat.com>
2662
2663 * gdb.asm/sparc64.inc: New file.
2664 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2665
a73a20a2
EZ
26662002-04-19 Elena Zannoni <ezannoni@redhat.com>
2667
2668 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2669 instruction file directly into the build tree. Clean up at end of
2670 test.
2671
ba678339
DM
26722002-04-18 David S. Miller <davem@redhat.com>
2673
2674 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2675 handle 64-bit platforms correctly.
2676 * gdb.base/maint.exp: Likewise.
2677
b03399da
KB
26782002-04-18 Kevin Buettner <kevinb@redhat.com>
2679
2680 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2681 ``-fpic'' when compiling files comprising a shared library, but
2682 it does need additional linker flags in order to find shared
2683 libraries at run time.
2684
e2004992
KB
26852002-04-18 Kevin Buettner <kevinb@redhat.com>
2686
2687 * gdb.base/cvexpr.c (use): New function.
2688 (main): Invoke use() on all global variables to prevent
2689 some linkers from deleting these otherwise unused symbols.
2690
d8937120
MC
26912002-04-17 Michael Chastain <mec@shout.net>
2692From David S. Miller <davem@redhat.com>
2693
2694 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2695 handle 64-bit platforms correctly.
2696
ffd61a58
MS
26972002-04-12 Michael Snyder <msnyder@redhat.com>
2698From Jim Blandy <jimb@redhat.com>
2699 * gdb.base/foo.c (foox): Remove section attribute; the linker
2700 script can handle this instead.
2701 * gdb.base/bar.c (barx): Same.
2702 * gdb.base/baz.c (bazx): Same.
2703 * gdb.base/grbx.c (grbxx): Same.
2704
2705 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2706 manager doesn't automatically unmap overlays unnecessarily.
2707
6b8426a6
MH
27082002-04-10 Martin M. Hunt <hunt@redhat.com>
2709
2710 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2711 stepping out of main.
2712
34af4875
MC
27132002-04-09 Michael Chastain <mec@shout.net>
2714
2715 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2716 scope so that the nested scope tests will make sense.
2717 * gdb.c++/local.exp: Write patterns that actually work with gcc
2718 (the HP patterns "were never known to work with gcc").
2719 Keep the old aCC patterns too.
2720
2d1676a0
DJ
27212002-04-09 Daniel Jacobowitz <drow@mvista.com>
2722
2723 * gdb.base/attach.exp: Correct target board test.
2724
3a63e3f9
MC
27252002-04-08 Michael Chastain <mec@shout.net>
2726
2727 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2728 in a const method. Add some xfail and fail cases for configurations
2729 that do not emit the "const ...".
2730
f18dabd2
MC
27312002-04-07 Michael Chastain <mec@shout.net>
2732
2733 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2734 Accept "A * const" and "const A * const" as type of "this".
2735 Fix spelling of getFunky throughout. Make messages uniform.
2736
0fcddd82
EZ
27372002-04-07 Elena Zannoni <ezannoni@redhat.com>
2738
2739 Work around for PR gdb/285:
2740 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2741
16a8534a
EZ
27422002-04-07 Elena Zannoni <ezannoni@redhat.com>
2743
2744 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2745 instructions file at run time instead of configure time.
2746 Sometimes we run the test in a directory that is not the one we
2747 configured in.
2748 * gdb.asm/configure.in: Delete creation of symlink.
2749 * gdb.asm/configure: Regenerate.
2750
24181d81
JB
27512002-04-05 J. Brobecker <brobecker@gnat.com>
2752
2753 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2754 xfullpath () function.
2755
7cdb7107
DJ
27562002-04-04 Daniel Jacobowitz <drow@mvista.com>
2757
2758 * gdb.asm/Makefile.in: Correct dependencies.
2759
2760 * gdb.asm/powerpc.inc: New file.
2761 * gdb.asm/asm-source.exp: Add PowerPC.
2762 * gdb.asm/configure.in: Likewise.
2763 * gdb.asm/configure: Regenerated.
2764
a7d17088
DJ
27652002-04-04 Daniel Jacobowitz <drow@mvista.com>
2766
2767 * gdb.base/relocate.exp: New file.
2768 * gdb.base/relocate.c: New file.
2769
cd721503
FF
27702002-04-04 Fred Fish <fnf@redhat.com>
2771
2772 * gdb.base/step-test.exp: Update comment regarding stopping in
2773 memcpy/bcopy calls inserted as part of the compiler runtime.
2774
b22ad7a7
MS
27752002-04-04 Michael Snyder <msnyder@redhat.com>
2776
2777 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2778
5f279fa6
DJ
27792002-04-03 Daniel Jacobowitz <drow@mvista.com>
2780
2781 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2782 (gdb_expect): Remove $notransfer hack.
2783
dd0fd3ce
DJ
27842002-04-02 Daniel Jacobowitz <drow@mvista.com>
2785
2786 * gdb.c++/classes.exp ("calling method for small class"): Match
2787 updated register output.
2788
1e50cda1
DJ
27892002-03-30 Daniel Jacobowitz <drow@mvista.com>
2790
2791 Fix PR gdb/452
2792 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2793 when finished. Make gdb_file_cmd send "exec-file" when
2794 appropriate.
2795
24015922
DJ
27962002-03-30 Daniel Jacobowitz <drow@mvista.com>
2797
2798 * gdb.base/attach.exp: Remove extra setup_xfail.
2799
dd7dfd64
MS
28002002-03-26 Michael Snyder <msnyder@redhat.com>
2801
2802 * gdb.base/default.exp: Add tests for dump, append, and restore.
2803 * gdb.base/help.exp: Add tests for dump, append, and restore.
2804 * gdb.base/dump.exp: New file, test dump, append and restore.
2805 * gdb.base/dump.c: New file.
2806
48b2f8d7
MS
28072002-03-27 Michael Snyder <msnyder@redhat.com>
2808
2809 * gdb.base/help.exp: Modify expect strings to reflect
2810 clean-ups in help messages.
2811
05b4d525
FF
28122002-03-26 Fred Fish <fnf@redhat.com>
2813
2814 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2815 have debugging info for those functions and the compiler uses them
2816 internally to copy structs around.
2817
d7679631
FF
28182002-03-26 Fred Fish <fnf@redhat.com>
2819
2820 * gdb.base/list.exp: Revert the change made yesterday and add note
2821 about why we don't list the default lines for remote targets.
2822
523ac3f9
MS
28232002-03-25 Michael Snyder <msnyder@redhat.com>
2824
2825 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2826
754b2b8d
FF
28272002-03-25 Fred Fish <fnf@redhat.com>
2828
2829 * gdb.base/list.exp: This test works on remote targets so remove
2830 the short circuit for remote targets. Update copyright.
2831
33c3e192
FF
28322002-03-25 Fred Fish <fnf@redhat.com>
2833
2834 * gdb.base/attach.exp: Fix logic error that was suppressing this
2835 test for all non hppa*-*-hpux* targets, instead of the hp target.
2836 Move comments closer to the suppression point. Also now need to
2837 check that we are running natively.
2838
d43e73ee
MS
28392002-03-22 Michael Snyder <msnyder@redhat.com>
2840
882c8f02
MS
2841 * gdb.base/default.exp: Add test for gcore. Update copyright.
2842 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2843
04c12f60
FF
28442002-03-06 Fred Fish <fnf@redhat.com>
2845
2846 * gdb.base/funcargs.c: Remove extraneous ';' character.
2847 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2848
b43df995
MC
28492002-03-04 Michael Chastain <mec@shout.net>
2850
2851 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2852 accommodate gcc v3 function signature.
2853 * gdb.mi/mi0-var-cmd-exp: Ditto.
2854
92362027
AC
28552002-02-24 Andrew Cagney <ac131313@redhat.com>
2856
2857 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2858 ``GNU/Linux'' or ``Linux kernel''
2859 * testsuite/gdb.threads/pthreads.c: Ditto.
2860
258ad32d
MC
28612002-02-24 Michael Chastain <mec@shout.net>
2862
2863 * gdb.threads/pthreads.c (thread1): Add a return statement.
2864 (thread2): Likewise.
2865 (foo): Likewise.
2866
04c3b3d4
MC
28672002-02-23 Michael Chastain <mec@shout.net>
2868
2869 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2870 to placate gcc.
2871
5a2a0a20
MC
28722002-02-23 Michael Chastain <mec@shout.net>
2873
2874 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2875 test "ptype bint". The test passes on all my stabs configurations.
2876
a640f7fc
JB
28772002-02-21 Jim Blandy <jimb@redhat.com>
2878
27924826
JB
2879 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2880 filename at a time, and watch for the ones we want to see.
2881
a640f7fc
JB
2882 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2883 types of pointers to prototyped functions.
2884
edcc8c75
AC
28852002-02-20 Andrew Cagney <ac131313@redhat.com>
2886
2887 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2888 signed, unsigned and straight char.
2889 (padding_char, padding_short, padding_int, padding_long,
2890 padding_long_long, padding_float, padding_double,
2891 padding_long_double): New global variables.
2892 (fill, fill_structs): New functions.
2893
2894 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2895 for correctly sized writes. Update copyright.
2896 (get_valueof): New procedure.
2897 (get_sizeof): Call get_valueof.
2898 (check_valueof): New procedure.
2899 (check_padding): New procedure.
2900
ac57ea44
MC
29012002-02-20 Michael Chastain <mec@shout.net>
2902
2903 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2904 to setup_xfail. Document some of the remaining calls.
2905
7a10c941
MC
29062002-02-18 Michael Chastain <mec@shout.net>
2907
2908 * gdb.c++/userdef.exp: Update copyright year.
2909
fb8acdcc
DJ
29102002-02-18 Daniel Jacobowitz <drow@mvista.com>
2911
2912 * gdb.c++/userdef.exp: Test overloaded operators properly.
2913 Remove xfails.
2914
fda6ae12
MS
29152002-02-14 Michael Snyder <msnyder@redhat.com>
2916
2917 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2918
676a0442
DJ
29192002-02-14 Daniel Jacobowitz <drow@mvista.com>
2920
2921 * gdb.base/a2-run.exp: Check for a remote target properly.
2922 * gdb.base/annota1.exp: Likewise.
2923 * gdb.base/list.exp: Likewise.
2924 * gdb.base/reread.exp: Likewise.
2925 * gdb.base/scope.exp: Likewise.
2926 * gdb.base/shlib-call.exp: Likewise.
2927 * gdb.base/term.exp: Likewise.
2928 * gdb.c++/annota2.exp: Likewise.
2929
78b4f468
RE
29302002-02-13 Richard Earnshaw <rearnsha@arm.com>
2931
2932 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2933
9a81ba51
MC
29342002-02-10 Michael Chastain <mec@shout.net>
2935
2936 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2937 (call_after_alloca): Ditto.
2938
004af6c7
DJ
29392002-02-10 Daniel Jacobowitz <drow@mvista.com>
2940
2941 * gdb.base/ending-run.exp: Guard "cont" test with
2942 gdb_skip_stdio_test.
2943
37225f62
JB
29442002-02-06 Jim Blandy <jimb@redhat.com>
2945
2946 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2947 from here...
2948 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2949 To here. Disable this test on non-HP platforms. Add big comment.
2950
fe6fdd96
MS
29512002-02-04 Michael Snyder <msnyder@redhat.com>
2952
2953 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2954 other than d10v and m32r.
2955
036fad3f
RE
29562002-02-02 Richard Earnshaw <rearnsha@arm.com>
2957
2958 * gdb.base/default.exp: Rewrite test patterns to reduce time
2959 taken to match them.
2960
7148ab62
DJ
29612002-01-30 Daniel Jacobowitz <drow@mvista.com>
2962
2963 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2964 Allow a start function above main.
2965 * gdb.threads/linux-dp.exp: Fix copyright date.
2966
396cc255
DJ
29672002-01-30 Daniel Jacobowitz <drow@mvista.com>
2968
2969 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2970 (check_philosopher_stack): Check for manager thread before checking
2971 for a just-starting thread.
2972
f038d31b
DJ
29732002-01-30 Daniel Jacobowitz <drow@mvista.com>
2974
2975 From Neil Booth <neil@daikokuya.demon.co.uk>:
2976 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2977 warnings.
2978
b3ff9d9a
FF
29792002-01-21 Fred Fish <fnf@redhat.com>
2980
2981 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2982 not caller.
2983
39ad761d
JB
29842002-01-21 Jim Blandy <jimb@redhat.com>
2985
2986 * gdb.base/reread.exp: Check that GDB properly re-reads the
2987 executable file when it changes while no inferior is running.
2988
aaf320fa
FF
29892002-01-21 Fred Fish <fnf@redhat.com>
2990
2991 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
2992 optionally accept the "shlib events" variation.
2993
808a31f5
JB
29942002-01-21 Jim Blandy <jimb@redhat.com>
2995
2996 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
2997 call `fflush' after every `printf', so that the output is produced
2998 at predictable points, regardless of whatever buffering does (or
2999 doesn't) take place.
3000 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3001 at different points.
3002
4420d5e2
DJ
30032002-01-20 Daniel Jacobowitz <drow@mvista.com>
3004
3005 * gdb.c++/inherit.exp: Update copyright years.
3006 * gdb.c++/method.exp: Likewise.
3007
3e36a0f4
DJ
30082002-01-20 Daniel Jacobowitz <drow@mvista.com>
3009
3010 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3011 artificial methods/arguments.
3012 * gdb.c++/derivation.exp: Likewise.
3013 * gdb.c++/inherit.exp: Likewise.
3014 * gdb.c++/method.exp: Likewise.
3015 * gdb.c++/virtfunc.exp: Likewise.
3016
b4ceaee6
AC
30172002-01-18 Andrew Cagney <ac131313@redhat.com>
3018
3019 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3020 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3021 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3022 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3023 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3024 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3025
ecace851
JB
30262002-01-17 Jim Blandy <jimb@redhat.com>
3027
3028 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3029 anchoring the pattern matching the entry point symbol's name.
3030
375fc983
AC
30312002-01-17 Andrew Cagney <ac131313@redhat.com>
3032
3033 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3034 continue/quit query. Update copyright.
3035
fe6fdd96
MS
30362002-01-14 Michael Snyder <msnyder@redhat.com>
3037
3038 * gdb.base/gcore.exp: Remove extra debugging output.
3039
e017c81f
DJ
30402002-01-13 Daniel Jacobowitz <drow@mvista.com>
3041
3042 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3043 for slightly dubious v2 mangled string.
3044
37ab3bf8
DJ
30452002-01-13 Daniel Jacobowitz <drow@mvista.com>
3046
3047 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3048
1bc05c3a 30492002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3050
1bc05c3a 3051 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3052
1bc05c3a
JM
3053 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3054 constructors.
3055 * gdb.c++/derivation.exp: Likewise.
3056 * gdb.c++/templates.exp: Likewise.
3057 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3058
1bc05c3a
JM
30592002-01-10 Michael Snyder <msnyder@redhat.com>
3060
3061 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3062
a911c360
MS
30632002-01-08 Michael Snyder <msnyder@redhat.com>
3064
3065 * gdb.base/gcore.exp: New test for generate-core-file command.
3066 * gdb.base/gcore.c: Testcase for above.
3067 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3068
ea2119ec
JM
30692002-01-08 Jason Merrill <jason@redhat.com>
3070
3071 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3072
68203136
FF
30732002-01-07 Fred Fish <fnf@redhat.com>
3074
3075 * gdb.c++/overload.exp: Remove unconditional xfails for:
3076 print foo_instance1.overloadargs(1)
3077 print foo_instance1.overloadargs(1, 2)
3078 print foo_instance1.overloadargs(1, 2, 3)
3079 print foo_instance1.overloadargs(1, 2, 3, 4)
3080 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3081 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3082 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3083 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3084 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3085 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3086 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3087 print foo_instance1.overload1arg()
3088 print foo_instance1.overload1arg((char)arg2)
3089 print foo_instance1.overload1arg((signed char)arg3)
3090 print foo_instance1.overload1arg((unsigned char)arg4)
3091 print foo_instance1.overload1arg((int)arg7)
3092 print foo_instance1.overload1arg((unsigned int)arg8)
3093 print foo_instance1.overload1arg((float)arg11)
3094 print foo_instance1.overload1arg((double)arg12)
3095
21b9b5b1
MS
30962002-01-07 Michael Snyder <msnyder@redhat.com>
3097
3098 * gdb.base/huge.exp: New test. Print a very large target data object.
3099 (skip_huge_test): New test variable. Define if you want to skip this
3100 test. The test reads an 8 megabyte data object from the target, so it
3101 might be very time consuming on remote targets with a slow connection.
3102 * gdb.base/huge.c: New file. Test case for above.
3103
725f922e
FF
31042002-01-07 Fred Fish <fnf@redhat.com>
3105
3106 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3107 g_instance.bfoo, and g_instance.cfoo.
3108
634d57ec
JL
3109Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3110
f286b2c3
JL
3111 * gdb.base/break.c (multi_line_if_conditional): New function.
3112 (multi_ilne_while_conditional): Likewise.
3113 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3114 IF or WHILE condition puts the breakpoint at the start of
3115 the condition.
3116
634d57ec
JL
3117 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3118 hppa*-*-hpux* expected failure.
3119 * gdb.base/structs.exp (do_function_calls): Similarly.
3120
3121 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3122 watchpoints.
3123
9fbfe2dc
AC
31242002-01-06 Andrew Cagney <ac131313@redhat.com>
3125
3126 Fix PR gdb/66.
3127 * gdb.base/structs.exp: Replace skip for a29k with skip for
3128 gdb,cannot_call_functions.
3129 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3130 * gdb.base/callfuncs.exp: Ditto.
3131 * gdb.base/call-rt-st.exp: Ditto.
3132 * gdb.base/call-strs.exp: Ditto.
3133 * gdb.base/callfwmall.exp: Ditto.
3134 * gdb.base/scope.exp: Obsolete xfail a29k.
3135 * gdb.c++/misc.exp: Ditto.
3136 * gdb.c++/cplusfuncs.exp: Ditto.
3137 * gdb.base/ptype.exp: Ditto.
3138 * gdb.base/printcmds.exp: Ditto.
3139 * gdb.base/opaque.exp: Ditto.
3140 * gdb.base/list.exp: Ditto.
3141 * gdb.base/funcargs.exp: Ditto.
3142 * gdb.base/default.exp: Ditto.
3143
8ddad156
MS
31442002-01-04 Michael Snyder <msnyder@redhat.com>
3145
ca4976a6 3146 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3147 * gdb.base/maint.exp: Add tests for maint info sections options.
3148
1b074332
JL
3149Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3150
3151 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3152
7d159115
CV
31532001-12-20 Corinna Vinschen <vinschen@redhat.com>
3154
3155 * gdb.asm/arm.inc: New file.
3156 * gdb.asm/asm-source.exp: Add arm targets.
3157 * gdb.asm/configure.in: Ditto.
3158 * gdb.asm/configure: Recreated from configure.in.
3159
8fb87725
JL
3160Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3161
afabe08c
JL
3162 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3163 with HP's compiler.
3164 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3165 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3166 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3167 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3168
3169 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3170 either HP's compilers or GCC.
3171
db521deb
JL
3172 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3173 a SIGBUS or SIGSEGV.
3174
3175 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3176
3177 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3178 can be compiled with either HP's compiler or GCC.
3179
cfa88ab7
JL
3180 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3181 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3182 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3183
ca344dff
JL
3184 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3185 to match current gdb output. Update due to using auto-solib-limit
3186 for limiting instead of overloading auto-solib-add.
3187 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3188 test program.
3189
3f3c6e55 3190 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3191 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3192 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3193 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3194 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3195 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3196 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3197 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3198 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3199 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3200 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3201 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3202 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3203
8fb87725
JL
3204 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3205 a SIGTRAP to the inferior.
3206
cf599fa7
CV
32072001-12-19 Corinna Vinschen <vinschen@redhat.com>
3208
3209 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3210 Substitute call to target_link by call to gdb_compile.
3211
2cd045cd
JL
3212Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3213
3214 * gdb.base/break.exp: Fix HP specific search string when testing
3215 backtracing in a called function.
3216
3217 * gdb.base/constvars.exp: Only set lang to C++ if we're
3218 compiling the test with HP's compilers.
3219 * gdb.base/volatile.exp: Similarly.
3220
99ebe9ac
JB
32212001-12-19 Jim Blandy <jimb@redhat.com>
3222
3223 * gdb.base/printcmds.exp: Expect the null character to be printed
3224 as '\0', and the '\013' to be printed as '\v'.
3225 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3226 * gdb.base/setvar.exp: Same.
3227
b9891b29
JB
32282001-12-17 Jim Blandy <jimb@redhat.com>
3229
0eba65ab
JB
3230 * gdb.base/completion.exp: Rather than completing very long
3231 filenames, which can make the readline library produce output we
3232 don't recognize, cd to the directory first, and then complete
3233 using nice, short relative paths.
3234
6970b5b1
JB
3235 * gdb.base/completion.exp: On some systems, there is, in fact, a
3236 variable named `b' in scope, since GDB treats all static
3237 variables as being in scope. So use `no_var_named_this'
3238 instead of `b'.
3239
b9891b29
JB
3240 * gdb.base/corefile.exp: Recognize the message saying that GDB
3241 can't find the core file's registers as a failure.
3242
e6ccd35f
JSC
32432001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3244
3245 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3246 test expect string more specific.
3247
105ba819
CV
32482001-12-13 Corinna Vinschen <vinschen@redhat.com>
3249
3250 * gdb.asm/asm-source.exp: Add support for xstormy16.
3251 * gdb.asm/configure.in: Ditto.
3252 * gdb.asm/configure: Rebuild.
3253 * gdb.asm/xstormy16.inc: New file.
3254
e9e79dd9
FF
32552001-12-10 Fred Fish <fnf@redhat.com>
3256
3257 * gdb.base/maint.exp: Update to match changes in type dumping code.
3258
347dc97d
JB
32592001-12-10 Jim Blandy <jimb@redhat.com>
3260
3261 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3262 matching the entry point symbol's name at the beginning of the
3263 line.
3264
5178b9d6
DJ
32652001-12-07 Daniel Jacobowitz <drow@mvista.com>
3266
3267 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3268 gdb.c++/inherit.exp, gdb.c++/method.exp,
3269 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3270 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3271 and class layout support.
3272
af890c52
DJ
32732001-12-07 Daniel Jacobowitz <drow@mvista.com>
3274
3275 * gdb.c++/classes.exp: Add test for static member function.
3276 * gdb.c++/misc.cc: Add class with static member function.
3277
7a345fb3
JB
32782001-12-07 Jim Blandy <jimb@redhat.com>
3279
f2e54a80 3280 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3281 those tests as `unsupported'.
3282 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3283 Rewrite subsequent tests to use it.
3284
3285 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3286 those tests as `unsupported'.
3287 * gdb.base/structs.exp (call_struct_func): New function.
3288 (do_function_calls): Use call_struct_func to call the functions
3289 returning structs.
3290
0bc69509
JB
3291 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3292 whether functions are prototyped or not, so we can't possibly pass
3293 arguments to t_float_values2 properly.
3294
7a345fb3
JB
3295 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3296 value of `timeout' for targets other than the mips*tx39-*.
3297
edb6ede1
MS
32982001-12-06 Michael Snyder <msnyder@redhat.com>
3299
3300 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3301 and detect whether the start symbol has a leading underscore.
3302
2d842f13
JB
33032001-12-04 Jim Blandy <jimb@redhat.com>
3304
3305 * gdb.base/completion.exp: Clarify indentation.
3306
68550daf
JB
33072001-12-03 Jim Blandy <jimb@redhat.com>
3308
3309 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3310 variables on the S/390, not `.word'.
3311
cd5195a8
JB
33122001-11-30 Jim Blandy <jimb@redhat.com>
3313
3314 Add assembly-source tests for s390-ibm-linux.
3315 * gdb.asm/s390.inc: New file.
3316 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3317 the S/390 architecture.
3318 * gdb.asm/configure: Regenerated.
3319
ca9efc90
MS
33202001-11-30 Michael Snyder <msnyder@redhat.com>
3321
3322 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3323 next, info source, info sources, info line, global and static
3324 variables, and static functions.
3325 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3326 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3327 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3328 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3329 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3330 (gdbasm_leave): Restore frame pointer.
3331 (gdbasm_startup): Copy stack set-up from crt0.S.
3332
d0e66976
FN
33332001-11-26 Fernando Nasser <fnasser@redhat.com>
3334
3335 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3336 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3337 to a local (non-static) variable. Copy tstruct.a to a static buffer
3338 and return a pointer to that buffer.
3339 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3340
e2334072
MK
33412001-11-24 Mark Kettenis <kettenis@gnu.org>
3342
3343 * gdb.asm/configure.in: Fix recognition of ix86 target.
3344 * gdb.asm/configure: Regenerate.
3345
756caa3d
MS
33462001-11-21 Michael Snyder <msnyder@redhat.com>
3347
3348 * gdb.asm/sparc.inc: New file.
3349 * gdb.asm/asm-source.exp: Recognize sparc target.
3350 * gdb.asm/configure.in: Recognize sparc target.
3351 * gdb.asm/configure: Regenerate.
3352
9a4d72d5
MS
33532001-11-21 Michael Snyder <msnyder@redhat.com>
3354
3355 * gdb.asm/m32r.inc: New file.
3356 * gdb.asm/asm-source.exp: Recognize m32r target.
3357 * gdb.asm/configure.in: Recognize m32r target.
3358 * gdb.asm/configure: Regenerate.
3359
a773d1cd
MS
33602001-11-20 Michael Snyder <msnyder@redhat.com>
3361
017ac23d
MS
3362 * gdb.asm/i386.inc: New file.
3363 * gdb.asm/asm-source.exp: Recognize ix86 target.
3364 * gdb.asm/configure.in: Recognize ix86 target.
3365 * gdb.asm/configure: Regenerate.
3366
a773d1cd
MS
3367 * gdb.c++/namespace.exp: Fix quotes in output messages.
3368
bb632afb
MS
33692001-11-14 Michael Snyder <msnyder@redhat.com>
3370
25d559ca 3371 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3372 qualifier in a type cast expression, to designate an address
3373 in the instruction space (Harvard architecture).
3374
4749e309
MS
33752001-11-13 Michael Snyder <msnyder@redhat.com>
3376
3377 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3378 Tests for expressions using 'const' and 'volatile'.
3379
25050984
CV
33802001-11-13 Corinna Vinschen <vinschen@redhat.com>
3381
3382 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3383
1902c51f
DJ
33842001-11-12 Daniel Jacobowitz <drow@mvista.com>
3385
3386 * lib/mi-support.exp (mi_run_to_helper): Move comments
3387 outside of gdb_expect.
3388
dcf95b47
DJ
33892001-11-11 Daniel Jacobowitz <drow@mvista.com>
3390
3391 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3392 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3393 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3394 mi0_run_to): New functions.
3395 * gdb.mi/mi-simplerun.exp: Use them.
3396 * gdb.mi/mi0-simplerun.exp: Likewise.
3397 * gdb.mi/mi-var-cmd.exp: Likewise.
3398 * gdb.mi/mi0-var-cmd.exp: Likewise.
3399
45b074e1
AC
34002001-11-10 Andrew Cagney <ac131313@redhat.com>
3401
3402 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3403 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3404
bf50d346
AC
34052001-11-09 Andrew Cagney <ac131313@redhat.com>
3406
3407 * gdb.base/restore.exp: Include $expected value in restored test
3408 message.
3409
9383332c
AC
34102001-11-09 Andrew Cagney <ac131313@redhat.com>
3411
3412 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3413 implemented.
3414
db62520a
MS
34152001-11-08 Michael Snyder <msnyder@redhat.com>
3416
3417 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3418 Add pass/fail message for stop at breakpoint in call dummy function.
3419
b5703437
MS
34202001-11-07 Michael Snyder <msnyder@redhat.com>
3421
760f6330
MS
3422 * gdb.c++/templates.exp (test_template_breakpoints):
3423 If we get an overload menu, but it does not match what
3424 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3425 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3426 making the whitespace optional. Argument for "new" may be
3427 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3428 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3429 making the whitespace optional. Also replace "(void) with
3430 "((void|)), making the keyword "void" optional.
63f50499
MS
3431 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3432 making the whitespace optional. Also replace "(void) with
3433 "((void|)), making the keyword "void" optional.
3bf40917
MS
3434 * gdb.base/callfuncs.c (t_float_values): This function must
3435 _not_ be prototyped, and the following function (t_float_values2)
3436 must be prototyped (if the compiler supports it), so that GDB
3437 can be tested against both cases. Usually one case involves
3438 promotion of float to double, while the other does not.
3439 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3440 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3441 includes a stack frame for "start".
3442
c8ab4e6d
JB
34432001-11-05 Jim Blandy <jimb@redhat.com>
3444
3445 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3446 pointers are 32 bits long, and that offsets of relocs are always
3447 stored in the data (REL-style), and not in the reloc entry itself
3448 (RELA-style).
3449 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3450 stabs.
3451
3f08ced9
MS
34522001-11-01 Michael Snyder <msnyder@redhat.com>
3453
3454 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3455 and regular expression operators by using quoting.
3456
cbfa24cd
MS
34572001-10-31 Michael Snyder <msnyder@redhat.com>
3458
3459 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3460 depending on what the symbol table contains.
3461 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3462 the output of the ptype command. Similarly, accept both "const &"
3463 and "const&".
3464
aaa68313
CV
34652001-10-31 Corinna Vinschen <vinschen@redhat.com>
3466
3467 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3468 symbol `STORAGE' to allow to choose the storage class of
3469 the local datastructures.
3470 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3471 compiler directive.
3472
91740388
MS
34732001-10-30 Michael Snyder <msnyder@redhat.com>
3474
3475 * gdb.base/jump.exp: Allow it to run for all targets.
3476
1b7c05e7
CV
34772001-10-29 Corinna Vinschen <vinschen@redhat.com>
3478
3479 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3480 with new double_array size.
3481 (main): Change storage class of all local variables to static.
3482 Reduce size of double_array to 9.
3483 * gdb.base/call-ar-st.exp: Increase timeout value.
3484 Change expected output for double array to match new size in
3485 call-ar-st.c.
3486
36a22261
CV
34872001-10-29 Corinna Vinschen <vinschen@redhat.com>
3488
3489 * gdb.base/ending-run.exp: Create identical output when passing
3490 `step to end of run' case. Add regular expression branch satisfying
3491 Stormy16 target.
3492
92b8ae91
MK
34932001-10-28 Mark Kettenis <kettenis@gnu.org>
3494
3495 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3496 that we catch the expected failure under Linux/x86.
3497
cb135b83
OF
34982001-10-29 Orjan Friberg <orjanf@axis.com>
3499
3500 * gdb.base/setvar.exp: Escape curly braces.
3501 * gdb.stabs/weird.exp: Ditto.
3502
6884aa54
DJ
35032001-10-27 Daniel Jacobowitz <drow@mvista.com>
3504
3505 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3506 * gdm.mi/mi0-hack-cli.exp: Likewise.
3507
0398c9aa
AC
35082001-10-25 Andrew Cagney <ac131313@redhat.com>
3509
3510 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3511 messages.
3512
d20bf2e8
AC
35132001-10-21 Andrew Cagney <ac131313@redhat.com>
3514
3515 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3516 checking MI enabled.
3517
03dd63aa
CV
35182001-10-09 Corinna Vinschen <vinschen@redhat.com>
3519
3520 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3521
1d9d99f3
FCE
35222001-10-04 Frank Ch. Eigler <fche@redhat.com>
3523
3524 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3525 if gdb child process crashes, just signal an error.
3526
838ae6c4
JB
35272001-10-02 Jim Blandy <jimb@redhat.com>
3528
3529 * lib/gdb.exp (test_xfail_format): Simplify.
3530
3531 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3532 front of the variable name `format'. Simplify `if'.
3533
8f0cbc1c
DJ
35342001-10-01 Daniel Jacobowitz <drow@mvista.com>
3535
3536 * gdb.threads/pthreads.exp: Wait for output and delay
3537 before sending ^C.
3538
1f08dafd
DJ
35392001-10-01 Daniel Jacobowitz <drow@mvista.com>
3540
3541 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3542 some incorrect output instead of timing out.
3543 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3544
674f90ff
CV
35452001-09-28 Corinna Vinschen <vinschen@redhat.com>
3546
3547 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3548 check to allow additional `int'.
3549
9b284272
DJ
35502001-09-27 Daniel Jacobowitz <drow@mvista.com>
3551
3552 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3553 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3554
b55a4771
MS
35552001-09-27 Michael Snyder <msnyder@redhat.com>
3556
3557 * lib/gdb.exp (test_debug_format): New proc.
3558 (setup_xfail_format): Use new proc test_debug_format.
3559 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3560 proc; use new service proc test_debug_format.
3561 Replace all other "gcc_compiled" tests with this test.
3562 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3563 proc; use new service proc test_debug_format.
3564 Replace all other "gcc_compiled" tests with this test.
3565
35662001-09-27 Michael Snyder <msnyder@redhat.com>
3567
3568 * gdb.base/cvexpr.exp: New file.
3569 * gdb.base/cvexpr.c: New file
3570 Test for expressions using const and volatile keywords.
3571
4e6667ac
CV
35722001-09-26 Corinna Vinschen <vinschen@redhat.com>
3573
3574 * gdb.base/constvars.exp: Check for different orders of keywords
3575 and additional "int" strings in output.
3576
4f337972
AC
35772001-09-22 Andrew Cagney <ac131313@redhat.com>
3578
3579 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3580 responses from "help maint".
3581
2015650d
FCE
35822001-09-19 Frank Ch. Eigler <fche@redhat.com>
3583
3584 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3585 to localhost:NNN instead of :NNN, in case Xvfb is listening
3586 only on TCP.
3587
f3bcedc1
CV
35882001-09-19 Corinna Vinschen <vinschen@redhat.com>
3589
3590 * gdb.base/recurse.exp: When checking leaving the watchpoint
3591 scope, recognize when gdb is in function's epilogue and pass.
3592
6b819c92
KS
35932001-09-18 Keith Seitz <keiths@redhat.com>
3594
3595 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3596 support for running tests against sid targets.
3597 (gdbtk_done): Ditto.
3598
a10c9419
CV
35992001-09-18 Corinna Vinschen <vinschen@redhat.com>
3600
3601 * gdb.base/ending-run.c (main): Set stdout buffersize
3602 to the same reasonable value for any target.
3603 * gdb.base/ending-run.exp: Add a regular expression
3604 to make testsuite happy on Sanyo Stormy16 target.
3605
739d0d99
CV
36062001-09-17 Corinna Vinschen <vinschen@redhat.com>
3607
3608 * gdb.base/display.c (do_loops): Add float variable `f'.
3609 Increment f in loop.
3610 * gdb.base/display.exp: Increment timeout by 60 seconds.
3611 Change float display test to use variable `f'.
3612
1b8947f0
JB
36132001-09-17 Jim Blandy <jimb@redhat.com>
3614
3615 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3616 overflowing the limited breakpoint tables on some ROM monitors
3617 (like the ROM68K).
3618
9890ac81
FCE
36192001-09-15 Frank Ch. Eigler <fche@redhat.com>
3620
3621 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3622 the "-ac" (disable access control) flag.
3623
6db765ea
JH
36242001-08-30 Jeff Holcomb <jeffh@redhat.com>
3625
3626 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3627 ints.
3628
4c32cc04
KS
36292001-08-30 Keith Seitz <keiths@redhat.com>
3630
3631 * lib/gdb.exp: Move all insight-related functionality into
3632 separate file.
3633 * lib/insight-support.exp: New file.
3634
8d6e6f81
FCE
36352001-08-29 Frank Ch. Eigler <fche@redhat.com>
3636
3637 * config/sid.exp (sid_start): Never set sid verbosity; disable
3638 expect_background {} that consumed its stdout; tolerate </dev/null.
3639 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3640
6a90e1d0
AC
36412001-08-18 Andrew Cagney <ac131313@redhat.com>
3642
3643 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3644 CLI jump command to start it.
3645 (mi_run_to_main): Fail immediatly when unexpected output.
3646
1759b3c3
AC
36472001-08-18 Andrew Cagney <ac131313@redhat.com>
3648
3649 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3650 beginning of function. Fix PR gdb/191.
3651
61d11d80
FCE
36522001-08-16 Frank Ch. Eigler <fche@redhat.com>
3653
3654 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3655 what to force sid endianness to.
3656
942a4df2
KS
36572001-08-15 Keith Seitz <keiths@redhat.com>
3658
3659 * lib/gdb.exp (gdbtk_start): Don't set environment
3660 variables for TCL_LIBRARY and friends. Insight will
3661 now figure these out for itself.
3662
0521c418
MS
36632001-08-02 Michael Snyder <msnyder@redhat.com>
3664
3665 * gdb.base/completion.exp: Remove the symbol "a64l" from
3666 the expect string; this is target-specific, and not related
3667 to what is being tested.
3668
74a9a58a
DB
36692001-08-02 Dave Brolley <brolley@redhat.com>
3670
3671 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3672
c70819fa
MS
36732001-07-25 Michael Snyder <msnyder@redhat.com>
3674
c2b8fa57
MS
3675 * gdb.base/consecutive.exp: New file. Test stepping over
3676 breakpoints on consecutive instructions.
3677 * gdb.base/consecutive.c: New file.
3678
c70819fa
MS
3679 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3680 curly braces in regular expressions.
3681
2b1a1355
MS
36822001-07-25 Michael Snyder <msnyder@redhat.com>
3683
3684 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3685 legitimate output from stepping out of main.
3686
413eca6f
KS
36872001-07-22 Keith Seitz <keiths@redhat.com>
3688
3689 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3690 the empty string, do not run the tests.
3691
7e5a9322
SC
36922001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3693
3694 * gdb.base/long_long.exp: Detect size of pointer. Take into
3695 account 2-byte pointers when testing for p/a results.
3696
de58f10f
SC
36972001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3698
3699 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3700 and defined to 1K for m68hc11.
3701 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3702 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3703 (sizeof_random_data): New variable to tell the size of the data table;
3704 don't test past this size; always run to main.
3705
d6f5fea1
SC
37062001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3707
3708 * gdb.base/return2.exp: return of long long and double fails for
3709 68HC11; don't execute these tests on that platform.
3710 * gdb.base/return.exp: Return of a double fails for 68hc11.
3711
c477543d
SC
37122001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3713
3714 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3715 tests that print a float.
3716 * call-rt-st.exp: Likewise.
3717
63cf1c79
MK
37182001-07-12 Mark Kettenis <kettenis@gnu.org>
3719
3720 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3721 running this test on Linux.
3722
112f9ab5
MC
37232001-06-24 Michael Chastain <chastain@redhat.com>
3724
3725 * gdb.base/arithmet.exp: Remove some tests to make all test names
3726 unique.
3727
4970cb0f
MS
37282001-07-03 Michael Snyder <msnyder@redhat.com>
3729
3730 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3731 the output of the ptype command.
3732
d85da69f
MS
37332001-07-02 Michael Snyder <msnyder@redhat.com>
3734
4c8a82de
MS
3735 * gdb.base/completion.exp: Don't assume that break.c is the only
3736 source file that may contain functions named "marker".
d85da69f
MS
3737 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3738
8afc772b
AC
37392001-06-28 Andrew Cagney <ac131313@redhat.com>
3740
3741 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3742 of files to delete.
3743
3744 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3745 * gdb.disasm/h8300s.exp: New file.
3746 gdb.disasm/h8300s.s: Likewise.
3747
cff22675
AC
37482001-06-27 Andrew Cagney <ac131313@redhat.com>
3749
3750 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3751 empty breakpoint tables.
3752
68c81b54
AC
37532001-06-25 Andrew Cagney <ac131313@redhat.com>
3754
3755 * lib/mi-support.exp: Update args=... part of stop-reason
3756 patterns. Accept either a list or a tuple.
3757
2dd62704
AC
37582001-06-23 Andrew Cagney <ac131313@redhat.com>
3759
3760 * lib/mi-support.exp: Remove local emacs variable defining
3761 change-log-default-name.
3762
b4127474
MC
37632001-06-22 Michael Chastain <chastain@redhat.com>
3764
3765 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3766 This is operationally compatible with the previous version.
3767
8dbfb380
JB
37682001-06-13 Jim Blandy <jimb@redhat.com>
3769
3770 * lib/gdb.exp (gdb_test): Doc fix.
3771
f2d8c86d
MC
37722001-06-10 Michael Chastain <chastain@redhat.com>
3773
3774 * gdb.base/exprs.exp: Remove a duplicate test.
3775
81564d34
JB
37762001-06-06 Jim Blandy <jimb@redhat.com>
3777
3778 * gdb.base/return2.exp (main): Use values to test float and double
3779 returns that are not NaN's, to avoid being confused by IEEE
3780 comparison rules.
3781
da55addb
MS
37822001-06-04 Michael Snyder <msnyder@redhat.com>
3783
3784 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3785 non-zero if control_c fails. Terminate the test on failure,
3786 rather than wait for 12 more tests to time out.
3787
42c65987
JB
37882001-06-06 Jim Blandy <jimb@redhat.com>
3789
b18bced9
JB
3790 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3791 Don't forget to match the GDB prompt.
3792
42c65987
JB
3793 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3794
5b41e5f0
JB
37952001-06-04 Jim Blandy <jimb@redhat.com>
3796
3797 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3798 command.
3799
015e046f
KB
38002001-05-31 Kevin Buettner <kevinb@redhat.com>
3801
3802 * gdb.base/annota1.exp (info break): Match four or more spaces
3803 after "Address".
3804
fb1ffbbe
MC
38052001-05-31 Michael Chastain <chastain@redhat.com>
3806
3807 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3808 (dm_type_int_star): Likewise.
3809 (dm_type_long_star): Likewise.
3810 (dm_type_void_star): Likewise.
3811
5ea2a32c
KB
38122001-05-29 Kevin Buettner <kevinb@redhat.com>
3813
3814 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3815 to a known value in order to get consistent results regardless
3816 of the setting of INPUTRC or the presence or contents of .inputrc.
3817
ae23c492
MS
38182001-05-24 Michael Snyder <msnyder@redhat.com>
3819
ac55707e
MS
3820 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3821 Don't require that the main thread and the manager thread are the
3822 first in the list.
3823
ae23c492
MS
3824 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3825 debugging. If test fails, issue an "unsupported" not a "fail".
3826
400071f1
JB
38272001-05-24 Jim Blandy <jimb@redhat.com>
3828
3829 Don't assume that short is shorter than int.
3830 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3831 assume that shorts are smaller than ints. On a 16-bit machine,
3832 this isn't true.
3833 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3834 an int, is not equal to ~0 stored in an unsigned char. This tests
3835 the same thing that the previous test meant to, but works on
3836 16-bit machines, too.
3837 ("print unsigned char != (~0)"): Same test, complemented.
3838
0816a3e5
MS
38392001-05-24 Michael Snyder <msnyder@redhat.com>
3840
3841 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3842 test for (full_coverage == 0). This makes the test run faster,
3843 and prevents dejagnu getting out of step.
3844
f6dc23a9
KB
38452001-05-23 Kevin Buettner <kevinb@redhat.com>
3846
3847 * gdb.base/finish.exp (finish_void): Revise pattern for
3848 stopping on the call statement to not permit stopping at
3849 the start of the instructions comprising the call sequence.
3850
7dbd117d
MC
38512001-05-19 Michael Chastain <chastain@redhat.com>
3852
3853 * gdb.base/callfuncs.exp: Make all test names unique.
3854 * gdb.base/commands.exp: Make all test names unique.
3855 * gdb.base/condbreak.exp: Make all test names unique.
3856 * gdb.base/dbx.exp: Make all test names unique.
3857 * gdb.base/default.exp: Make all test names unique.
3858 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3859 and TIMEOUT messages to their corresponding PASS message.
3860 * gdb.base/ending-run.exp: Make all test names unique.
3861 * gdb.base/long_long.exp: Remove duplicate test.
3862
6b0b0a9e
KB
38632001-05-21 Kevin Buettner <kevinb@redhat.com>
3864
3865 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3866 stop on the call statement as well as the statement after the
3867 call.
3868
2caa35cb
MS
38692001-05-21 Michael Snyder <msnyder@redhat.com>
3870
3871 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3872
40713331
EZ
38732001-05-10 Elena Zannoni <ezannoni@redhat.com>
3874
3875 * gdb.base/completion.exp: Revamp test. Make it execute on all
3876 platforms.
3877
c2c1be8d
EZ
38782001-05-10 Elena Zannoni <ezannoni@redhat.com>
3879
2c9cd303
EZ
3880 * config/gdbserver.exp (gdb_load): Handle the case
3881 in which the arguments to gdbserver are given in the
3882 baseboard configuration file.
3883 Also handle the case in which the server needs to do a
3884 load.
3885
9671de48
KS
38862001-05-07 Keith Seitz <keiths@cygnus.com>
3887
3888 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3889 set up the display for testing.
3890 (gdbtk_start): Convert all paths to paths that tcl will like.
3891 Export target information to environment.
3892 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3893 necessary.
3894 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3895 (to_tcl_path): New proc to convert a given pathname into
3896 a path acceptible as an argument to a tcl command.
3897 (_gdbtk_export_target_info): New proc to export target info
3898 into the environment for gdbtk testing.
3899 (gdbtk_done): New proc to signal end-of-test.
3900
5a360f47
JB
39012001-05-06 Jim Blandy <jimb@redhat.com>
3902
3903 * restore.c: Make the code of caller0 correspond to its comment.
3904
66c756c6
MS
39052001-05-03 Michael Snyder <msnyder@redhat.com>
3906
3907 * config/sid.exp (gdb_target_sid): Check for error messages.
3908 On error or timeout, don't make expect exit (which will terminate
3909 all subsequent tests); instead just make gdb exit.
3910 (gdb_load): Check for error messages. On error or timeout,
3911 return a negative value.
3912
a966fde5
JB
39132001-04-24 Jim Blandy <jimb@redhat.com>
3914
851c18e0
JB
3915 * gdb.c++/templates.exp: If we see the prompt for the overload
3916 list, but we haven't recognized any of the longer patterns,
3917 arrange for this test to fail, not hang.
3918
a966fde5
JB
3919 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3920 variations.
3921
db144853
MC
39222001-04-22 Michael Chastain <chastain@redhat.com>
3923
3924 * gdb.c++/local.exp: Use the 'runto' library function.
3925 * gdb.c++/namespace.exp: Likewise.
3926 * gdb.c++/overload.exp: Likewise.
3927
3207ec21
KB
39282001-03-26 Kevin Buettner <kevinb@redhat.com>
3929
3930 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3931 * gdb.base/step-line.exp: New file. Test step/next in presence of
3932 #line directives.
3933 * gdb.base/step-line.c: New file. Test program for the above.
3934 * gdb.base/step-line.inp: New file. We pretend that this file has
3935 been transformed by some other tool into step-line.c.
3936
13b57657
JB
39372001-03-21 Jim Blandy <jimb@redhat.com>
3938
3939 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3940 unmangled operator names.
3941
754cbe1c
JB
39422001-03-20 Jim Blandy <jimb@redhat.com>
3943
3944 * gdb.threads/linux-dp.exp: Recognize an additional message
3945 generated by GDB when it doesn't understand how to debug threads
3946 on the target system.
3947
177495c9
AC
39482001-03-19 Andrew Cagney <ac131313@redhat.com>
3949
3950 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3951
f266096b
MC
39522001-03-12 Michael Chastain <chastain@redhat.com>
3953
3954 * gdb.c++/derivation.exp: Use the 'runto' library function.
3955
cac3c2ff
MC
39562001-03-12 Michael Chastain <chastain@redhat.com>
3957
3958 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3959
b6c11a24
MC
39602001-02-24 Michael Chastain <chastain@redhat.com>
3961
3962 * gdb.c++/ref-types.exp: Change handwritten code to library
3963 function 'runto'.
3964
6bae5bce
OF
39652001-03-16 Orjan Friberg <orjanf@axis.com>
3966
3967 * gdb.base/signals.exp: Set count to 0 explicitly.
3968
0015fd9a
MS
39692001-03-15 Mark Salter <msalter@redhat.com>
3970
3971 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3972 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3973 (gdb_load): Add support for additional target_info: gdb_download_size
3974 and gdb_load_timeout.
0015fd9a 3975
fc33412a
DT
3976Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3977
3978 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3979 file -- to prevent failing when the compile fails but we have no
3980 intention of running the tests anyway.
3981
3982 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3983 tests if set.
3984
3985 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3986 integers.
3987
3988 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
3989 * gdb.c++/namespace.exp: Ditto.
3990
115f06de
OF
39912001-03-07 Orjan Friberg <orjanf@axis.com>
3992
3993 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
3994 * gdb.base/pointers.exp: Relax pattern match of decimals.
3995
b6ba6518
KB
39962001-03-06 Kevin Buettner <kevinb@redhat.com>
3997
3998 * Makefile.in, config/abug.exp, config/cfdbug.exp,
3999 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4000 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4001 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4002 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4003 config/sh.exp, config/sid.exp, config/slite.exp,
4004 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4005 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4006 config/vxworks.exp, config/vxworks29k.exp,
4007 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4008 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4009 gdb.base/arithmet.exp, gdb.base/assign.exp,
4010 gdb.base/async.exp, gdb.base/attach.exp,
4011 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4012 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4013 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4014 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4015 gdb.base/commands.exp, gdb.base/completion.exp,
4016 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4017 gdb.base/constvars.exp, gdb.base/corefile.exp,
4018 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4019 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4020 gdb.base/ending-run.exp, gdb.base/environ.exp,
4021 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4022 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4023 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4024 gdb.base/funcargs.exp, gdb.base/help.exp,
4025 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4026 gdb.base/logical.exp, gdb.base/long_long.exp,
4027 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4028 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4029 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4030 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4031 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4032 gdb.base/regs.exp, gdb.base/relational.exp,
4033 gdb.base/remote.exp, gdb.base/reread.exp,
4034 gdb.base/restore.exp, gdb.base/return2.exp,
4035 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4036 gdb.base/selftest.exp, gdb.base/setshow.exp,
4037 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4038 gdb.base/sigall.exp, gdb.base/signals.exp,
4039 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4040 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4041 gdb.base/step-test.exp, gdb.base/structs.c,
4042 gdb.base/structs.exp, gdb.base/structs2.exp,
4043 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4044 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4045 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4046 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4047 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4048 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4049 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4050 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4051 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4052 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4053 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4054 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4055 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4056 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4057 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4058 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4059 gdb.trace/circ.exp, gdb.trace/collection.exp,
4060 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4061 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4062 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4063 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4064 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4065 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4066 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4067 notices.
4068
dc96c6c7 40692001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4070
4071 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4072 first arg is int not float.
4073
dc96c6c7 40742001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4075
4076 * gdb.base/reread.exp: Unsupported for non-native targets;
4077 doesn't work for remote debugging.
4078
9b0c4aeb
FN
40792001-02-19 Fernando Nasser <fnasser@redhat.com>
4080
4081 From Drew Moseley <dmoseley@redhat.com>
4082 * gdb.base/ending-run.exp: Properly handle the BSP state when
4083 stepping past the end of main.
4084
02aa71d5
MC
40852001-02-19 John Moore <jmoore@redhat.com>
4086
4087 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4088 Converted HPUX fix for non-expected items following multiple
4089 step commands into general solution for all platforms.
4090
1fa449a4
MC
40912001-02-18 Michael Chastain <chastain@redhat.com>
4092
4093 * gdb.c++/classes.exp (do_tests): Change runto statements
4094 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4095 statements demangler agnostic.
4096 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4097 (gdb_virtfunc_restart): Likewise.
4098
b2f9ec70
MC
40992001-02-14 Michael Chastain <chastain@redhat.com>
4100
4101 * gdb.c++/inherit.exp (do_tests): Change runto statements
4102 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4103 statements demangler agnostic.
4104
cf74b8ca
AC
4105Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4106
4107 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4108 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4109 before calling common_routine 15 times'' tests.
4110
99f78f56
MC
41112001-02-11 Michael Chastain <chastain@redhat.com>
4112
4113 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4114 Helps the test script figure out which demangler is in use.
4115 (dm_type_foo_ref): Ditto.
4116 (dm_type_int_star): Ditto.
4117 (dm_type_long_star): Ditto.
4118 (dm_type_unsigned_int): Ditto.
4119 (dm_type_void): Ditto.
4120 (dm_type_void_star): Ditto.
99707966 4121 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4122 Probe the gdb demangler and set variables to accommodate
4123 formatting differences.
4124 (info_func_regexp): New function. Same as info_func, but
4125 matches against a regexp.
4126 (info_func): Match against a literal string.
4127 (print_addr_2): New function. Match against a literal string,
4128 which can be different from the input to gdb.
4129 (print_addr): Simply call print_addr_2 with the same argument twice.
4130 (test_lookup_operator_functions): Use demangler formatting variables.
4131 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4132 the tests in the same order as the C++ class declaration.
4133 (test_paddr_operator_functions): Ditto.
4134 (test_paddr_overloaded_functions): Ditto.
4135 (test_paddr_hairy_functions): Use demangler formatting variables.
4136 Add reference to gdb/19 for related tests.
4137 (do_tests): Call probe_demangler.
4138
1de8f023
KB
41392001-01-30 Kevin Buettner <kevinb@redhat.com>
4140
4141 * gdb.c++/templates.cc (printf): Remove unused function definition.
4142
ca3f91ed
MS
41432001-01-26 Felix Lee <flee@redhat.com>
4144
4145 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4146
41472001-01-25 matthew green <mrg@redhat.com>
4148
4149 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4150 up sid.
4151 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4152
41532001-01-25 matthew green <mrg@redhat.com>
4154
4155 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4156 Deprecate $sid_spawn_id.
4157 (sid_exit): Remove code necessary only for `spawn.'
4158
41592001-01-25 matthew green <mrg@redhat.com>
4160
4161 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4162
fb18ec4a
MC
41632001-01-28 Michael Chastain <chastain@redhat.com>
4164
4165 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4166 to call when tests fail. It takes gdb out of the overloaded
4167 function choice menu back to the main prompt, so that the test
4168 program stays synchronized.
4169 (set_bp_overloaded): New proc to collect all the common
4170 code for setting a breakpoint on an overloaded name. Calls
4171 take_gdb_out_of_choice_menu when needed.
4172 (menu_overload1arg): New variable to collect the repeated
4173 instances of the expected menu for an overloaded name. Change
4174 the regular expression to handle changes in g++ type encoding:
4175 "void" can be either "void" or "", and "unsigned int" can be
4176 either "unsigned int" or "unsigned".
4177 (continue_to_bp_overloaded): Change regular expressions to handle
4178 changes in g++ type encoding.
4179 (no proc): Call take_gdb_out_of_choice_menu when needed.
4180 Remove redundant calls to "info break". Accept either "canceled"
4181 or "cancelled". Change regular expressions in "info break"
4182 calls to handle changes in g++ type encoding. Give all tests
4183 unique strings.
4184
9c646a6e
BE
41852001-01-17 Ben Elliston <bje@redhat.com>
4186
4187 * config/sid.exp: New file.
4188
9549d9c1
AC
4189Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4190
4191 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4192
dc96c6c7 41932000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4194
4195 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4196 Add a RE to accept a non-ascii char if one is ever presented.
4197
b4df4f68
FN
41982000-12-20 Fernando Nasser <fnasser@redhat.com>
4199
297dd0fd 4200 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4201
dc96c6c7 42022000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4203
4204 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4205 in regexp. One '\' does not suffice on Linux.
4206
4a7bddb6
MC
42072000-12-09 Michael Chastain <chastain@redhat.com>
4208
4209 * gdb.base/break.exp (test_clear_command): Use a marker function
4210 rather than 'main' for the test function. Also move this
4211 test to an execution point where the marker function names are
4212 guaranteed to be bound to functions. (Executing tests after a
4213 'finish' from main runs into name conflicts with local names
4214 in __libc_start_main).
4215
dc96c6c7 42162000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4217
4218 * gdb.base/finish.exp: New test for gdb's "finish" command.
4219 * gdb.base/return2.exp: New test for gdb's "return" command.
4220 * gdb.base/return2.c: New source file for above.
4221
dc96c6c7 42222000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4223
4224 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4225 * gdb.base/miscexprs.exp: Ditto.
4226 * gdb.base/pointers.exp: Ditto.
4227 * gdb.c++/derivation.exp: Ditto.
4228 * gdb.c++/local.exp: Ditto.
4229 * gdb.c++/namespace.exp: Ditto.
4230 * gdb.c++/overload.exp: Ditto.
4231 * gdb.c++/ref-types.exp: Ditto.
4232
dc96c6c7 42332000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4234
4235 * gdb.base/constvars.exp: Test result of "up" command.
4236 * gdb.base/miscexprs.exp: Ditto.
4237 * gdb.base/pointers.exp: Ditto.
4238 * gdb.base/scope.exp: Ditto.
4239 * gdb.c++/derivation.exp: Ditto.
4240 * gdb.c++/local.exp: Ditto.
4241 * gdb.c++/namespace.exp: Ditto.
4242 * gdb.c++/overload.exp: Ditto.
4243 * gdb.c++/ref-types.exp: Ditto.
4244
44097287
FN
42452000-11-22 Michael Chastain <chastain@redhat.com>
4246
4247 * mips_pro.exp: Accept either "middle -> top -> main" or
4248 "middle -> main" in the backtrace, because gcc can optimize
4249 tail calls to jumps. Remove setup_xfail for the hppa case.
4250 Add a comment with the original warning messages from PR 3016,
4251 which was filed in 1993, to preserve them for posterity.
4252
9d2e1bab
ND
42532000-11-17 Nick Duffek <nsd@redhat.com>
4254
4255 * lib/gdb.exp (gdb_test): Override timeout with board info.
4256
1aca8eb7
ND
42572000-11-17 Nick Duffek <nsd@redhat.com>
4258
4259 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4260 the second kill and detach messages.
4261
93076499
ND
42622000-11-17 Nick Duffek <nsd@redhat.com>
4263
4264 * configure.in: Add AC_EXEEXT.
4265 * configure: Regenerate.
4266 * Makefile.in (just-check): Export EXEEXT.
4267 * lib/gdb.exp ($EXEEXT): Import from environment.
4268 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4269 expect "maint dump-me" on Cygwin.
4270 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4271 $EXEEXT.
4272
30e87cd3
ND
42732000-11-17 Nick Duffek <nsd@redhat.com>
4274
4275 * gdb.base/break.exp: Test backtrace and finish from called
4276 function on all platforms, not just HP-UX.
4277
dc96c6c7 42782000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4279
4280 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4281 code from gdb_target_monitor, so it can be used independantly
4282 for gdbserver. Also comment out an unnecessary PUTS.
4283
dc96c6c7 42842000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4285
4286 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4287 * gdb.base/corefile.exp: Expect the message "Program is being
4288 debugged already" when we send the "corefile" command, since
4289 the preceeding gdb_load may have connected gdb to a remote target.
4290 * gdb.base/display.exp: Disable hardware watchpoints if new
4291 board info variable "no_hardware_watchpoints" is true.
4292 Replace single-letter commands with more readable ones.
4293 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4294 if new board info variable "no_hardware_watchpoints" is true.
4295 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4296 to see if stdio (printf) testing is possible.
4297 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4298 board info variable "no_hardware_watchpoints" is true. Use new
4299 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4300
39124dea
FN
43012000-11-13 Fernando Nasser <fnasser@redhat.com>
4302
4303 From Orjan Friberg <orjanf@axis.com>:
4304 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4305 in array print pattern match.
4306
a9e2e984
FN
43072000-11-09 Fernando Nasser <fnasser@redhat.com>
4308
4309 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4310 spelling "cancelled" to U.S. spelling "canceled" to match changes
4311 made to gdb.
4312 * gdb.c++/ovldbreak.exp: Ditto.
4313
c7db355b
PS
43142000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4315
4316 * gdb.base/callfuncs.c (main): Moved to end of file, call
4317 t_double_values to initialize the FPU before inferior calls are made.
4318 * gdb.base/callfuncs.exp: Test for register preservation after calling
4319 inferior functions. Add tests for continuining, finishing and
4320 returning from a stop in a call dummy.
4321
dc96c6c7 43222000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4323
4324 * gdb.base/commands.exp: Break up long lines, and re-indent.
4325
dc96c6c7 43262000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4327
4328 * config/gdbserver.exp: Rewritten from the ground up, to make it
4329 compatible with the current dejagnu tree, and to make it work with
4330 the new "gdbserver" in libremote.
4331
dc96c6c7 43322000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4333
4334 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4335 * gdb.base/varargs.exp: Skip entire test if no printf support.
4336 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4337 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4338
dc96c6c7 43392000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4340
4341 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4342 no floating point support.
4343 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4344 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4345 * gdb.base/call-rt-st.exp: Ditto.
4346 * gdb.base/call-strs.exp: Ditto.
4347
bac5fc66
JG
43482000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4349
4350 * gdb.base/sizeof.c: include <stdio.h>.
4351
4352 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4353 'finish', otherwise uncaptured gdb_prompt would potentially
4354 throw remaining test points out of sync.
4355
b22a6027
SB
43562000-07-26 Scott Bambrough <scottb@netwinder.org>
4357
4358 * gdb.base/recurse.exp: Run tests for all targets.
4359 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4360 gnu-oldld case on ARM.
4361 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4362 for ARM targets.
4363
d8231941
AG
4364Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4365
4366 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4367 * gdb.java/configure: Rebuild.
4368
8caabe69
AG
4369Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4370
4371 * gdb.java/jv-exp.exp: New file.
4372
9d273ca3
AG
4373Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4374
4375 * configure: Rebuilt.
4376 * configure.in (configdirs): Add gdb.java.
4377 * gdb.java/jmisc.java: New file.
4378 * gdb.java/jmisc.exp: New file.
4379 * gdb.java/Makefile.in: New file.
4380 * gdb.java/configure: Rebuilt.
4381 * gdb.java/configure.in: New file.
4382 * lib/java.exp: New file.
4383
4f823a66
AC
4384Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4385
4386 * gdb.base/exprs.exp: Test casts to a pointer including over and
4387 underflow.
4388
2391e11d
AC
4389Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4390
4391 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4392 and the compilers sizes.
4393
54602222
ND
43942000-07-09 Nick Duffek <nsd@redhat.com>
4395
4396 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4397 (use_methods): New function.
4398 (main): Call use_methods().
4399 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4400 (do_tests): Call test_method_param_class.
4401
2bec0572
ND
44022000-07-09 Nick Duffek <nsd@redhat.com>
4403
4404 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4405 spelling.
4406 (test_enums): New procedure. Move enum tests from end of script
4407 to here. Set breakpoint on function name instead of line number.
4408 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4409 (enums2): New marker function.
4410 (enums1): New function.
4411 (main): Call enums1(). Move enum tests to enums1().
4412
78492fde
AC
4413Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4414
4415 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4416 compile/link program. Update line numbers.
4417 * gdb.asm/d10v.inc: Define ``startup''.
4418 * gdb.asm/asmsrc1.s: Add definition of _start.
4419
49a2cef8
AC
4420Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4421
4422 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4423
3e6c8688
EZ
44242000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4425
4426 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4427 of 'help maint print' command.
4428
9ff5cbe9
AC
4429Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4430
4431 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4432 they use gdb_expect_list.
4433
17c579bd
AC
4434Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4435
4436 * gdb.base/commands.exp: Use ``set remote
4437 memory-read-packet-size'' instead of ``set endian big'' to test
4438 long commands.
4439
e6d71bf3
DB
44402000-06-03 Daniel Berlin <dan@cgsoftware.com>
4441
4442 * gdb.c++/templates.exp (do_tests): Make all of these work under
4443 g++, and stop skipping them.
4444
4445 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4446 work under g++.
4447
e5f9ba7b
MS
4448 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4449 initialization.
4450
dc96c6c7 44512000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4452
4453 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4454 the regular expression: accept an (almost) arbitrary sequence of
4455 "frames-invalid" and "breakpoints-invalid" messages both before
4456 and after the "starting" message.
4457
dc96c6c7 44582000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4459
4460 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4461
dc96c6c7 44622000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4463
4464 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4465 Relax the regular expression a little, make it pass on Solaris 8.
4466
8216cda9
KB
44672000-05-12 Kevin Buettner <kevinb@redhat.com>
4468
4469 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4470 a call, do not require that gdb stop on the line after the call.
4471 Instead, it is permissible for gdb to stop on the line of the
4472 call itself.
4473
1a570b2f
MS
44742000-05-12 Michael Snyder <msnyder@.cygnus.com>
4475
4476 * gdb.base/break.exp (bp on small function, optimized file):
4477 Add a second pass pattern. The behavior differs here between stabs
4478 and dwarf for one-line functions. Stabs preserves two line symbols
4479 (one before the prologue and one after) with the same line number,
4480 but dwarf regards these as duplicates and discards one of them.
4481 Therefore the address after the prologue (where the breakpoint is)
4482 has no exactly matching line symbol, and GDB reports the breakpoint
4483 as if it were in the middle of a line rather than at the beginning.
4484
dc96c6c7 44852000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4486
4487 * gdb.base/interrupt.exp: Make "pass" message say "send"
4488 rather than "send_gdb" (for consistancy).
4489
7d418785
AC
4490Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4491
4492 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4493 * gdb.c++/templates.cc: Properly check for GCC version number.
4494 * lib/compiler.cc: Likewise
4495
dc96c6c7 44962000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4497
4498 * gdb.base/break.exp: When compiled with -O2 optimization,
4499 gdb may not stop at the first line of main, due to code motion.
4500
dc96c6c7 45012000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4502
4503 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4504 This test depends on parsing the printf output from the target.
4505 Since the sparclet stub doesn't do stdio, this will never work.
4506 * gdb.base/call-rt-st.exp: ditto.
4507 * gdb.base/call-strs: ditto.
4508
dc96c6c7 45092000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4510
4511 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4512
4513 * gdb.base/ending-run.exp: After connecting to a remote target,
4514 but before running, the target will appear to be in a random
4515 location. Specify both a file and a line for breakpoints.
4516 Also, the function that calls main may be called 'init'
4517 rather than 'start'.
4518
a5a51225
EZ
45192000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4520
4521 * gdb.base/help.exp: Update output for add-symbol-file command.
4522
7930cc7c
FN
45232000-04-10 Fernando Nasser <fnasser@cygnus.com>
4524
4525 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4526 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4527
23e37ab1
C
45282000-04-07 J.T. Conklin <jtc@redback.com>
4529
e93c542c
C
4530 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4531
23e37ab1
C
4532 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4533
591b8fa3
PDM
4534Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4535
4536 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4537 values that can be represented exactly.
4538 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4539 above change, and to not check against the directory part of the source
4540 file name.
4541 (step into print_long_arg_list): Likewise.
4542 (print print_small_structs from print_long_arg_list): Likewise.
4543 (print print_long_arg_list): Likewise.
4544
7a495180
EZ
45452000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4546
30b53638 4547 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4548
beb998c6
AC
4549Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4550
4551 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4552
1c689132
DB
45532000-03-25 Daniel Berlin <dan@cgsoftware.com>
4554
4555 * gdb.base/commands.exp (deprecated_command_test): Add test for
4556 deprecate with no arguments.
4557
c1790a9d
JL
45582000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4559
4560 * gdb.base/break.exp: Add new test for setting breakpoints on
4561 optimized code so we can test breakpoints work even when function
4562 prologues may be optimized away
4563
003ba290
FN
45642000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4565
4566 From David Whedon <dwhedon@gordian.com>
4567 * gdb.base/commands.exp : Added command deprecator tests.
4568
6837a0a2
DB
45692000-03-22 Daniel Berlin <dan@cgsoftware.com>
4570
4571 * gdb.base/help.exp: Added test for new apropos command.
4572
b9593231
KB
45732000-03-21 Kevin Buettner <kevinb@redhat.com>
4574
4575 * gdb.base/pointers.c (usevar): New function.
4576 (main): Make sure that global variables v_int_pointer2, rptr,
4577 and y are all referenced someplace in the program by calling
4578 usevar() on them. [Some linkers delete symbols which are
4579 never referenced. The space remains, but there's no way to
4580 get a (symbolic) handle on the variable from the debugger.]
4581
751a959b
EZ
45822000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4583
4584 * gdb.base/printcmds.c: Add typedeffed arrays.
4585
4586 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4587 procedure to test arrays that are typedef'd.
4588
73a93a32
JI
45892000-03-13 James Ingham <jingham@leda.cygnus.com>
4590
4591 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4592 the library directories.
73a93a32 4593
fb40c209
AC
4594Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4595
4596 * configure.in (configdirs): Add sub directory gdb.mi.
4597 * configure: Re-generate.
4598
4599 * gdb.mi: New directory.
beb998c6 4600
ee4dd2c9
AC
46012000-02-25 Scott Bambrough <scottb@netwinder.org>
4602
4603 * gdb.base/long_long.exp: Correct test suite failure when printing
4604 a long long value as a double on ARM platforms.
4605
70f0cc22
JB
46062000-02-16 Jim Blandy <jimb@redhat.com>
4607
4608 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4609 default source file is set properly before running this test.
4610
853819b8
EZ
46112000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4612
4613 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4614 gdbtk/library directory, not in gdbtcl2.
4615
dfcd3bfb
JM
46162000-02-04 Jim Blandy <jimb@redhat.com>
4617
4618 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4619 backslash from regexp pattern.
4620
4621 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4622 procedure. Use it to run all the "continue to bp overloaded"
4623 tests. Note that this changes the names of the tests slightly.
4624 If the breakpoint hit message includes a hex PC value, because
4625 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4626 from the real source code, still consider that a pass.
4627
4628 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4629 XFAIL here if the breakpoint message contains a hex address. Note
4630 similar change on 1999-11-02.
4631
4632 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4633
4634 * gdb.base/ptype.exp: Establish a default source file before
4635 calling get_debug_format.
4636
46372000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4638
4639 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4640
8b93c638
JM
46412000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4642
4643 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4644 of successive stepi commands -- while in the prologue we should see
4645 the function entry bracket.
4646
46472000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4648
4649 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4650 reach __change_mode() when stepping through the end of main().
4651
c5394b80
JM
46522000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4653
4654 * gdb.base/default.exp: Fix expected pattern.
4655 * gdb.base/help.exp: Same.
4656
0d06e24b
JM
46572000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4658
4659 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4660 Don't use xfail's because that affects only the following test.
beb998c6 4661
0d06e24b
JM
4662 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4663 solaris or linux.
4664
4665 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4666
dc96c6c7 46672000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4668
beb998c6 4669 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4670 "A syntax error" rather than "A parse error". Accept both.
4671
46722000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4673
4674 * gdb.base/default.exp: Remove OS dependent string from "target
4675 remote" test.
4676 * gdb.base/help.exp: Same for "help target remote" test.
4677
c3f6f71d
JM
46782000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4679
4680 From Jim Kingdon <kingdon@redhat.com>:
4681
4682 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4683 prompt (cleanup rather than necessity, but still might keep output
4684 from spilling to next test).
4685
46862000-01-02 Fred Fish <fnf@cygnus.com>
4687
4688 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4689 AIX, which defines them in <sys/types.h>.
4690
ed9a39eb 46911999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4692
ed9a39eb
JM
4693 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4694 float" test.
4695
46961999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4697
ed9a39eb 4698 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4699
4700 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4701 outermost frame disallowed".
4702
47031999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4704
4705 * gdb.base/setvar.exp: New tests for setting the value of a struct
4706 with a constant list.
4707
47081999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4709
4710 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4711 require the user to type a cast before setting the value of a struct.
4712
de57eccd
JM
47131999-12-06 Jim Blandy <jimb@cygnus.com>
4714
4715 * gdb.base/default.exp: Expect the new 'info float' command on
4716 all i386 platforms.
4717
4718 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4719 LinuxThreads libraries that don't support debugging.
4720
c2d11a7d
JM
4721Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4722
4723 * gdb.base/remote.c: Fill the buffer with truely random data.
4724 Change the buffer type to ``unsigned char'' to simplify size
4725 arithmetic.
4726
4727 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4728 stub only handles 400-1 byte packets. Verify that the download
4729 worked.
4730
47311999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4732
4733 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4734 tests, using UNRESOLVED for the untested cases. Also, does not wait
4735 for a timeout if the prompt was received before a recognizable pattern.
4736
47371999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4738
4739 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4740
47411999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4742
4743 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4744 watchpoints.
4745
47461999-11-24 Jason Merrill <jason@casey.cygnus.com>
4747
4748 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4749
4750 * gdb.c++/local.exp: Be more flexible in recognizing local class
4751 name mangling. Don't allow horribly truncated method names.
4752 * gdb.c++/derivation.exp: Expect protected inheritance.
4753 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4754 * gdb.c++/virtfunc.exp: Likewise.
4755 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4756 when printing a nested enum.
4757
47581999-11-22 Jim Blandy <jimb@cygnus.com>
4759
4760 * gdb.base/step-test.exp: Properly await GDB's response to setting
4761 a breakpoint on the call to large_struct_by_value.
4762
4763 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4764 just because we have debug info for the `start' function.
4765
47661999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4767
4768 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4769 "Unknown signal" messages, which indicate (on LinuxThreads) that
4770 GDB doesn't know how to debug threads on this system. This is
4771 better than hanging while philosopher 0 dumps chatter into gdb.log.
4772
47731999-11-18 Tom Tromey <tromey@cygnus.com>
4774
4775 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4776
47771999-11-18 Fred Fish <fnf@cygnus.com>
4778
4779 * gdb.base/coremaker2.c: Add sample program for generating
4780 cores that is more self contained than coremaker.c. Eventually
4781 I'll add more code to this and tie it into the testsuite.
4782
4ce44c66
JM
47831999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4784
4785 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4786
47871999-11-10 Jimmy Guo <guo@cup.hp.com>
4788
4789 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4790 from $srcdir/lib/.
4791 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4792 and gdb.c++/.
4793
4794 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4795
beb998c6 4796 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4797 'continue with watch' test point.
4798
47991999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4800
4801 Merged from p2linux-990323-branch:
beb998c6 4802
4ce44c66
JM
4803 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4804
11cf8741
JM
4805Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4806
4807 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4808 {limit,fixed}''. Test ``set download-write-size''.
4809
4810Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4811
4812 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4813 gdb_expect_list.
4814
4815Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4816
4817 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4818
48191999-11-03 Mark Salter <msalter@cygnus.com>
4820
4821 * gdb.base/break.exp: Fix "stub continue" pattern.
4822
48231999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4824
4825 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4826
48271999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4828
4829 * gdb.base/display.exp ("finish"): Add timeout clause.
4830
4831 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4832 plain prompt clause, so this doesn't have to time out in order to
4833 fail.
4834
4835 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4836 breakpoint hit messages include an address.
4837
4838 * gdb.base/display.exp: Don't forget to escape parens in regular
4839 expressions. Unix regexp notatation sucks.
4840
48411999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4842
4843 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4844 order for 'signalled' message.
4845
5c44784c
JM
48461999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4847
4848 From Jimmy Guo <guo@cup.hp.com>:
4849 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4850 * gdb.base/annota1.c: Add code for tests to work with.
4851
48521999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4853
4854 * gdb.base/remote.exp: New test for remote downloading settings.
4855 * gdb.base/remote.c: New file with large .data.
4856
917317f4
JM
48571999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4858
4859 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4860 for LinuxThreads support, merged from the Code Fusion branch.
4861
4862Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4863
4864 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4865 containing exp_continue into a while within an expect. Don't
4866 attempt a start more than three times. Check return value from
4867 gdb_load.
beb998c6 4868
2df3850c
JM
4869Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4870
4871 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4872 a pass case.
4873
2acceee2
JM
48741999-10-01 Kevin Buettner <kevinb@cygnus.com>
4875
4876 * gdb.base/break.c (main): Added a statement that we can step
4877 off of.
4878 * gdb.base/break.exp: Added tests for setting a breakpoint
4879 at an offset and stepping onto a breakpoint.
4880
48811999-10-01 Fred Fish <fnf@cygnus.com>
4882
beb998c6 4883 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4884 gdb output.
4885
c2c6d25f
JM
48861999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4887
4888 * gdb.base/break.exp: Code locations are in hex, don't forget!
4889 (For HP-UX.)
4890
48911999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4892
4893 * condbreak.exp: Use break.c as test program.
4894 * condbreak.c: Remove, redundant with break.c.
4895
48961999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4897
4898 * config/monitor.exp (gdb_target_monitor): Disable X- and
4899 Z-packets if the target needs it.
4900
49011999-09-13 James Ingham <jingham@leda.cygnus.com>
4902
4903 * gdb.c++/overload.exp: Added tests for listing overloaded
4904 functions with function pointers in the arg, explicitly calling
4905 out the version you want.
4906
cff3e48b
JM
49071999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4908
4909 * long_long.exp: Add variations of test cases that work for
4910 targets with 16-bit ints and 32-bit doubles.
4911
d4f3574e
SS
49121999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4913
4914 * break.c (main): Compare a possibly-uninitialized argc with an
4915 unlikely value that fits in 16 bits.
4916
49171999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4918
4919 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4920 0xfeeb, don't want negative numbers if ints are 16 bits.
4921
4922 * lib/gdb.exp (skip_cplus_tests): New proc.
4923 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4924 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4925 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4926 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4927 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4928 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4929 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4930 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4931
4932 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4933
4934Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4935
4936 * gdb.base/corefile.exp (up): Allow a parameter to appear
4937 in the frame that we're going up to.
4938
4939 From Jim Blandy <jimb@cygnus.com>:
4940
4941 * gdb.base/default.exp (info float): Expect some output now.
4942
4943 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4944 returning floating-point values to fail on the x86.
4945 * gdb.base/callfwmall.exp (do_function_calls): Same.
4946
4947 * gdb.base/list.exp (test_listsize): Correct expectations for
4948 listing line 1 with listsize 2. Also, listing a single line
4949 works now, as does listing three lines. [Kevin's note: There
4950 were a number of other cases fixed too where the expectations
4951 differed...]
4952
49531999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4954
4955 * gdb.base/selftest.exp: Add case for when version prints as
4956 constant string instead of char pointer.
4957
104c1213
JM
49581999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4959
4960 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4961 stepping out of main.
4962
4963 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4964 G++ used.
4965
4966 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4967 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4968
4969 * gdb.c++/ovldbreak.exp: Update match string in test that
4970 includes a warning of multiple breakpoints.
4971
49721999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4973
4974 * gdb.base/display.exp: Improve precision of step-after-finish
4975 added yesterday.
4976
4977 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4978 test.
4979
4980 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4981 configs when using G++, not just hppa*.
4982
49831999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4984
4985 * gdb.base/async.c: New file.
4986 * gdb.base/async.exp: New file.
4987
4988Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
4989
4990 * gdb.base/break.exp: Tweak PA specific tests to properly handle
4991 PA64.
4992
53a5351d
JM
4993Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
4994
104c1213
JM
4995 * gdb.base/display.exp: "finish" can leave us mid-line on many
4996 targets, deal with it. Add a small constant to main, instead of
4997 1000 since main+1000 may not be a valid address in the target.
4998
53a5351d
JM
4999 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5000 on hpux11.
5001
5002 * gdb.base/attach.exp: Handle another hpux11 error message variant
5003 when attaching to a process that does not exist.
5004
50051999-08-19 J.T. Conklin <jtc@redback.com>
5006
5007 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5008 characters in 'continue to 1241' test.
5009
50101999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5011
5012 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5013 stop in print_long_arg_list, define and use a whitespace
5014 variable in print_small_structs test, add an XFAIL for Solaris.
5015 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5016 interested enough to fix.
5017
7be570e7
JM
50181999-08-13 Keith Seitz <keiths@cygnus.com>
5019
5020 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5021 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5022 proc knows about targets other than the natives.
5023 (test_assign): Use "gdb_run_cmd" to "run" the target.
5024 Check that we've actually hit the breakpoint at main.
5025 When we attempt to assign a value to a local variable, check
5026 that the variable is in the current scope, i.e., don't use
5027 a test with an empty result.
5028
5029Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5030
5031 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5032 command.
5033
50341999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5035
5036 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5037 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5038 gdb.compat, gdb.threads-hp.
5039 gdb.hp/configure, gdb.hp/configure.in: New files.
5040 gdb.hp/Makefile.in: Recurse into new subdirs.
5041 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5042 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5043 in object files.
5044 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5045
96baa820
JM
50461999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5047
5048 * gdb.base/display.exp: Help expect by putting a newline in the
5049 funky printf, remove a bogus p/a test.
5050
50511999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5052
5053 * gdb.base/display.exp: Make sure that when we say 'run', we are
5054 connected to the target. This is necessary when running not
5055 natively.
5056
50571999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5058
5059 * gdb.base/step-test.exp: Removed some extraneous messages.
5060
5061 * gdb.base/long_long.exp: Don't run memory examination tests
5062 on little-endian targets (they will need a different set of
5063 results to match).
5064
50651999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5066
5067 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5068 until somebody decides to fix GDB.
5069
5070 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5071 constant as "ULL".
5072 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5073 matches for a couple x/2 commands.
5074
a0b3c4fd
JM
50751999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5076
5077 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5078 by merging in ref-types2 tests.
5079 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5080
5081 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5082 * gdb.c++/Makefile.in: Add standard actions.
5083 (EXECUTABLES): Rename from PROGS, update list.
5084 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5085 from gdb.hp.
5086 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5087 foo and bar locals.
5088 * gdb.c++/anon-union.exp: Fix tests to match.
5089 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5090 expect matches to handle output variations.
5091 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5092 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5093 output, add HP alternatives for new and delete prints.
5094 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5095 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5096 * gdb.c++/demangle.exp: Use $style when reporting failure.
5097 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5098 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5099 match alternatives.
5100 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5101 compilers.
5102 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5103 * gdb.c++/method.exp: Add match alternatives.
5104 * gdb.c++/misc.cc: Add bool types.
5105 * gdb.c++/misc.exp: Add tests for bool types.
5106 * gdb.c++/overload.exp: Add xfails.
5107 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5108 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5109 add some more template parameter tests (only for HP currently).
5110 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5111 * gdb.c++/virtfunc.cc: Add return type and value for main.
5112 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5113 match alternatives.
beb998c6 5114
a0b3c4fd
JM
51151999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5116
5117 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5118
51191999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5120
5121 * gdb.base/signals.exp: Don't expect getting a backtrace from
5122 within a signal handler to fail on Linux.
5123
51241999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5125
5126 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5127 * lib/gdb.exp: Remove some gratuitious semicolons.
5128 (delete_breakpoints): Increase timeout.
5129 (gdb_expect): Add -notransfer option.
5130 (gdb_test): Use -notransfer option.
5131 (get_compiler_info): Add f77 case.
5132 (get_compiler): New proc, split out from gdb_preprocess, add f77
5133 case.
5134 (gdb_preprocess): Call get_compiler.
5135
5136 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5137 * gdb.base/attach.exp, gdb.base/display.exp,
5138 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5139 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5140 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5141 third arg to gdb_test.
5142 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5143 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5144 HP-UX xfails, add others.
5145 * gdb.base/completion.exp: Reflect name change of self-test.
5146 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5147 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5148 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5149 HP failure number.
5150 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5151 useless HP-UX 10.30 references.
5152 * gdb.base/maint.exp: Loosen matches.
5153 * gdb.base/pointers.c (main): Declare more_code.
5154 * gdb.base/pointers.exp: Match on output of a `next'.
5155 * gdb.base/structs.c: Add prototypes.
5156 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5157 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5158
51591999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5160
5161 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5162 command.
5163
51641999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5165
5166 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5167 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5168
5169 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5170 debug info. Deal with lack of signal hanlder info in stack.
5171
5172 From Jim Kingdon <kingdon@redhat.com>:
5173 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5174
5a2468f5
JM
51751999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5176
5177 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5178 gdb.base/foll-vfork.exp: Don't run for crosses.
5179
adf40b2e
JM
5180Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5181
5182 * gdb.base/configure.in: Check for gdbvars.exp instead of
5183 a1-selftest.exp.
5184 * gdb.base/configure: Re-generate.
5185
51861999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5187
5188 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5189 in trying to run first and name is too long.
5190
5191 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5192 pointers2.c and pointers2.exp, respectively.
5193 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5194 doschk happier.
5195
43e526b9
JM
51961999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5197
5198 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5199 callfuncs2.c and callfuncs2.exp.
5200
5201 * gdb.base/list.exp: Remove mistaken xfails.
5202 * gdb.base/list0.h: Add optional prototypes.
5203
9846de1b
JM
5204Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5205
5206 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5207 calling malloc.
5208 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5209 * ptype.exp: Move test for get_debug_format to before its first
5210 use.
5211
52121999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5213
5214 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5215 * gdb.base/annota2.cc, annota2.exp: Move from here.
5216 * gdb.c++/annota2.cc, annota2.exp: To here.
5217 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5218
43ff13b4
JM
5219Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5220
5221 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5222 a consistent format.
5223
085dd6e6
JM
52241999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5225
5226 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5227 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5228 HP compilers, also set the globals $true and $false.
5229
5230 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5231 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5232 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5233 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5234 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5235 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5236 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5237 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5238 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5239 whatis.c} Add C++ compatible function definitions and return
5240 types, add includes for library functions.
5241 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5242 * gdb.base/step-test.c (myglob): Rename from glob.
5243 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5244 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5245 files, move here from gdb.hp.
5246 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5247 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5248 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5249 Adjust line numbers in regexps.
5250
5251 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5252 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5253 instead of 0/1.
5254
5255 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5256 foll-vfork.exp: New files, move here from gdb.hp.
5257 * gdb.base/page.exp: New file, test of pagination command.
5258
5259 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5260 recursion test.
5261 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5262
5263 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5264 gdb.base/solib.exp: Fix compiler invocation process.
5265
5266 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5267 HP-UX 11, turn off overload resolution explicitly.
5268 * gdb.base/commands.exp: Set argument list explicitly, add
5269 watchpoint test.
5270 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5271 them work.
5272 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5273 expressions properly.
5274 * gdb.base/corefile.exp: Loosen the match slightly.
5275 * gdb.base/default.exp: Allow "Error accessing memory" message
5276 also.
5277 * gdb.base/display.exp: Skip over x/0 j if PA64.
5278 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5279 * gdb.base/interrupt.exp: Ditto.
5280 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5281 in use.
5282 * gdb.base/list.exp: Add xfails for HP-UX.
5283 * gdb.base/long_long.exp: Refine some of the numeric matches.
5284 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5285 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5286 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5287 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5288 * gdb.base/ptype.exp: Succeed on more varieties of output.
5289 * gdb.base/scope.exp: Add xfails for HP-UX.
5290 * gdb.base/sect-cmd.exp: Add more cases.
5291 * gdb.base/setvar.exp: Add xfails for HP-UX.
5292 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5293 * gdb.base/signals.exp: Match on void symbolically.
5294 * gdb.base/step-test.exp: Add case for PA64.
5295 * gdb.base/term.exp: Add exit and restart.
5296 * gdb.base/twice.exp: Clean up after self.
5297 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5298 * gdb.base/whatis.exp: Allow more ways to pass tests.
5299
5300 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5301 no longer useful.
5302
5303Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5304
5305 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5306 list of patterns.
5307 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5308 print_double_array(double_array)", "continuing to breakpoint
5309 1018", "print print_double_array(array_d)" and "continuing to
5310 1034" tests.
beb998c6 5311
085dd6e6
JM
53121999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5313
5314 * Makefile.in: Add empty html and install-html targets.
5315
53161999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5317
5318 * config/mt-*: Remove, these haven't been used since 1996.
5319
53201999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5321
5322 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5323 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5324 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5325
9e0b60a8
JM
53261999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5327
5328 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5329 simpler match case for the ptype of the big class.
5330
53311999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5332
5333 * gdb.exp: Fix test for gdb_prompt existence.
5334
53351999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5336
5337 * gdb.exp (gdb_test): Add fail after calls to perror.
5338
53391999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5340
5341 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5342
53431999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5344
5345 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5346
0f71a2f6
JM
5347Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5348
5349 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5350 malloc() is linked in.
5351
53521999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5353
5354 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5355 step at end.
5356
5357 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5358
53591999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5360
5361 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5362
cce74817
JM
5363Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5364
5365 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5366 * gdb.base/mips_pro.exp: Likewise.
5367
53681999-06-02 Keith Seitz <keiths@cygnus.com>
5369
5370 * gdb.c++/templates.cc: Change all "new" operators to throw
5371 an exception.
5372 * gdb.c++/cplusfuncs.cc: Likewise.
5373
5374 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5375
5376Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5377
5378 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5379 * gdb.base/ending-run.exp: When stepping out of main, accept a
5380 step into an arbitrary assembler file.
5381
392a587b
JM
53821999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5383
beb998c6 5384 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5385 "breakpoint-invalid" to be printed.
beb998c6 5386 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5387 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5388 * gdb.base/annota2.cc: Initialize a.x to 0.
5389
9e086581
JM
53901999-05-17 Keith Seitz <keiths@cygnus.com>
5391
5392 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5393 when "skip_float_tests" set.
5394 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5395 "print print_ten_doubles", and "step into print_long_arg_list".
5396 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5397 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5398 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5399 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5400 "skip_float_tests" is set.
5401 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5402 when "skip_float_tests" set.
beb998c6 5403
cd0fc7c3
SS
54041999-05-06 Keith Seitz <keiths@cygnus.com>
5405
5406 * gdb.base/annota2.cc: Include stdio.h.
5407
5408Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5409
5410 * gdb.base/crossload.exp: Remove, this has been disabled ever
5411 since BFD stopped including all targets, and cross-GDB gets
5412 plenty of testing anyway.
5413 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5414 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5415 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5416 * gdb.base/README: Remove, was doc for this.
5417 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5418 needed.
5419
b83266a0
SS
54201999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5421
5422 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5423 output.
5424
5425 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5426 * gdb.base/annota2.exp: New file. More annotation tests.
5427 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5428 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5429
54301999-04-23 Angela Marie Thomas <angela@cygnus.com>
5431
5432 * config/cfdbug.exp: New file.
5433
7a292a7a
SS
54341999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5435
5436 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5437 Marcus Daniel's and Dale Hawkins's demangler crashes.
5438
5439 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5440 test_lucid_style_demangling, test_arm_style_demangling,
5441 test_hp_style_demangling): Try Tom Tromey's core-dumping
5442 identifier under each demangling style.
5443
54441999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5445
5446 * gdb.c++/demangle.exp: Include the current demangling style
5447 in all test names.
5448 (current_demangling_style): New global variable.
5449 (set_demangling_style, test_demangling_core, test_demangling,
5450 test_demangling_exact): New functions.
5451 (test_gnu_style_demangling, test_lucid_style_demangling,
5452 test_arm_style_demangling, test_hp_style_demangling): Use those,
5453 instead of calling gdb_test and gdb_test_exact directly.
5454 (catch_demangling_errors): New function, which reports errors
5455 signalled by the demangling test functions in an orderly way.
5456 (do_tests): Use catch_demangling_errors.
5457
54581999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5459
5460 * gdb.base/signals.exp (test_handle_all_print): Use () for
5461 grouping in expressions, not {}.
5462
5463 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5464 initialized yet.
5465
54661999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5467
5468 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5469 are listed.
5470
54711999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5472
5473 * gdb.stabs/weird.exp: Test for CC being defined before
5474 looking at its value.
5475
54761999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5477
5478 * gdb.base/call-ar-st.exp: Remove stray '#'.
5479 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5480 "short int" and "long int".
5481 * gdb.c++/overload.cc: Cast the string added in the previous
5482 change, to mollify finicky HP compiler.
5483 * gdb.hp/reg-test.exp (testfile): Fix file name.
5484 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5485
7a292a7a
SS
5486 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5487 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5488 alternate form of enum ptype.
5489
c906108c
SS
54901999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5491
7a292a7a
SS
5492 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5493 * gdb.hp/*.exp: Change all to run compiler probe only after
5494 passing skip_hp_tests, so as not to waste time on guaranteed
5495 failure.
5496
c906108c
SS
5497 * gdb.c++/overload.cc: Pass string instead of char addr, always
5498 init ccpfoo.
5499 * gdb.c++/templates.cc: Fix syntax error.
5500
7a292a7a
SS
5501Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5502
5503 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5504 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5505 command.
5506
55071999-03-18 James Ingham <jingham@cygnus.com>
5508
5509 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5510
5511 * gdb.c++/method.exp: It was testing an uninitialized int on the
5512 stack and assuming it was positive.
5513
5514 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5515
5516 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5517 keep it from killing the rest of the tests.
7a292a7a
SS
5518 Use gdb_continue_to_end.
5519
5520 * gdb.base/sigall.exp: use gdb_continue_to_end.
5521
5522 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5523
5524 * gdb.base/display.exp: use runto_main, not run.
5525
beb998c6
AC
5526 * gdb.base/default.exp: Check for the current error message in the
5527 r abbreviation test.
7a292a7a
SS
5528 Add strongarm to the targets that know info float.
5529
beb998c6 5530 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5531 run which doesn't work with monitors.
5532
5533 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5534
5535 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5536
5537 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5538 program. Traps the case (in Cygmon) when the program never really
5539 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5540 more places, so I used my name. Sorry Mark...
5541
5542 * config/monitor.exp (gdb_target_monitor): added another
5543 target_info parameter: remotebinarydownload. This will set the
5544 remotebinarydownload flag if this is causing some boards trouble.
5545
55461999-03-18 Mark Salter <msalter@cygnus.com>
5547
5548 * lib/gdb.exp (continue_to_exit): New function.
5549
5550 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5551 * gdb.base/ending-run.exp: Ditto.
5552 * gdb.base/step-test.exp: Ditto.
5553
55541999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5555
5556 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5557 (suggested by Art Haas <ahaas@neosoft.com>).
5558
55591999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5560
5561 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5562
5563Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5564
5565 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5566 descriptions of types (short unsigned int vs unsigned short, etc).
5567
55681999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5569
5570 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5571 a call to strlen; sometimes we do have sources.
5572
55731999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5574
5575 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5576 character, so GDB won't print garbage after its end.
beb998c6 5577
c906108c
SS
5578 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5579 breakpoint there instead. Sometimes GCC emits memcpy to handle
5580 the large structures being passed by value, so we step into that
5581 instead of sum_array_print, which obscures what we're really testing.
5582 * gdb.base/step-test.exp: However, we do want a test that notices
5583 the bizarre steps into memcpy, so do that here. Add check for
5584 stepping into function calls that pass large structures by value.
5585 ("Is that a noun clause, or are you just happy to see me?")
5586 Remove all references to specific line numbers.
5587 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5588 New type and function.
5589 (main): Call large_struct_by_value, passing it a large struct by value.
5590 * lib/gdb.exp (gdb_get_line_number): New function.
5591
5592 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5593 more portable.
5594
7a292a7a
SS
55951999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5596
c906108c
SS
5597 * lib/gdb.exp: Doc fixes.
5598
7a292a7a
SS
55991999-03-05 Nick Clifton <nickc@cygnus.com>
5600
beb998c6 5601 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5602
56031999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5604
c906108c
SS
5605 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5606 commands. They're not germane to this test, and they don't work
5607 that way on remote targets.
5608
3fc11d3e
JM
56091999-03-01 James Ingham <jingham@cygnus.com>
5610
5611 * Changelog entries merged over from gdb development branch.
5612
3fc11d3e
JM
5613 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5614
5615 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5616 for outputting results of test run.
5617
2d4a1622 5618 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5619
5620 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5621
7a292a7a
SS
56221999-02-25 Felix Lee <flee@cygnus.com>
5623
5624 * lib/gdb.exp (debug_format): initialize
5625
c906108c
SS
56261999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5627
5628 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5629 * gdb.base/call-rt-st.c: Ditto.
5630
c906108c
SS
56311999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5632
5633 * gdb.threads/pthreads.exp (horiz): New variable.
5634 (test_startup): Fix regexps that capture thread numbers.
5635
56361999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5637
5638 * gdb.base/smoke.exp: Disambiguate two test case names (both
5639 called ``print'').
5640
5641Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5642
5643 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5644 compilation.
5645
56461999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5647
5648 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5649 actual output formatting.
5650 * gdb.base/smoke.exp: GDB removes leading 0's.
5651 * gdb.base/volatile.exp: Don't check type of remuneration;
5652 that variable is no longer defined in constvars.c.
5653 * gdb.base/step-test.c (main): Exit with explicit exit code.
5654 * gdb.base/step-test.exp: Remove two nexti checks--they are
5655 not portable.
5656
56571999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5658
5659 * gdb.base/help.exp ("help delete display"): Fix test to match
5660 gdb's output.
5661
5662 * gdb.base/long_long.c (known_types): Initialize values to zero.
5663 * gdb.base/long_long.exp: Step one more line
5664 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5665 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5666 unique test case names.
5667
5668Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5669
beb998c6 5670 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5671
5672 * gdb.c++/method.exp: Add missing close brace.
5673
56741999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5675
5676 * gdb.base/maint.exp: Use 'set height 0' to disable page
5677 prompting, not 'set height 400'.
5678
5679 Fix a bunch of timeouts.
5680 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5681 four separate tests, so expect doesn't take forever to match a ton
5682 of text against a regexp with lots of .* forms.
5683 ("maint print psymbols", "maint print symbols"): Make some of
5684 these greps more selective, so that expect doesn't try to wade
5685 through huge piles of output and time out.
5686
5687 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5688
5689 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5690 tests: one which doesn't expect shlib events to be reported, and
5691 another which does, but is XFAIL for all platforms other than
5692 HP/UX.
5693
5694 * gdb.base/break.exp: Teach the test suite that the `catch
5695 fork', `catch vfork', and `catch exec' commands produce error
5696 messages on platforms that don't provide these features.
5697
5698Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5699
5700 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5701 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5702 (shortening names from solib_threshold.exp etc), won't run on
5703 anything but HP-UX for the foreseeable future.
5704 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5705 reflect move.
5706
5707Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5708
5709 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5710 gdb.trace/Makefile.in (clean): Remove all test executables.
5711
5712Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5713
5714 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5715 successfully re-sets breakpoints in shared libraries.
5716 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5717
5718Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5719
beb998c6
AC
5720 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5721 and compiled w/o GCC.
c906108c
SS
5722
5723 * gdb.hp/watch-cmd.exp: ditto.
5724
5725 * gdb.hp/watch-hp.exp: ditto.
5726
5727 * gdb.hp/xdb1.exp: ditto.
5728
5729 * gdb.hp/xdb2.exp: ditto.
5730
5731 * gdb.hp/dbx.exp: ditto.
5732
5733Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5734
5735 * constvars.c: Remove C++-isms.
5736 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5737 with GCC.
5738
5739Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5740
5741 The following changes are part of the HP merge.
5742
5743 * gdb.base/break.exp: new tests to verify that catchpoints for
5744 fork, vfork, and exec don't trigger inappropriately.
5745
5746 * gdb.base/opaque.exp: compile one file at a time, then link.
5747
5748 * gdb.base/signals.exp: be more restrictive about which hppa
5749 systems receive a setup_xfail. new tests.
5750
5751 * gdb.base/solib_threshold.build: new file.
5752 * gdb.base/solib_threshold.exp: new file.
5753 * gdb.base/solib_threshold.link_opts: new file.
5754 * gdb.base/solib_threshold.mk: new file.
5755 * gdb.base/gen_solib_threshold.c: new file.
5756
5757 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5758 tests. New tests for enums inside classes.
5759
5760 * gdb.c++/compiler.cc: indicate support of template debugging.
5761
5762 * gdb.c++/demangle.exp: run hp style demangling tests.
5763
5764 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5765 tests.
5766
5767 * gdb.c++/misc.cc: changes to support new tests.
5768
5769 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5770 to support new tests.
5771
5772 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5773 gcc, then skip these tests.
5774
5775Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5776
5777 The following files are part of the HP merge; some had longer
5778 names at HP, but have been renamed to be no more than 14
5779 characters in length.
5780
5781 * gdb.hp/ambiguous.cc: new file.
5782 * gdb.hp/ambiguous.exp: new file.
5783 * gdb.hp/attach.exp: new file.
5784 * gdb.hp/attach2.exp: new file.
5785 * gdb.hp/classes-hp.exp: new file.
5786 * gdb.hp/ctti.exp: new file.
5787 * gdb.hp/ctti-add.cc: new file.
5788 * gdb.hp/ctti-add1.cc: new file.
5789 * gdb.hp/ctti-add2.cc: new file.
5790 * gdb.hp/ctti-add3.cc: new file.
5791 * gdb.hp/dbx.exp: new file.
5792 * gdb.hp/exception.cc: new file.
5793 * gdb.hp/exception.exp: new file.
5794 * gdb.hp/foll-exec.c: new file.
5795 * gdb.hp/foll-exec.exp: new file.
5796 * gdb.hp/foll-fork.c: new file.
5797 * gdb.hp/foll-fork.exp: new file.
5798 * gdb.hp/foll-vfork.c: new file.
5799 * gdb.hp/foll-vfork.exp: new file.
5800 * gdb.hp/inherit-hp.exp: new file.
5801 * gdb.hp/more-steps.exp: new file.
5802 * gdb.hp/namespace.cc: new file.
5803 * gdb.hp/namespace.exp: new file.
5804 * gdb.hp/optimize.exp: new file.
5805 * gdb.hp/pxdb.c: new file.
5806 * gdb.hp/pxdb.exp: new file.
5807 * gdb.hp/quicksort.exp: new file.
5808 * gdb.hp/reg-test.exp: new file.
5809 * gdb.hp/reg-test.s: new file.
5810 * gdb.hp/sized-enum.c: new file.
5811 * gdb.hp/sized-enum.exp: new file.
5812 * gdb.hp/start-stop.exp: new file.
5813 * gdb.hp/templ-hp.cc: new file.
5814 * gdb.hp/templ-hp.exp: new file.
5815 * gdb.hp/thr-lib.c: new file.
5816 * gdb.hp/thr-lib.exp: new file.
5817 * gdb.hp/thr-lib.h: new file.
5818 * gdb.hp/thr-liblib.c: new file.
5819 * gdb.hp/virtfun-hp.c: new file.
5820 * gdb.hp/virtfun-hp.exp: new file.
5821 * gdb.hp/watch-cmd.exp: new file.
5822 * gdb.hp/watch-hp.exp: new file.
5823 * gdb.hp/xdb1.exp: new file.
5824 * gdb.hp/xdb2.exp: new file.
5825 * gdb.hp/xdb3.exp: new file.
5826
5827Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5828
5829 The following files are part of the HP merge; some had longer
5830 names at HP, but have been renamed to be no more than 14
5831 characters in length.
5832
5833 * gdb.base/ss.h: new file.
5834 * gdb.base/call-ar-st.c: new file.
5835 * gdb.base/call-ar-st.exp: new file.
5836 * gdb.base/call-rt-st.c: new file.
5837 * gdb.base/call-rt-st-exp: new file.
5838 * gdb.base/call-strs.exp: new file.
5839 * gdb.base/ena-dis-br.exp: new file.
5840 * gdb.base/environ.exp: new file.
5841 * gdb.base/long_long.exp: new file.
5842 * gdb.base/sect-cmd.exp: new file.
5843 * gdb.base/shlib-cl2.exp: new file.
5844 * gdb.base/smoke.exp: new file.
5845 * gdb.base/so-impl-ld.c: new file.
5846 * gdb.base/so-impl-ld.exp: new file.
5847 * gdb.base/so-indr-cl.c: new file.
5848 * gdb.base/so-indr-cl.exp: new file.
5849 * gdb.base/varargs.exp: new file.
5850 * gdb.base/volatile.exp: new file.
5851 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5852 * gdb.base/display.exp: new file.
c906108c
SS
5853 * gdb.c++/derivation.exp: new file.
5854 * gdb.c++/local.exp: new file.
5855 * gdb.c++/member-ptr.exp: new file.
5856 * gdb.c++/overload.exp: new file.
5857 * gdb.c++/ovldbreak.exp: new file.
5858 * gdb.c++/ref-types.exp: new file.
5859 * gdb.c++/ref-types2.exp: new file.
5860 * gdb.c++/userdef.exp: new file.
beb998c6 5861
c906108c
SS
5862Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5863
5864 * gdb.base/default.exp: Reflect wording change in remote.c.
5865
dc96c6c7 5866Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5867
5868 * gdb.base/help.exp: Update to reflect current text.
5869
5870Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5871
5872 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5873 they're stack variables and contain garbage.
5874 * gdb.c++/anon-union.exp: new file.
5875
5876 The following changes were made by David Taylor
5877 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5878 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5879 in changes by HP.
5880
5881 * gdb.base/bitops.exp: new file.
5882 * gdb.base/default.exp: change expected messages for catch and
5883 info catch tests to reflect HP merge changes.
5884 * gdb.base/enable-disable-break.exp
5885 * gdb.base/ending-run.c: new file.
5886 * gdb.base/long_long.c: new file.
5887 * gdb.base/maint.exp: new file.
5888 * gdb.base/pointers2.exp: new file.
5889 * gdb.base/shlib-call2.exp: new file.
5890 * gdb.base/solib.exp: new file.
5891 * gdb.base/step-test.c: new file.
5892 * gdb.c++/anon-union.cc: new file.
5893 * gdb.c++/local.cc: new file.
5894 * gdb.c++/member-pointer.cc: new file.
5895 * gdb.c++/method.cc: new file.
5896 * gdb.c++/ref-types.cc: new file.
5897 * gdb.c++/ref-types2.cc: new file.
5898 * gdb.c++/userdef.cc: new file.
beb998c6 5899
c906108c
SS
5900 * gdb.base/scope.exp: compile one file at a time, then link.
5901 * gdb.base/langs.exp: ditto.
5902 * gdb.base/list.exp: ditto.
beb998c6 5903
c906108c
SS
5904Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5905
5906 The following changes were made by David Taylor
5907 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5908 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5909 in changes by HP.
beb998c6 5910
c906108c
SS
5911 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5912 skip tests. When compiling pass c++ flag to gdb_compile.
5913 * gdb.c++/
beb998c6 5914
c906108c
SS
5915 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5916 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5917 (skip_hp_tests): new function.
5918 (gdb_preprocess): new function.
5919
5920 * configure.in (hpdir): decide whether to configure gdb.hp.
5921 * configure: regenerated.
5922
5923 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5924 to delete on clean.
5925 (EXECUTABLES): update to reflect new additions.
5926 * gdb.base/commands.exp: update message expected.
5927 * gdb.base/default.exp: add copyright notice.
5928 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5929 * gdb.base/help.exp: update messages to reflect current text.
5930 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5931 targets for recurse tests.
5932 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5933 skip this file.
5934
5935 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5936 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5937 compilation.
5938 * gdb.c++/misc.exp: ditto.
5939 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5940 run the tests. tell gdb_compile that it's a c++ compilation.
5941
5942 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5943
c906108c
SS
5944 * gdb.base/all-bin.exp: new file.
5945 * gdb.base/arithmet.exp: new file.
5946 * gdb.base/assign.exp: new file.
5947 * gdb.base/completion.exp: new file.
5948 * gdb.base/cond-expr.exp: new file.
5949 * gdb.base/condbreak.exp: new file.
5950 * gdb.base/define.exp: new file.
5951 * gdb.base/dollar.exp: new file.
5952 * gdb.base/environment.exp: new file.
5953 * gdb.base/eval-skip.exp: new file.
5954 * gdb.base/jump.exp: new file.
5955 * gdb.base/logical.exp: new file.
5956 * gdb.base/pointers.exp: new file.
5957 * gdb.base/relational.exp: new file.
5958 * gdb.base/section_command.exp: new file.
5959 * gdb.base/whatis-expr.exp: new file.
5960
5961 * gdb.base/all-types.c: new file.
5962 * gdb.base/call-array-struct.c: new file.
5963 * gdb.base/call-return-struct.c: new file.
5964 * gdb.base/call-strings.c: new file.
5965 * gdb.base/callfuncs2.c: new file.
5966 * gdb.base/condbreak.c: new file.
5967 * gdb.base/constvars.c: new file.
5968 * gdb.base/display.c: new file.
5969 * gdb.base/int-type.c: new file.
5970 * gdb.base/jump.c: new file.
5971 * gdb.base/miscexprs.c: new file.
5972 * gdb.base/pointers.c: new file.
5973 * gdb.base/pointers2.c: new file.
5974 * gdb.base/shmain.c: new file.
5975 * gdb.base/shr1.c: new file.
5976 * gdb.base/shr2.c: new file.
5977 * gdb.base/solib.c: new file.
5978 * gdb.base/solib1.c: new file.
5979 * gdb.base/solib2.c: new file.
5980 * gdb.base/varargs.c: new file.
5981 * gdb.c++/derivation.cc: new file.
5982 * gdb.c++/overload.cc: new file.
5983 * gdb.c++/ovldbreak.cc: new file.
5984 * gdb.hp/attach.c: new file.
5985 * gdb.hp/attach2.c: new file.
5986 * gdb.hp/average.c: new file.
5987 * gdb.hp/compiler.c: new file.
5988 * gdb.hp/compiler.cc: new file.
5989 * gdb.hp/execd-program.c: new file.
5990 * gdb.hp/follow-exec.c: new file.
5991 * gdb.hp/follow-fork.c: new file.
5992 * gdb.hp/follow-vfork-and-exec.c: new file.
5993 * gdb.hp/misc-hp.cc: new file.
5994 * gdb.hp/more-steps.c: new file.
5995 * gdb.hp/optimize.c: new file.
5996 * gdb.hp/quicksort.c: new file.
5997 * gdb.hp/run-hp.c: new file.
5998 * gdb.hp/start-stop.c: new file.
5999 * gdb.hp/sum.c: new file.
6000 * gdb.hp/templates-hp.cc: new file.
6001 * gdb.hp/thread-local-in-lib.c: new file.
6002 * gdb.hp/thread-local-in-lib.h: new file.
6003 * gdb.hp/thread-local-in-lib.lib.c: new file.
6004 * gdb.hp/vforked-program.c: new file.
6005 * gdb.hp/virtfunc-hp.cc: new file.
6006 * gdb.hp/watchpoint-hp.c: new file.
6007 * gdb.hp/xdb.c: new file.
6008 * gdb.hp/xdb0.c: new file.
6009 * gdb.hp/xdb0.h: new file.
6010 * gdb.hp/xdb1.c: new file.
6011
6012Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6013
6014 The following change was made by Edith Epstein
6015 <eepstein@cygnus.com> as part of a project to merge in changes
6016 originally made by HP; HP did not create ChangeLog entries.
6017
6018 * gdb.c++/demangle.exp: changed the expected output for some
6019 ARM-style mangling -- removed second reference to datatype.
6020 For example, maint demangle __dt__11T1__pt__2_cFv
6021 T1<char>::~T1<char>(void)
6022 becomes,
6023 maint demangle __dt__11T1__pt__2_cFv
6024 T1<char>::~T1(void)
6025
6026 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 6027
c906108c
SS
6028Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6029
6030 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6031 * gdb.trace/backtrace.exp: Likewise.
6032 * gdb.trace/circ.exp: Likewise.
6033 * gdb.trace/collection.exp: Likewise.
6034 * gdb.trace/deltrace.exp: Likewise.
6035 * gdb.trace/infotrace.exp: Likewise.
6036 * gdb.trace/limits.exp: Likewise.
6037 * gdb.trace/packetlen.exp: Likewise.
6038 * gdb.trace/passc-dyn.exp: Likewise.
6039 * gdb.trace/passcount.exp: Likewise.
6040 * gdb.trace/report.exp: Likewise.
6041 * gdb.trace/save-trace.exp: Likewise.
6042 * gdb.trace/tfind.exp: Likewise.
6043 * gdb.trace/tracecmd.exp: Likewise.
6044 * gdb.trace/while-dyn.exp: Likewise.
6045 * gdb.trace/while-stepping.exp: Likewise.
6046
60471998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6048
6049 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6050
6051Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6052
6053 From Brendan Kehoe:
6054 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6055 int return types.
6056
6057Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6058
6059 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6060 remote dos host testing right.
6061
6062Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6063
6064 * gdb.base/corefile.exp: remove some xfails.
6065
6066Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6067
6068 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6069 have different timestamps.
6070
6071Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6072
6073 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6074 gdb.base/default.exp: Replace "exec" with "executable".
6075
6076Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6077
6078 * gdb.base/default.exp: Change else if to elseif from previous
6079 delta.
6080
6081Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6082
6083 * gdb.base/default.exp: Add brace missing from previous delta.
6084
6085Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6086
6087 * gdb.base/default.exp: Support test for info float for all
6088 varieties of arm toolchain.
6089
dc96c6c7 6090Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6091
6092 * gdb.trace/*.exp: remove "remote_download" command.
6093
dc96c6c7 6094Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6095
6096 * gdb.trace/*.exp: remove -gdwarf from compile.
6097
6098Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6099
6100 * gdb.trace/configure.in(AC_INIT): typo
6101 * gdb.trace/configure: regenerated
6102
dc96c6c7 6103Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6104
6105 * config/m68k-emc.exp: New file.
6106 * lib/<emc-support.exp trace-support.exp}: New files.
6107 * configure.in: add new test directory gdb.trace.
6108 * gdb.trace/{configure configure.in Makefile.in}: New files.
6109 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6110 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6111 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6112 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6113 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6114 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6115 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6116
dc96c6c7 6117Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6118
6119 * gdb.c++/classes.exp: Change all regular expressions to match
6120 arbitrary combinations of newline/carriage-return, so that they
6121 will work equally well on Unix and Windows.
6122 * gdb.c++/inherit.exp: ditto.
6123 * gdb.c++/virtfunc.exp: ditto.
6124
61251998-08-11 Dawn Perchik <dawn@cygnus.com>
6126
6127 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6128
c2d11a7d
JM
6129Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6130
6131 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6132 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6133 to use a0-a3/d0-d3 as needed.
6134
6135Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6136
6137 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6138 * gdb.disasm/am33.exp: Corresponding changes.
6139
c906108c
SS
61401998-07-11 Felix Lee <flee@cygnus.com>
6141
6142 * gdb.base/callfuncs.exp: add cmp10 test.
6143 * gdb.base/callfuncs.c (cmp10): new function.
6144
6145Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6146
beb998c6 6147 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6148 into two parts to get around a synchronization problem in expect.
6149
3fc11d3e
JM
6150Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6151
6152 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6153
6154 * configure.in: Add options for gdbtk testsuite.
6155
6156 * configure: Regenerate.
6157
6158 * gdb.gdbtk: New directory to hold gdbtk tests.
6159
c906108c
SS
6160Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6161
6162 * gdb.fortran/types.exp: Escape brackets in expect patterns
6163 for test_float_literal_types_accepted tests.
6164 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6165 before run test.
6166
c2d11a7d
JM
6167Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6168
6169 * am33.exp: Just compile, do not link the testcase.
6170 * am33.s: Add ".am33" pseudoop to force am33 mode.
6171
c906108c
SS
61721998-06-25 Felix Lee <flee@cygnus.com>
6173
6174 * gdb.base/setshow.exp: make sure $pc is sane.
6175
6176 * gdb.stabs/weird.exp: split expect patterns properly.
6177
c2d11a7d
JM
6178Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6179
6180 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6181 * gdb.disasm/am33.exp: Run it.
6182
dc96c6c7 6183Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6184
6185 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6186 match processing (and eliminate spurious timeouts when running).
6187
dc96c6c7 6188Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6189
6190 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6191 exception test, but conditionalize it on target [mach | gnu].
6192
dc96c6c7 6193Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6194
6195 * gdb.base/overlays.exp: fixup compile line for linker script.
6196
6197Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6198
6199 * gdb.fortran/types.exp: don't guess at float size.
6200
6201Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6202
6203 * gdb.base/exprs.exp: delete test that depends on int size.
6204
6205Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6206
6207 * config/sim.exp: Removed checks for target triplets.
6208 (gdb_target_sim): Use gdb,target_sim_options.
6209
6210Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6211
6212 * gdb.base/reread.exp: New file.
6213 * gdb.base/reread1.c: New file.
6214 * gdb.base/reread2.c: New file.
6215
6216Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6217
6218 * config/sim.exp: Use 'target sim -sparclite' when running
6219 SPARClite programs.
6220
6221Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6222
6223 * gdb.base/structs2.exp: New file.
6224 * gdb.base/structs2.c: New file.
6225
6226Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6227
6228 * gdb.asm/common.inc: New file.
6229 * gdb.asm/d10v.inc: New file.
6230 * asm-source.exp: Pass -I's to gas to find .inc files.
6231 Update line numbers in expected output.
6232 * asmsrc1.s: Rewrite.
6233 * asmsrc2.s: Rewrite.
6234 * configure.in: Create arch.inc symlink.
6235 * configure: Regenerate.
6236 * Makefile.in (distclean): Delete arch.inc.
6237
6238Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6239
6240 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6241 (t_enum_value2): ditto
6242 (t_enum_value3): ditto
6243 (main): ditto
6244Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6245
6246 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6247 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6248 change.
6249 Use gdb_test instead of send_gdb/gdb_expect sequences.
6250
6251Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6252
6253 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6254 not void.
6255
6256Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6257
6258 * gdb.base/branches.c: Code with lots of loops and
6259 subroutines. Used to test gdbs ability to single step through PC
6260 changes, especially to test mips-tdep.c:mips_next_pc
6261
6262Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6263
6264 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6265 more rigorous EGCS C++ error checking.
6266
6267Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6268
6269 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6270 tests.
c906108c 6271 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6272 function when asleep.
c906108c 6273 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6274 for i*86 Linux and SVR4 signal handling problems.
6275 Remove linux xfail for `next to handler in signals_tests_1', fixed
6276 by recent infrun.c change.
c906108c 6277 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6278 stack backtraces.
c906108c
SS
6279 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6280 target.[ch] change.
6281
6282Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6283
6284 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6285 for a newline from gdb before continuing.
6286 (default_gdb_exit): Just look for y or n.
6287 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6288 it does, fail the rests of the tests in the file.
6289
6290Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6291
6292 * config/cygmon.exp: New file.
6293
6294Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6295
6296 * gdb.base/list.exp: Fix problem with "list default lines around
6297 main" test on remote targets.
6298
6299 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6300 run test on remote targets.
6301
6302Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6303
6304 * gdb.asm: New directory.
6305 * configure.in: Configure it.
6306 * configure: Regenerate.
6307 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6308 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6309
6310Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6311
6312 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6313
dc96c6c7 6314Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6315
c906108c
SS
6316 * gdb.base/overlays (several files): Merge the two overlay
6317 managers into one. Change variables (foox, barx, bazx, grbxx)
6318 back into ints but force them to load in their proper sections.
6319
6320Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6321
6322 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6323 on-chip insn memory and IMAP1 to upper 128k.
6324 (D10VCopy): Handle memory regions crossing 16k boundaries.
6325 (D10VCopy): Transfer data in 32 bit chunks.
6326
6327Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6328
6329 * gdb.base/overlays.c (main): Exit normally when result is
6330 correct.
6331
6332 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6333 map. Include space for printf in .text segment.
6334
6335 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6336 updated d10v memory VMA/LMA map.
6337 (D10VCopy): Call D10VTranslate.
beb998c6 6338
c906108c
SS
6339Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6340
6341 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6342
6343 * gdb.base/bar.c (barx, bar): Change variable to small array so
6344 that it won't be put into the .sdata - small data -
6345 section. Update reference.
6346 * gdb.base/baz.c (bazx, baz): Ditto.
6347 * gdb.base/foo.c (foox, foo): Ditto.
6348 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6349
6350 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6351 to be arrays.
beb998c6 6352
dc96c6c7 6353Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6354
c906108c
SS
6355 * gdb.base/overlays.exp: fix up and get working again.
6356 Add tests for backtraces from an overlay function.
beb998c6 6357
c906108c
SS
6358Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6359
6360 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6361 "calling function with watchpoint enabled".
6362
6363Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6364
6365 * gdb.base/break.exp (test_next_with_recursion): Remove
6366 gdb_suppress_tests for d10v-*-*.
6367 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6368 pending review of whether it is useful or not.
6369
6370Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6371
6372 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6373
6374Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6375
6376 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6377 * config/dve.exp: New file to support Densan boards.
6378
6379Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6380
6381 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6382 reads and BSD.
6383
6384Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6385
6386 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6387 response.
6388
6389 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6390
6391Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6392
6393 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6394 test.
6395
6396 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6397 target_sizeof_long and target_bigendian_p.
6398 (structs_by_value, structs_by_reference): Check values according
6399 to targets word size and endianess.
beb998c6 6400
c906108c
SS
6401Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6402
6403 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6404 output.
6405
6406Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6407
6408 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6409 Update test of set args help to match source change.
6410
6411Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6412
6413 * gdb.base/default.exp: Expect help system output to be in
6414 alphabetical order.
6415 * gdb.base/help.exp: Ditto.
6416
6417Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6418
6419 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6420 "i*86-pc-linux-gnu*".
6421 * gdb.base/interrupt.exp: Ditto.
6422 * gdb.base/corefile.exp: Ditto.
6423
6424 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6425 define vxworks when building the testcase.
6426
6427 * gdb.base/ptype.exp: Fix testnames to be unique.
6428 * gdb.base/radix.exp: Ditto.
6429 * gdb.base/term.exp: Ditto.
6430 * gdb.base/whatis.exp: Ditto.
6431 * gdb.c++/classes.exp: Ditto.
6432
6433Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6434
6435 * gdb.base/callfuncs.exp: Fix indentation.
6436
6437 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6438 suppress_flag has been set.
6439 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6440 target feature.
6441
6442Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6443
6444 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6445 the testcase.
6446
6447 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6448 set_debug_traps() and breakpoint().
6449 * gdb.c++/misc.cc (main): Ditto.
6450 * gdb.c++/templates.cc (main): Ditto.
6451 * gdb.c++/virtfunc.cc (main): Ditto.
6452
6453Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6454
6455 * lib/gdb.exp(gdb_step_for_stub): New function.
6456 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6457 exists, reload the executable and do a "continue" instead of
6458 doing a jump.
6459 (runto_main): Use gdb_step_for_stub.
beb998c6 6460
c906108c
SS
6461 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6462 tests to have unique names.
6463 * gdb.base/callfuncs.exp: Ditto.
6464 * gdb.base/commands.exp: Ditto.
6465 * gdb.base/default.exp: Ditto.
6466 * gdb.base/help.exp: Ditto.
6467 * gdb.base/list.exp: Ditto.
6468 * gdb.base/opaque.exp: Ditto.
6469 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6470 similar tests.
beb998c6 6471
c906108c
SS
6472 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6473 * gdb.c++/cplusfuncs.cc: Ditto.
6474 * gdb.c++/virtfunc.cc: Ditto.
6475
6476 * config/monitor.exp: Keep track of the last file we saw, rather
6477 than trying to get the info from gdb.
6478
6479 * gdb.fortran/types.exp: Move comment to previous line.
6480
6481Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6482
6483 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6484 target mode.
6485
6486Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6487
6488 From Bob Manson:
6489 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6490 string from GDB when it connects.
6491
6492 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6493
6494Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6495
6496 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6497 if we can't get a debug format from GDB (we may be testing an
6498 older GDB). Use a 10 second timeout when checking for the format.
6499
6500 * gdb.stabs/weird.exp: Fix quoting.
6501
6502 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6503
6504Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6505
6506 * config/arm-ice.exp: New file.
6507
6508Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6509
6510 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6511 until it has been modified to work with the new testsuite.
6512
99707966 6513 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6514 testcase won't compile, cause all of the testcases in the file to
6515 fail instead.
6516
6517 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6518 (gdb_clear_suppressed): New procedure.
6519 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6520 it contains a positive value.
6521
6522Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6523
6524 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6525
6526 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6527
6528Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6529
6530 * lib/gdb.exp (setup_xfail_format): New function.
6531 (get_debug_format): New function to get debug format.
6532 (debug_format): New global variable to hold last value set
6533 by get_debug_format.
6534 * gdb.base/list.exp: Call get_debug_format and expect some
6535 tests to fail for DWARF 1 and COFF formats.
6536 * gdb.c++/ptype.exp: Ditto.
6537 * gdb.c++/classes.exp: Ditto.
6538 * gdb.c++/cplusfuncs.exp: Ditto.
6539 * gdb.c++/inherit.exp: Ditto.
6540 * gdb.c++/templates.exp: Ditto.
6541 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6542
c906108c
SS
6543Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6544
6545 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6546 host doesn't have a currently-open connection.
6547
6548 * config/sparclet.exp: Cleanups and fixes to make it generic for
6549 any gdb stub target. Handle cases where gdb doesn't respond when
6550 interrupted in a sane fashion.
6551
6552 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6553 same thing in a totally different way.
6554
6555 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6556 setting "timeout".
6557 (gdb_start): We set the global gdb_prompt variable in
6558 default_gdb_init now.
6559
6560Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6561
6562 * gdb.base/printcmds.exp: Fix "check for floating addition"
6563 regexp to accept results within approx +/- .01 of exact value.
6564 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6565
6566Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6567
6568 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6569 properly.
6570 (gdb_expect): Add optional timeout parameter, and add timeout
6571 value to various calls.
6572 (gdb_suppress_tests): Only give one warning message per group.
6573
6574Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6575
6576 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6577 global variables. Handle getting a value for $timeout more
6578 gracefully.
6579
6580Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6581
6582 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6583 initialize.
6584 (default_gdb_init): New procedure; allow gdb_init to be overridden
6585 by a target configuration file.
6586 (gdb_expect): Pass the timeout to remote_expect.
6587
6588 * config/monitor.exp(gdb_load): Fix typo in regexp.
6589
6590Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6591
6592 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6593
6594Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6595
6596 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6597 here. Call gdb_target_exec before rebooting the target, to make
6598 sure the connection to the target is closed.
6599 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6600 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6601 Also detect "Timeout reading from remote" error.
6602
6603 * config/gdbserver.exp: Pass the executable being loaded to
6604 gdb_target_monitor. Don't call gdb_file_cmd here; let
6605 gdb_target_monitor do it.
6606
6607 * gdb.disasm/hppa.exp: Don't use exec_output.
6608
6609Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6610
6611 * gdb.base/list.exp: If we're debugging a non-native target,
6612 try to set the pc register to point to the start of the
6613 program before doing the first list command.
6614
6615 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6616 test_calls after restarting.
6617
6618 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6619 reloading.
6620
6621 * gdb.base/watchpoint.exp: Fix typo.
6622
6623 * gdb.base/setshow.exp: Check for use_gdb_stub.
6624
6625 * gdb.base/break.exp: Fix continue until exit test for the gdb
6626 stub case.
6627 * gdb.base/langs.exp: Ditto.
6628
6629 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6630 gdb_load_offset. If we weren't given a file to load, figure out
6631 what the current file is and use it.
6632
6633 * config/i386-bozo.exp: New file.
6634
6635Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6636
6637 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6638 feature.
6639
6640 * config/proelf.exp: New entry.
6641
6642Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6643
6644 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6645 of regexps.
6646
6647 * gdb.base/watchpoint.exp: Don't run the test_stepping
6648 tests if gdb can't call functions on the target.
6649
6650 * gdb.base/setshow.exp: Don't run the set prompt tests if
6651 the board has gdb_prompt set.
6652
6653Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6654
6655 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6656 * gdb.base/commands.exp: Likewise.
6657 * gdb.base/setshow.exp: Likewise.
6658
6659Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6660
6661 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6662 feature.
6663
6664 * config/i960.exp: New file.
6665
6666Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6667
6668 * gdb.base/funcargs.exp: Check for gdb,short_int target
6669 feature instead of looking for explicit target triplets.
6670
dc96c6c7 6671Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6672
beb998c6 6673 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6674 "p 123DEADBEEF", to check parse_number.
6675 * top.c: change "to enable to enable" to "to enable" in a couple
6676 of help strings.
6677
6678Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6679
6680 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6681 on the mn10300.
beb998c6 6682
c906108c
SS
6683Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6684
6685 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6686 where the test executable is run with explicit args.
6687 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6688
6689Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6690
6691 * gdb.base/run.c: Use FAKEARGV to build test executable that
6692 does not require a command line arg, since most simulators
6693 don't currently support passing such an arg into the simulated
6694 program.
6695 * gdb.base/commands.exp: Change tests to insert the proper
6696 value as the arg to the first recursive factorial call. Change
6697 compilation line to define FAKEARGV at compile time.
6698
6699Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6700
6701 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6702 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6703 function with watchpoint enabled" test.
6704
6705Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6706
6707 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6708 Don't call gdb_test when the command doesn't return to a gdb prompt.
6709
6710 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6711 "Tests restarted" messages.
6712
6713Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6714
6715 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6716
dc96c6c7 6717Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6718
6719 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6720 for INFO SYMBOL; add help tests for OVERLAY commands.
6721 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6722 add tests for OVERLAY commands
6723 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6724 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6725 * gdb.base/sigall.c: add usestubs code frag
6726 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6727
c906108c
SS
6728Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6729
6730 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6731 failures.
6732 (gdb_stop_suppressing_tests): Note that tests have restarted.
6733
6734Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6735
6736 * config/h8300.exp: New file.
6737
6738Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6739
6740 * gdb.base/setshow.exp: Check for the existence of a
6741 feature, not its value.
6742
6743Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6744
6745 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6746
6747 * gdb.base/scope.exp: It's now init0(), not init().
6748
6749 * gdb.base/scope0.c: For now, change init() to be init0().
6750
6751 * config/monitor.exp: Use gdb_serial in preference to serial
6752 or netport.
6753
6754 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6755 and it's not already set.
6756
6757Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6758
6759 * gdb.base/setshow.exp: Only test the run command if the target
6760 isn't using a stub and if it supports argument passing.
6761
6762Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6763
6764 * config/udi.exp(gdb_start): Make sure UDICONF is set
6765 properly before starting gdb.
6766
6767Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6768
6769 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6770 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6771 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6772
6773Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6774
6775 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6776 specialized code to reboot the board, use remote_reboot instead.
6777
6778 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6779
6780 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6781
6782 * config/monitor.exp: Make sure we disconnect from the target.
6783 Also, try a reboot/reload cycle instead of failing if the
6784 load fails.
6785
6786Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6787
6788 * gdb.base/default.exp: Don't set match_max.
6789 * gdb.base/help.exp: Ditto.
6790 * gdb.base/list.exp: Ditto.
6791 * gdb.base/signals.exp: Ditto.
6792
6793 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6794 set, use remote_ld to download the testcase instead of
6795 the GDB loader.
6796
6797Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6798
6799 * config/vr5000.exp: New file.
6800
6801 * config/monitor.exp(gdb_target_monitor): Add pattern for
6802 "Ending remote" to detect errors in connecting.
6803
6804 * gdb.base/setshow.exp: Add .* within auto language test.
6805
6806 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6807 target feature.
6808
6809 * config/monitor.exp(gdb_load): Check for a failure when loading,
6810 and reboot the board if necessary.
6811
6812 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6813 a set of tests. Remove print.* from the patterns being checked.
6814
6815Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6816
6817 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6818 refer to gdb_spawn_id.
6819
6820 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6821 longer used.
6822 * config/sparclet.exp: Ditto.
6823 * config/sparclet-old.exp: Ditto.
6824 * config/slite.exp: Ditto.
6825 * config/sim.exp: Ditto.
6826 * gdb.base/funcargs.exp: Ditto.
6827
6828 * lib/gdb.exp:Remove references to gdb_spawn_id.
6829 (gdb_expect): Move to remote.exp.
6830
6831Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6832
6833 * config/monitor.exp: Detect the "Couldn't establish connection"
6834 message from GDB.
6835
6836Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6837
6838 * gdb.base/bitfields.exp: Use runto instead of explicit
6839 gdb_run_cmd/gdb_expect sequences.
6840
6841 * gdb.base/break.exp(text_next_with_recursion): Add match for
6842 gdb_expect call.
6843
6844 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6845 We also need to handle the "A program is being debugged already"
6846 prompt from gdb. Use gdb_test to set the baud rate.
6847
6848 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6849 to 20000. Really. I mean it.
6850
6851Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6852
6853 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6854 fails. If suppress_flag is set, skip perror message about not
6855 being able to send to GDB.
6856 (send_gdb): If suppress_flag is set, don't try to send commands to
6857 GDB.
6858 (gdb_expect): If suppress_flag is set, always fail immediately.
6859 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6860 (gdb_init): Call gdb_stop_suppressing_tests.
6861 (default_gdb_exit): Ditto.
6862 (default_gdb_start): Ditto.
6863
6864 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6865 gdb_stop_suppressing_tests as appropriate.
6866 * gdb.base/break.exp: Ditto.
6867 * gdb.base/callfuncs.exp: Ditto.
6868 * gdb.base/commands.exp: Ditto.
6869 * gdb.base/exprs.exp: Ditto.
6870 * gdb.base/funcargs.exp: Ditto.
6871 * gdb.base/list.exp: Ditto.
6872 * gdb.base/recurse.exp: Ditto.
6873 * gdb.base/scope.exp: Ditto.
6874 * gdb.base/structs.exp: Ditto.
6875 * gdb.c++/inherit.exp: Ditto.
6876
6877Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6878
6879 * config/vr4300.exp: New file.
6880
99707966
MC
6881 * gdb.*/*.exp: Call gdb_expect instead of expect.
6882
6883 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6884
6885Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6886
6887 * lib/gdb.exp(gdb_init): New function.
6888
6889 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6890 for each individual variable set.
6891
6892 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6893 name.
6894
6895 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6896
6897 * gdb.base/scope.exp: Use gdb_test.
6898
6899 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6900 aborting; the testsuite driver will do that for us (see
6901 gdb_finish). Also, use gdb_test in a few more places.
6902
6903Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6904
6905 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6906
6907Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6908
6909 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6910 and "add_tests" are not at the same address.
6911
6912Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6913
6914 * gdb.base/ptype.exp: Use gdb_test.
6915
6916Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6917
6918 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6919 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6920 left in. No longer expect them to fail.
6921
6922 * gdb.stabs/*.mt; Deleted, no longer used.
6923 * gdb.stabs/configure.in: Remove references to target makefile
6924 frags.
6925 * gdb.stabs/configure: Rebuilt.
6926
6927 * gdb.disasm/*.mt: Deleted, no longer used.
6928 * gdb.disasm/configure.in: Remove references to target makefile
6929 frags. Use "sh3.s" as the unique filename for this directory.
6930 * gdb.disasm/configure: Rebuilt.
6931
6932 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6933 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6934 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6935
6936Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6937
6938 * config/udi.exp: Use mondfe,name instead of remote_host.
6939
6940Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6941
6942 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6943 a function with a watchpoint enabled on the mn10200.
6944
6945 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6946 before trying to create it!
6947
6948Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6949
6950 * config/vx.exp: Use hostname instead of netport.
6951
6952 * config/vxworks.exp: New file.
6953
6954 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6955
6956 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6957 gdb before assuming everything worked. Send a ^C if a timeout
6958 occurs.
6959
6960 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6961 $gdb_spawn_id directly.
6962 (gdb_run_cmd): Try _start as well as start. Use the target feature
6963 gdb,start_symbol as the symbol to start from when jumping.
6964
6965Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6966
6967 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6968 redundant) test.
6969
6970 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6971 it doesn't lose for 16bit integer systems.
6972
6973Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6974
6975 * gdb.fortran/types.exp: If the target doesn't support "double"
6976 data types, then expect "real" types to only be 4 bytes.
6977
6978 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6979 call tests if the target doesn't support inferior function calls.
6980
6981 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6982 in printf tests.
6983
6984Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6985
6986 * gdb.base/help.exp: Disable "help set", "help show", and
6987 "help support". Simplify regexp for "help stack".
6988
6989 * gdb.base/default.exp: Set match_max to 5000 and the timeout
6990 to 60 seconds. Temporarily set match_max to 15000 around the
6991 "info copying" test.
6992
6993 * gdb.base/nodebug.exp: Don't try to do an inferior function
6994 call if the target doesn't support them.
6995 * gdb.base/printcmds.exp: Likewise.
6996 * gdb.base/setvar.exp: Likewise.
6997 * gdb.base/structs.exp: Likewise.
6998 * gdb.c++/templates.exp: Likewise.
6999 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7000
7001 * gdb.base/recurse.exp: Enable for the mn10200.
7002
7003 * configure.in: Do configure gdb.stabs directory for *-*-elf
7004 targets.
7005 * configure: Rebuilt.
7006
7007 * gdb.base/break.exp: Check for gdb,noresults before testing
7008 exit status and/or results from the target.
7009 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7010 * lib/gdb.exp: Remove old (now bogus) initialization of
7011 noinferior, noargs, noresults and nosignals.
7012
7013Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7014
7015 * config/sh.exp: New file.
7016
7017 * config/slite.exp: Try to connect multiple times to the board
7018 before rebooting. Only send a "monitor run" if need_monitor_run
7019 is set.
7020
7021 * gdb.base/break.exp: Don't do the "stub continue" test if
7022 the target has gdb_stub set.
7023
7024 * gdb.base/callfuncs.exp: Increase the timeout.
7025
7026 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7027 if the target has gdb,noinferiorio set.
7028
7029 * gdb.base/list.exp: Increase match_max to 10000 characters.
7030
7031 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7032
7033 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7034 target.
7035
7036 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7037
7038Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7039
7040 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7041 trying to delete the copy of gdb. Catch the file delete so we
7042 don't die if the delete fails; also, the file should be copied to
7043 the host, not to the build.
7044
7045Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7046
7047 * lib/gdb.exp(gdb_test): Surround the result pattern with
7048 parenthesis in case it contains multiple regexps separated
7049 with |.
7050
7051 * gdb.base/watchpoint.exp: Use gdb_test.
7052 * gdb.base/default.exp: Ditto.
7053
7054Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7055
99707966 7056 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 7057
c906108c
SS
7058 * gdb.base/scope.exp: Use gdb_test.
7059 * gdb.c++/classes.exp: Ditto.
7060 * gdb.c++/inherit.exp: Ditto.
7061
7062Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7063
7064 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7065 remote_exec instead.
7066 * gdb.base/corefile.exp: Don't be ridiculous.
7067 * gdb.base/*.c: Add missing stub invocations.
7068
7069Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7070
7071 * config/slite.exp: Miscellaneous fixes.
7072
7073 * lib/gdb.exp: Fix runto.
7074
7075 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7076 the target.
7077
7078 * gdb.base/watchpoint.exp: Fix regexp.
7079
7080 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7081 close and wait commands, as the descriptor may now be
7082 invalid. Always call "remote_close host".
7083
7084Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7085
7086 Major rewrite for testsuite revision.
beb998c6 7087
c906108c
SS
7088 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7089 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7090 instead of relying on spawn_id to always contain a valid
7091 spawn id.
7092 (get_compiler_info): New procedure to build the ${binfile}.ci
7093 file, instead of replicating this in N different places.
7094 (gdb_compile): New procedure.
beb998c6 7095
c906108c
SS
7096 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7097 appropriate arguments) instead of compile. Use gdb_test in a lot
7098 more places. Use send_gdb instead of send. Always run gdb_start
7099 at the start of a testcase, as this is no longer done magically.
7100
7101 config/*-gdb.exp: Rename without the -gdb suffix.
7102
7103 config/mips.exp: Use remote_close instead of exit_remote_shell.
7104 config/monitor.exp: Use target_info instead of looking at
7105 baud, timeout, etc.
7106 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7107
7108Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7109
7110 * gdb.c++/templates.exp (test_ptype_of_templates),
7111 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7112 Update expect patterns for destructors and assignment operators
7113 to match corresponding c-typeprint.c changes.
7114 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7115 to destructor breakpoint test, GDB should be able to set the
7116 destructor breakpoint without specifying arguments.
7117
7118Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7119
7120 * gdb.threads/pthreads.exp: Change result for failure to compile due
7121 to lack of pthreads runtime support from an error to simply an
7122 unsupported test, per dejagnu standards.
7123
7124Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7125
7126 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7127 where GDB exits to reduce pattern match time.
7128 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7129
7130 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7131
dc96c6c7 7132Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7133
7134 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7135 * gdb.base/default.exp: ditto.
7136 * gdb.base/nodebug.exp: ditto.
7137 * gdb.base/printcmds.exp: ditto.
7138 * gdb.base/ptype.exp: ditto.
7139 * gdb.base/setvar.exp: ditto.
7140 * gdb.base/structs.exp: ditto.
7141 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7142
7143Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7144
7145 * configure, */configure: Rebuild with autoconf 2.12.
7146
7147Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7148
7149 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7150 use new i*86-pc-linux*-gnu quads.
7151 * gdb.base/corefile.exp: Ditto.
7152 * gdb.base/signals.exp: Ditto.
7153 * gdb.base/sigall.exp: Ditto.
7154 * gdb.base/interrupt.exp: Ditto.
7155
7156 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7157 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7158 RedHat 4.0.
beb998c6 7159
c906108c
SS
7160 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7161 linux. This allows the test case to at least compile on latest
7162 linux, but still not run due to missing the threads runtime library.
7163
7164Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7165
7166 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7167 directory to search gdb directory. Accept and step over conditional
7168 stack alignment code. Consume $prompt in failure cases.
7169 Reset timeout to $oldtimeout instead of some arbitrary value.
7170 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7171 timeout problems with infinite stack backtraces.
7172 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7173 Accept function parameters for linkfunc member.
7174
7175Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7176
7177 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7178 (CXXFLAGS): Remove, unreferenced.
7179 (B_OPTIONS): Add for -B options and add code to initialize with
7180 previous -B options and also add -B option to pick up cross compiled
7181 runtime.
7182 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7183 doing cross compiles.
7184 (target_alias): Declare global.
7185 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7186 to verify that gcc exists in build tree, and if so set CC to that
7187 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7188
c906108c
SS
7189Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7190
7191 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7192 ptype test for anonymous union. Fixup testcase to match
7193 current gcc debug output.
7194
7195Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7196
7197 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7198 force argument to an unsigned long type.
7199
7200Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7201
7202 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7203 tests and anonymous union print/ptype tests.
7204 * gdb.base/list.exp (test_forward-search): Increase timeout by
7205 5 minutes for the "search extremely long line" case.
7206 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7207 completely optional and that the pass/fail messages use the command as
7208 the message if that third arg is a null string.
7209 (gdb_test_exact): Arrange that a null string pattern means match a
7210 null string output rather than any output, which might include random
7211 errors.
7212 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7213 backtrace test.
7214 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7215 always failing and failure is now exposed by gdb.exp changes.
7216
7217Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7218
7219 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7220 weren't being noted.
7221
7222Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7223
7224 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7225 * gdb.stabs/weird.exp: Remove v_comb xfails.
7226
dc96c6c7 7227Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7228
7229 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7230 list.exp scope.exp watchpoint.exp]
7231 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7232
dc96c6c7 7233Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7234
7235 * config/monitor.exp: Increase download timeout to 1000 seconds.
7236
dc96c6c7 7237Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7238
7239 * config/m32r.exp: Increase timeout to 120 seconds.
7240
7241Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7242
7243 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7244 and accept older ordering as obsolescent gcc or gdb.
7245 * gdb.c++/templates.exp: Ditto.
7246 * gdb.c++/virtfunc.exp: Ditto.
7247
7248Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7249
7250 * gdb.base/coremaker.c: Add code to mmap some data so we
7251 can check that it ends up in the core file.
7252 * gdb.base/corefile.exp: Add test to read mmapped data
7253 from core file.
7254
dc96c6c7 7255Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7256
7257 * config/m32r.exp: New file.
7258
7259Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7260
7261 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7262 that cflags can contains -gstabs, and work correctly for other tests.
7263
dc96c6c7 7264Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7265
7266 * gdb.base/setshow.exp: New file, tests show and set.
7267 * gdb.base/setshow.c: New file, tests show and set.
7268 * gdb.base/help.exp: Add test for help set|show annotate.
7269 * gdb.base/default.exp: Add test for set|show annotate.
7270
7271Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7272
7273 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7274 errors unique.
7275 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7276 explicitly.
7277
7278Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7279
7280 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7281 and width commands. This is done elsewhere.
7282 * (gdb_start): Don't call gdb_start_sim here. That's already
7283 done in gdb_load. This fixes lots of failures in default.exp.
7284
7285Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7286
7287 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7288 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7289 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7290 in the same we we treat other failures (since it may be an expected
7291 condition), rather than as an error.
7292 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7293 old test format.
7294
7295Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7296
7297 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7298 (distclean maintainer-clean realclean): No need to remove files
7299 twice. Nuke the duplicates.
7300 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7301 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7302 Remove config.h along with other config files.
7303
7304Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7305
7306 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7307 "p func1 ()" and note that rests of tests are skipped.
7308 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7309 setup_xfails for "print func2::coremaker_local".
7310 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7311 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7312 affected by the previous run test.
7313 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7314 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7315 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7316 "pass int powerset tuple" and "pass modeless int powerset tuple".
7317 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7318 "real write 4" and "real write 8".
7319 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7320 setup_xfails for "print vs1 after tuple assign 2",
7321 "print \$i after tuple assign 2", and
7322 "print vs2 after tuple assign 2".
7323 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7324 meaningful error message and return -1 so the caller can
7325 suppress further tests and avoid a cascade of errors.
beb998c6 7326
c906108c
SS
7327Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7328
7329 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7330 format for printing version.
7331 * gdb.base/default.exp: Ditto.
7332 * gdb.base/interrupt.exp: Fix problem with cascade of
7333 errors if child process dies while calling a function.
beb998c6 7334
c906108c
SS
7335Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7336
7337 * Makefile.in (VPATH): Add
7338 * Makefile.in (Makefile, config.status): Fix rules so things get
7339 remade when necessary.
7340
7341Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7342
7343 * Makefile.in (just-check): Add path to sibling expect dir
7344 to environment variable specified by RPATH_ENVVAR.
7345
7346Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7347
7348 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7349 (just-check): Add shared library paths for libstdc++, tk,
7350 tcl, bfd, and opcodes to the environment variable specified
7351 in RPATH_ENVVAR.
7352 * configure.in: Add support to recognize --enable-shared flag
7353 and generate correct value for RPATH_ENVVAR.
7354 * configure: Regenerated with autoconf.
7355
7356Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7357
7358 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7359 include all osf versions.
7360 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7361 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7362 when target is linux. When failing to build pthreads test
7363 executable, give more meaningful message.
7364 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7365 arg for pthread_create.
beb998c6 7366
c906108c
SS
7367Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7368
7369 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7370 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7371 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7372 and -lpthreads (everybody else).
7373 (test_startup): Fail gracefully if threads are not supported.
7374 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7375 "p/c array_index("abcdef",2)" when not gcc compiled.
7376 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7377 "print func2::coremaker_local" when not gcc compiled.
7378 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7379 "ptype on opaque struct tagname (statically)",
7380 "ptype on opaque struct tagname (dynamically) 1", and
7381 "ptype on opaque struct tagname (dynamically) 2"
7382 for not compiled with gcc.
7383 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7384 backtrace when compiled with gcc.
beb998c6 7385 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7386 than always return success.
7387
7388Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7389
7390 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7391
7392Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7393
7394 * gdb.base/structs.exp: Undo last change.
7395
7396Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7397
7398 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7399 encapsulate all the steps/nexts done during self test, starting
7400 at main, and makes them less sensitive to optimization issues.
7401 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7402 signal handler" test.
7403 * gdb.threads/pthreads.exp: Only run this for native configs.
7404 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7405 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7406 tests.
7407 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7408 for "runto test_calls(void)" test.
beb998c6 7409
c906108c
SS
7410Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7411
7412 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7413 and don't expect address info in breakpoint confirmations.
7414
7415Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7416
7417 * gdb.base/list.exp (test_forward_search): Increase timeout
7418 temporarily by 60 seconds for searching extremely long line,
7419 and then reset to old value when done. Increase expect input
7420 buffer to 10000.
7421
7422Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7423
7424 * gdb.base/list.exp (test_forward_search): Fix to handle very
7425 long source line without overflowing expect's input buffer.
7426
7427Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7428
7429 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7430 "buffer_full".
7431
7432 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7433 "buffer_full".
7434
7435 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7436 "buffer_full".
7437
7438 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7439 "buffer_full".
7440
7441Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7442
7443 * configure.in (configdirs): Add gdb.threads.
7444 * configure: Regenerated with autoconf.
7445 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7446 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7447 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7448
c906108c
SS
7449Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7450
7451 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7452
7453Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7454
7455 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7456 each signal's status in the output of "handle all print".
7457 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7458 the \r\n sequence that immediately precedes the gdb prompt.
7459 * gdb.base/a1-selftest.exp: Save original timeout and restore
7460 after test.
7461
7462Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7463
7464 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7465 symbol.
7466
7467Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7468
7469 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7470
7471Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7472
7473 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7474 timeout by 60 seconds.
7475
7476Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7477
7478 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7479 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7480 error return.
7481
7482Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7483
7484 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7485 gdb initialization, also report how long dejagnu waited. Restore
7486 old timeout before doing error return. Temporarily increase timeout
7487 by 3 minutes to allow for slow startups over heavy NFS use.
7488
7489Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7490
7491 * lib/gdb.exp: Report timeout value for verbosity level 2.
7492 * config/gdbserver.exp: Ditto.
7493 * config/hppro.exp: Ditto.
7494 * config/mips-gdb.exp: Ditto.
7495 * config/monitor.exp: Ditto.
7496 * config/netware.exp: Ditto.
7497 * config/sim-gdb.exp: Ditto.
7498 * config/slite-gdb.exp: Ditto.
7499 * config/udi-gdb.exp: Ditto.
7500 * config/unix-gdb.exp: Ditto.
7501 * config/vx-gdb.exp: Ditto.
7502 * gdb.base/a1-selftest.exp: Ditto.
7503 * gdb.base/a2-run.exp: Ditto.
7504 * gdb.base/break.exp: Ditto.
7505 * gdb.base/corefile.exp: Ditto.
7506 * gdb.base/list.exp: Ditto.
7507 * gdb.base/recurse.exp: Ditto.
7508 * gdb.base/scope.exp: Ditto.
7509 * gdb.base/signals.exp: Ditto.
7510
7511Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7512
7513 * gdb.threads/Makefile.in (docdir): Removed.
7514
7515Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7516
7517 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7518 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7519 @srcdir@.
beb998c6 7520 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7521 autoconf 2.5 or higher.
7522 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7523
7524Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7525
7526 * configure: Regenerated.
7527 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7528 avoid name clashes with SunOS headers.
7529
7530Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7531
7532 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7533
7534Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7535
7536 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7537 prototype information ends up in the compiler info file.
7538
7539Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7540
7541 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7542 attempting to regenerate it. Eliminate use of a temporary file
7543 and just generate the info file directly. Source it immediately,
7544 for consistency of use.
7545 * gdb.base/corefile.exp: Ditto
7546 * gdb.base/exprs.exp: Ditto.
7547 * gdb.base/funcargs.exp: Ditto.
7548 * gdb.base/langs.exp: Ditto.
7549 * gdb.base/list.exp: Ditto.
7550 * gdb.base/mips_pro.exp: Ditto.
7551 * gdb.base/nodebug.exp: Ditto.
7552 * gdb.base/opaque.exp: Ditto.
7553 * gdb.base/ptype.exp: Ditto.
7554 * gdb.base/scope.exp: Ditto.
7555 * gdb.base/setvar.exp: Ditto.
7556 * gdb.base/signals.exp: Ditto.
7557 * gdb.base/whatis.exp: Ditto.
7558 * gdb.c++/templates.exp: Ditto.
7559 * gdb.c++/virtfunc.exp: Ditto.
7560 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7561 whether or not to add -lstdc++ to the compile command line args.
7562
7563Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7564
7565 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7566 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7567 Increase timeout, a lot of single stepping might be needed if the
7568 target has no hardware watchpoints.
7569
7570Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7571
7572 * gdb.base/break.exp: Ignore compiler warnings when compiling
7573 break.c.
7574 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7575 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7576 from remote-sim.
7577 * gdb.base/exprs.exp: Add h8300 xfails.
7578 * gdb.base/funcargs.exp: Likewise.
7579 * gdb.base/nodebug.exp: Likewise.
7580 * gdb.base/printcmds.exp: Likewise.
7581 * gdb.base/ptype.exp: Likewise.
7582 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7583 h8300 xfails.
beb998c6 7584 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7585 on the h8300.
7586 * gdb.base/funcargs.c: Explicitly make last constant argument to
7587 call_after_alloca_subr an unsigned long type.
7588 * gdb.base/return.c: Include stdio.h.
7589
7590Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7591
7592 * config/abug.exp: New file for the older Motorola Bug monitor
7593 that runs on the mvme13x series VME boards.
7594 * config/monitor.exp: Use the new config array for target settings
7595 if they exist.
7596
7597Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7598
7599 * sim-gdb.exp: Make the SH simulator allocate less space when
7600 it is targeted.
7601
7602Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7603
7604 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7605 test.
7606
7607Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7608
7609 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7610 "rs6000-*-*" for "list function in include file" when gcc compiled.
7611 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7612 for "p ctable1[120]".
7613 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7614 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7615 Remove setup_xfail for "rs6000-*-*" for
7616 "print 'scope0.c'::filelocal before run".
7617 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7618 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7619 since some compilers don't allow both options to be given
7620 on the same command line. Create object file and move it.
beb998c6 7621
c906108c
SS
7622Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7623
7624 * gdb.base/corefile.exp: Always regenerate the core file, since
7625 we always regenerate the coremaker program. Detect special case
7626 where registers cannot be read from core file.
beb998c6 7627
c906108c
SS
7628Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7629
7630 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7631 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7632 * gdb.c++/templates.exp: Only match on basename of file since
7633 some formats like xcoff don't encode directory information.
7634 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7635 and rs6000 AIX xcoff targets.
7636 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7637 * configure: Regenerate.
7638 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7639 here, rather than in distclean.
beb998c6 7640
c906108c
SS
7641Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7642
7643 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7644 defined, and use it to compile the test case with -O2. The
7645 native compilation still uses no optimization.
7646 * gdb.base/mips_pro.c: Remove inline assembly code since
7647 it is compiled PIC by default, which results in assembler
7648 warnings that make the testsuite think the compilation
7649 was unsuccessful.
7650
7651Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7652
7653 * gdb.c++/misc.exp: Add note to message for
7654 "print s.a for foo struct" that this is a known gcc 2.7.2
7655 and earlier bug.
7656
7657Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7658
7659 * gdb.base/break.exp: Fix pattern for matching "Delete all
7660 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7661 setup_xfail for deleting all breakpoints test. Fix various
7662 timeout messages to include "(timeout)".
7663 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7664 for "p t_float_values2(3.14159,float_val2)".
7665 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7666 for "continue to call2g" when gcc compiled.
7667 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7668 "up to foo in langs.exp", "show language at foo in langs.exp",
7669 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7670 and "show language at fsub in langs.exp".
7671 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7672 "list line 1 in include file", "list message for lines past EOF",
7673 "list function in include file", "list list0.h:foo", and
7674 "list filename:function; nonexistant function".
7675 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7676 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7677 and "ptype t_char_array" to be for native cc only.
beb998c6 7678
c906108c
SS
7679Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7680
beb998c6 7681 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7682 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7683 "print func2::coremaker_local", and "backtrace in corefile.exp".
7684
7685Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7686
7687 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7688 "bt in signals.exp". This problem only appears when running
7689 the testsuite, and then only intermittently.
7690
7691Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7692
7693 * gdb.base/return.exp (return_tests): Differentiate between
7694 two tests of continuing.
7695
7696Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7697
7698 * */Makefile.in (maintainer-clean): Remove config.log.
7699 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7700 * gdb.c++/Makefile.in (PROGS): Add inherit.
7701 (clean): Remove *.ci.
7702
7703Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7704
7705 * gdb.c++/misc.cc: Add test code from Mike Stump.
7706 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7707
7708Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7709
7710 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7711 to "alpha-*-osf2*" and add comment.
7712 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7713 setup_xfail for "step over execarg initialization" and
7714 "step over corearg initialization".
7715 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7716 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7717 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7718 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7719 "print func2::coremaker_local", and "backtrace in corefile.exp".
7720 * gdb.base/signals.exp: Build and source signals.ci.
7721 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7722 to be for gcc only.
7723 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7724
c906108c
SS
7725Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7726
7727 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7728 Feb 3 procfs.c change.
7729
7730Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7731
7732 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7733
7734Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7735
7736 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7737 from dejagnu's apparent default of 10 seconds, which gives random
7738 results when running the tests over NFS on moderately loaded systems.
7739 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7740
7741Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7742
7743 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7744 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7745 result reports.
7746
7747Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7748
7749 * configure.in (CY_AC_PATH_TCLH): Remove.
7750 * configure: Regenerate.
7751
7752Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7753
7754 * gdb.c++/Makefile.in (clean): Add missing '{'.
7755
7756Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7757
7758 * lib/gdb.exp: Provide a default value for noinferior.
7759
7760 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7761 Load libgloss.exp.
7762
7763Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7764
7765 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7766 the executable, not the .o to run the tests from.
7767
7768Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7769
7770 * gdb.base/break.exp: Don't test for program exit or exit status
7771 if $noresults if nonzero.
7772 * gdb.base/langs.exp: Likewise.
7773 * gdb.base/watchpoint.exp: Likewise.
7774
7775 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7776 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7777 trying to compile the testcase.
7778
7779Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7780
7781 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7782 * gdb.base/signals.exp (continue to handler): Likewise.
7783
7784Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7785
7786 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7787
7788 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7789
7790Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7791
7792 * gdb.base/corefile.exp: Recognize "not found" as failure
7793 when trying to determine if a core file was generated.
7794 If no core file was generate the first time, try again without
7795 the ulimit -c to work around braindamaged shells.
7796
7797Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7798
7799 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7800 [] tests with "test" and enclose string in quotes.
7801 * gdb.stabs/configure: Rebuild
beb998c6 7802
c906108c
SS
7803Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7804
7805 Changes in sync with expect:
7806 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7807 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7808 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7809 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7810 argument to AC_REQUIRE.
7811 * configure: Regenerated.
7812
7813Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7814
7815 * gdb.base/corefile.exp: When generating a core, discard any
7816 error messages about ulimit not found and the "core dumped"
7817 message from the shell that runs the coredumper.
7818
7819Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7820
7821 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7822
7823 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7824 which sed script to run. Expect failure for v_comb test
7825 on PA targets too.
beb998c6 7826
c906108c
SS
7827Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7828
7829 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7830 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7831
7832Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7833
7834 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7835 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7836 "sparc-sun-solaris*" xfails for "p v_comb".
7837 * lib/gdb.exp (default_gdb_start): Fix typo.
7838 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7839 messages to not include the full program name that caused
7840 the core dump since some systems (such as solaris) apparently
7841 truncate this path to about 80 characters.
7842 When generating a core file first try increasing the core file
7843 size limit to unlimited since some systems may default it to
7844 zero, and it is harmless to try it. Move the test for failing
7845 to generate a core file to where it will actually get executed.
7846 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7847 new gdb result from g++ debug info improvements and make old
7848 pattern obsolescent. Also account for size_t differences
7849 (may be int or long).
7850 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7851 initialization before function call is placed in the delay slot
7852 and thus appears to be skipped over by commands such as "next".
7853
7854Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7855
7856 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7857
7858Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7859
7860 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7861 input source file; fix code to compile test to deal with this
7862 convention.
7863 * gdb.c++/*.exp: Likewise.
7864
7865Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7866
7867 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7868 "bt in signals.exp".
7869
7870Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7871
7872 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7873 "step over execarg initialization" and
7874 "step over corearg initialization".
7875
7876Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7877
7878 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7879 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7880
7881Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7882
7883 From Rob Savoye (rob@poseidon.cygnus.com)
7884 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7885 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7886 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7887 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7888 configure.in}: Major reworking for autoconfig.
7889 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7890 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7891 New files.
7892 * config/unix-gdb.exp: Make GDB global.
7893 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7894 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7895 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7896 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7897 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7898 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7899 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7900 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7901 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7902 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7903 pr-8136.exp, result.exp, string.exp, tuples.exp},
7904 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7905 to returns as necessary, arrange for test to compile own testcase
7906 executable.
7907 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7908
c906108c
SS
7909Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7910
7911 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7912 clear_xfail at end of test which might not call either pass or fail.
7913 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7914 "backtrace through signal handler".
7915
7916Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7917
7918 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7919 continuing from a job control stop signal.
7920 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7921
7922Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7923
7924 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7925 * gdb.base/corefile.exp: Likewise.
7926 * gdb.base/funcargs.exp: Likewise.
7927
7928Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7929
7930 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7931 * config/monitor.exp: Add support for setting baud rate.
7932
7933Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7934
7935 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7936 i*86-*-linux* xfails for "backtrace through signal handler".
7937 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7938 "print func2::coremaker_local".
7939 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7940 alpha-dec-osf2* xfail for
7941 "delete all breakpoints when none".
7942
7943Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7944
7945 * gdb.base/break.exp: Change test that deletes all breakpoints
7946 when no user breakpoints are installed. A post 4.15 change
7947 causes gdb to no longer prompt in this case.
7948
7949Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7950
7951 * gdb.base/return.exp (return_tests): Change xfail for test
7952 "correct value returned double test" to stop xfailing at
7953 Solaris 2.5. Apparently the bug has been fixed.
7954
7955Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7956
7957 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7958 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7959
7960Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7961
7962 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7963 * gdb.disasm/hppa.s: Corresponding changes.
7964
7965Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7966
7967 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7968 makefile fragment.
7969 * config/mt-hpux: Deleted.
7970
7971Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7972
beb998c6 7973 * Many files: When warning about suppressed tests due to a
c906108c
SS
7974 nonexistant test binary, avoid incrementing the warning count.
7975
7976Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7977
7978 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7979
c906108c
SS
7980Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7981
7982 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7983 "sparc-*-solaris2*".
7984
7985Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7986
7987 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
7988 Add global and local variables and initialize them.
7989 * gdb.base/corefile.exp: Test correct mapping of corefile sections
7990 by printing variables. Remove rs6000 and powerpc xfails, BFD now
7991 extracts the file name and terminating signal from the core file.
7992 * TODO: Remove note about tests for correct mapping of corefile.
7993 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
7994 from optimizing it away.
7995 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
7996 handles common blocks.
7997
7998Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
7999
8000 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8001 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8002
8003Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8004
8005 * Makefile.in (maintainer-clean): New target, synonym for
8006 realclean.
8007 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8008 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8009 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8010 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8011 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8012 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8013
8014Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8015
8016 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8017 xfails when not gcc compiled for "print foo::funclocal".
8018 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8019 "print foo::funclocal at foo",
8020 "print 'scope1.c'::foo::funclocal at foo",
8021 "print foo::funclocal_bss at foo",
8022 "print 'scope1.c'::foo::funclocal_bss at foo",
8023 "print foo::funclocal_ro at foo",
8024 "print 'scope1.c'::foo::funclocal_ro at foo",
8025 "print bar::funclocal at foo" and
8026 "print 'scope1.c'::bar::funclocal at foo".
8027 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8028 gcc compiled for "print foo::funclocal at bar".
8029 Expand all messages to ensure that they identify that
8030 the test is at bar().
8031 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8032 gcc compiled for:
8033 "ptype on opaque struct pointer (statically)",
8034 "ptype on opaque struct tagname (statically)",
8035 "ptype on opaque struct pointer (dynamically) 1",
8036 "ptype on opaque struct tagname (dynamically) 1",
8037 "ptype on opaque struct pointer (dynamically) 2" and
8038 "ptype on opaque struct tagname (dynamically) 2
8039 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8040 gcc compiled for:
8041 "p datalocal"
8042 "whatis datalocal",
8043 "ptype datalocal",
8044 "p bsslocal",
8045 "whatis bsslocal", and
8046 "ptype bsslocal".
8047 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8048 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8049 when not gcc compiled.
8050 * gdb.base/funcargs.exp (float_and_integral_args): Add
8051 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8052 compiled.
8053 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8054 "backtrace from call6a" when not gcc compiled.
8055 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8056 "backtrace from call7a" when not gcc compiled.
8057 * gdb.base/callfuncs.exp (do_function_calls):
8058 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8059 "p t_char_array_values(char_array_val2,char_array_val1)",
8060 "p t_char_array_values(char_array_val1,char_array_val2)",
8061 "p t_char_array_values("carray 1","carray 2")",
8062 "p t_char_array_values("carray 1",char_array_val2)",
8063 "p t_char_array_values(char_array_val1,"carray 2")",
8064 "p sum_args(1,{2})",
8065 "p sum_args(2,{2,3})",
8066 "p sum_args(3,{2,3,4})",
8067 "p sum_args(4,{2,3,4,5})"
8068 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8069 "backtrace in corefile.exp" when not gcc compiled.
8070
8071Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8072
8073 * gdb.base/signals.exp: Rewrite `handle all print' test as
8074 a procedure. Accept blanks or TABs as whitespace, increase
8075 timeout and expect input buffer size for the large output
8076 from the command. Remove "i*86-*-bsdi2.0" xfail.
8077
8078Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8079
8080 * gdb.base/setvar.exp: Add new testcases for truncation when
8081 assigning invalid values to bitfields.
8082
8083Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8084
beb998c6 8085 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8086 mips-sgi-irix* xfail for
8087 "call inferior func with struct - returns char *"
8088 and fix test so that an optional (unsigned char *) cast is
8089 accepted in the result.
8090
8091Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8092
8093 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8094 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8095 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8096 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8097 that accidentally got checked in.
8098
8099Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8100
beb998c6 8101 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8102 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8103 compiled test.
8104 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8105 Add mips-sgi-irix5* xfail for not gcc compiled.
8106 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8107 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8108 "p top", "whatis top", "p middle", and "whatis middle".
8109 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8110 "whatis signed char" for not gcc compiled.
8111 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8112 "set variable signed char=-1 (-1)" and
8113 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8114 * gdb.base/funcargs.exp (float_and_integral_args):
8115 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8116 Add mips-sgi-irix* xfail when not gcc compiled for
8117 "continue to call2b".
8118 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8119 "continue to call2g".
8120 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8121 "backtrace from call6a"
8122 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8123 "backtrace from call7k".
8124 Add mips-sgi-irix5* xfail when not gcc compiled for
8125 "backtrace from call7a".
8126 (localvars_after_alloca): Fix gdb_test cmds for
8127 "print * after runto ...".
8128 Remove rs6000-*-* xfails for
8129 "print i after runto localvars_after_alloca" and
8130 "print l after runto localvars_after_alloca"
8131 for all compilers.
8132 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8133 when not compiled with gcc, for:
8134 "print signed char == (minus)",
8135 "print signed char != (minus)",
8136 "print signed char < (minus)",
8137 "print signed char > (minus)".
8138 * gdb.base/callfuncs.exp (do_function_calls):
8139 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8140 "call inferior func with struct - returns char *".
beb998c6 8141 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8142 "correct value returned double test" to include Solaris 2.4.
8143 * gdb.base/funcargs.exp (float_and_integral_args):
8144 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8145
c906108c
SS
8146Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8147
8148 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8149 enumeration bitfields if compiling with GNU C.
8150 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8151 to empty' prompt.
8152
8153Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8154
8155 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8156 test for PRO targets.
8157
8158 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8159 breakpoints in the inferior at any given time by making
8160 two groups of breakpoints for call2*, call6* and call7*
8161 tests.
8162
8163Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8164
8165 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8166 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8167 from optimizing it away.
8168 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8169 "call inferior func with struct".
8170
8171Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8172
8173 * configure.in: Only configure gdb.chill for particular targets.
8174
8175Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8176
8177 * gdb.base/Makefile.in: Add action to .c.o transformation
8178 rule that generates a .ci file for each .o file and remove
8179 explicit .c.o rules except for callfuncs.o.
8180 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8181 generates a .ci file for each .o file and remove explicit
8182 .cc.o rules.
8183 (clean): Remove *.tmp *.ci files.
8184 (EXECUTABLES): Remove templ-info.exp.
8185 * gdb.base/compiler.c: New file.
8186 * gdb.c++/compiler.cc: New file
8187 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8188 Change rs6000-*-* xfail for
8189 "print 'scope0.c'::filelocal_ro" and
8190 "print 'scope1.c'::filelocal" and
8191 "print 'scope1.c'::filelocal_bss" and
8192 "print 'scope1.c'::filelocal_ro" and
8193 "print 'scope1.c'::foo::funclocal" and
8194 "print 'scope1.c'::foo::funclocal_ro" and
8195 "print 'scope1.c'::bar::funclocal" and
8196 "print 'scope0.c'::filelocal_ro" and
8197 "print 'scope1.c'::filelocal at foo" and
8198 "print 'scope1.c'::filelocal_bss at foo" and
8199 "print 'scope1.c'::filelocal_ro at foo" and
8200 "print 'scope1.c'::foo::funclocal at foo" and
8201 "print 'scope1.c'::foo::funclocal_bss at foo" and
8202 "print 'scope1.c'::foo::funclocal_ro at foo" and
8203 "print 'scope1.c'::bar::funclocal at foo" and
8204 "print 'scope0.c'::filelocal_ro" and
8205 "print 'scope1.c'::filelocal" and
8206 "print 'scope1.c'::filelocal_bss" and
8207 "print 'scope1.c'::filelocal_ro" and
8208 "print 'scope1.c'::foo::funclocal" and
8209 "print 'scope1.c'::foo::funclocal_bss" and
8210 "print 'scope1.c'::foo::funclocal_ro" and
8211 "print 'scope1.c'::bar::funclocal" and
8212 "print 'scope1.c'::bar::funclocal_bss"
8213 to only be xfail'd when not compiled with gcc.
beb998c6 8214 Add rs6000-*-* xfail for
c906108c
SS
8215 "print 'scope0.c'::filelocal_bss before run"
8216 when compiled with gcc.
8217 (test_at_main): Add rs6000-*-* xfail for
8218 "print filelocal_ro in test_at_main"
8219 when compiled with gcc.
8220 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8221 Add rs6000-*-aix* xfail for
c906108c
SS
8222 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8223 "ptype t_char_array", not compiled with gcc.
8224 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8225 xfail for "list foo (in include file)" when gcc compiled.
8226 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8227 (integral_args): Add rs6000-*-* xfail for
8228 "run to call0a" if not compiled with gcc.
8229 (unsigned_integral_args): Add rs6000-*-* xfail for
8230 "run to call1a" if not compiled with gcc.
8231 (float_and_integral_args): Add rs6000-*-* xfail for
8232 "run to call2a" if not compiled with gcc and for
8233 "continue to call2b" for any compiler.
8234 Add rs6000-*-* xfail to
8235 "print f1 after run to call2a" for gcc compiled.
8236 (discard_and_shuffle): Add rs6000-*-* xfail for
8237 "run to call6a".
8238 (shuffle_round_robin): Add rs6000-*-* xfail for
8239 "backtrace from call7a" if not compiled with gcc.
8240 Add rs6000-*-* xfail for
8241 "backtrace from call7b" if compiled with gcc.
8242 (call_after_alloca): Add rs6000-*-* xfail for
8243 "print c in call_after_alloca" and
8244 "print s in call_after_alloca" and
8245 "backtrace from call_after_alloca_subr"
8246 if not compiled with gcc.
8247 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8248 "print c in localvars_in_indirect_call" and
8249 "print c in localvars_in_indirect_call" and
8250 "backtrace in indirectly called function" and
8251 "stepping into indirectly called function"
8252 if not compiled with gcc.
8253 (localvars_after_alloca): Add rs6000-*-* xfail for
8254 "print c after runto localvars_after_alloca" and
8255 "print s after runto localvars_after_alloca" and
8256 "print i after runto localvars_after_alloca" and
8257 "print l after runto localvars_after_alloca"
8258 for all compilers.
8259 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8260 than whatis-info.exp.
8261 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8262 than opaque-info.exp.
8263 Setup rs6000-*-* xfail for
beb998c6 8264 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8265 "ptype on opaque struct pointer (dynamically)" when
8266 not compiled with gcc.
8267 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8268 rather than callf-info.exp.
8269 (do_function_calls): Add clear_xfail for rs6000-*-* for
8270 "p t_float_values2(3.14159,float_val2)". Seems to work
8271 fine there, both with xlc and gcc. Need to find out what
8272 it is doing right and fix other platforms.
8273 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8274 "call inferior func with struct - returns int",
8275 "call inferior func with struct - returns long",
8276 "call inferior func with struct - returns float",
8277 "call inferior func with struct - returns double",
8278 "call inferior func with struct - returns char *",
8279 but only if not gcc compiled (presumes xlc compiled).
8280 Change rs6000-*-* xfails for
8281 "call inferior func with struct - returns char" and
8282 " call inferior func with struct - returns short" to only
8283 xfail if not using gcc.
8284 (clean mostlyclean): Remove *.ci and *.tmp files.
8285 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8286 than templ-info.exp.
8287 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8288 Add rs6000-*-* xfail for "up to foo in langs.exp"
8289 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8290 when not gcc compiled.
beb998c6 8291
c906108c
SS
8292Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8293
8294 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8295 * gdb.base/corefile.exp: Likewise.
8296 * gdb.base/list.exp: Likewise.
8297 * gdb.base/scope.exp: Likewise.
8298 * gdb.base/siganls.exp: Likewise.
8299
8300 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8301 compiler output.
8302 * gdb.base/whatis.exp: Likewise.
8303
8304Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8305
8306 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8307 failure (opcode table has been fixed to match reality).
8308
8309Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8310
8311 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8312 "call inferior func with struct - returns char",
8313 "call inferior func with struct - returns short"
8314
8315 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8316 "print 'scope0.c'::filelocal at main",
8317 "print 'scope0.c'::filelocal_bss in test_at_main",
8318 "print 'scope0.c'::filelocal at foo",
8319 "print 'scope0.c'::filelocal_bss in test_at_foo",
8320 "print 'scope0.c'::filelocal at bar",
8321 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8322
c906108c
SS
8323 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8324 in source file 1". This bug seems to have been fixed with both
8325 gcc and native cc (was native assembler bug?).
8326
8327Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8328
8329 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8330 "backtrace through signal handler" to "i*86-*-sysv4*".
8331 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8332 continue" case. Add "known SVR4 bug" to fail message.
8333 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8334 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8335 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8336 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8337 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8338 "up to foo in langs.exp", "show language at foo in
8339 langs.exp", "up to cppsub_ in langs.exp", "show
8340 language at cppsub_ in langs.exp", "up to fsub in
8341 langs.exp", and "show language at fsub in langs.exp".
8342 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8343 "bactrace in corefile.exp".
8344 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8345 "call inferior function with struct - returns float" and
8346 "call inferior function with struct - returns double".
beb998c6 8347
c906108c
SS
8348Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8349
8350 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8351 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8352 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8353 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8354
8355Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8356
8357 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8358 (or overriden) "CHILL" macro rather then bare "gcc".
8359 Also look for ../../gcc/xgcc since that is what we will
8360 actually need, not "Makefile". Remove following assignment
8361 of CHILL to CHILL_FOR_TARGET because that results in
8362 recursive definition.
8363
8364Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8365
8366 * gdb.base/corefile.exp: Change xfail for backtrace in
8367 corefile.exp from linuxaout to all linux.
8368 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8369 cases where we miss the breakpoint at the signal handler
8370 for some reason. Setup xfail for linuxoldld/linuxaout and
8371 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8372 hitting SIGURG breakpoint.
8373 * gdb.base/signals.exp: Setup xfail for "next" acting like
8374 continue to add linuxoldld. Setup xfail for all linux for
8375 "next to handler in signals_tests_1", "backtrace in
8376 signals_tests_1", "continue to func1", "pass SIGUSR1",
8377 and continue to handler".
8378
8379Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8380
8381 * Update all FSF addresses except those in COPYING* files.
8382
8383Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8384
8385 * gdb.base/a2-run.exp: Change messages to be more explicit about
8386 the status of args, and quote binfile in results.
8387
8388Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8389
8390 * gdb.base/callfuncs.exp: Add tests for passing structs to
8391 inferior functions and return various types.
8392 * gdb.base/callfuncs.c: Add functions to receive a struct
8393 and return a member of the struct, in various types.
8394
8395Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8396
8397 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8398
8399Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8400
8401 * config/vxworks29k.exp: New file, sources vxworks.exp.
8402
8403Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8404
8405 * config/gdbremote.exp: New file. Testing framework using
8406 gdbserver.
8407
8408Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8409
8410 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8411 "call function when asleep" and "send end of file".
8412 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8413 for "backtrace in corefile.exp".
8414 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8415 for "backtrace through signal handler".
8416 * gdb.base/corefile.exp: Make sure we actually generate a core file
8417 before trying the core tests. Some systems allow the user to suppress
8418 generation of core files and default to that (linux for example).
8419 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8420 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8421
8422Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8423
8424 * gdb.threads: New directory with some crude multi-threaded
8425 gdb tests (step.exp and step2.exp).
8426 * config/mt-lynx (STEP_EXECUTABLE): Define.
8427 (THREADFLAGS): Define.
8428
8429Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8430
8431 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8432
8433 * gdb.base/signals.exp: Disable whole file for lynx until
8434 further notice.
8435
8436 * gdb.base/signals.exp: xfail test where "next" acts like
8437 "continue" for lynx.
8438
8439 * gdb.base/interrupt.exp: xfail test for calling function while
8440 inferior is asleep for lynx.
8441
8442 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8443 than one cr-lf after each command.
8444
8445Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8446
8447 * configure.in: Reinstate setting of stabsdirs variable, fix
8448 typo in setting up configdirs for native builds.
8449
8450 * gdb.base/return.exp: Fix typo in return double test.
8451 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8452 compiler from optimizing them away.
8453
8454Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8455
8456 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8457 sequences to be echo'd by gdb when using gdb_test.
8458 * gdb.chill/chexp.exp: Likewise.
8459 * gdb.fortran/exprs.exp: Likewise
8460
8461Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8462
8463 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8464 after the inferior gdb has started.
8465
8466 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8467 after each command.
8468 * gdb.base/funcargs.exp: Likewise.
8469 * gdb.base/gdbvars.exp: Likewise.
8470 * gdb.base/interrupt.exp: Likewise.
8471 * gdb.base/list.exp: Likewise.
8472 * gdb.base/watchpoint.exp: Likewise.
8473 * gdb.c++/demangle.exp: Likewise.
8474 * gdb.c++/inherit.exp: Likewise.
8475 * gdb.chill/chexp.exp: Likewise.
8476 * gdb.fortran/exprs.exp: Likewise.
8477
8478 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8479 test if we can't handle IO to/from the inferior.
8480
8481 * gdb.c++/misc.exp: Always check for a program already being
8482 started after sending a "run" command to gdb.
8483
8484 * gdb.base/twice.exp: Start with a fresh gdb.
8485
8486 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8487 only depend on gdb's expression code, not the chill runtime.
8488
8489 * gdb.base/return.c: Put return values into variables so we
8490 can have gdb print them rather than depending on the program
8491 to print them.
8492 * gdb.base/return.exp: Corresponding changes.
8493
8494 * lib/gdb.exp: Provide default value for noinferiorio.
8495 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8496 the inferior.
8497
8498 * gdb.base/break.exp: Always check for a program already being
8499 started after sending a "run" command to gdb.
8500 (text_next_with_recursion): Don't check the output from the
8501 program's printf statement. Instead just make sure the program
8502 exited.
8503
8504 * gdb.base/commands.exp: Protect tests which need arguments with
8505 $noargs conditionals.
8506
8507Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8508
8509 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8510 of structure member arrays to match gdb/valops.c:value_addr change.
8511
8512Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8513
8514 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8515 cases.
8516
8517Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8518
8519 * configure.in (configdirs): Remove gdb.chill from default list
8520 of subdirs and then add it back in only if doing a native build.
8521 The current chill compiler does not yet work in any cross build.
8522 * Revert all signal changes from Jul 6.
8523 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8524 for sh-hms targets, allowing these tests to link, with no other
8525 changes. Testing is suppressed by setting "nosignals" in site.exp.
8526
8527Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8528
8529 * configure.in (signaldirs): Define and add to configdirs for all
8530 targets except some specific ones that are known to not support signals.
8531 Also clean up formatting.
8532 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8533 (signals, sigall): Remove rules to build.
8534 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8535 Moved to new gdb.signals directory.
8536 * gdb.signals: New test directory.
8537 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8538 signals.c signals.exp}: New or moved files.
8539
8540Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8541
8542 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8543
8544Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8545
8546 * gdb.base/return.exp: Xfail `return double' test failure
8547 on at least Solaris 2.3 and handle future/past versions on
8548 a case by case basis as appropriate. Also update message
8549 to include i*86 failures.
8550
8551Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8552
8553 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8554
8555 * lib/gdb.exp: Fix comment which erroneously identified
8556 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8557 gdb_file_cmd not gdb_load).
8558 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8559
8560 * gdb.base/setvar.exp: Make test names consistent between pass and
8561 fail cases. Use gdb_test more.
8562
8563Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8564
8565 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8566
8567Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8568
8569 * gdb.base/help.exp: Fix expected help string for `show commands'.
8570
8571Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8572
8573 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8574
8575 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8576 of a text section.
8577
8578Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8579
8580 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8581 that loop eventually terminates. Fix Connection refused logic so
8582 that testsuite will expire nicely.
8583
8584Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8585
8586 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8587 config/rom68k.exp: New tcl glue for the appropriate monitors.
8588 These all just end up calling monitor.exp.
8589 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8590 refused' by retrying. Cleanup some timeout issues.
8591 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8592 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8593 callers don't have to set/restore global timeout variable.
8594
8595 * The following set of changes centralizes management of the global
8596 timeout variable. This way, it can be set in one target dependent
8597 place instead of dozens of places scattered throughout the test suite.
8598 If you need to lengthen a timeout, then you should either set timeout
8599 in one of the config/{target}.exp files, or multiply it by a factor.
8600 Setting it to an absolute value is always going to lose for some
8601 targets.
8602 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8603 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8604 * gdb.base/funcargs.exp: Don't set timeout.
8605 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8606 * gdb.base/printcmds.exp (test_print_string_constants
8607 test_print_array_constants): Don't set timeout.
8608 * gdb.base/ptype.exp: Don't set timeout.
8609 * gdb.base/recurse.exp: Don't set timeout.
8610 * gdb.base/return.exp: Don't set timeout.
8611 * gdb.base/watchpoint.exp: Don't set timeout.
8612 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8613 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8614
8615Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8616
8617 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8618
8619Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8620
8621 * lib/gdb.exp: Disable chill tests for irix5.
8622
8623Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8624
8625 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8626 each test pass or fail.
8627
8628Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8629
8630 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8631 xlc not gcc.
8632
8633Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8634
8635 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8636
8637Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8638
8639 * config/est.exp: Fix copyright and comments. Remove dead code.
8640 Use targetname, serialport and baud variables instead of fixed
8641 constants.
8642 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8643 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8644
8645Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8646
8647 * gdb.base/watchpoint.exp: Don't run
8648 test_watchpoint_triggered_in_syscall for sunos.
8649
8650Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8651
8652 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8653 they don't seem to exist. Do include stdio.h.
8654
8655Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8656
8657 * gdb.base/a1-selftest.exp: Add alpha xfail.
8658
8659Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8660
8661 * gdb.base/watchpoint.c (main): Prompt before calling read().
8662 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8663 Revise accordingly. Remove cruft about sending "123" several
8664 times, until it gets noticed. Clean up the "print buf[0]" stuff
8665 so that it passes or fails, and waits for prompts in the usual way.
8666
8667Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8668
8669 * gdb.base/recurse.exp: Fix comment.
8670
8671 * TODO: Remove item about printing variables in nodebug.exp. Add
8672 item about enabling tests which are only run on some targets.
8673
8674 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8675 fail, make test names unique, use new gdb_test convention
8676 regarding pattern, use gdb_test more, etc.).
8677
8678 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8679 fail, make test names unique, etc.).
8680
8681Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8682
8683 * gdb.base/nodebug.c: Change return type of top and middle to
8684 short.
8685 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8686 are fixed by the recent mdebugread.c changes. Allow `short ()'
8687 as type for top and middle.
8688
8689Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8690
8691 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8692 nearly as I can tell, the whole thing was an accident in Stu's
8693 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8694 to replace a send/expect pair with gdb_test, but ended up only
8695 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8696 of 30 Mar 1995 took care of it, but left this vestigial comment
8697 which I am now nuking.
8698
8699Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8700
8701 * gdb.base/break.exp: Look for different line number for
8702 breakpoint at main depending on usestubs.
8703
8704Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8705
8706 * gdb.base/list.exp: Adjust some alternate expect patterns to
8707 match recent list0.c change. Add alternate expect pattern for
8708 output from `list default lines around main' for optimizing
8709 compilers.
8710
8711Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8712
8713 * lib/gdb.exp: If nosignals is not set, set it to 0.
8714
8715Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8716
8717 * config/slite-gdb.exp: Responds to load symbol table prompt.
8718 * gdb.base/break.exp: Adjust line number, fix rerun.
8719 * gdb.base/langs0.c: Add #ifdef usestubs.
8720
8721Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8722
8723 * gdb.base/list.exp: Adjust line contents after adding new lines in
8724 list0.c. Also fix a syntax error.
8725
8726 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8727 * gdb.base/break.exp: ditto.
8728 * gdb.base/list.exp: ditto.
8729 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8730 * gdb.base/run.c: ditto.
8731 * gdb.base/list0.c: ditto.
8732 * gdb.base/funcargs.c: ditto.
8733
8734Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8735
8736 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8737 $targetname, $serialport and $baud instead of hardwired variables.
8738 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8739 target doesn't support signals.
8740
8741Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8742
8743 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8744
8745Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8746
8747 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8748 Don't rely on the value of an auto variable before it has been
8749 initialized. Use gdb_test more.
8750
8751Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8752
8753 * lib/gdb.exp (default_gdb_version): A version number must start
8754 with a digit, but other than that contains all characters up to
8755 the first whitespace character.
8756
8757Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8758
8759 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8760
8761Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8762
8763 * gdb.c++/*.exp: Warn if executable does not exist. The original
8764 reason for skipping the warning was that configure.in sometimes
8765 intentionally skipped building the executables but the tcl code
8766 had no way of knowing. That (a) was always bogus with respect to
8767 error handling, (b) is no longer true (right now there is no way
8768 to skip C++ tests).
8769
8770 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8771
8772Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8773
8774 * gdb.base/list.exp: Add expect patterns for output from
8775 SunPRO compiled executables.
8776 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8777 types.
8778
8779Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8780
8781 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8782 number (we are already testing that the correct source line text
8783 gets printed).
8784
8785 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8786 that is what is intended, but something needed to be done to get
8787 sunos4 native working again.
8788
8789 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8790
8791 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8792 apparently went with a (very) old xfail.
8793
8794Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8795
8796 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8797 runto_main is a proc in gdb.exp that will do 'step' for target use
8798 stubs.
8799 * gdb.base/exprs.exp: ditto.
8800 * gdb.base/interrupt.exp: ditto.
8801 * gdb.base/opaque.exp: ditto.
8802 * gdb.base/printcmds.exp: ditto.
8803 * gdb.base/ptype.exp: ditto.
8804 * gdb.base/scope.exp: ditto.
8805 * gdb.base/setvar.exp: ditto.
8806 * gdb.base/signals.exp: ditto.
8807 * gdb.base/twice.exp: ditto.
8808 * gdb.c++/classes.exp: ditto.
8809 * gdb.c++/inherit.exp: ditto.
8810 * gdb.c++/templates.exp: ditto.
8811 * gdb.base/break.exp: no run and hit main for stubs. Change line
8812 numbers for breakpoints and info breakpoint.
8813 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8814 breakpoint().
8815 * gdb.base/callfuncs.c: ditto.
8816 * gdb.base/exprs: ditto.
8817 * gdb.base/interrupt.c: ditto.
8818 * gdb.base/opaque0.c: ditto.
8819 * gdb.base/printcmds.c: ditto.
8820 * gdb.base/ptype.c: ditto.
8821 * gdb.base/scope0.c: ditto.
8822 * gdb.base/setvar.c: ditto.
8823 * gdb.base/signals.c: ditto.
8824 * gdb.base/twice.c: ditto.
8825 * gdb.c++/misc.cc: ditto.
8826 * gdb.c++/templates.cc: ditto.
8827
8828Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8829
8830 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8831
8832 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8833 somewhere between `read' and `main.c'. I'm pretty sure the
8834 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8835 and it isn't particularly useful.
8836
8837 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8838
8839Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8840
8841 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8842
8843Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8844
8845 * config/mt-slite: add LIBS and -nostdlib.
8846 * config/slite-gdb.exp: add this new file to support sparclite target.
8847
8848Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8849
8850 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8851
8852 * gdb.base/a2-run.exp: Change argument to istarget from
8853 "*-*-vxworks" to "*-*-vxworks*".
8854 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8855
8856Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8857
8858 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8859 will not runto main but do a 'step' to step out of breakpoint().
8860 * config/mt-slite: add -Dusestubs.
8861
8862Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8863
8864 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8865 instead of just @.
8866
8867 * gdb.base/signals.exp: Add test for "handle all print".
8868 * TODO: Remove "handle all print". Also remove item about
8869 checking copyright date (I don't like the idea of a spurious FAIL
8870 based on when we run the tests).
8871
8872 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8873 for SunOS4 (reason for failure not investigated). Remove
8874 redundant test for $binfile.
8875
8876 * gdb.base/nodebug.c (array_index): Call malloc.
8877
8878 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8879
8880Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8881
8882 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8883 conventions and slightly simplify the matching regexp.
8884
8885Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8886
8887 * gdb.base/break.exp: Update gdb_test invocation to use new
8888 convention.
8889
8890 * lib/gdb.exp: If noargs is not set, set it to 0.
8891
8892 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8893 tests unique.
8894
8895 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8896
8897Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8898
8899 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8900 one argument of type "<non-float parameter>".
8901
8902Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8903
8904 * config/rom68k.exp: New file to support Motorola IDP board.
8905 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8906 * gdb.base/break.c: Change things around so that this program
8907 doesn't depend upon args. This is necessary to make remote
8908 targets work (in general, they can't take args).
8909 * gdb.base/break.exp: Don't try to send args to program. Don't
8910 expect output. Also, replace lots of code with gdb_test.
8911
8912Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8913
8914 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8915 printing of '\'' (which is what the comment says we are testing,
8916 even though we were not), not '''.
8917 (test_integer_literals_rejected): Test that printing ''' is an error.
8918
8919 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8920 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8921 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8922 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8923 Use gdb_test not test_print_accept.
8924 * lib/gdb.exp: Remove test_print_accept.
8925
8926 * gdb.base/signals.exp (signal_tests_1): Make pass message
8927 consistent with fail message.
8928
8929 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8930 unsigned char; the bug (PR 1821) is fixed.
8931
8932 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8933
8934 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8935 successful tests--makes xfailing them work right.
8936
8937Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8938
8939 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8940 only \r\n, not .*. The test can pass .* as the last thing in
8941 $pattern if that is what it wants. In addition to providing this
8942 flexibility, this change should speed up pattern matching in cases
8943 where the pattern already ended with .* (there were a number of
8944 them). This change also helps catch bad patterns--in the old
8945 scheme the typo "char \*" instead of "char \\*" would pass. Now
8946 it is caught.
8947 * Many .exp files: Update callers.
8948
8949 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8950 clearer and does not spuriously match multiple ('s. Likewise for
8951 ) and *.
8952
8953 * gdb.base/nodebug.exp: Test ability to call a function and pass
8954 it a string (even with no debugging info).
8955
8956 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8957 "p '\'", which is the same as "p ''" once tcl gets done with
8958 quoting, to "p '\\'", which I suspect is what is intended (one
8959 backslash gets sent to GDB).
8960
8961 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8962
8963Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8964
8965 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8966 1817) was fixed literally years ago.
8967
8968Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8969
8970 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8971 test, it causes stepping out of call_after_alloca_subr with
8972 optimizing compilers.
8973 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8974 fails.
8975
8976 * gdb.c++/templates.exp: Source templ-info.exp only if
8977 the templates executable exists.
8978
8979 * gdb.c++/misc.cc (class Contains_static_instance,
8980 class Contains_nested_static_instance),
8981 gdb.c++/classes.exp (test_static_members): Test printing of
8982 a class that contains a static instance of the class.
8983
8984Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8985
8986 * gdb.base/langs2.c (cppsub_): Don't prototype.
8987 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
8988 only, I believe).
8989
8990Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8991
8992 * lib/gdb.exp (skip_chill_tests): New procedure.
8993
8994 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
8995
8996Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
8997
8998 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
8999 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9000
9001Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9002
9003 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9004
9005 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9006 disassemble 8, not 16, instructions for part 4.
9007
9008 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9009 support the latter anymore.
9010
9011 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9012 -DNO_PROTOTYPES.
9013 * gdb.base/callfuncs.c: Control use of prototypes based on
9014 NO_PROTOTYPES, not __STDC__.
9015 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9016 t_float_values2 tests if prototypes in use.
9017
9018 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9019 t_double_values): When checking differences against DELTA, check
9020 that difference is within the range (-DELTA,DELTA), not just
9021 (-infinity,DELTA).
9022
9023Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9024
9025 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9026 'file' command firts, then 'target', then 'load', this is due to gdb
9027 target set up.
9028 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9029
9030Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9031
9032 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9033 FP load/store variants.
9034 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9035
9036Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9037
9038 * gdb.base/term.exp: Do not give a warning if not native, it is
9039 not an abnormal condition.
9040
9041Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9042
9043 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9044 t_char_array".
9045
9046Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9047
9048 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9049 are getting the version number.
9050
9051 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9052 if not native, it is not an abnormal condition.
9053
9054Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9055
9056 * lib/gdb.exp: Just use "file exists", rather than undocumented
9057 dejagnu procedure "findfile".
9058
9059Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9060
9061 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9062 (LDFLAGS): Set to -Xlinker -Ur.
9063
9064 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9065 Removed, these values are set by lib/gdb.exp.
9066
9067 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9068
9069Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9070
9071 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9072 of replicating gdb startup code.
9073
9074 * config/mt-vxworks (LDFLAGS): Set to -r.
9075 (CFLAGS_FOR_TARGET): Removed.
9076
9077 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9078 (gdb) and gdb for vxworks uses (vxgdb).
9079
9080 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9081 executable is not in the tree and host != target, use sed and
9082 program_transform_name to determine the gdb name used by the
9083 target.
9084
9085 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9086 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9087
9088Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9089
9090 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9091 floats, chars, and shorts where there are ANSI-style function
9092 definitions.
9093
9094 * gdb.base/langs.exp, gdb.base/langs*: New test.
9095 * gdb.base/Makefile.in: Build it.
9096 * TODO: Remove item about checking that C names don't get C++
9097 demangling applied; this test tests it.
9098
9099Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9100
9101 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9102 went with the const70 xfail. The xfail went away a year ago.
9103
9104 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9105
9106 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9107 for hp300.
9108
9109 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9110
9111 * gdb.base/a1-selftest.exp: Don't run on hp300.
9112
9113Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9114
9115 * Makefile.in (site.exp): Set host_alias and target_alias as well
9116 as host_triplet and target_triplet.
9117
9118Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9119
9120 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9121
9122 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9123 places as other ecoff systems).
9124
9125 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9126 ultrix.
9127
9128Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9129
9130 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9131 remove them.
9132 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9133 variable and "variable" in addition to "data variable".
9134 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9135
9136 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9137 2.
9138 * gdb.base/list1.c (long_line): Add additional statement at start
9139 of function.
9140 * gdb.base/list.exp (test_forward_search): Update line number to
9141 reflect new statement.
9142
9143Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9144
9145 * gdb.base/signals.exp: Reinitialize searched source directories
9146 after gdb_start call.
9147
9148Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9149
9150 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9151 * gdb.stabs/Makefile.in: Likewise.
9152
9153 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9154 change. Instead split the tests into smaller pieces.
9155 * gdb.disasm/hppa.s: Corresponding changes.
9156
9157Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9158
9159 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9160 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9161
9162 * gdb.base/funcargs.exp: Modify many tests so that every test
9163 either passes or fails. Make some test names unique.
9164
9165Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9166
9167 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9168 Call stty to set interrupt character.
9169
9170 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9171 for HP assembler versus GNU assembler based on actual behavior of
9172 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9173
9174 * TODO: Suggest a few more stepping tests.
9175
9176Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9177
9178 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9179 restart GDB for h8300 after a continue.
9180 (return): Add pattern to match a29k-udi behavior.
9181 * gdb.base/nodebug.exp: Remove obsolete comment.
9182 * gdb.base/regs.exp: New file, testing of register displays.
9183 * gdb.base/return.exp: Fix typo in reference to $objdir.
9184 * gdb.base/whatis.exp: Always start with a fresh GDB.
9185
9186Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9187
9188 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9189 higher, these tests generate a lot of output.
9190
9191Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9192
9193 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9194 code following the catch silently ignored some errors; without the
9195 catch they should be thrown like any other tcl error. Also, the
9196 catch used "" instead of {} which meant all the callers who wanted
9197 to include one of the characters "[]$ had to quote it an extra time.
9198 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9199 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9200 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9201 Remove extra quoting.
9202
9203Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9204
9205 * gdb.base/commands.exp: Make test names unique; every test either
9206 passes or fails. Update some comments.
9207
9208 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9209
9210Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9211
9212 The following fixes a FAIL caused by the fact that the alpha stabs
9213 configuration didn't use the ".if alpha" code in weird.def.
9214 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9215 bit pointer, so the 32 bit version works even on the alpha.
9216 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9217 Remove the stuff which allowed us to have separate versions for
9218 alpha and everything else.
9219
9220 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9221 regexp which "info func operator\[\](" is supposed to match. Fix
9222 string to send to GDB. Note that GDB still doesn't work right. Add a
9223 new test for "info func .perator\[\](" which GDB does handle correctly.
9224
9225 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9226
9227Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9228
9229 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9230 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9231 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9232 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9233 it makes the tests harder to understand and confuses test-o-matic.
9234 The preferred style is that each test provides a PASS or a FAIL,
9235 and has a unique message (e.g. "continue #54" not just "continue")
9236 which is the same for the pass and the fail.
9237 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9238 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9239 to lib/gdb.exp.
9240 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9241 prt_accept which was basically the same thing. Likewise for
9242 test_print_reject and prt_reject.
9243 * lib/gdb.exp (test_print_reject): Add some more error message
9244 patterns to match from the former printcmds.exp (prt_reject).
9245 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9246 One defect of the passcount stuff is that some of it failed to
9247 report XPASS where appropriate.
9248 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9249 stuff before and after arg in expected pattern.
9250 (test_paddr_operator_functions): Re-do test without print_addr_of;
9251 this is the only test which seems to want extra stuff there.
9252
9253Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9254
9255 * gdb.base/nodebug.exp: Update new tests to reflect improved
9256 wording of gdb output.
9257
9258 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9259 and "ptype" work on variables in files compiled without -g.
9260 Replaces commented out "maint print msymbol" tests.
9261
9262Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9263
9264 * gdb.base/setvar.c (dummy): Call malloc.
9265
9266 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9267 losing with the irix4 sed.
9268
9269 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9270 ALRM" on irix4.
9271
9272Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9273
9274 * TODO: Remove items about corefile.exp testing new exec-file and
9275 backtrace; both are now done. Add items about printing enums.
9276
9277Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9278
9279 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9280 "get signal $thissig" test fails.
9281
9282 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9283
9284Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9285
9286 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9287 compiler warning with dec alpha compiler.
9288
9289 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9290 extra \n from gdb_test call (this explains why the prompt test
9291 that I removed yesterday was there).
9292 (user_defined_command_test): Remove extra \n and prompt test.
9293
9294 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9295 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9296 doesn't exist.
9297 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9298 Also remove alpha workaround, which turns out to be because
9299 SIGABRT == SIGLOST.
9300
9301 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9302
9303 * gdb.base/help.exp: Don't test "help show".
9304
9305Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9306
9307 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9308 "set print address" is on.
9309 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9310 pass prompt to gdb_test; gdb_test already looks for the prompt.
9311
9312 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9313
9314 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9315 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9316 was to make sure that gdb can read a core file. But (a) the "read
9317 the corefile" part didn't make it to a1-selftest.exp, we just
9318 delete the corefile after creating it, and (b) we test reading
9319 corefiles in corefile.exp anyway. Also, this test left around a
9320 xgdb process on Solaris.
9321
9322 * gdb.base/corefile.exp: Also test backtrace.
9323
9324Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9325
9326 * gdb.base/commands.exp: Test a simple user defined command with
9327 arguments and if/while statements; verify the full user command is
9328 printed by "show user".
9329
9330 * gdb.base/commands.exp: Test if/while commands as part of a
9331 breakpoint command list; verify they appear in breakpoint
9332 information.
9333
9334Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9335
9336 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9337 than by dividing by zero.
9338
9339Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9340
9341 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9342 performing an inferior call with watchpoints enabled.
9343 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9344 call.
9345
9346Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9347
9348 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9349 of "file" command.
9350
9351 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9352 Add additional pattern for when "int operator int(void);" appears
9353 in a different order.
9354
9355Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9356
9357 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9358
9359 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9360 and "signal" with ".*".
9361
9362Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9363
9364 * TODO: Add note about "handle all nostop".
9365
9366 * gdb.base/{sigall.c, sigall.exp}: New test.
9367 * gdb.base/Makefile.in: Add it.
9368
9369Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9370
9371 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9372 when invoking GDB, suppresses any windowing interface.
9373
9374Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9375
9376 * config/sim-gdb: New file, simulator testing support.
9377
9378Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9379
9380 * gdb.base/interrupt.exp: Test calling func1 twice.
9381
9382Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9383
9384 * gdb.base/list.exp (test_forward_search): Set timeout higher
9385 when we'll be getting lots of output from gdb.
9386
9387 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9388 "init_malloc" to after the expect statement. Run it if that
9389 regexp is taken, but also for two others which happen if source
9390 cannot be found.
9391
9392Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9393
9394 * gdb.base/printcmds.exp: New test, for printing register before
9395 program is running.
9396
9397Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9398
9399 * gdb.base/list.exp: Correct some alternate expect patterns
9400 to reflect changes in list1.c.
9401
9402Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9403
9404 * TODO: Add item regarding large frames.
9405
9406 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9407
9408 * TODO: Remove item about enabling return.exp; it
9409 is enabled. Suggest a few more "return" tests.
9410
9411Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9412
9413 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9414 anonymous unions.
9415
9416Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9417
9418 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9419 and pr-5646.o, so "make" is the same as "make all", not "make
9420 pr-4975.o".
9421
9422Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9423
9424 * gdb.base/list.exp: Adjust expectations to reflect changes in
9425 list1.c.
9426 (test_forward_search): New test proc.
9427 * gdb.base/list1.c (long_line): New function, has long source line.
9428
9429Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9430
9431 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9432 additional line of code that was added.
9433
9434Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9435
9436 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9437 tests so as not to overflow expect's input buffers.
9438 * gdb.disasm/hppa.exp: Corresponding changes.
9439
9440Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9441
9442 Beginnings of template debugging tests.
9443 * gdb.c++/templ-info.cc: New file to test for template
9444 debugging capability of the compiler.
9445 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9446 templ-info.cc.
9447 * gdb.c++/templates.cc: Add explicit template instantiations
9448 to enable compiling with -fno-implicit-templates. Add destructor
9449 and 'value' method to T5 class for template tests.
9450 * gdb.c++/templates.exp: Add testcases for printing of template
9451 types, setting breakpoints on template methods and calling a
beb998c6 9452 template method.
c906108c
SS
9453
9454Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9455
9456 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9457 branch target since some assemblers (gas-2.5) may emit a
9458 relocation for the branch instead of resolving it in the
9459 assembler.
9460
9461Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9462
9463 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9464 through signal handler.
9465
9466Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9467
9468 * configure.in (*-*-netware): Use config/mt-netware.
9469
9470 * config/mt-netware: New file.
9471 * config/mt-i386-netware: Removed, separate configs for different
9472 netware architectures are no longer needed now that we have
9473 --with-headers.
9474
9475Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9476
9477 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9478 by the recent changes to use ANSI C arithmetic conversions.
9479
9480Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9481
9482 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9483 bug involving using inferior_pid to figure out whether to select a
9484 frame.
9485
9486Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9487
9488 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9489 match the current disassembler output.
9490
9491Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9492
9493 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9494 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9495 types, expect "int" as type of integer values (for now).
9496
9497Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9498
9499 * gdb.base/commands.exp: New tests for if/while commands.
9500
9501Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9502
9503 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9504 by .*, since hex values have different syntax in Chill mode.
9505
9506Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9507
9508 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9509 linefeed from expect pattern for repeated types with indices > 9.
9510
9511Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9512
9513 First part of Fortran test suite.
9514 * gdb.fortran: New directory.
9515 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9516
9517Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9518
9519 * gdb.base/default.exp: Update expect pattern for load command
9520 without arguments.
9521
9522Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9523
9524 * configure.in: Change i386 to i[345]86.
9525 * gdb.base/configure.in: Likewise.
9526 * gdb.c++/configure.in: Likewise.
9527 * gdb.chill/configure.in: Likewise.
9528
9529Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9530
9531 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9532 patterns, since that is not a valid context for comments.
9533
9534Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9535
9536 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9537 repeated types and repeated types with indices > 9.
9538
9539Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9540
9541 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9542 2417; old bug has been fixed.
9543
9544Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9545
9546 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9547 send the newline ourselves instead of assuming gdb_test will do
9548 so when passed an empty input string.
9549
9550 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9551 stabs testcode.
9552
9553Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9554
9555 * lib/gdb.exp (gdb_test): Don't send anything if the first
9556 argument is an empty string. This makes cases where we want to
9557 match output that is already in expect's buffers (for example,
9558 matching a breakpoint after gdb_run_cmd has been called) work
9559 reliably.
9560
9561Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9562
9563 * config/netware.exp: New file.
9564
9565Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9566
9567 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9568 the -B and -L prefixes so we can find the debugging stub.
9569
9570 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9571 there and we are using the gcc from the tree.
9572
9573 * gdb.base/types.c: Removed.
9574
9575 * gdb.base/configure.in: Look for makefile fragments in ../config.
9576 Recognize i386-*-netware.
9577 * gdb.c++/configure.in: Likewise.
9578
9579Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9580
9581 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9582 the correct TCL syntax.
9583
9584Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9585
9586 * gdb.base/opaque.exp: use runto instead of messing around with
9587 breakpoints. Simplify by using gdb_test.
9588
9589 * gdb.base/bitfields.exp: restart between tests on netware targets
9590 because breakpoints aren't relocated after target death. Run
9591 processes to completion.
9592
9593 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9594
9595Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9596
9597 * Makefile.in: Remove extra tabs that confuse some versions
9598 of "make". Use the newly built gdb to test with by default,
9599 rather than the first one in the tester's search path.
9600
9601Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9602
9603 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9604
9605 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9606 condition help.
9607
9608Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9609
9610 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9611
9612 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9613 running.
9614 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9615 * gdb.base/funcargs.exp: Likewise.
9616
9617 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9618 * gdb.base/funcargs.exp: Likewise.
9619
9620 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9621 message is "".
9622
9623Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9624
9625 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9626 return,signals,twice}.exp: Handle non-existant binaries
9627 consistantly.
9628
9629 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9630 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9631 might testing a cross development system.
9632
9633Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9634
9635 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9636 runtest script is relative to ${srcdir}, not ${rootdir}.
9637
9638Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9639
9640 * gdb.base/signals.exp: Allow for optionality of breakpoint
9641 address.
9642
9643Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9644
9645 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9646
9647Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9648
9649 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9650 for size_t definition.
9651 * gdb.c++/templates.cc: Likewise
9652
9653 * config/mt-i386-netware: New file.
9654
9655 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9656 defined.
9657
9658 * gdb.base/Makefile.in: Added support for systems that name core
9659 files by appending "core" to the program name.
9660 * gdb.base/a1-selftest.exp: Likewise.
9661
9662Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9663
9664 * gdb.base/return.exp: Add comment and message for `return double'
9665 test failure on Sparc Solaris.
9666
9667Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9668
9669 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9670
9671Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9672
9673 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9674 from optimizing them away.
9675 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9676 patterns to include default constructors and assignment operators,
9677 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9678 character in the output of the virtual base pointer.
9679
9680Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9681
9682 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9683 expression match in print_addr_of to avoid unintented matches.
9684 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9685 versions up to 2.5.8.
9686
9687Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9688
9689 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9690 included file to run under newer versions of expect.
9691 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9692 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9693 Remove xfail for the virtual table of BDDHookV.
9694
9695Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9696
9697 * lib/gdb.exp (string_to_regexp): Set a default result.
9698 (default_gdb_start): Fix misleading message.
9699
9700Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9701
9702 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9703 Remove all CC, etc definitions.
9704 * config/mt-hpux: New file.
9705 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9706 (CFLAGS, LDFLAGS): Define.
9707 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9708
9709 * Makefile.in (site.exp): Don't insert host_os, etc.
9710 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9711 (distclean): Check existence of subdir.
9712 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9713 * gdb.base/Makefile.in: General cleanup and simplification.
9714 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9715 to build executables. Use default rule to build .o files.
9716 (EXPECT, RUNTEST, CC): Fix relative pathname.
9717 (site.exp): Don't insert host_os, etc.
9718 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9719 and/or SIGUSR1 defined.
9720 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9721 * gdb.c++/Makefile.in: General cleanup and simplification.
9722 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9723 (CFLAGS): Remove.
9724 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9725
9726Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9727
9728 * gdb.base/recurse.exp: Misc changes to get tests running again
9729 after Kung's changes to the watchpoint code.
9730 * gdb.base/watchpoint.exp: Likewise.
9731
9732Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9733
9734 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9735
9736Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9737
9738 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9739 * lib/gdb.exp (default_gdb_start): Define.
9740 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9741 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9742 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9743 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9744 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9745 Don't call gdb_target_udi in between tests.
9746
9747Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9748
9749 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9750 (which was basically just a local version of the same thing). In
9751 addition to avoiding duplication, gdb_test_exact is faster.
9752 * lib/gdb.exp (gdb_test_exact): Fix typo.
9753
9754 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9755 don't give an error.
9756
9757 * gdb.base/term.exp: Call delete_breakpoints before starting.
9758
9759 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9760 (t10): Add comment.
9761
9762Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9763
9764 Reorganization of the GDB Test Suite.
9765
9766 * gdb.base: New directory, contains all the basic tests.
9767 * gdb.c++: New directory, tests specific to C++.
9768 * gdb.chill: New directory, tests specific to Chill.
9769 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9770 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9771 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9772 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9773 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9774 t30-31 to chill).
9775 * */gdbme.*: Rename to match appropriate expect scripts.
9776 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9777 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9778 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9779 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9780 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9781 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9782 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9783 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9784 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9785 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9786 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9787 gdb.c++/virtfunc.cc: New names of C++ files.
9788 * gdb.chill/chillvars.ch: New name of Chill file.
9789 * gdb.base/configure.in, gdb.c++/configure.in,
9790 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9791 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9792 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9793 * configure.in (configdirs): Update to reflect directory changes.
9794 (target_abbrev): No longer define for any configuration.
9795 * Makefile.in: Cosmetic improvements to header comments.
9796
9797Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9798
9799 Various changes to gdb.t31:
9800
9801 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9802 * gdbme.ch: Make all key-words and predefineds be upper-case.
9803 * chillvars.exp: Expect key-words and predefinds in upper-case.
9804
9805 * chillvars.exp: Use gdb_test_exact many places.
9806 Change expected output for arrays (which now includes index labels).
9807
9808 * pr-5020.exp, gdme.ch (module PR_5020):
9809 New test, for PR-5020.
9810
9811Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9812
9813 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9814 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9815
9816Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9817
9818 * Makefile.in: Fix bit-rot in definitions of CHILL,
9819 CHILL_FOR_TARGET and Chill_LIB.
9820 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9821 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9822 CHILL, and CHILL_LIB.
9823
9824Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9825
9826 * Revert the previous changes. Please see Rob's directory
9827 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9828
9829Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9830
9831 * Makefile.in, configure.in, config/mips-gdb.exp,
9832 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9833 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9834 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9835 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9836 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9837 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9838 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9839 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9840 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9841 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9842 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9843 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9844 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9845 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9846 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9847 changes from 94Q1.
9848
9849Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9850
9851 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9852 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9853 Rob's new testing fragments.
9854
9855Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9856
9857 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9858 lib/gdb.exp: Replace error proc calls with perror.
9859
9860Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9861
9862 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9863 version also, match on casted version strings, and match on
9864 gdb startup case where the line numbers might be messed up.
9865
9866Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9867
9868 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9869 (CFLAGS): Delete it from here.
9870
9871Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9872
9873 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9874
9875Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9876
9877 * Makefile.in (RUNTEST): Default to just "runtest".
9878
9879Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9880
9881 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9882 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9883 the code has been restructured.
9884
9885Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9886
9887 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9888 \n, not just one of each.
9889
9890 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9891 /bin/cc gives a warning if you do.
9892
9893Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9894
beb998c6 9895 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9896 __t10ListS_link1ZUiRCUiPT0
9897
9898Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9899
9900 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9901 on local variables in recursive functions.
9902
9903 * gdb.t07/Makefile.in: Build the new test.
9904
9905Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9906
9907 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9908 directly. Instead compare the return values from actual calls.
9909
9910Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9911
9912 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9913
9914Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9915
9916 * From Peter Schauer with minor modifications.
9917 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9918 stops in mid-line in the caller. Add xfail for returning a float
9919 value on X86 targets.
9920
9921Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9922
9923 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9924 to avoid expect lossage.
9925 (fmem_LRbug_tests): Likewise.
9926 * gdb.disasm/hppa.s: Corresponding changes.
9927
9928 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9929 conditions to work with latest dejagnu/expect.
9930
9931 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9932 expected to fail on the PA.
9933 (backtrace in call with trampolines): Explicitly require main
9934 to be frame #1 (no trampolines should show up in backtrace).
9935
9936 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9937 "continue -expect".
9938 * gdb.t06/break.exp: Likewise.
9939 * gdb.t07/watchpoint.exp: Likewise.
9940 * gdb.t13/bitfields.exp: Likewise.
9941 * gdb.t15/{funcargs,return}.exp: Likewise.
9942 * gdb.stabs/weird.exp: Likewise.
9943 * config/{mips,udi}-gdb.exp: Likewise.
9944
9945 * hppa.sed: Enclose comments within a sed command to avoid
9946 losing with the old OSF1 sed.
9947
9948Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9949
9950 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9951 sequent dynix.
9952 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9953 * gdb.t15/funcargs.exp: Conditionally step again to really
9954 finish from marker_call_with_trampolines. Handle the case where
9955 the first step from within call_with_trampolines already steps
9956 us back to main.
9957 * gdb.t15/gdbme.c: Add comment to closing brace of
9958 call_with_trampolines for funcargs.exp.
9959
9960Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9961
beb998c6 9962 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9963 Fix typo(s).
9964
9965Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9966
9967 * gdb.t07/gdbme.c: More code for watchpoint testing.
9968
9969 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9970 "Hardware watchpoint" throughout file.
9971 (test_watchpoint_triggered_in_syscall): New test.
9972 (test_complex_watchpoint): New test.
9973
9974Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9975
9976 * gdbme.c (call_with_trampolines): New function to try and step
9977 into. Tests trampoline problems on the PA.
9978
9979 * funcargs.exp (localvars_in_indirect_call): No longer expect
9980 stepping into indirect call to fail on PAs.
9981 (test_stepping_over_trampolines): New test.
9982
9983Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9984
9985 * TODO: Add suggestions for static member function tests, and
9986 completion tests.
9987
9988Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9989
9990 * TODO: Add suggestions for "p/a" tests.
9991
9992 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
9993 (default_gdb_exit): Replace all the hair with sending "quit" to
9994 the process with a simple close.
9995
9996Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9997
9998 * TODO: Add suggestions for shared library tests.
9999
10000Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10001
10002 * TODO: Add suggestions for x/s tests.
10003
10004Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10005
10006 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10007 "enable once", and "enable breakpoints once" with ".*".
10008
10009Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10010
10011 * TODO: Add suggestions about structure passing tests.
10012
10013Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10014
10015 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10016 the primary1 test, use work around if __GNUC__ < 2.
10017 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10018 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10019 Test for bad output rather than waiting for timeout. Issue
10020 second continue only if first continue failed.
10021
10022Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10023
10024 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10025 operator[] test with gdb_test because the old code didn't seem to
10026 be getting the quoting right with the new dejagnu.
10027
10028Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10029
10030 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10031 one from the path.
10032 * Makefile.in: Use a fresh expect if there is one, use runtest
10033 from the src tree if there is one.
beb998c6 10034
c906108c
SS
10035Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10036
10037 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10038 next over recursive call. Revise the tests from that point on
10039 (which had been skipped) to match GDB's actual (correct) output.
10040
10041 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10042 with next over a breakpoint whose condition is false.
10043
10044 * gdb.t00/help.exp: Comment out "help set print" tests just like
10045 (and for same reason as) "help set" test.
10046
10047Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10048
10049 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10050 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10051
10052Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10053
10054 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10055 necessary gdb_target_udi.
10056
10057 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10058
10059 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10060 1838 and 2417; they are fixed.
10061
10062 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10063 gdb.t03/ptype.exp (ptype structure, ptype union):
10064 Remove xfails; the test is looser than when the xfails were added.
10065
10066 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10067 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10068
10069 * gdb.t01/run.exp: Only run shell test if isnative.
10070
10071 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10072 since "run" automatically loads if necessary. Call gdb_target_udi
10073 after the "file" since "file" kills any execution target.
10074
10075 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10076 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10077 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10078 argument for UDI.
10079
10080Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10081
10082 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10083
10084 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10085
10086Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10087
10088 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10089 properly quoting regexps. This makes the second argument to
10090 demangle a fixed string, which matches the callers, instead of a
10091 shell-style pattern which is what the previous implementation
10092 used. Update some of the callers.
10093
10094Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10095
10096 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10097 (comib_nullified_tests): Fix typo.
10098 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10099 strings. No longer expected to fail.
10100
10101 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10102 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10103 strings. No longer expected to fail.
10104
10105 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10106 string. No longer expected to fail.
10107
10108Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10109
10110 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10111 No longer expected to fail.
10112
10113 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10114 string. No longer expected to fail.
10115
10116Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10117
10118 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10119 only in the names (I probably got most of them). I was even
10120 generous with some which differed in underscores in names, and
10121 probably missed a few, and I *still* was able to remove almost a
10122 third of the file with almost no impact on testsuite coverage.
10123
10124Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10125
10126 * gdb.t00/default.exp: Match udi_attach error message as well as
10127 the one from child_attach.
10128
10129 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10130
10131 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10132
10133 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10134 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10135
10136 * Move test with enums and partial symbols back to
10137 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10138 Reverts the change of 26 May 93. Per today's change to
10139 stabs.texinfo, the behavior that weird.exp was expecting was
10140 unreasonable; what is important is that the compiler+gdb get
10141 things right, which happens with a recent gcc. Also fix the test
10142 to deal with native compilers which put out the stab gdb can't
10143 deal with.
10144
10145Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10146
10147 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10148 in the names. The main thing these accomplish is to slow things down.
10149 Many more such duplicates surely remain.
10150
10151 * gdb.t00/help.exp: Comment out "help support" test just like
10152 (and for same reason as) "help set" test.
10153
10154Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10155
10156 * gdb.t06/break.exp: Remove setup_xfails for
10157 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10158 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10159 about known bug in gcc to include up through 2.5.8.
10160 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10161 well as "_vb$".
10162 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10163 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10164 with latest gcc and gdb.
10165 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10166 well as "_vb$".
10167
10168Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10169
10170 * configure.in (hppa*-*-*): Also configure and build stabs-only
10171 tests.
10172
10173Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10174
10175 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10176 * gdb.t10/configure.in (hppa*-*-*): Use it.
10177
10178Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10179
10180 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10181
10182Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10183
10184 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10185 versions prior to 1.13.5.
10186
10187Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10188
10189 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10190 the prompt is at the start of a line.
10191
10192Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10193
10194 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10195 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10196 in the copr tests now.
10197 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10198 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10199 expected to fail.
10200
10201Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10202
10203 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10204 gdb.t31/chillvars.exp, lib/gdb.exp:
10205 Tweak to run under either version of expect.
10206 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10207 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10208 * gdb.t11/list.exp: Remove extraneous whitespace.
10209
10210Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10211
10212 * gdb.t16/printcmds.exp (test_print_strings): Accept
10213 "(unsigned char *) " before the string.
10214
10215 * TODO: Add notes about printing of fancy types and GDB expressions.
10216
10217Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10218
10219 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10220 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10221 if doing mips-idt-ecoff.
c906108c
SS
10222
10223Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10224
10225 * Most .exp files: Tweak to run under either version of expect.
10226
10227Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10228
10229 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10230 xfails; I'm not sure why they are failing, but not because of PR 1806.
10231
10232Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10233
10234 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10235 defined in lib/gdb.exp.
10236
10237Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10238
10239 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10240 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10241 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10242 have to be typeless.
10243
10244Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10245
10246 * TODO: Add suggestion for copyright year test.
10247
10248Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10249
10250 * configure.in (*-*-lynxos*): Add stabs tests.
10251
10252Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10253
10254 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10255 so insert a tab before any assembler directive in column zero.
10256
10257 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10258 stores.
10259 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10260 stores.
10261 (fpu_short_memory_tests): Likewise.
10262
10263Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10264
10265 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10266 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10267 .stabs directives in comments.
10268
10269Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10270
10271 * TODO: New file, describing tests we could write.
10272 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10273
10274Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10275
10276 * gdb.t06/signals.exp: Add kludge to force re-sync.
10277
10278 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10279 to xgdb instead of gdb, get out of gdb.
10280
10281Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10282
10283 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10284 for info.
10285
10286Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10287
10288 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10289 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10290 * gdb.stabs/hppa.sed: New sed script for the PA.
10291
10292Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10293
10294 * gdb.stabs: Re-write weird.def and configuration to use sed
10295 instead of cpp. sed is portable and POSIX; cpp is neither.
10296
10297Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10298
10299 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10300
10301Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10302
10303 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10304
10305Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10306
10307 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10308 "_vb$".
10309 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10310 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10311
10312Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10313
10314 * lib/gdb.exp: Comment out code which depends on non-existent
10315 `transform' procedure.
10316
10317Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10318
10319 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10320 * lib/gdb.exp: Transform tool name.
10321 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10322 1.1's new error handling system.
10323
10324Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10325
10326 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10327
10328Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10329
10330 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10331 They made pattern matching so slow that timeouts happened on
10332 heavily loaded systems. Now any output from "show print" which
10333 gets us back to the GDB prompt is a PASS.
10334
10335Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10336
10337 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10338
10339Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10340
10341 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10342
10343 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10344 It is not from PR 3220.
10345
10346Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10347
10348 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10349 just started failing because they depended on the order the
10350 subcommands are presented, or exact docstring text. This kind of
10351 test is a pain and has minimal benefit.
10352
10353Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10354
10355 * gdb.t09/corefile.exp: At end of test, use "core" command with
10356 no arguments.
10357
10358Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10359
10360 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10361 17}/Makefile.in: Make it possible to run the testsuite with Sun
10362 make and CC = cross gcc by adding explicit build rules for .o
10363 files.
10364
10365Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10366
10367 * gdb.t15/funcargs.exp: Don't put comments on same line as
10368 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10369
c906108c
SS
10370Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10371
10372 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10373
10374Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10375
10376 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10377 * gdb.t20/inherit.exp: remove three dumplicate entries.
10378
10379Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10380
10381 * gdb.t06/break.exp: For "next over recursive call", fail on any
10382 incorrect output, not just on "factorial (value=2)".
10383
10384Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10385
10386 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10387 working now. Add an xfail if accesing a bss variable causes
10388 a memory error if the target is not yet run.
10389
10390Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10391
10392 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10393 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10394 name of __st* demangling (2 strings). Did Kung really get the
10395 more than 95 others right without testing them?
10396
10397Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10398
10399 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10400
10401Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10402
10403 * configure.in (configdirs): Add gdb.disasm
10404 * gdb.disasm: New directory for GDB disassembler tests.
10405 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10406
10407Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10408
10409 * gdb.t00/help.exp: Don't test "help set".
10410
10411 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10412 from within expect statements. None of these happen anymore and
10413 they cause regressions to be silently unnoticed.
10414
10415 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10416 messages) about known failures with gcc cygnus-2.4.5-930417.
10417
10418 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10419 comp-info.exp so it gets built if it doesn't exist.
10420
10421 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10422 it is no longer used.
10423 * gdb.t13/comp-info.c: Removed.
10424
10425Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10426
10427 * gdb.t06/signals.exp: Add xfail for sun3.
10428
10429Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10430
10431 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10432 relevant because ^C doesn't get sent but failure can be reproduced
10433 interactively).
10434
10435Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10436
10437 * gdb.stabs/alpha.mt: New configuration file for alpha.
10438 * gdb.stabs/configure.in: Use it.
10439 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10440 sharing with alpha.mt, redefine long to word via preprocessor.
10441 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10442 for alpha.
10443 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10444 native cc.
10445 * gdb.t00/teststrategy.exp: Change expect string so that we
10446 consume the `(xgdb)' from the command echo and from the gdb prompt.
10447 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10448 gdb currently compares all values as long, so this failure probably
10449 applies to any configuration where LONGEST is bigger than a target int.
10450 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10451 with gcc.
10452 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10453 to handle opaque pointers, gcc is.
10454 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10455 as first argument. Include <sys/types.h> and change all operator
10456 new definitions to use size_t.
10457 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10458 now that we use size_t.
10459
10460Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10461
10462 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10463 a long or float array cast all array members to the same type.
10464 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10465 with 64 bit longs.
10466 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10467 on alpha.
10468 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10469
10470Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10471
10472 * gdb.t24 (demangle.exp): Constructors of templates have names like
10473 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10474 section 14.6 of the ARM.
10475
10476 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10477 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10478 accomplish little and slow down the testsuite.
10479
10480 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10481 Accept spaces various places.
10482
10483Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10484
10485 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10486 with watchpoint enabled.
10487
10488 * Makefile.in: Remove definition of CC and remove the second
10489 definition of CXX (the "CXX = gcc" one remains). These definitions
10490 were causing backquotes to be expanded within backquotes, which
10491 doesn't work.
10492
10493Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10494
10495 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10496
10497Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10498
10499 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10500 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10501 by mips cc and contains no stabs entries.
10502
10503Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10504
10505 * config/vx-gdb.exp: Use fake device to load files rather than
10506 NFS.
10507 * lib/gdb.exp: New proc to do "file" command.
10508 * config/unix-gdb.exp: Use new "file" proc.
10509
10510Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10511
10512 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10513 Rework board rebooting slightly.
10514 (gdb_exit): Don't exit from the remote shell; there isn't one.
10515 * gdb.stabs/weird.exp: If a program is being debugged already,
10516 kill it.
10517 * gdb.t04/setvar.exp: Stop and restart gdb.
10518 * gdb.t05/expr.exp: Likewise.
10519 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10520 restart gdb and reload the program.
10521 * gdb.t08/opaque.exp: Likewise.
10522 * gdb.t12/scope.exp: Likewise.
10523 * gdb.t13/bitfields.exp: Likewise.
10524 * gdb.t15/funcargs.exp: Likewise.
10525 * gdb.t20/classes.exp: Likewise.
10526 * gdb.t03/ptype.exp: Increase timeout.
10527 * gdb.t16/printcmds.exp (test_print_string_constants,
10528 test_print_array_constants): Likewise.
10529 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10530 * gdb.t20/classes.exp (do_tests): Likewise.
10531 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10532
10533Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10534
10535 * gdb.stabs: Renamed *wierd* to *weird*.
10536
10537Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10538
10539 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10540 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10541
10542Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10543
10544 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10545 (do_tests): Remove xfail for whatis on one_var and two_var.
10546
10547Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10548
10549 * Makefile.in: Made cross building work better by adding
10550 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10551
10552Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10553
10554 * gdb.t15/{return.c,return.exp,Makefile.in}:
10555 New test, currently commented out.
10556
10557Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10558
10559 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10560 still running and removes the leftover named socket so GDb can do
10561 clean restarts.
10562
10563Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10564
10565 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10566 console, not GDB.
10567 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10568 cross testing works better with "make check"
10569 * config/unix-gdb: Use default procedures for exit and version.
10570 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10571 with the newest VxWorks.
10572
10573Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10574
10575 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10576 old form.
10577
10578 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10579 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10580
10581 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10582
10583 * config/unix-gdb.exp: Remove this version of gdb_exit
10584 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10585 Rob says he'll look at it when he gets back to testing boards.
10586
10587Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10588
10589 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10590 an expected fail for certain ptype commands.
10591
10592 * gdb.t20/classes.exp: Update expected results of "ptype class
10593 Base1" to account for the constructor that now appears in the type.
10594
10595Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10596
10597 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10598 disappeared from list.
10599 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10600 "alldone" proc with call to cleanup and exit.
10601 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10602 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10603 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10604 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10605 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10606 "alldone" proc with simple returns that suppress remaining
10607 tests. The alldone proc went away many months ago.
10608
10609Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10610
10611 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10612
10613 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10614
10615Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10616
10617 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10618 as vax gdb will display them.
10619
10620Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10621
10622 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10623 optimizers.
10624
10625 * scope.exp: Change "bad value for localval" messages so each one
10626 is unique.
10627
10628 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10629 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10630
10631 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10632
10633Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10634
10635 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10636 doesn't exist (due to optimization).
10637
10638Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10639
10640 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10641 contains \r because the filename is long.
10642
10643 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10644 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10645
10646Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10647
10648 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10649 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10650 Ultrix.
10651 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10652 int tests.
10653 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10654
10655Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10656
10657 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10658
10659 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10660 to match does not match the passing case but still matches the
c906108c
SS
10661 failing case.
10662
10663Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10664
10665 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10666
10667Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10668
10669 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10670 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10671 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10672 Remove various versions of gdb_exit.
10673 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10674 gdb_exit.
10675 * config/unix-gdb.exp: gdb_exit remains here, and should override
10676 the generic version, since it's doing a lot of wierd stuff that
10677 the other versions aren't. FIXME, fold it in, or abandon this
10678 version.
10679
10680Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10681
10682 * gdb.t24/demangle.exp: Add tests for PR 3220.
10683
10684Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10685
10686 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10687
10688Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10689
10690 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10691 "i386-*-*". Works for i486 as well.
10692
10693 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10694 bug, and expand domain of xfail to all SVR4 systems, since the
10695 actual problem is likely to be in generic SVR4 /proc support.
10696
10697Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10698
10699 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10700
10701Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10702
10703 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10704 xfails for other systems. Match a missing 'Continuing.' as an
10705 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10706
10707 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10708 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10709 Only issue warning for missing executables if -all option is used.
10710
10711 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10712 file if -all option is used. It's like an unpredictable XFAIL.
10713
10714Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10715
10716 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10717 for dynamically linked binaries.
10718
10719 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10720
10721Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10722
10723 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10724 to state that this is a known bug in old versions of g++.
10725
10726Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10727
10728 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10729 while waiting for `Continuing'.
10730
10731Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10732
10733 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10734 in text, data, and bss.
10735 * gdb.t10/nodebug.c: Add local and global test variables for
10736 initialized and uninitialized data.
10737
10738Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10739
10740 * config/unix-gdb.exp (gdb_exit): Add "wait".
10741
10742Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10743
10744 * gdb.t06/signals.exp: xfail the continue from the handler for all
10745 targets.
10746
10747 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10748 function with watchpoints enabled, the i386 call dummy starts with
10749 a call.
10750
10751 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10752 386 bsd names its corefiles.
10753
10754Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10755
10756 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10757 compilers don't grok it.
10758 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10759 with small octal ints rather than character constants, which
10760 are signed and might not fit if first promoted to int.
10761
10762Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10763
10764 * gdb.t09/Makefile.in (clean): Remove corefile.
10765
10766Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10767
10768 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10769
10770Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10771 and Jim Kingdon (kingdon@cygnus.com)
10772
10773 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10774 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10775 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10776
10777Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10778
10779 * gdb.t17/interrupt.exp: Add xfail for hppa.
10780
10781Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10782
10783 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10784 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10785 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10786 to determine signed-ness of bitfields and use the result to setup
10787 the xfail.
10788 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10789 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10790 call line is reached if necessary.
10791
10792Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10793
10794 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10795
10796Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10797
10798 * gdb.t06/break.exp: Also test `clear' command.
10799
10800Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10801
10802 * gdb.t00/teststrategy.exp: Remove extra quote.
10803
10804 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10805 watchpoint enabled to be for all non-68k machines.
10806
10807 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10808
10809Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10810
10811 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10812 targets use aout.mt instead of ecoff.mt as gas understands
10813 standard aout format.
10814
10815Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10816
10817 * lib/gdb.exp (runto): Don't insist that function we are running to
10818 was compiled with -g.
10819
10820 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10821
10822 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10823 to get back into the read system call.
10824 Accept leading newline in case where we woke it up.
10825
10826Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10827
10828 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10829 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10830 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10831 enable ecoff configuration.
10832
10833Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10834
10835 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10836
10837Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10838
10839 * gdb.t16/printcmds.exp: Add another printf test.
10840
10841Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10842
10843 * configure.in: If configured -with-stabs on any target, add
10844 stabsdirs to configdirs.
10845
10846Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10847
10848 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10849 fun" so pattern does not match the command itself.
10850
10851Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10852
10853 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10854
10855Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10856
10857 * gdb.t17/interrupt.exp: Test for more things.
10858
10859Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10860
10861 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10862 compiler arranges the code and line numbers.
10863
10864 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10865
10866Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10867
10868 * gdb.t00/help.exp: Increase expect input buffer size.
10869
10870Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10871
10872 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10873
10874 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10875
10876 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10877
10878 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10879 [0-9]*, not just [0-9].
10880
10881Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10882
10883 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10884
10885 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10886
10887Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10888
10889 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10890
10891Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10892
10893 * gdb.t06/signals.c: Add xfails for sun3.
10894
10895 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10896
10897 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10898 test_stepping tests.
10899
10900Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10901
10902 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10903
10904 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10905
10906 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10907 rather than actually putting it through cpp twice.
10908
10909 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10910
10911Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10912
10913 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10914 no longer needed.
10915
10916Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10917
10918 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10919
10920 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10921 C++ features prints as "struct", make it a pass, not an xfail.
10922
10923Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10924
10925 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10926 Don't require VA to print as "class" rather than "struct".
10927
10928Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10929
10930 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10931
10932Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10933
10934 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10935
10936Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10937
10938 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10939 order.
10940
10941Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10942
10943 * gdb.t16/printcmds.exp: Add printf tests.
10944
10945 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10946
10947 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10948
10949Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10950
10951 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10952 pass counts, to counteract any existing or future setup_xfails.
10953
10954Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10955
10956 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10957 {BEGIN,END}_COMMON for common block instead of STAB.
10958 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10959
10960 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10961 intp_var should be N_GSYM not N_LSYM.
10962 wierd-aout.S: Use a label for the value of the N_SO.
10963 wierd.def: Remove all backslashes.
10964 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10965
10966Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10967
10968 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10969 get the expected next to inheritance3.
10970
10971Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10972
10973 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10974 now that gcc-2.4 gets it right.
10975
10976Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10977
10978 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10979
10980 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10981 generating comp-info.exp which works for cross-compilation.
10982
10983Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10984
10985 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10986 "*-*-sysv4.*".
10987
10988Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
10989
10990 * gdb.t01/run.exp: Start with a fresh gdb.
10991 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
10992 SVR4.x.
10993
10994Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
10995
10996 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
10997 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
10998 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
10999 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11000 things to remove.
11001
11002Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11003
11004 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11005 test cases from bug reports.
11006
11007Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11008
11009 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11010 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11011 avoid spurious xfails.
11012 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11013 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11014 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11015
11016Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11017
11018 * gdb.t00/teststrategy.exp: Rework to provide more useful
11019 description of each test, fix problem with systems that define
11020 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11021 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11022 results for "next over recursive call" so timeouts aren't taken
11023 by error.
11024
11025Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11026
11027 * gdb.t12/scope.exp: Test printing of variables before run.
11028
11029 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11030 printed in wrong order due to sorting.
11031
11032Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11033
11034 * gdb.t00/teststrategy.exp: Fix expected results for printing
11035 user entered string constant. Is array of char, prints with no
11036 address.
11037
11038 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11039 commands.
11040 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11041 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11042 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11043 of struct of char arrays.
11044 * gdb.t00/radix.exp: New tests for radix commands.
11045
11046Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11047
11048 * gdb.t16/printcmd.exp: Print a variable before running program
11049 (with xfail for AIX).
11050
11051Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11052
11053 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11054
11055 * gdb.t16/printcmd.exp: Don't print variables before running program.
11056
11057 * gdb.t06/break.exp: Don't require envp argument to main.
11058
11059 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11060
11061 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11062 Add xfails for rs6000.
11063
11064 * gdb.t02/whatis.exp: Change other tests not to re-test something
11065 we already tested.
11066
11067 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11068 each type used has a variable of that type.
11069
11070Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11071
11072 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11073
11074Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11075
11076 * configure.in: change srctrigger to be a file, not a directory
11077
11078Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11079
11080 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11081
11082 * gdb.t11/list.exp: Fixed a couple of typos.
11083
11084Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11085
11086 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11087 is fixed and PR is closed.
11088 * gdb.t16 (gdbme.c): Add simple test string variable.
11089 * gdb.t16 (printcmds.exp): Add tests with simple test string
11090 variable, primarily for boundaries on "set print elements".
11091
11092Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11093
11094 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11095 Make leading 0's optional and don't expect a tab in the middle
11096 of the number.
11097
11098 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11099
11100 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11101 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11102 don't end command passed to gdb_test with newline.
11103
11104 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11105 signed keyword away, don't expect signed bitfields to be signed.
11106
11107 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11108 printing with only as many 1's as are in the field as well as printing
11109 with 32 1's (see comment).
11110
11111Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11112
11113 * gdb.t00/default.exp: Start with a fresh gdb.
11114 * configure.in (configdirs): Remove gdb.t31 until the chill
11115 compiler works again. It no longer is able to find chillrt0
11116 since it isn't in libchill.a anymore.
11117 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11118 wierd.o, make more modular.
11119 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11120 spurious newlines that caused problems.
11121
11122Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11123
11124 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11125 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11126 gdb.stabs/wierd.{exp,def}: Many new tests.
11127
11128 * gdb.t00/default.exp: update info line for new message.
11129
11130 * gdb.t02/{whatis.exp,gdbme.c}:
11131 Test that "char *" doesn't print as "caddr_t".
11132
11133Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11134
11135 * gdb.t00/help.exp: Use .* in place of some help messages which
11136 just changed.
11137 gdb.t00/default.exp: Update "info frame" test for new message.
11138 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11139 Remove some xfails
11140
11141Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11142
11143 * gdb.t03/{gdbme.c,ptype.exp}:
11144 Add tests for typedef'd struct and union without tags.
11145 Also check "whatis" on a variable of a typedef'd enum without a tag.
11146
11147 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11148 PRMS 1823; the bug still exists but isn't reproduced by this test
11149 anymore), and remove rs6000 XFAIL (the bug is fixed).
11150
11151 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11152 duplicated from whatis.exp. For those that are left, accept
11153 "long", "long int", or "int" for long variables (whatis.exp already
11154 has an XFAIL for "int", so no need to fail it here).
11155
11156 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11157 Deal with GCC's names for types now that GDB uses the compiler's names.
11158
11159 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11160 setup_xfail's for sunos4. If we #defined the signed keyword away,
11161 don't expect GDB to know that char it is signed.
11162
11163 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11164
11165Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11166
11167 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11168 should work on any system, regardless of debugging format.
11169 * gdb.t21/demangle.exp: Move to gdb.t24.
11170 * gdb.t24/demangle.exp: Move from gdb.t21.
11171 * gdb.t24/{Makefile.in, configure.in}: New files.
11172
11173Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11174
11175 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11176 * gdb.stabs: New directory.
11177
11178Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11179
11180 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11181 not just "Quit anyway?".
11182
11183Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11184
11185 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11186 that all setup_xfails are immediately followed by clear_xfails.
11187
11188Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11189
11190 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11191 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11192 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11193 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11194 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11195 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11196 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11197 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11198 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11199 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11200 gdb.t31/chillvars.exp, lib/gdb.exp:
11201 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11202 bug-gdb@prep.ai.mit.edu.
11203
11204Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11205
11206 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11207 with 0.0, not integer 0.
11208
11209Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11210
11211 * gdb.t06/break.exp: Update for "Kill the program" message change.
11212
11213Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11214
11215 * Makefile.in (GDBFLAGS): Set to -nx.
11216 * Makefile.in (site.exp): Use GDBFLAGS.
11217
11218Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11219
11220 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11221 Makefiles.
11222 (check): depend on just-check.
11223 (just-check): added so that tests can be run without a noop
11224 build pass.
11225
11226Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11227
11228 Switch to using configure's configdirs.
11229 * Makefile.in (Makefile): add configure.in dependency.
11230 (SUBDIRS): removed redundant assignment.
11231 * configure.in: switch subdirs assignment to configdirs.
11232 * gdb.t*/configure.in: new files.
11233
11234Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11235
11236 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11237 works.
11238
11239Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11240
11241 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11242 in explicit rules. Apparently this is not supported by some makes.
11243
11244Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11245
11246 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11247
11248Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11249
11250 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11251 disappeared.
11252
11253Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11254
11255 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11256
11257Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11258
11259 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11260 watchpoint problem that is now fixed.
11261 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11262 uninitialized convenience variables.
11263 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11264 structures.
11265
11266Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11267
11268 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11269 which causes expect to get out of sync with gdb on long output
11270 from help set.
11271 * gdb.t09/corefile.exp: Make expected pattern for core file
11272 failing signal and frame output format less sun specific.
11273
11274Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11275
11276 * gdb.t31/chillvars.exp: Add and remove initial dummy
11277 breakpoint, so that symbol table is forced in.
11278 (Needed at least on Sunos4, though it seems not SVR4.)
11279 * gdb.t31/chillvars.exp: Update for changed output format.
11280
11281Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11282
11283 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11284
11285Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11286
11287 * Makefile.in: Added --srcdir when invoking runtest, removed the
11288 need for a local config file. (optional now)
11289
11290Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11291
11292 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11293 failure count used to force early termination. Add some more
11294 expected failures for gnu style demangling.
11295
11296Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11297
11298 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11299 pmi variable from gdb.t20/gdbme to get optimized away.
11300 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11301 Check for written corefile upon timeout _and_ eof.
11302
11303Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11304
11305 * config/unix-gdb.exp: Add missing return 0.
11306
11307Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11308
11309 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11310 test termination.
11311
11312Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11313
11314 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11315 disappeared.
11316
11317Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11318
11319 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11320 time as i860 support works.
11321
beb998c6 11322 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11323 "backtrace 100\r" rather than just "backtrace\r", to match last
11324 change.
11325
11326Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11327
11328 * config/udi-gdb.exp (gdb_exit): Remove close command.
11329 (gdb_target_udi): New procedure to set the UDI target.
11330 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11331 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11332 Added waits for prompts after several question responses. Added
11333 some more responses used by a29k-amd-udi-gdb.
11334 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11335 pass different arguments, restart UDI connection after program
11336 completion.
11337 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11338 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11339 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11340 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11341 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11342 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11343 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11344 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11345 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11346 after program completion.
11347 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11348 compiled with a SELECT_VECS setting.
11349 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11350 infinite recursion.
11351
11352 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11353 Added checks for COFF results, and made them expected failures for
11354 all targets. It would be better to make them expected failures
11355 for COFF targets only.
11356
11357Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11358
11359 * Makefile.in: add null dvi target, don't bother to recurse
11360 through test directories for info and install-info; rename
11361 $(datadir) to be dejagnu instead of deja-gnu
11362
11363Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11364
11365 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11366 compiler to coredump.
11367 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11368 code.
11369
11370Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11371
11372 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11373 coredump.
11374 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11375 code.
11376
11377Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11378
11379 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11380 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11381 which in a shell. Deletes xgdb when done.
11382 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11383 Tests the return from the "set height" or "set width" commands.
11384 Added a few return codes where needed.
11385
11386Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11387
11388 * Makefile.in (SUBDIRS): Add gdb.t17.
11389 * configure.in (subdirs): Add gdb.t17.
11390 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11391 files to test gdb's calling of functions in the inferior with
11392 the correct arguments and gdb's ability to retrieve any
11393 result returned.
11394
11395Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11396
11397 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11398 may be called after gdb goes away. Previous versions of expect
11399 needed these to avoid file descriptor leaks, but they cause
11400 errors with the current revision of expect.
11401 * gdb.t00/gdbvars.exp: Use -re on expected output after
11402 setting sevenbit-strings.
11403 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11404 to set sevenbit-strings consistent across tests.
11405 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11406 set sevenbit-strings consistent across tests.
11407
11408Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11409
11410 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11411 expected output to match current "expect" expectations.
11412
11413Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11414
11415 * gdb.t00/default.exp: Change expected output for default "source"
11416 command, to match new gdb behavior which requires a filename to
11417 source.
11418
11419Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11420
11421 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11422 expected fail for i486-*-* that misses the marker2 function.
11423 * gdb.t10/crossload.exp (bfddefault): Allow successful
11424 recognition of a format to pass even if no symbols are found.
11425 Explicitly catch failures where the format is not recognized
11426 or is ambiguous, and add the reason to the fail message.
11427 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11428 the cause is and invalid target and add reason to failure message.
11429 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11430 elf32-i386, elf32-sparc, and elf32-i860.
11431 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11432 Set up expected failure for 'filename'::variable scope resolution,
11433 which is now apparently broken on all targets.
11434 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11435 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11436 gdb.t23/templates.exp: Change failure for missing binfile into
11437 just a warning.
11438 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11439 references.
11440
11441Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11442
11443 * gdb.t00/default.exp: Add expected output for default "source"
11444 command, to match new gdb behavior.
11445 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11446
11447Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11448
11449 * config/*-gdb.exp: returns an error, rather than exiting on
11450 internal errors.
11451
11452Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11453
11454 * gdb.t03/gdbme.c: Add pointer to struct variable.
11455 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11456 referencing struct members.
11457
11458Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11459
11460 * configure.in (mips-idt-ecoff): New target.
11461 * config/mips-gdb.exp: New file for remote board using MIPS remote
11462 debugging protocol.
11463
11464 * Redid configuration scheme. Removed gdb.t*/configure.in.
11465 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11466 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11467 distclean targets. Built executables via .o files. Adjusted
11468 tests to account for source files in $(srcdir) rather than
11469 $(objdir).
11470 * lib/gdb.exp (runto): Don't expect () after the function name,
11471 because it may have arguments.
11472
11473Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11474
11475 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11476 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11477 expected failures for mips-idt-* and mips-sgi-*.
11478 * gdb.t00/default.exp (attach): Kill process if requested.
11479 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11480 that does not read core files.
11481 * gdb.t01/run.exp: Removed checks for exit status code.
11482 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11483 it is linked in.
11484 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11485 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11486 appropriate, rather than doing it by hand.
11487 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11488 execution.
11489 * gdb.t10/crossload.exp: Kill existing program if needed.
11490 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11491 appropriate, rather than doing it by hand. Always increase
11492 timeout for this test, not just for VxWorks.
11493
11494Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11495
11496 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11497 of Chill STRUCT types and STRUCT values.
11498 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11499 than "char".
11500 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11501 struct2): New struct definitions and initializations to test
c906108c
SS
11502 simple Chill STRUCT types.
11503
11504Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11505
11506 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11507 the null byte at the end of strings.
11508 * gdb.t00/default.exp: Make show version insensitive to copyright
11509 date.
11510 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11511 to avoid dependencies on target char signedness.
11512 * gdb.t16/printcmds.exp: Update expected results for explicitly
11513 unsigned char.
11514 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11515 now work.
11516 * gdb.t21/demangle.exp: Add many more patterns for template
11517 demangling, most of them being expected failures.
11518 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11519 string we are matching for, to match on the whole string.
11520 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11521 and fix a whole bunch that had incorrect expected output but were
11522 passing anyway because of the bug in "proc demangle".
11523 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11524 type.
11525 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11526
11527Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11528
11529 * gdb/testsuite: made modifications to testcases, etc., to allow
11530 them to work properly given the reorganization of deja-gnu and the
11531 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11532
11533Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11534
11535 * gdb/testsuite: Initial creation of gdb/testsuite.
11536 Migrated dejagnu testcases and support files for testing nm to
11537 gdb/testsuite from deja-gnu. These files were moved "as is"
11538 with no modifications. This migration is part of a major overhaul
11539 of dejagnu. The modifications to these testcases, etc., which
11540 will allow them to work with the new version of dejagnu will be
11541 made in a future update.
48efe704
AC
11542
11543For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11544\f
11545Local Variables:
ef043731 11546mode: change-log
c906108c
SS
11547left-margin: 8
11548fill-column: 74
11549version-control: never
11550End: