]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/ChangeLog
Fix thinko checking for dlls in archives.
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
aaa08ee4
MC
12004-02-03 Michael Chastain <mec.gnu@mindspring.com>
2
3 * gdb.cp/virtfunc.exp: Accept both "ctor()" and "ctor(void)".
4
dbad7755
MC
52004-02-03 Michael Chastain <mec.gnu@mindspring.com>
6
7 * gdb.cp/inherit.exp: Accept both "ctor()" and "ctor(void)".
8
ec4646ef
MC
92004-02-03 Michael Chastain <mec.gnu@mindspring.com>
10
11 * gdb.cp/inherit.exp: Accept output with gcc 3.2-7-rh.
12
1b802196
FF
132004-02-02 Fred Fish <fnf@redhat.com>
14
15 * gdb.base/bang.exp: Use gdb_run_cmd so this tests works with
16 remote targets. Update copyright years.
17
18fe2033
JJ
182004-02-02 Jeff Johnston <jjohnstn@redhat.com>
19
20 * lib/gdb.exp (gdb_breakpoint): Add pending breakpoint
21 support.
22 * gdb.base/langs.exp: Fix test which attempts to create
23 breakpoint on non-existent function to handle new pending
24 support.
25 * gdb.base/shlib-call.exp: Use gdb_breakpoint to set
26 a breakpoint.
27 * gdb.base/pending.exp: New test.
28 * gdb.base/pending.c: New file.
29 * gdb.base/pendshr.c: Ditto.
30
8d577d32
DC
312004-02-02 David Carlton <carlton@kealia.com>
32
33 * gdb.cp/overload.exp: Add overloadNamespace tests.
34 * gdb.cp/overload.cc (dummyClass, dummyInstance): New.
35 (overloadNamespace, XXX): New.
36 (main): Call XXX::marker2.
37
3ad13771
FF
382004-02-01 Fred Fish <fnf@redhat.com>
39
40 * gdb.base/dump.exp: Use runto_main instead of "runto main".
41 * gdb.base/finish.exp: Ditto.
42 * gdb.base/gcore.exp: Ditto.
43 * gdb.base/huge.exp: Ditto.
44 * gdb.base/info-proc.exp: Ditto.
45 * gdb.base/return2.exp: Ditto.
46 * gdb.threads/gcore-thread.exp: Ditto.
47
44c75849
DJ
482004-02-01 Daniel Jacobowitz <drow@mvista.com>
49
50 * gdb.threads/thread-specific.exp: Add missing anchor to regexp.
51
005bc093
MK
522004-02-01 Mark Kettenis <kettenis@gnu.org>
53
54 * gdb.base/fileio.c (test_open): Replace O_RDONLY with O_RDWR such
55 that opening the file succeeds on OpenBSD.
56
c47cebdb
DJ
572004-02-01 Daniel Jacobowitz <drow@mvista.com>
58
59 * gdb.threads/thread-specific.c: New file.
60 * gdb.threads/threads-specific.exp: New test script.
61 * lib/gdb.exp (gdb_test_multiple): Allow user patterns access
62 to expect_out.
63
5a01311c
MK
642004-02-01 Mark Kettenis <kettenis@gnu.org>
65
66 * gdb.base/call-ar-st.exp: Call get_debug_format. Remove xfail on
67 sparc*-*-solaris* into a kfail PR gdb/1539 on sparc-*-* for stabs
68 only on the "print_small_structs from print_long_arg_list" test.
69
ce22a4f1
DJ
702004-02-01 Daniel Jacobowitz <drow@mvista.com>
71
72 * gdb.base/completion.exp: Kill a stray backslash.
73
74 From Jim Ingham <jingham@apple.com>:
75 * gdb.base/completion.exp: Test that "complete file ./gdb.base/compl"
76 agrees with the result from sending a tab.
77
abbab9d3
DJ
782004-01-31 Daniel Jacobowitz <drow@mvista.com>
79
80 * gdb.base/chng-syms.exp: Remove stray newline.
81
53904d1e
MK
822004-01-31 Mark Kettenis <kettenis@gnu.org>
83
84 * gdb.asm/asm-source.exp: Set asm-note to "openbsd" for
85 *-*-openbsd*.
86 * gdb.asm/openbsd.inc: New file.
87
3a4b3aac
MK
882004-01-30 Mark Kettenis <kettenis@gnu.org>
89
90 * gdb.asm/asm-source.exp: Strip -Wl, from link-flags. Don't
91 append -static to link-flags for *-*-freebsd*, *-*netbsd* and
92 *-*solaris2*. Remove commented out default settings for
93 asm-flags. Replace gdb_compile with target_link.
94
ebac27b4
MC
952004-01-29 Michael Chastain <mec.gnu@mindspring.com>
96
97 * gdb.cp/inherit.exp: Rewrite. Use gdb_test_multiple and gdb
98 for all tests. Remove old hp-ux and cygnus xfail cases.
99
d8679d84
PH
1002004-01-29 Paul N. Hilfinger <Hilfinger@gnat.com>
101
102 * gdb.base/chng-syms.exp: New file.
103 * gdb.base/chng-syms.c: New file.
104
0a55bc22
MC
1052004-01-24 Michael Chastain <mec.gnu@mindspring.com>
106
107 * gdb.cp/local.exp: Rewrite "ptype Local". Add "ptype l".
108 Provide arms for current output in all my configurations.
109
94b8e876
MC
1102004-01-24 Michael Chastain <mec.gnu@mindspring.com>
111
112 * lib/compiler.c: Add hp_cc_compiler and hp_aCC_compiler.
113 * lib/compiler.cc: Likewise.
114 * lib/gdb.exp (get_compiler_info): Always call gdb_compile to
115 get the right preprocessor. Eval the output directly. Remove
116 special tests for hp_cc_compiler and hp_aCC_compiler. Remove
117 hp_f77_compiler and hp_f90_compiler completely.
118 (gdb_preprocess): Delete.
119 (get_compiler): Delete.
120
7cf03d44
MK
1212004-01-24 Mark Kettenis <kettenis@gnu.org>
122
123 * gdb.base/charset.c, gdb.base/dump.c, gdb.base/huge.c: Include
124 <string.h>.
125
68b6dce9
NR
1262004-01-24 Nick Roberts <nick@nick.uklinux.net>
127
128 * gdb.mi/mi-stack.exp: Update copyright.
129
b368761e
DC
1302004-01-23 David Carlton <carlton@kealia.com>
131
132 * gdb.cp/rtti.exp: Don't include full path in ${srcfile}. Add
133 test for cp_lookup_transparent_type.
134 * gdb.cp/rtti1.cc: Update copyright. Add n2::func and refer_to;
135 call them.
136
f2061b53
DJ
1372004-01-23 Daniel Jacobowitz <drow@mvista.com>
138
139 * gdb.mi/mi-var-child.exp: Update copyright year. Move new test
140 after -var-update.
141
37fc574a
DC
1422004-01-23 David Carlton <carlton@kealia.com>
143
144 * gdb.cp/namespace.cc (C::ensureRefs): New.
145 * gdb.cp/namespace1.cc (C::ensureOtherRefs): New.
146
8e94b928
NR
1472004-01-20 Nick Roberts <nick@nick.uklinux.net>
148
149 * gdb.mi/mi-stack.exp (test_stack_locals_listing): Test for
150 case "-stack-list-locals 2".
151 * gdb.mi/mi-var-child.exp: Test for case
152 "-var-list-children --all-values NAME".
153
997b0952
MC
1542004-01-18 Michael Chastain <mec.gnu@mindspring.com>
155
156 * gdb.cp/local.exp: Accept correct output for gcc v3 -gstabs+.
157
52470da3
MK
1582004-01-18 Mark Kettenis <kettenis@gnu.org>
159
7049b4b8
MK
160 * gdb.base/fileio.exp: Add "$gdb_prompt $" anchors to patterns
161 used with gdb_test_multiple.
162
52470da3
MK
163 * gdb.base/gdb1476.exp: Accept alternat pattern for failed memory
164 read at address 0. This fixes PR testsuite/1504.
165
da6012e5
DJ
1662004-01-18 Daniel Jacobowitz <drow@mvista.com>
167
168 * config/gdbserver.exp (gdbserver_gdb_load): Rename from gdb_load.
169 Remove downloading, guessing the host executable, the calls to
170 gdb_file_cmd and gdb_target_cmd, and "load" support.
171 (infer_host_exec): New function broken out from gdb_load.
172 (gdb_load): New wrapper for gdbserver_gdb_load.
173 * lib/mi-support.exp (mi_gdb_target_cmd): New function, based on
174 gdb_target_cmd. Use -target-select.
175 (mi_gdb_file_cmd): New function, broken out from mi_gdb_load.
176 Download binaries to the host. Clear last_mi_remote_file when
177 we load a new binary.
178 (mi_gdb_load): Call mi_gdb_file_cmd. If gdbserver.exp is loaded,
179 call gdbserver_gdb_load and mi_gdb_target_cmd.
180
32c70722
MC
1812004-01-17 Michael Chastain <mec.gnu@mindspring.com>
182
183 * gdb.cp/templates.exp: Accept more spaces with "<foo, ?bar>"
184 type patterns.
185
b0cecf36
MC
1862004-01-17 Michael Chastain <mec.gnu@mindspring.com>
187
188 * gdb.cp/templates.exp: Fix typo in test name of
189 "print Foo<volatile char*>::foo".
190
4120d7e6
MC
1912004-01-15 Michael Chastain <mec.gnu@mindspring.com>
192
193 * gdb.base/setvar.exp: Remove setup_xfail for hppa*-*-*11*.
194
f679e530
BE
1952004-01-16 Ben Elliston <bje@wasabisystems.com>
196
197 * gdb.arch/Makefile.in (MISCELLANEOUS): Remove.
198 (clean mostlyclean): Remove empty rm.
199
091c48f6
MC
2002004-01-15 Michael Chastain <mec.gnu@mindspring.com>
201
202 * gdb.base/setvar.exp: Add copyright years.
203
3e5fc8d2
DC
2042004-01-14 David Carlton <carlton@bactrian.org>
205
206 * gdb.cp/rtti.exp: Update copyright. KFAIL test with repect to
207 PR c++/1511 and update coment.
208 * gdb.cp/templates.exp: Update patterns to match current output.
209 If changes involve something other than whitespace, KFAIL
210 w.r.t. PR c++/1512 or PR c++/931 as appropriate.
211
63d06c5c
DC
2122004-01-14 David Carlton <carlton@kealia.com>
213
214 * gdb.cp/namespace.exp: Add tests involving classes defined within
215 namespaces.
216 * gdb.cp/namespace.cc (C::CClass): New.
217 * gdb.cp/namespace1.cc (C::OtherFileClass): New.
218
a51dab88
EZ
2192004-01-14 Elena Zannoni <ezannoni@redhat.com>
220
221 * gdb.base/sepdebug.exp: Bail out of the test if we don't know
222 what debug info we have. Print a better message if something goes
223 wrong while producing the separate debug info file.
224
a476ccc9
MC
2252004-01-14 Michael Chastain <mec.gnu@mindspring.com>
226
227 * gdb.base/callfuncs.c: Remove explicit declaration of malloc.
228
f453692c
MC
2292004-01-14 Michael Chastain <mec.gnu@mindspring.com>
230
231 * gdb.base/callfuncs.c: Add copyright notice.
232
f40063a5
MC
2332004-01-13 Michael Chastain <mec.gnu@mindspring.com>
234
235 * gdb.cp/derivation.exp: Add XFAIL for bug with protected
236 inheritance. PR gdb/1498, PR gcc/13539.
237
19ac3974
EZ
2382004-01-13 Elena Zannoni <ezannoni@redhat.com>
239
240 * gdb.threads/gcore-thread.exp: Prefix name of binary with
241 test specific name.
242 * gdb.mi/gdb669.exp: Ditto.
243 * gdb.mi/mi-pthreads.exp: Ditto.
244 * gdb.mi/mi1-pthreads.exp: Ditto.
245 * gdb.mi/mi2-pthreads.exp: Ditto.
246
56c97c6e
MC
2472004-01-12 Michael Chastain <mec.gnu@mindspring.com>
248
249 * gdb.cp/member-ptr.cc: Add copyright notice.
250
a0644324
MC
2512004-01-12 Michael Chastain <mec.gnu@mindspring.com>
252
253 * gdb.cp/member-ptr.exp: Use gdb_test, gdb_test_multiple. Add
254 some patterns for recent versions of gcc and hpacc. Delete
255 calls to setup_xfail for hppa*-*-*. Delete redundant tests.
256 Delete tests that access a NULL pointer-to-member-data. This
257 script is still disabled for gcc.
258
32fabe09
EZ
2592004-01-12 Elena Zannoni <ezannoni@redhat.com>
260
261 * gdb.mi/mi2-basics.exp: Make sure that full pathnames are
262 escaped correctly.
263
1f8a6abb
EZ
2642004-01-12 Elena Zannoni <ezannoni@redhat.com>
265
266 * gdb.base/sepdebug.exp: New file.
267 * gdb.base/sepdebug.c: New file.
268 * lib/gdb.exp (separate_debug_filename): New procedure.
269 (gdb_gnu_strip_debug): New procedure.
270
48efe704
AC
2712004-01-12 Andrew Cagney <cagney@redhat.com>
272
273 * gdb.mi/ChangeLog: Delete file. Renamed to ...
274 * gdb.mi/ChangeLog-1999-2003: New file.
275
a9415475
AC
2762004-01-12 Andrew Cagney <cagney@redhat.com>
277
278 * gdb.base/fileio.exp: Update copyright year. On GNU/Linux, for
279 "Renaming a directory to a non-empty directory returns ENOTEMPTY
280 or EEXIST", treat EBUSY as an XFAIL.
281
83b8cf9d
MC
2822004-01-11 Michael Chastain <mec.gnu@mindspring.com>
283
284 * gdb.base/scope.exp: Remove obsolete setup_xfail for
285 hp_cc_compiler.
286
9939d2a8
MC
2872004-01-10 Michael Chastain <mec.gnu@mindspring.com>
288
289 * gdb.cp/classes.exp: Remove old "(obsolescent gcc or gdb)"
290 decorations.
291
1ff8cadf
MC
2922004-01-10 Michael Chastain <mec.gnu@mindspring.com>
293
294 * gdb.cp/virtfunc.exp: Remove old "(obsolescent gcc or gdb)"
295 and "(aCC)" decorations. Remove obsolete doco about old
296 test results.
297
6fa9022e
MC
2982004-01-09 Michael Chastain <mec.gnu@mindspring.com>
299
300 * gdb.cp/exception.exp: Fix typo in doco.
301
209721fe
MK
3022004-01-09 Mark Kettenis <kettenis@gnu.org>
303
304 * gdb.base/gdb1476.exp: Fix typo.
305
ef11303e
MC
3062004-01-09 Michael Chastain <mec.gnu@mindspring.com>
307
308 * gdb.hp/gdb.aCC/exception.exp: Re-create as a nearly empty
309 file.
310
041ab88c
MC
3112004-01-09 Michael Chastain <mec.gnu@mindspring.com>
312
313 * gdb.cp/exception.cc: Change <iostream.h> to <iostream>.
314 * gdb.cp/exception.exp: Use gdb test, gdb_test_multiple.
315 Use gdb_compile. Remove restriction on gcc. Add some patterns
316 for recent version of gdb. Delete second half, which was a copy
317 of the first half with different build flags. This test is
318 still disabled because it is still not ready for production.
319
e36d075a
MC
3202004-01-08 Michael Chastain <mec.gnu@mindspring.com>
321
322 * gdb.cp/exception.cc: Add copyright notice.
323 * gdb.cp/exception.exp: Add a notice that this file is broken
324 because of line number changes caused by addition of copyright
325 notice.
326
42b190ad
MC
3272004-01-08 Michael Chastain <mec.gnu@mindspring.com>
328
329 * gdb.cp/exception.cc: Renamed from gdb.hp/gdb.aCC/exception.cc.
330 * gdb.cp/exception.exp: Renamed from gdb.hp/gdb.aCC/exception.exp.
331
8f25f06b
MC
3322004-01-08 Michael Chastain <mec.gnu@mindspring.com>
333
334 * gdb.cp/classes.exp: Accept gnu abi 2.
335 * gdb.cp/derivation.exp: Likewise.
336 * gdb.cp/overload.exp: Likewise.
337 * gdb.cp/virtfunc.exp: Likewise.
338
06ded8b8
MC
3392004-01-08 Michael Chastain <mec.gnu@mindspring.com>
340
341 * gdb.mi/pthreads.c (done_making_threads): Remove extraneous
342 semicolon after end of function.
343
77c26ae3
MC
3442004-01-07 Michael Chastain <mec.gnu@mindspring.com>
345
346 * gdb.cp/bs15503.cc: Include <iostream>, not <iostream.h>.
347 * gdb.cp/bs15503.exp: Remove hp-only restriction. Use modern
348 boilerplate code for compiling and running the program under
349 test. Add some string method tests.
350
20757486
MC
3512004-01-07 Michael Chastain <mec.gnu@mindspring.com>
352
353 * gdb.cp/bs15503.cc: Add copyright notice.
354 * gdb.cp/bs15503.exp: Adjust line number.
355
0fd3b503
MC
3562004-01-07 Michael Chastain <mec.gnu@mindspring.com>
357
358 * gdb.hp/gdb.defects/bs15503.exp: Renamed to gdb.cp/bs15503.exp.
359 * gdb.hp/gdb.defects/bs15503.cc: Renamed to gdb.cp/bs15503.cc.
360
10d1bea8
MC
3612004-01-07 Michael Chastain <mec.gnu@mindspring.com>
362
363 * gdb.base/funcargs.exp: Remove obsolete setup_xfail for
364 hp_cc_compiler.
365
2789202a
MC
3662004-01-07 Michael Chastain <mec.gnu@mindspring.com>
367
368 * gdb.cp/cttiadd.c: Add a marker for gdb_get_line_number.
369 * gdb.cp/ctti.exp: Use the marker instead of "next".
370 With gcc, run further before bailing.
371
b862f14c
MC
3722004-01-07 Michael Chastain <mec.gnu@mindspring.com>
373
374 * gdb.cp/cttiadd.cc: Add copyright notice.
375 * gdb.cp/cttiadd1.cc: Likewise.
376 * gdb.cp/cttiadd2.cc: Likewise.
377 * gdb.cp/cttiadd3.cc: Likewise.
378
96da2469
MC
3792004-01-07 Michael Chastain <mec.gnu@mindspring.com>
380
381 * gdb.cp/ctti.exp: Partial rewrite. Call gdb_compile properly.
382 Use gdb_test, gdb_test_multiple. Use floating-point values that
383 have exact representations in IEEE-ish formats.
384
053248ff
MC
3852004-01-07 Michael Chastain <mec.gnu@mindspring.com>
386
387 * gdb.base/constvars.exp: Do not force lang=c++ if using HP
388 compilers. Delete duplicate call to get_compiler_info.
389 (local_compiler_xfail_check): setup_xfail if $hp_cc_compiler.
390 * gdb.base/volatile.exp: Likewise.
391
84acecdd
MK
3922004-01-07 Mark Kettenis <kettenis@gnu.org>
393
394 * gdb.base/gdb1476.exp: Only run the tests if we can't read the
395 memory at address 0.
396
fe11a27f
MC
3972004-01-07 Michael Chastain <mec.gnu@mindspring.com>
398
399 * gdb.stabs/weird.exp: Use hp_cc_compiler and hp_aCC_compiler
400 to test for hp-ux assembler. Fix copyright years.
401
60ad077b
AC
4022004-01-07 Andrew Cagney <cagney@redhat.com>
403
404 * gdb.base/fileio.c (strerrno): Add "EBUSY".
405
1c9b8f33
AC
4062004-01-07 Andrew Cagney <cagney@redhat.com>
407
408 * gdb.base/fileio.c (test_open): Do not pass S_IWUSR to "open"
409 when creating the read-only file. From analysis by Roland McGrath
410 and Elena Zannoni.
411
753ccc7a
MC
4122004-01-06 Michael Chastain <mec.gnu@mindspring.com>
413
414 * gdb.cp/namespace.exp: Call get_compiler_info with "c++".
415
eca3e36b
MC
4162004-01-06 Michael Chastain <mec.gnu@mindspring.com>
417
418 * gdb.base/cvexpr.c: Be type-safe with function pointers and
419 data pointers.
420
f8d4bac4
MC
4212004-01-06 Michael Chastain <mec.gnu@mindspring.com>
422
423 * gdb.cp/m-static.exp: Compile one source file at a time.
424 Delete unused call to get_compiler_info.
425
9b4e0f94
MC
4262004-01-06 Michael Chastain <mec.gnu@mindspring.com>
427
428 * gdb.base/call-ar-st.exp: Delete explicit reference to ${binfile}.ci.
429 * gdb.base/call-rt-st.exp: Likewise.
430 * gdb.base/nodebug.exp: Likewise.
431 * gdb.base/volatile.exp: Likewise.
432 * gdb.cp/ref-types.exp: Likewise.
433 * gdb.cp/templates.exp: Likewise.
434
023c1024
MK
4352004-01-05 Mark Kettenis <kettenis@gnu.org>
436
437 * gdb.base/gdb1476.exp, gdb.base/gdb1476.c: New files.
438
19703c4a
MC
4392004-01-05 Michael Chastain <mec.gnu@mindspring.com>
440
441 * gdb.cp/funcargs.exp: Delete special timeout of 240 seconds for
442 hppa*-hp-hpux*.
443
18b67037
MK
4442004-01-04 Mark Kettenis <kettenis@gnu.org>
445
ba6219c8
MK
446 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
447 x86_64-*-*.
448
18b67037
MK
449 * gdb.base/structs.exp: Add patterns to kfail PR gdb/1447 for
450 sparc64-*-* and sparc*-solaris2*.
451
1bfbbb9d
MK
4522004-01-04 Mark Kettenis <kettenis@gnu.org>
453
454 * gdb.base/structs.exp: Remove ${testfile} from "zed L<n> for
455 return ${tests}" test. The ${tests} already mentions the
456 filename.
457
06846494
MC
4582004-01-02 Michael Chastain <mec.gnu@mindspring.com>
459
460 * gdb.cp/local.exp: Accept gcc abi 2.
461
3b0cb202
MC
4622004-01-02 Michael Chastain <mec.gnu@mindspring.com>
463
464 * gdb.cp/templates.exp: Accept gcc abi 2.
465
0643ec3f
MC
4662004-01-02 Michael Chastain <mec.gnu@mindspring.com>
467
468 * lib/compiler.cc: Remove supports_template_debugging.
469 * gdb.cp/templates.exp: Do not test supports_template_debugging.
470
d231d0b1
MC
4712004-01-01 Michael Chastain <mec.gnu@mindspring.com>
472
473 * gdb.cp/namespace.exp: Accept gcc abi 2.
474
44ffb27c
MC
4752004-01-01 Michael Chastain <mec.gnu@mindspring.com>
476
477 * gdb.cp/method.exp: Accept gcc abi 2.
478
184ad485
MC
4792004-01-01 Michael Chastain <mec.gnu@mindspring.com>
480
481 * gdb.cp/classes.exp: Generate identical results as old version.
482 * gdb.cp/derivation.exp: Likewise.
483 * gdb.cp/overload.exp: Likewise.
484 * gdb.cp/virtfunc.exp: Likewise.
485
116f09e7
MC
4862004-01-01 Michael Chastain <mec.gnu@mindspring.com>
487
488 * gdb.cp/virtfunc.exp: Modify some patterns to avoid a
489 mysterious bug with sourceware version of expect.
490
b1379776
MC
4912004-01-01 Michael Chastain <mec.gnu@mindspring.com>
492
493 * gdb.cp/overload.exp: Rewrite. Clean up patterns to match
494 current versions of gcc, including gcc abi 2. Remove gratuitous
495 restart of test program. Use gdb_test_multiple and gdb_test for
496 all tests. Add patterns to xfail missing "const" in "const char *"
497 and kfail PR gdb/1155.
498
6b7a4c0e
MC
4992004-01-01 Michael Chastain <mec.gnu@mindspring.com>
500
501 * gdb.cp/derivation.exp: Rewrite. Clean up patterns to match
502 current versions of gcc, including gcc abi 2. Remove gratuitous
503 restart of test program. Use gdb_test_multiple and gdb_test for
504 all tests. Add patterns to kfail PR gdb/1498.
505
51615d72
MC
5062003-12-31 Michael Chastain <mec.gnu@mindspring.com>
507
508 * gdb.cp/virtfunc.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. Use
511 gdb_test_multiple and gdb_test for all tests.
512
7b79a9d7
MK
5132004-01-01 Mark Kettenis <kettenis@gnu.org>
514
515 * gdb.asm/asm-source.exp: Update copyright year. Link statically
516 for *-*-solaris2*.
517
1cd3489f
MC
5182003-12-31 Michael Chastain <mec.gnu@mindspring.com>
519
520 * gdb.cp/classes.exp: Rewrite. Clean up patterns to match
521 current versions of gcc, including gcc abi 2. Use "breakpoint"
522 and "continue" instead of restarting the target program several
523 times. Use gdb_test_multiple and gdb_test for all tests.
524
850742db
MC
5252003-12-18 Michael Chastain <mec.gnu@mindspring.com>
526
527 * gdb.base/sect-cmd.exp: Handle compiling test case from multiple
528 source files.
529
eb4bbda8
MC
5302003-12-16 Michael Chastain <mec.gnu@mindspring.com>
531
532 * gdb.base/environ.exp: Handle compiling test case from multiple
533 source files.
534
e42c7771
MC
5352003-12-16 Michael Chastain <mec.gnu@mindspring.com>
536
537 * gdb.base/structs.exp: Call gdb_exit as well as gdb_start.
538
80e4b428
JB
5392003-12-17 Jim Blandy <jimb@redhat.com>
540
5f06973a
JB
541 * gdb.base/freebpcmd.c: Add copyright notice.
542
80e4b428
JB
543 * gdb.base/freebpcmd.exp: Mark the interesting failure as known.
544
0ab84fb7
MC
5452003-12-16 Michael Chastain <mec.gnu@mindspring.com>
546
547 * gdb.base/maint.exp: Add generic FAIL patterns to prevent timeouts.
548
1b3bb3d0
JB
5492003-12-13 Jim Blandy <jimb@redhat.com>
550
551 * gdb.base/freebpcmd.exp, gdb.base/freebpcmd.c: New test.
552
3a4c9371
KB
5532003-12-12 Kevin Buettner <kevinb@redhat.com>
554
555 * gdb.asm/frv.inc: New file.
556 * gdb.asm/asm-source.exp: Add frv-*-* as a supported target.
557
a1dea79a
FF
5582003-12-09 Fred Fish <fnf@redhat.com>
559
560 * gdb.base/break.c (marker1, marker2, marker3, marker4): Move
561 functions to break1.c and leave prototypes behind. Add more
562 "set breakpoint NN here" comments.
563 * gdb.base/break1.c: New file.
564
565 * gdb.base/break.exp: Handle compiling test case from multiple
566 source files and change source file references as needed.
567 * gdb.base/completion.exp: Ditto.
568 * gdb.base/condbreak.exp: Ditto.
569 * gdb.base/define.exp: Ditto.
570 * gdb.base/ena-dis-br.exp: Ditto.
571 * gdb.base/info-proc.exp: Ditto.
572 * gdb.base/maint.exp: Ditto.
573 * gdb.base/until.exp: Ditto.
574
575 * gdb.base/condbreak.exp: Use bp_locationNN variables instead of
576 hardcoded line numbers.
577 * gdb.base/define.exp: Ditto.
578 * gdb.base/ena-dis-br.exp: Ditto.
579 * gdb.base/maint.exp: Ditto.
580 * gdb.base/until.exp: Ditto.
581
582 * gdb.base/completion.exp: Use "break1" for completion tests since
583 "break" is no longer a unique prefix.
584
5266b69c
AC
5852003-12-06 Andrew Cagney <cagney@redhat.com>
586
587 * gdb.base/structs.exp (test_struct_returns): When applicable, set
588 "return_value_unimplemented". When an unimplemented struct return
589 architecture, report incorrect values as a KFAIL
590
374451f0
MC
5912003-12-05 Michael Chastain <mec.gnu@mindspring.com>
592
593 * gdb.cp/rtti.exp: Accept new wording of warning from
594 cp_lookup_rtti_type.
595
ba9b20a7
MC
5962003-12-05 Michael Chastain <mec.gnu@mindspring.com>
597
598 Partial fix for PR testsuite/1456.
599 * gdb.base/scope.exp (test_at_main): Replace references to
600 gcc_compiled with calls to test_compiler_info.
601 (test_at_foo): Likewise.
602 (test_at_bar): Likewise.
603
b74b6d0b
MC
6042003-12-04 Michael Chastain <mec.gnu@mindspring.com>
605
606 Partial fix for PR testsuite/1456.
607 * gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
608 to test_compiler_info.
609
ccfa3402
MC
6102003-12-03 Michael Chastain <mec.gnu@mindspring.com>
611
612 * gdb.base/so-impl-ld.exp: Update copyright notice.
613
f6246aba
MC
6142003-12-02 Michael Chastain <mec.gnu@mindspring.com>
615
616 Partial fix for PR testsuite/1456.
617 * gdb.base/mips_pro.exp: Replace references to gcc_compiled with calls
618 to test_compiler_info.
619
13ae734a
MC
6202003-11-28 Michael Chastain <mec.gnu@mindspring.com>
621
622 * gdb.objc/objcdecode.exp: Match and KFAIL the output that comes
623 from current versions of gdb. Clean up regular expressions.
624 Delete redundant timeout case.
625
d8e1cdee
MC
6262003-11-28 Michael Chastain <mec.gnu@mindspring.com>
627
628 * gdb.objc/nondebug.exp: Match and KFAIL the output that comes
629 from current versions of gdb. Clean up regular expressions.
630 Delete redundant timeout case.
631
96457b64
MC
6322003-12-01 Michael Chastain <mec.gnu@mindspring.com>
633
634 Partial fix for PR testsuite/1456.
635 * gdb.base/callfuncs.exp (do_function_calls): Replace reference to
636 gcc_compiled with call to test_compiler_info.
637
f35309fc
MC
6382003-11-30 Michael Chastain <mec.gnu@mindspring.com>
639
640 Partial fix for PR testsuite/1456.
641 * gdb.base/list.exp (test_list_function): Delete unused declaration
642 of gcc_compiled.
643
d7afdf9b
MC
6442003-11-29 Michael Chastain <mec.gnu@mindspring.com>
645
646 Partial fix for PR testsuite/1456.
647 * gdb.base/complex.exp: Replace reference to gcc_compiled with
648 call to test_compiler_info.
649
71507b56
MK
6502003-11-29 Mark Kettenis <kettenis@gnu.org>
651
652 * gdb.asm/asm-source.exp: Initialize asm-note to "empty". Set
653 asm-note to "netbsd" for *-*-netbsdelf* and x86_64-*-netbsd*. Use
654 it to create the appropriate note.inc.
655 * gdb.asm/asmsrc1.s: Include "note.inc".
656 * gdb.asm/netbsd.inc: New file.
657 * gdb.asm/empty.inc: New file.
658
f81f93f7
MC
6592003-11-28 Michael Chastain <mec.gnu@mindspring.com>
660
661 Partial fix for PR testsuite/1456.
662 * gdb.base/constvars.exp: Replace references to gcc_compiled with
663 calls to test_compiler_info.
664
9a77938e
MC
6652003-11-27 Michael Chastain <mec.gnu@mindspring.com>
666
667 Partial fix for PR testsuite/1456.
668 * gdb.base/volatile.exp: Replace references to gcc_compiled with
669 calls to test_compiler_info.
670
e8367dc7
MK
6712003-11-27 Mark Kettenis <kettenis@gnu.org>
672
673 * gdb.base/structs.exp: Use i*86-*-* instead of i686-*-* as a
674 pattern for the KFAILs.
675
526c61ee
AF
6762003-11-25 Adam Fedor <fedor@gnu.org>
677
678 * gdb.objc/objcdecode.exp: Test for PR objc/1238.
679 * gdb.objc/objcdecode.m: New file.
680
28f2d600
AF
6812003-11-25 Adam Fedor <fedor@gnu.org>
682
683 * gdb.objc/nondebug.exp: Test for PR objc/1236.
684 * gdb.objc/nondebug.m: New file.
685
a3895cee
BE
6862003-11-26 Ben Elliston <bje@wasabisystems.com>
687
688 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
689 NetBSD as it does on FreeBSD. Modelled on a similar change by
690 Mark Kettenis on 2003-05-30.
691 (link-flags): Set to "--entry _start" regardless of target.
692 Special linker flags are to be appended to $link-flags.
693 * gdb.asm/mips.inc (gdbasm_startup): Remove __start label.
694
c9f2c8a3
MC
6952003-11-25 Michael Chastain <mec.gnu@mindspring.com>
696
697 * gdb.cp/method.exp: Accept output of new demangler.
698
15a0587a 6992003-11-25 Michael Chastain <mec.gnu@mindspring.com>
f4e8b6f3
MC
700
701 * gdb/class2.exp: New file.
702 * gdb/class2.cc: New file.
703
3c00b570
MC
7042003-11-25 Michael Chastain <mec.gnu@mindspring.com>
705
706 * gdb.cp/templates.exp (test_ptype_of_templates): Accept output
707 of new demangler.
708
7027acc7
MK
7092003-11-23 Mark Kettenis <kettenis@gnu.org>
710
711 * gdb.arch/i386-unwind.exp: Use gdb_run_cmd and gdb_expect instead
712 of gdb_test "run".
713
b0e1598a
MK
7142003-11-23 Mark Kettenis <kettenis@gnu.org>
715
716 * gdb.arch/i386-unwind.exp: Don't use runto_main. Change
717 "continue" into "run".
718
4d9eda44
MC
7192003-11-23 Michael Chastain <mec.gnu@mindspring.com>
720
721 Partial fix for PR testsuite/1456.
722 * gdb.cp/ambiguous.exp: Replace reference to gcc_compiled with
723 call to test_compiler_info.
724 * gdb.cp/ctti.exp: Likewise.
725 * gdb.cp/derivation.exp: Likewise.
726 * gdb.cp/member-ptr.exp: Likewise.
727 * gdb.cp/virtfunc.exp (test_virtual_calls): Remove unused
728 reference to gcc_compiled.
729
7302003-11-23 Michael Chastain <mec.gnu@mindspring.com>
b729099e
MC
731
732 Fix PR testsuite/1463.
733 * gdb.base/structs.exp (start_structs_test): Call
734 get_debug_format before using the debug format.
735
d422fe19
AC
7362003-11-22 Andrew Cagney <cagney@redhat.com>
737
738 * lib/gdb.exp (gdb_test_multiple): Add simple example.
739 * gdb.base/structs.exp: Use gdb_test_multiple.
740
039cf96d
AC
7412003-11-20 Andrew Cagney <cagney@redhat.com>
742
6882279b
AC
743 * gdb.base/structs.exp: Handle and recover from internal errors.
744 Replace "foo${n}" with "foo<n>" in test messages.
745
e53890ae
AC
746 * gdb.base/structs.exp: Update copyright. Rewrite.
747 * gdb.base/structs.c: Update copyright. Rewrite.
748
2b211c59
AC
749 * lib/gdb.exp (gdb_internal_error_resync): Issue a perror when the
750 resync count exceeded.
751
039cf96d
AC
752 * gdb.base/maint.exp: Use gdb_internal_error_resync to recover
753 from the internal error.
754 * lib/gdb.exp (gdb_internal_error_resync): New procedure.
755 Original from Jim Blandy.
756 (gdb_test_multiple): Use gdb_internal_error_resync.
2b211c59 757
eac98b22
AC
7582003-11-19 Andrew Cagney <cagney@redhat.com>
759
760 * gdb.base/callfuncs.exp: Change the XFAILed descriptor test to a
761 KFAIL.
762
67455b2a
MK
7632003-11-17 Mark Kettenis <kettenis@gnu.org>
764
765 New testcase for PR backtrace/1435.
766 * gdb.arch/i386-unwind.exp: New file.
767 * gdb.arch/i386-unwind.c: New file.
768
853d6e5b
AC
7692003-11-17 Andrew Cagney <cagney@redhat.com>
770
771 * lib/gdb.exp (compiler_info): New global.
772 (test_compiler_info): New function.
773 (get_compiler_info): Set compiler_info.
774 * lib/compiler.c, lib/compiler.cc: Add copyright. When GNUC, set
775 "compiler_info" to gcc-<major>-<minor>.
776
38cf6e11
MC
7772003-11-15 Michael Chastain <mec.gnu@mindspring.com>
778
779 * gdb.trace/configure: Remove.
780
a50d3602
EZ
7812003-11-13 Elena Zannoni <ezannoni@redhat.com>
782
783 * gdb.base/break.c: Add comments to aid finding line numbers for
784 breakpoints.
785 * gdb.base/break.exp: Remove all references to explicit line
786 numbers.
787
d9407aaa
NC
7882003-11-11 Nick Clifton <nickc@redhat.com>
789
790 * gdb.base/shreloc.exp: Do not run for targets which do not
791 support shared objects.
792
db488fc1
CV
7932003-11-10 Corinna Vinschen <vinschen@redhat.com>
794
795 * gdb.base/fileio.exp: Drop tests for nointerrupts and noinferiorio.
796 Don't run tests if nofileio flag is given.
797
6a90a18e
EZ
7982003-11-07 Elena Zannoni <ezannoni@redhat.com>
799
800 * gdb.cp/annota3.exp: Make sure we can match 'Hardware watchpoint'
801 as well as 'Watchpoint'.
802
0b915e9c
EZ
8032003-11-06 Elena Zannoni <ezannoni@redhat.com>
804
805 Reported by Jim Ingham <jingham@apple.com>:
806 * gdb.base/annota1.exp: Match at least one occurrence of the
807 signal handler annotation.
808
d7e4b55f
EZ
8092003-11-06 Elena Zannoni <ezannoni@redhat.com>
810
811 * gdb.cp/annota2.exp: Make sure we can match 'Hardware watchpoint'
812 as well as 'Watchpoint'.
813
2fe4e8d0
MC
8142003-11-05 Michael Chastain <mec@shout.net>
815
816 * gdb.mi/pthreads.c (routine): Handle early return from sleep.
817
6ef88553
KW
8182003-11-03 Kris Warkentin <kewarken@qnx.com>
819
820 * gdb.arch/gdb1291.c: New test file.
821 * gdb.arch/gdb1291.exp: New test script.
822 * gdb.arch/gdb1431.c: New test file.
823 * gdb.arch/gdb1431.exp: New test script.
824
ae7dc4d8
MC
8252003-10-22 Michael Chastain <mec@shout.net>
826
827 * gdb.mi/pthreads.c: Add copyright notice.
828
c39d7427
MC
8292003-10-22 Michael Chastain <mec@shout.net>
830
831 * gdb.threads/pthreads.c: Add copyright notice.
832
8b7d96c1
MC
8332003-10-20 Michael Chastain <mec@shout.net>
834
835 * gdb.base/gdb1056.exp: New test script.
836
d1d69fdd
DJ
8372003-10-13 Daniel Jacobowitz <drow@mvista.com>
838
839 * gdb.threads/killed.exp: Use gdb_run_cmd.
840
7d605576
DJ
8412003-10-13 Daniel Jacobowitz <drow@mvista.com>
842
843 * gdb.base/gcore.exp: Issue an UNSUPPORTED and exit if we can't
844 create a core file.
845 * gdb.threads/gcore-thread.exp: Likewise.
846
618ec112
CV
8472003-10-13 Corinna Vinschen <vinschen@redhat.com>
848
849 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfield
850 type, based on char type.
851 (struct bit_flags_short_t): New bitfield type, based on short type.
852 (init_bit_flags_char): New fuction.
853 (init_bit_flags_short): Ditto.
854 (print_bit_flags_char): Ditto.
855 (print_bit_flags_short): Ditto.
856 (main): Add handling for bit_flags_char_t and bit_flags_short_t.
857
9367a73c
MC
8582003-10-11 Michael Chastain <mec@shout.net>
859
860 * gdb.base/call-rt-st.exp: Update copyright year.
861
1decf120
KI
8622003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>
863
864 * config/hmsirom.exp: Replace "Hitachi" with "Renesas".
865 * gdb.disasm/sh3.s: Ditto.
866
5445b2ae
DJ
8672003-10-07 Daniel Jacobowitz <drow@mvista.com>
868
869 * gdb.threads/switch-threads.exp: New test.
870 * gdb.threads/switch-threads.c: New source file.
871
aec24853
CV
8722003-10-07 Corinna Vinschen <vinschen@redhat.com>
873
874 * gdb.base/ending-run.exp: Add sh specific case.
875
adc7428d
AC
8762003-10-06 Andrew Cagney <cagney@redhat.com>
877
878 * gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
879 * gdb.disasm/mn10200.exp: Delete obsolete file.
880
c9d37158
DJ
8812003-09-29 Daniel Jacobowitz <drow@mvista.com>
882
883 * ChangeLog: Correct an entry command.exp -> commands.exp.
884 * gdb.base/commands.exp (bp_deleted_in_command_test)
885 (temporary_breakpoint_commands): Check noargs.
886
79c2c32d
DC
8872003-09-25 David Carlton <carlton@kealia.com>
888
889 * gdb.cp/namespace.exp: Tweak comments. Add non-quoted versions
890 of some print tests, where appropriate. Add tests for C::D::cd,
891 E::ce, F::cXfX, G::XgX.
892 * gdb.cp/namespace.cc: Add XgX, cXfX, ce.
893
594e6d67
RE
8942003-09-25 Richard Earnshaw <rearnsha@arm.com>
895
896 * lib/java.exp (java_init): Import target_alias before using it.
897
10f0d451
DC
8982003-09-25 David Carlton <carlton@kealia.com>
899
900 * gdb.base/corefile.exp: Delete obsolete setup_xfail.
901
274bcba0
EZ
9022003-09-23 Elena Zannoni <ezannoni@redhat.com>
903
904 * gdb.base/selftest.exp: Accomodate more instruction reordering
905 weirdness.
906
cdbf20f7
MC
9072003-09-17 Michael Chastain <mec@shout.net>
908
909 * gdb.cp/gdb1355.exp: New file.
910 * gdb.cp/gdb1355.c: New file.
911
71e06f80
CV
9122003-09-15 Corinna Vinschen <vinschen@redhat.com>
913
914 * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
915 * gdb.asm/sh.inc: New file.
916
5c4e30ca
DC
9172003-09-11 David Carlton <carlton@kealia.com>
918
bd45b7af
DC
919 * gdb.cp/namespace.exp: Add tests for namespace types.
920 * gdb.cp/maint.exp (test_help): Test 'help maint cp namespace'.
5c4e30ca
DC
921 (test_namespace): New.
922
1c199746
EZ
9232003-09-11 Elena Zannoni <ezannoni@redhat.com>
924
925 * gdb.base/relocate.exp: Handle new gdb output at startup.
3fcf0ced 926 * gdb.stabs/weird.exp: Ditto.
1c199746 927
04ed252f
MC
9282003-09-08 Michael Chastain <mec@shout.net>
929
930 * gdb.base/gdb1250.c: Rename 'gamma' to 'my_gamma'.
931
d8a2d9e7
MC
9322003-09-07 Michael Chastain <mec@shout.net>
933
934 * gdb.cp/classes.exp: Accommodate both 'syntax error' and
935 'parse error'.
936
161afb24
MK
9372003-09-07 Mark Kettenis <m.kettenis@osp.nl>
938
939 * gdb.arch/i386-prologue.exp: Add checks for saved registers.
940
49f2741a
MC
9412003-08-30 Michael Chastain <mec@shout.net>
942
943 * gdb.base/selftest.exp: Remove support for m68k*-*-hpux.
944 * gdb.gdb/observer.exp: Ditto.
945 * gdb.gdb/xfullpath.exp: Ditto.
946
8afa723e
MK
9472003-08-29 Mark Kettenis <kettenis@gnu.org>
948
949 * gdb.base/interrupt.exp: XFAIL "call function when asleep" for
950 *-*-*bsd*.
951
f31dfe3b
JJ
9522003-08-28 Jeff Johnston <jjohnstn@redhat.com>
953
954 * gdb.base/dump.exp: Skip for ia64.
955
4630e498
JJ
9562003-08-25 Jeff Johnston <jjohnstn@redhat.com>
957
958 * gdb.asm/asm-source.exp: Add ia64 support.
959 * gdb.asm/ia64.inc: New file.
960
1105b7ef
MC
9612003-08-22 Michael Chastain <mec@shout.net>
962
963 * gdb.cp: New directory.
964 * gdb.cp/*: Copy from gdb.c++/*.
965 * gdb.c++/*: Remove.
966 * Makefile.in: Change gdb.c++ to gdb.cp.
967 * configure.in: Ditto.
968 * configure: Regnerate.
969
c945b932
MK
9702003-08-18 Mark Kettenis <kettenis@gnu.org>
971
972 * gdb.arch/i386-prologue.exp: Add testcase for PR backtrace/1338.
973 * gdb.arch/i386-prologue.c (gdb1338): Add function.
974
2b66634b
DJ
9752003-08-17 Daniel Jacobowitz <drow@mvista.com>
976
977 * mi-var-display.exp (-var-list-children weird): Accept function
978 pointers with argument types.
979 * mi1-var-display.exp (-var-list-children weird): Likewise.
980 * mi2-var-display.exp (-var-list-children weird): Likewise.
981
a356f73b
DJ
9822003-08-17 Daniel Jacobowitz <drow@mvista.com>
983
984 * gdb.base/annota3.exp: Add missing newline.
985
483417b8
MC
9862003-08-06 Michael Chastain <mec@shout.net>
987
988 * gdb.java/jmisc1.exp: Add test for pr gdb/1322.
989
c99c59c3
MS
9902003-08-12 Michael Snyder <msnyder@redhat.com>
991
992 * gdb.base/float.exp: Add test for SH.
993
55ed7501
MK
9942003-08-10 Mark Kettenis <kettenis@gnu.org>
995
996 * gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.
997
1a371f2e
EZ
9982003-08-07 Elena Zannoni <ezannoni@redhat.com>
999
1000 * gdb.base/completion.exp: Remove reduntant completion test
1001 on filename.
1002
e0f353ce
EZ
10032003-08-07 Elena Zannoni <ezannoni@redhat.com>
1004
1005 * gdb.base/attach.exp, gdb.base/detach.exp, gdb.base/gcore.exp,
1006 gdb.mi/mi-basics.exp, gdb.threads/gcore-thread.exp,
1007 gdb.trace/save-trace.exp: Make sure that full pathnames are
1008 escaped correctly.
1009
5710a1af
EZ
10102003-08-07 Elena Zannoni <ezannoni@redhat.com>
1011
1012 * configure.in: Don't generate config.h from config.hin.
1013 * configure: Regenerate.
1014 * config.hin: Remove file.
1015 * gdb.mi/pthreads.c: Remove include of config.h, and other ifdefs.
1016 * gdb.threads/pthreads.c: Ditto.
1017
dcd81ce9
DJ
10182003-08-07 Daniel Jacobowitz <drow@mvista.com>
1019
1020 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1021 * gdb.asm/asm-source.exp : Add -lgloss to link-flags.
1022 * gdb.asm/m32r.inc : Remove an illegal nop after bl instruction.
1023 Replace ld24 with seth/add3.
1024
6009d884
AC
10252003-08-02 Andrew Cagney <cagney@redhat.com>
1026
1027 * gdb.base/annota3.exp: New file.
1028 * gdb.base/annota3.c: New file.
1029 * gdb.c++/annota3.exp: New file.
1030 * gdb.c++/annota3.cc: New file.
1031
51514e06
MC
10322003-07-29 Michael Chastain <mec@shout.net>
1033
1034 * gdb.threads/tls.c (spin): Check errno only if sem_wait
1035 actually failed.
1036 (do_pass): Likewise.
1037 * gdb.threads/tls.exp: Always initialize no_of_threads.
1038
4ee6625b
DJ
10392003-07-27 Daniel Jacobowitz <drow@mvista.com>
1040
1041 * gdb.threads/print-threads.exp (test_all_threads): Loosen KFAIL
1042 pattern.
1043 * gdb.threads/tls-shared.exp: Don't use gdb_suppress_entire_file.
1044 * gdb.threads/tls.exp: Recognize one case of the host library not
1045 supporting TLS.
1046
225f2bf6
AC
10472003-07-27 Andrew Cagney <cagney@redhat.com>
1048
1049 * gdb.base/fileio.exp: Use SH when running commands using
1050 remote_exec.
1051
bcb27c9f
DJ
10522003-07-24 Daniel Jacobowitz <drow@mvista.com>
1053
1054 From Kei Sakamoto <sakamoto.kei@renesas.com>:
1055 * gdb.base/relocate.c (dummy): New padding array.
1056
3d67be83
MS
10572003-07-22 Michael Snyder <msnyder@redhat.com>
1058
1059 * gdb.disasm/8300s.s: Fix syntax of bsr insn.
1060
1061 * gdb.disasm/h8300s.exp : Minor changes in disassembler output require
1062 patterns to be more general, accepting old and new output.
1063 Some output chars (such as '+') also must be quoted.
1064 Some addresses are displayed numerically instead of
1065 symbolically.
1066
57ba3b85
MS
10672003-07-23 Michael Snyder <msnyder@redhat.com>
1068
686d097c
MS
1069 * gdb.base/return2.exp: Don't test long-long return.
1070
57ba3b85
MS
1071 * gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests.
1072 * gdb.disasm/t01_mov.exp: Ditto.
1073 * gdb.disasm/t02_mova.s: Ditto.
1074 * gdb.disasm/t02_mova.exp: Ditto.
1075 * gdb.disasm/t03_add.s: Ditto.
1076 * gdb.disasm/t03_add.exp: Ditto.
1077 * gdb.disasm/t04_sub.s: Ditto.
1078 * gdb.disasm/t04_sub.exp: Ditto.
1079 * gdb.disasm/t05_cmp.s: Ditto.
1080 * gdb.disasm/t05_cmp.exp: Ditto.
1081 * gdb.disasm/t06_ari2.s: Ditto.
1082 * gdb.disasm/t06_ari2.exp: Ditto.
1083 * gdb.disasm/t07_ari3.s: Ditto.
1084 * gdb.disasm/t07_ari3.exp: Ditto.
1085 * gdb.disasm/t08_or.s: Ditto.
1086 * gdb.disasm/t08_or.exp: Ditto.
1087 * gdb.disasm/t09_xor.s: Ditto.
1088 * gdb.disasm/t09_xor.exp: Ditto.
1089 * gdb.disasm/t10_and.s: Ditto.
1090 * gdb.disasm/t10_and.exp: Ditto.
1091 * gdb.disasm/t11_logs.s: Ditto.
1092 * gdb.disasm/t11_logs.exp: Ditto.
1093 * gdb.disasm/t12_bit.s: Ditto.
1094 * gdb.disasm/t12_bit.exp: Ditto.
1095 * gdb.disasm/t13_otr.s: Ditto.
1096 * gdb.disasm/t13_otr.exp: Ditto.
1097
e00759ef
EZ
10982003-07-22 Elena Zannoni <ezannoni@redhat.com>
1099
1100 * gdb.threads/tls.exp :Add kfail for 'info address' case.
1101
8bc2021f
EZ
11022003-07-22 Elena Zannoni <ezannoni@redhat.com>
1103
1104 * gdb.threads/tls.c : New file.
1105 * gdb.threads/tls.exp : New file.
1106 * gdb.threads/tls-main.c : New file.
1107 * gdb.threads/tls-shared.c : New file.
1108 * gdb.threads/tls-shared.exp : New file.
1109
89320c4c
AS
11102003-07-22 Andreas Schwab <schwab@suse.de>
1111
1112 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.
1113
180dea7c
AS
11142003-07-20 Andreas Schwab <schwab@suse.de>
1115
1116 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patterns
1117 due to insn reordering.
1118
0714963c
AC
11192003-07-15 Andrew Cagney <cagney@redhat.com>
1120
1121 * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
1122
98a23b3f
MC
11232003-07-15 Michael Chastain <mec@shout.net>
1124
1125 * gdb.base/gdb1250.exp: New file.
1126 * gdb.base/gdb1250.c: New file.
1127
27e417a2
ML
11282003-07-09 Michal Ludvig <mludvig@suse.cz>
1129
1130 * gdb.c++/templates.exp (test_ptype_of_templates): Recognize
1131 expansion of size_t to 'unsigned long', not only to 'unsigned'.
1132
8bc2021f
EZ
11332003-07-09 Elena Zannoni <ezannoni@redhat.com>
1134
1135 * gdb.threads/tls.c: New file.
1136 * gdb.threads/tls.exp: New file.
1137 * gdb.threads/tls-main.c: New file.
1138 * gdb.threads/tls-shared.c: New file.
1139 * gdb.threads/tls-shared.exp: New file.
1140
d99968dc
EZ
11412003-07-09 Elena Zannoni <ezannoni@redhat.com>
1142
1143 * gdb.base/annota1.exp: Make sure that we properly escape the
1144 full path of the source file. Xfail more permissive patterns,
1145 due to a compiler debug info problem.
1146
83876b3b
AS
11472003-07-07 Andreas Schwab <schwab@suse.de>
1148
2705e972
AS
1149 * gdb.asm/m68k.inc: New file.
1150 * gdb.asm/asm-source.exp: Use it for m68k-*-*.
1151
83876b3b
AS
1152 * gdb.objc/basicclass.exp ("Call an Objective-C method with no
1153 arguments"): Also match negative number.
1154
1155 * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
1156
3a871b37
DJ
11572003-07-03 Daniel Jacobowitz <drow@mvista.com>
1158
1159 * gdb.base/store.c (charest): New typedef.
1160 (add_char): Rename to add_charest, update.
1161 (wack_char): Rename to wack_charest, update types. Return l + r
1162 to keep r live across the call.
1163 (wack_short, wack_int, wack_long, wack_longest, wack_float)
1164 (wack_double, wack_doublest): Return l + r to keep r live across
1165 the call.
1166 * gdb.base/store.exp: Accomodate store.c changes.
1167
b2a7f303
DC
11682003-06-30 David Carlton <carlton@kealia.com>
1169
1170 * gdb.c++/maint.exp (test_invalid_name): New.
1171 (test_first_component): Add tests for invalid names.
1172
3c6cb4a1
MC
11732003-06-29 Michael Chastain <mec@shout.net>
1174
1175 * gdb.c++/inherit.exp (test_print_svi_classes): Accept gdb
1176 output of '<VTT for class>' for virtual base classes.
1177
f1c2644b
DJ
11782003-06-29 Daniel Jacobowitz <drow@mvista.com>
1179
1180 * gdb.base/completion.exp: Tab-complete "complet" instead of
1181 "compl".
1182 * gdb.base/complex.exp, gdb.base/complex.c: New files.
1183
18080350
DJ
11842003-06-29 Daniel Jacobowitz <drow@mvista.com>
1185
1186 * gdb.base/constvars.exp: Remove most xfails for GCC 3.x.
1187 * gdb.base/volatile.exp: Likewise.
1188
f56973f8
DJ
11892003-06-29 Daniel Jacobowitz <drow@mvista.com>
1190
1191 * gdb.threads/print-threads.exp (test_all_threads): Add kfail for
1192 gdb/1265.
1193
11942003-06-28 Michael Chastain <mec@shout.net>
48fe539f
DJ
1195 Daniel Jacobowitz <drow@mvista.com>
1196
1197 * gdb.base/selftest.exp (do_steps_and_nexts): Increase maximum
1198 initial line count of 'captured_main' from 26 to 32.
1199 (test_with_self): Allow xmalloc call to be interleaved with the
1200 preceding two lines.
1201
e766d4d6
JB
12022003-06-24 Joel Brobecker <brobecker@gnat.com>
1203
1204 * gdb.base/bang.exp: New testcase.
1205
f125c9a4
JB
12062003-06-23 Joel Brobecker <brobecker@gnat.com>
1207
1208 * gdb.base/langs.exp: Add some tests for the "minimal" language
1209 support.
1210
6e25beaf
EZ
12112003-06-23 Elena Zannoni <ezannoni@redhat.com>
1212
1213 * gdb.objc/basicclass.exp: Return -1 if we cannot compile
1214 the testcase.
1215
2f816dda
DJ
12162003-06-22 Daniel Jacobowitz <drow@mvista.com>
1217
1218 * gdb.base/relocate.exp: Test add-symbol-file with a variable
1219 offset.
1220
db5a5748
DJ
12212003-06-22 Daniel Jacobowitz <drow@mvista.com>
1222
1223 * gdb.c++/pr-1210.cc: New file.
1224 * gdb.c++/pr-1210.exp: New file.
1225
1df0c130
DJ
12262003-06-21 Daniel Jacobowitz <drow@mvista.com>
1227
1228 * lib/mi-support.exp (mi_run_cmd): Expect an MI response to
1229 000-exec-continue.
1230
a92feac0
MK
12312003-06-15 Mark Kettenis <kettenis@gnu.org>
1232
1233 * gdb.base/attach.exp: Use -1 for the ID of a nonexistent process
1234 on *-*-*bsd* instead of *-*-freebsd*.
1235
81a58f5b
AC
12362003-06-14 Andrew Cagney <cagney@redhat.com>
1237
1238 * gdb.base/store.exp: Test longest and doublest. Test all
1239 parameters. Weaken return statement match.
1240 * gdb.base/store.c: Add longest and doublest - aka long long and
1241 long double functions. Put all parameters into local register
1242 variables. Use negative values.
1243
b257a0d3
AC
12442003-06-14 Andrew Cagney <cagney@redhat.com>
1245
1246 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
1247 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
1248 exit status.
1249 * gdb.base/fileio.exp: Disable target when nointerrupts and
1250 noinferiorio, instead of limiting it to remote. Use remote_exec
1251 instead of system.
1252
21c38304
JJ
12532003-06-12 Jeff Johnston <jjohnstn@redhat.com>
1254
1255 * gdb.base/float.exp: Add ia64 support.
1256
1bcdb424
CV
12572003-06-12 Corinna Vinschen <vinschen@redhat.com>
1258
1259 * gdb.base/fileio.exp: Run only on remote targets.
1260
6aeb981f
CV
12612003-06-10 Corinna Vinschen <vinschen@redhat.com>
1262
1263 * gdb.base/fileio.c: New file, testing File-I/O.
1264 * gdb.base/fileio.exp: Ditto.
1265
53df362e
RG
12662003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
1267
1268 * gdb.base/shreloc.exp: New file, check symbol values obtained from
1269 shared objects after relocation at load time (gdb PR/1132).
1270 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
1271 as above, part of the shared object relocation test.
1272
ffee1b46
MK
12732003-06-08 Mark Kettenis <kettenis@gnu.org>
1274
b5ca3722
MK
1275 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
1276 fully filled history list.
1277 * gdb.base/gdb_history: New file.
1278
03ed860d
MK
1279 * gdb.base/signals.exp: XFAIL "continue to func1" on
1280 i*86-*-freebsd*.
1281
ffee1b46
MK
1282 * gdb.base/attach.exp: When trying to attach to a nonexistent
1283 process, make it possible to specify the PID based on the target,
1284 and do so for *-*-freebsd*.
1285
d80dbb52
RH
12862003-06-02 Richard Henderson <rth@redhat.com>
1287
1288 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
1289
6dd77b81
RH
12902003-06-02 Richard Henderson <rth@redhat.com>
1291
1292 * gdb.base/selftest.exp: Next over lim_at_start initialization.
1293
f6347e16
RH
12942003-06-02 Richard Henderson <rth@redhat.com>
1295
1296 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
1297
2c161407
DJ
12982003-06-01 Daniel Jacobowitz <drow@mvista.com>
1299
1300 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
1301 of globalvar.
1302
572eb746
MK
13032003-06-01 Mark Kettenis <kettenis@gnu.org>
1304
1305 * gdb.asm/asm-source.exp: Check for memory read errors in
1306 disassembler test on *BSD too.
1307
9e9617a5
RH
13082003-06-01 Richard Henderson <rth@redhat.com>
1309
1310 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
1311 for .frame.
1312 (gdbasm_call): Lose ldgp.
1313 (gdbasm_startup): Add frame information.
1314 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
1315
7b34ad4e
MK
13162003-05-31 Mark Kettenis <kettenis@gnu.org>
1317
1318 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
1319 i?86-*-*.
1320
10059fdf
MK
13212003-05-30 Mark Kettenis <kettenis@gnu.org>
1322
1323 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
1324 FreeBSD.
1325
acf4b816
RH
13262003-05-29 Richard Henderson <rth@redhat.com>
1327
1328 * gdb.asm/alpha.inc: New file.
1329 * gdb.asm/asm-source.exp: Use it.
1330
e9ecd949
JB
13312003-05-29 Jim Blandy <jimb@redhat.com>
1332
1333 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
1334 'core.PID'.
1335
e3e5a4f3
JB
13362003-05-22 Jim Blandy <jimb@redhat.com>
1337
1338 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
1339 backtrace.
1340
72fe3d25
DC
13412003-05-20 David Carlton <carlton@math.stanford.edu>
1342
1343 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
1344 this time.
1345
58da2eb2
DC
13462003-05-19 David Carlton <carlton@bactrian.org>
1347
1348 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
1349 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
1350
1fcb5155
DC
13512003-05-19 David Carlton <carlton@bactrian.org>
1352
1353 * gdb.c++/namespace.exp: Add namespace scope and anonymous
1354 namespace tests.
1355 Bump copyright date.
1356 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
1357 (main): Call C::D::marker2.
1358 * gdb.c++/namespace1.cc: New file.
1359
85e85163
JJ
13602003-05-14 Jeff Johnston <jjohnstn@redhat.com>
1361
1362 Roland McGrath <roland@redhat.com>
1363 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
1364 there is no manager thread.
1365
a25fbfec
JJ
13662003-05-08 Jeff Johnston <jjohnstn@redhat.com>
1367
1368 * gdb.threads/schedlock.exp: Remove assumption that all threads
1369 will run in a particular small time slice. Also ensure we break
1370 in one of the child threads rather than the main thread.
1371
be375bae
JB
13722003-05-07 Jim Blandy <jimb@redhat.com>
1373
09bf6082
JB
1374 Add support for assembly source testing on the s390x.
1375 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
1376 architecture.
1377 * gdb.asm/s390x.inc: New file.
1378
be375bae
JB
1379 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
1380 succession of 'if' statements.
1381
00905d52
AC
13822003-05-05 Andrew Cagney <cagney@redhat.com>
1383
1384 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
1385
b1e29e33
AC
13862003-05-05 Andrew Cagney <cagney@redhat.com>
1387
1388 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
1389 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
1390
e33d66ec
EZ
13912003-05-02 Elena Zannoni <ezannoni@redhat.com>
1392
1393 * gdb.base/charset.exp: Update based on new behavior of set/show
1394 charset commands.
1395
2b6fd0d8
AC
13962003-05-01 Andrew Cagney <cagney@redhat.com>
1397
1398 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
1399 variable do not give memory errors.
1400
130cacce
AF
14012003-04-30 Adam Fedor <fedor@gnu.org>
1402
1403 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
1404 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
1405 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
1406 gdb.objc/basicclass.m: : New files
1407
1408 * lib/gdb.exp (gdb_compile_objc): New procedure.
1409
bea71854
DJ
14102003-04-27 Daniel Jacobowitz <drow@mvista.com>
1411
1412 * gdb.base/signals.exp: Make backtrace tests more specific.
1413
0f20eeea
DC
14142003-04-23 David Carlton <carlton@bactrian.org>
1415
1416 * gdb.c++/maint.exp (test_first_component): Add tests for
1417 'operator' in more locations.
1418
c8c4d8dc
KB
14192003-04-16 Kevin Buettner <kevinb@redhat.com>
1420
1421 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
1422
3fe60e3c
EZ
14232003-04-16 Elena Zannoni <ezannoni@redhat.com>
1424
1425 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
1426 func marke' instead. Update test name.
1427
9219021c
DC
14282003-04-15 David Carlton <carlton@math.stanford.edu>
1429
1430 * gdb.c++/maint.exp: New file.
1431
5dd55bdd
EZ
14322003-04-14 Elena Zannoni <ezannoni@redhat.com>
1433
1434 * gdb.threads/schedlock.c: Change type of thread function argument
1435 to long, to avoid warnings on 64-bit platforms.
1436
00890572
EZ
14372003-04-14 Elena Zannoni <ezannoni@redhat.com>
1438
1439 * gdb.base/attach.exp: Add new message from ptrace in case of
1440 attaching to nonexistent process.
1441
93201743
JB
14422003-04-11 Jim Blandy <jimb@redhat.com>
1443
1444 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1445 gdb.c++/userdef.cc: Place comments on the lines to which the
1446 marker function might return.
1447 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1448 gdb.c++/userdef.exp: Look for those comments to check that we've
1449 returned to the right place, instead of checking line numbers.
1450
2a11c64d
EZ
14512003-04-11 Elena Zannoni <ezannoni@redhat.com>
1452
1453 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
1454 match on sourcefile name, instead of directory name.
1455
68ab8fc5
EZ
14562003-04-10 Elena Zannoni <ezannoni@redhat.com>
1457
1458 * gdb.base/completion.exp: Use string_to_regexp to match the
1459 working directory name.
1460
5624293a
JB
14612003-04-09 Jim Blandy <jimb@redhat.com>
1462
1463 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
1464 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
1465 after an inferior function call, report the failure, but allow the
1466 test to continue.
1467
f1f02ee4
SC
14682003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1469
1470 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1471 with -DPROTOTYPES.
1472
6eb79af0
SC
14732003-04-05 Stephane Carrez <stcarrez@nerim.fr>
1474
1475 * gdb.base/break.exp: Revert last patch.
1476
8dfb4cf0
SC
14772003-04-04 Stephane Carrez <stcarrez@nerim.fr>
1478
1479 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
1480 with -DPROTOTYPES.
1481
ed4c619a
AC
14822003-04-02 Andrew Cagney <cagney@redhat.com>
1483
1484 * gdb.base/callfuncs.exp: Make "print add" messages unique.
1485 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
1486 matching directories by the name breakpoint.
1487 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
1488 Make "continue to marker1" consistent.
1489 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
1490 message consistent.
1491 * lib/gdb.exp: Put "the program is no longer running", and "the
1492 program exited" in parenthesis.
1493 * lib/mi-support.exp: Ditto.
1494
4e35d5f0
BR
14952003-04-02 Bob Rossi <bob_rossi@cox.net>
1496
1497 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
1498
71900fe8
AC
14992003-03-29 Andrew Cagney <cagney@redhat.com>
1500
1501 * gdb.base/sizeof.c (main): Print the value of '\377'.
1502 * gdb.base/sizeof.exp: Check the sign of '\377'.
1503
c0655a16
MC
15042003-03-27 Michael Chastain <mec@shout.net>
1505
1506 * gdb.base/gdb1090.exp: New file.
1507 * gdb.base/gdb1090.cc: New file.
1508
5b2a3989
JB
15092003-03-27 J. Brobecker <brobecker@gnat.com>
1510
1511 * gdb.gdb/observer.exp: New regression test.
1512
79876890
MC
15132003-03-27 Michael Chastain <mec@shout.net>
1514
1515 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
1516 * gdb.base/ptype.exp: Likewise.
1517
6eac95e3
CV
15182003-03-27 Corinna Vinschen <vinschen@redhat.com>
1519
1520 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
1521
e8c71839
MC
15222003-03-26 Michael Chastain <mec@shout.net>
1523
1524 * gdb.base/ptype.exp: Actually use some typedef'd types.
1525
71b10041
SC
15262003-03-21 Stephane Carrez <stcarrez@nerim.fr>
1527
1528 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
1529 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
1530
2512cf80
CV
15312003-03-20 Corinna Vinschen <vinschen@redhat.com>
1532
1533 * gdb.base/default.exp: Fix regular expression.
1534
0d195a4f
CV
15352003-03-20 Corinna Vinschen <vinschen@redhat.com>
1536
1537 * gdb.base/args.exp: Fix regular expression.
1538
8a2dbca8
CV
15392003-03-20 Corinna Vinschen <vinschen@redhat.com>
1540
1541 * gdb.base/help.exp: Allow Win32 child process.
1542
bf028682
CV
15432003-03-20 Corinna Vinschen <vinschen@redhat.com>
1544
1545 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
1546 when stepping out of main().
1547
182dbe85
CV
15482003-03-20 Corinna Vinschen <vinschen@redhat.com>
1549
1550 * gdb.base/default.exp: Check for win32 specific message when calling
1551 "run" without executable.
1552
d67a6ba5
CV
15532003-03-20 Corinna Vinschen <vinschen@redhat.com>
1554
1555 * gdb.base/args.exp: Expect .exe in output.
1556
a955b5bb
CV
15572003-03-20 Corinna Vinschen <vinschen@redhat.com>
1558
1559 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
1560 Cygwin native.
1561
bf6bad4b
AC
15622003-03-17 Andrew Cagney <cagney@redhat.com>
1563
1564 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
1565 vector registes.
1566 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
1567 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
1568
293e9a31
DC
15692003-03-17 David Carlton <carlton@math.stanford.edu>
1570
1571 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
1572 test, for PR breakpoints/38.
1573 Call test_watchpoint_and_breakpoint.
1574 * gdb.base/watchpoint.c (func3): New function.
1575 (main): Call func3.
1576
5330f2db
DC
15772003-03-04 David Carlton <carlton@math.stanford.edu>
1578
1579 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
1580 Garply<Garply<char> >:: garply".
1581 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
1582 with respect to PR c++/1111; note also PR c++/1113.
1583 (test_template_breakpoints): KFAIL "constructor breakpoint" with
1584 respect to PR c++/1062.
1585 KFAIL "destructor breakpoint" with respect to PR c++/1112.
1586
6ece72da
DC
15872003-03-03 David Carlton <carlton@math.stanford.edu>
1588
1589 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
1590 with respect to PR c++/57.
1591 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
1592 c++/826.
1593 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
1594 respect to PR c++/57.
1595
85ca1584
DC
15962003-03-03 David Carlton <carlton@math.stanford.edu>
1597
1598 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
1599 respect to PR c++/33 into FAILs.
1600
98e9c5b8
MC
16012003-03-03 Michael Chastain <mec@shout.net>
1602
7bedbf27
MC
1603 * configure.in: Update copyright years.
1604
16052003-03-03 Michael Chastain <mec@shout.net>
1606
1607 * Makefile.in: Update copyright years.
98e9c5b8 1608
f683e100
DC
16092003-02-28 David Carlton <carlton@math.stanford.edu>
1610
1611 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
1612 print class instead of struct and/or superfluous protection
1613 specifiers, as long as the resulting output is equivalent to the
1614 source code.
1615 Delete FIXME from end of messages on tests that don't need
1616 fixing.
1617
a9e0cf2c
DC
16182003-02-28 David Carlton <carlton@math.stanford.edu>
1619
1620 * gdb.c++/templates.exp (do_tests): Allow const in the two
1621 Foo<volatile char *>::foo tests.
1622
e8d359df
MS
16232003-02-27 Michael Snyder <msnyder@redhat.com>
1624
1625 * gdb.base/restore.c (main): Return zero, so exit code
1626 will be consistant.
1627
0b71dc91
DC
16282003-02-26 David Carlton <carlton@math.stanford.edu>
1629
1630 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
1631 char *>::foo" test with respect to PR c++/33. Create a new test
1632 which is identical to that one except that it doesn't put the
1633 space between the "char" and the "*"; KFAIL it, too.
1634
dd14ab43
DC
16352003-02-26 David Carlton <carlton@math.stanford.edu>
1636
1637 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
1638 template types into either PASSes or KFAILs (corresponding to PR
1639 c++/57). Tweak indentation. Update copyright.
1640
1146c7f1
SC
16412003-02-23 Stephane Carrez <stcarrez@nerim.fr>
1642
1643 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
1644
74641dfb
MC
16452003-02-13 Michael Chastain <mec@shout.net>
1646
1647 * gdb.base/exprs.exp: Remove i960 remnants.
1648 * gdb.base/funcargs.exp: Likewise.
1649 * gdb.base/list.exp: Likewise.
1650 * gdb.base/ptype.exp: Likewise.
1651
559cd2d0
DC
16522003-02-14 David Carlton <carlton@math.stanford.edu>
1653
1654 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
1655 pEe->D::vg()" from XFAIL to KFAIL.
1656
c4f90d87
JM
16572003-02-13 Jason Molenda (jmolenda@apple.com)
1658
1659 * gdb.base/maint.exp: Update maint print statistics regexp to include
1660 new entries.
1661
cbc4d97c
MC
16622003-02-13 Michael Chastain <mec@shout.net>
1663
1664 * gdb.c++/inherit.exp: Remove call to get_debug_format.
1665
40f235b7
MC
16662003-02-12 Michael Chastain <mec@shout.net>
1667
1668 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
1669 * gdb.c++/inherit.exp: Likewise.
1670 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
1671 * gdb.c++/templates.exp: Likewise.
1672 * gdb.c++/virtfunc.exp: Likewise.
1673
c56716b0
JM
16742003-02-06 Jason Molenda (jason-cl@molenda.com)
1675
1676 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
1677 why the code is written that way.
1678
070afcf8
MC
16792003-02-05 Michael Chastain <mec@shout.net>
1680
1681 * gdb.base/dump.exp: Add missing copyright line.
1682
5d0331e5
JM
16832003-02-05 Jason Molenda (jason-cl@molenda.com)
1684
f7ae6d3e 1685 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
1686 at the beginning so the breakpoint doesn't get set on the loop.
1687
92851186
MC
16882003-02-05 Michael Chastain <mec@shout.net>
1689
1690 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
1691 output for configurations with gcc 2.95.3.
1692
cbf1e085
AC
16932003-02-05 Keith Seitz <keiths@redhat.com>
1694 Andrew Cagney <ac131313@redhat.com>
1695
1696 * gdb.mi/mi-cli.exp: New file.
1697
29518e1e
MC
16982003-02-04 Michael Chastain <mec@shout.net>
1699
1700 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
1701 Call perror and then continue.
1702
5af1d5f3
MC
17032003-02-03 Michael Chastain <mec@shout.net>
1704
1705 * gdb.c++/pr-1023.cc: New file.
1706 * gdb.c++/pr-1023.exp: New file.
1707
6b549786
JB
17082003-02-05 Jim Blandy <jimb@redhat.com>
1709
1710 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
1711 it's local to foobar. Check for it there, and check that it's not
1712 present in main.
1713 * gdb.c++/local.cc (marker2): New function.
1714 (foobar): Call marker1.
1715 (main): Call marker2 instead of marker1.
1716
67f16606
AC
17172003-02-04 Andrew Cagney <ac131313@redhat.com>
1718
1719 * gdb.disasm/mn10200.exp: Obsolete file.
1720 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
1721 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
1722 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
1723
1c5cb38e
DC
17242003-02-04 David Carlton <carlton@math.stanford.edu>
1725
1726 * gdb.c++/overload.exp: Test intToChar(1).
1727 * gdb.c++/overload.cc (intToChar): New.
1728 (main): Call intToChar.
1729
d1fe6965
DC
17302003-02-03 David Carlton <carlton@math.stanford.edu>
1731
1732 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
1733 'might_kfail' arg.
1734 KFAIL some of the continue_to_bp_overloaded calls, according to
1735 PR c++/1025.
1736
9ba61c5d
MC
17372003-02-01 Michael Chastain <mec@shout.net>
1738
1739 * gdb.base/advance.c (marker1): New marker function.
1740 * gdb.base/advance.exp: When the 'advance' command lands on the
1741 return breakpoint, it can legitimately stop on either the
1742 current line or the next line. Accommodate both outcomes.
1743 * gdb.base/until.exp: Likewise.
1744
e7494ffb
AC
17452003-02-02 Andrew Cagney <ac131313@redhat.com>
1746
1747 2002-11-10 Jason Molenda (jason-cl@molenda.com):
1748 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
1749 now a list, not a tuple.
1750 * gdb.mi/mi-var-display.exp: Ditto.
1751 * gdb.mi/gdb792.exp: Ditto.
1752
075559bc
AC
17532003-02-01 Andrew Cagney <ac131313@redhat.com>
1754
1755 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
1756 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
1757 stack backtraces.
1758 * gdb.mi/mi-syn-frame.c: Part of same.
1759
2bd4c7b1
MK
17602003-02-01 Mark Kettenis <kettenis@gnu.org>
1761
1762 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1763 gdb.mi/mi1-pthreads.exp: Return instead of calling
1764 gdb_suppress_entire_file.
1765
eabd8992
MS
17662003-02-01 Mark Salter <msalter@redhat.com>
1767
1768 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
1769
71469e2f
MS
17702003-01-31 Mark Salter <msalter@redhat.com>
1771
1772 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
1773 Support empty arg.
1774
38a94d44
MC
17752003-01-30 Michael Chastain <mec@shout.net>
1776
1777 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
1778 This was a workaround for a UTF-8 bug in readline 4.3. The bug
1779 has been fixed in gdb/readline on 2003-01-09.
1780
19ea9e73
MS
17812003-01-29 Michael Snyder <msnyder@redhat.com>
1782
e8d359df
MS
1783 * gdb.base/maint.exp: Allow for leading underscore in symbol.
1784 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
1785 * gdb.base/args.exp: Skip if target does not support args passing.
1786
2307bd6a
DJ
17872003-01-22 Daniel Jacobowitz <drow@mvista.com>
1788
19ea9e73 1789 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
1790 gdb_test. Accept a list of expect arguments as the third
1791 parameter.
1792 (gdb_test): Use it.
1793
f2dd3617
EZ
17942003-01-20 Elena Zannoni <ezannoni@redhat.com>
1795
1796 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
1797 allow for different test tree configurations. Update some
1798 tescases accordingly.
1799 * gdb.arch/altivec-regs.exp: Ditto.
1800 * gdb.asm/asm-source.exp: Ditto.
1801 * gdb.base/advance.exp: Ditto.
1802 * gdb.base/display.exp: Ditto.
1803 * gdb.base/long_long.exp: Ditto.
1804 * gdb.base/mips_pro.exp: Ditto.
1805 * gdb.base/overlays.exp: Ditto.
1806 * gdb.base/relocate.exp: Ditto.
1807 * gdb.base/setshow.exp: Ditto.
1808 * gdb.base/step-line.exp: Ditto.
1809 * gdb.base/step-test.exp: Ditto.
1810 * gdb.base/until.exp: Ditto.
1811 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
1812
c71cdefd
DC
18132003-01-17 David Carlton <carlton@math.stanford.edu>
1814
1815 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
1816 corresponding to PR c++/945.
1817 Update copyright.
1818
fdba05d7
DC
18192003-01-17 David Carlton <carlton@math.stanford.edu>
1820
1821 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
1822 corresponding to PR c++/68.
1823
18242003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
1825
1826 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
1827 (test_paddr_hairy_functions): Call print_addr_2_kfail for
1828 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
1829
c362c33a
EZ
18302003-01-15 Elena Zannoni <ezannoni@redhat.com>
1831
0fbc361c
EZ
1832 * gdb.base/break.exp: Fix change of default location, because of
1833 removal of until tests.
1834 * gdb.base/help.exp: Update test for new 'until' help message.
1835 Add test for help on 'advance'.
c362c33a
EZ
1836 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
1837
dabf8a35
MK
18382003-01-15 Mark Kettenis <kettenis@gnu.org>
1839
1840 * gdb.base/default.exp: Adapt "info float" test for recent changes
1841 to that command. Add test for "info vector".
1842 * gdb.base/float.exp: New file. Add test for "info float" that
1843 resembles the old test in gdb.base/default.exp.
1844
a1769aca
DC
18452003-01-15 David Carlton <carlton@math.stanford.edu>
1846
1847 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
1848
82025e13
EZ
18492003-01-15 Elena Zannoni <ezannoni@redhat.com>
1850
1851 * gdb.base/break.exp: Move the tests of until command from here...
1852 * gdb.base/until.exp: ... to here. New file. Add other tests.
1853 * gdb.base/advance.c: New file.
1854 * gdb.base/advance.exp: New file.
1855
8f9ab801
EZ
18562003-01-14 Elena Zannoni <ezannoni@redhat.com>
1857
1858 * gdb.base/args.c: New file.
1859 * gdb.base/args.exp: New file.
1860
9ae66589
DJ
18612003-01-14 Daniel Jacobowitz <drow@mvista.com>
1862
1863 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
1864
8d77e5c3
DJ
18652003-01-14 Daniel Jacobowitz <drow@mvista.com>
1866
1867 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
1868
12d2f0a1
DJ
18692003-01-14 Daniel Jacobowitz <drow@mvista.com>
1870
1871 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
1872 dates.
1873
6ca37014
DJ
18742003-01-13 Daniel Jacobowitz <drow@mvista.com>
1875
1876 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
1877
b0023472
DJ
18782003-01-13 Daniel Jacobowitz <drow@mvista.com>
1879
1880 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
1881 (ptype &*"foo").
1882 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
1883
d6abaea5
DJ
18842002-01-13 Daniel Jacobowitz <drow@mvista.com>
1885
1886 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
1887 * gdb.mi/mi1-console.exp: Likewise.
1888
dfd536a7
DJ
18892002-01-13 Daniel Jacobowitz <drow@mvista.com>
1890
1891 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
1892 * gdb.mi/mi1-console.exp: Likewise.
1893
a1fb14a2
DJ
18942003-01-13 Daniel Jacobowitz <drow@mvista.com>
1895
1896 * gdb.c++/overload.exp: Remove some fixed XFAILs.
1897
c4cf40b7
DJ
18982003-01-09 Daniel Jacobowitz <drow@mvista.com>
1899
1900 * gdb.base/detach.exp: New test.
1901
696d5a5b
DJ
19022003-01-09 Daniel Jacobowitz <drow@mvista.com>
1903
1904 * Makefile.in (ALL_SUBDIRS): New variable.
1905 (subdirs, clean, distclean): Use it.
1906 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
1907 regenerating Makefile, since it is generated from the top level.
1908 * gdb.asm/Makefile.in: Likewise.
1909 * gdb.base/Makefile.in: Likewise.
1910 * gdb.c++/Makefile.in: Likewise.
1911 * gdb.disasm/Makefile.in: Likewise.
1912 * gdb.java/Makefile.in: Likewise.
1913 * gdb.mi/Makefile.in: Likewise.
1914 * gdb.threads/Makefile.in: Likewise.
1915 * gdb.trace/Makefile.in: Likewise.
1916
754533e4
DC
19172003-01-09 David Carlton <carlton@math.stanford.edu>
1918
1919 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
1920 Add copyright year 2003.
1921
d8b3e9ee
MC
19222003-01-06 Michael Chastain <mec@shout.net>
1923
1924 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
1925 When selecting a thread, 'line' and 'file' are optional.
1926 * gdb.mi/mi1-pthreads.exp: Likewise.
1927
8e9e0fe6
AS
19282003-01-06 Andreas Schwab <schwab@suse.de>
1929
1930 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
1931 failures.
1932
b5ab8ff3
DJ
19332003-01-04 Daniel Jacobowitz <drow@mvista.com>
1934
1935 Fix PR gdb/844
1936 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
1937 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
1938
1939 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
1940 instead of calling gdb_suppress_entire_file.
1941 * gdb.threads/print-threads.exp: Likewise.
1942 * gdb.threads/schedlock.exp: Likewise.
1943
1944 * gdb.threads/killed.exp: Return instead of calling
1945 gdb_suppress_entire_file.
1946 * gdb.threads/linux-dp.exp: Likewise.
1947 * gdb.threads/pthreads.exp: Likewise.
1948
1e698235
DJ
19492003-01-04 Daniel Jacobowitz <drow@mvista.com>
1950
1951 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
1952 stabs.
1953 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
1954 * gdb.base/whatis.exp: Always allow (void) after function names.
1955
147ff08c
DJ
19562003-01-04 Daniel Jacobowitz <drow@mvista.com>
1957
1958 * gdb.c++/casts.exp: Correct regexp.
1959
dc62bfc2
MK
19602003-01-04 Mark Kettenis <kettenis@gnu.org>
1961
1962 * configure.in: Call AC_CONFIG_HEADER. Don't call
1963 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
1964 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
1965 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
1966 aforementioned directories in the AC_OUPUT call.
1967 * config.hin: New file.
1968 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
1969 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
1970 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
1971 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
1972 pass -I$objdir instead of -I$objdir/$subdir in compilation.
1973 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
1974 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
1975 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
1976 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
1977 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
1978 gdb.threads/configure.in, gdb.threads/configure,
1979 gdb.threads/config.in, gdb.trace/configure.in,
1980 gdb.trace/configure: Removed.
1981
77afa639
MC
19822003-01-03 Michael Chastain <mec@shout.net>
1983
1984 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
1985 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
1986
7634bb6e
DJ
19872003-01-03 Daniel Jacobowitz <drow@mvista.com>
1988
1989 * gdb.base/store.exp: Fix regular expressions.
1990
b39c905e
MK
19912002-12-28 Mark Kettenis <kettenis@gnu.org>
1992
1993 * configure.in: Rewrite.
1994 * configure: Regenerated.
1995
0a8551dd
DC
19962003-01-03 David Carlton <carlton@math.stanford.edu>
1997
1998 * gdb.base/psymtab.exp: New file.
1999 * gdb.base/psymtab1.c: Ditto.
2000 * gdb.base/psymtab2.c: Ditto.
2001
c60b7188
AF
20022002-12-23 Adam Fedor <fedor@gnu.org>
2003
2004 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
2005
ee73db83
DC
20062002-12-23 David Carlton <carlton@math.stanford.edu>
2007
2008 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
2009 and current_directory initialization.
2010
d6c1774e
JB
20112002-12-22 Jim Blandy <jimb@redhat.com>
2012
f0a847b8
JB
2013 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
2014 rather than as part of the output file name.
2015
d6c1774e
JB
2016 * gdb.base/attach.exp: There's no need to copy the test program to
2017 /tmp; that was only ever necessary on HP/UX, and this test is
2018 entirely disabled there anyway.
2019
f0708dbb
JB
20202002-12-21 Jim Blandy <jimb@redhat.com>
2021
4c2acfea
JB
2022 * gdb.c++/psmang.exp: Doc fix.
2023
f0708dbb
JB
2024 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
2025 test.
2026
9579e000
DC
20272002-12-20 David Carlton <carlton@math.stanford.edu>
2028
2029 * gdb.c++/annota2.exp: KFAIL annotate-quit.
2030
d1810171
MC
20312002-12-18 Michael Chastain <mec@shout.net>
2032
2033 * gdb.c++/annota2.exp: Add copyright year 2002.
2034
76565097
DC
20352002-12-17 David Carlton <carlton@math.stanford.edu>
2036
2037 * gdb.c++/try_catch.cc: Add marker comments.
2038 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
2039 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
2040 * gdb.c++/m-static.cc: Ditto.
2041 * gdb.c++/m-static1.cc: Ditto.
2042 * gdb.c++/try_catch.cc: Ditto.
2043
da81390b
JJ
20442002-12-16 Jeff Johnston <jjohnstn@redhat.com>
2045
2046 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
2047 to see whether we are using the new -environment-directory
2048 command which resets via -r or the old version of the command
2049 which may prompt the user. Part of fix for gdb/741.
2050
b304d130
AC
20512002-12-13 Andrew Cagney <ac131313@redhat.com>
2052
2053 * gdb.fortran/types.exp: Update obsolete comment.
2054 * gdb.fortran/exprs.exp: Ditto.
2055 * lib/gdb.exp: Delete obsolete code.
2056 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
2057 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
2058 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
2059 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
2060 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
2061 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
2062 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
2063 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
2064 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
2065 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
2066 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
2067 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
2068 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
2069 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
2070 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
2071 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
2072 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
2073 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
2074 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
2075 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
2076 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
2077 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
2078 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
2079 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
2080 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
2081 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
2082 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
2083 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
2084 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
2085 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
2086 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
2087 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
2088 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
2089 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
2090 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
2091 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
2092 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
2093
a23b6e6a
DC
20942002-12-11 David Carlton <carlton@math.stanford.edu>
2095
2096 * gdb.c++/m-data.exp: Add test for members that shadow global
2097 variables: see PR gdb/804.
2098 * gdb.c++/m-data.cc: Ditto.
2099
6604731b
DJ
21002002-12-10 Daniel Jacobowitz <drow@mvista.com>
2101
2102 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
2103
de46ecd7
DC
21042002-12-06 David Carlton <carlton@math.stanford.edu>
2105
2106 * gdb.base/store.c: Don't declare functions static.
2107
27e829d0
AC
21082002-12-04 Andrew Cagney <ac131313@redhat.com>
2109
2110 * gdb.base/store.exp, gdb.base/store.c: New files.
2111
92806416
DJ
21122002-12-03 Daniel Jacobowitz <drow@mvista.com>
2113
2114 * gdb.base/selftest.exp: Update for current gdb.
2115
3bcbaac5
DJ
21162002-12-03 Daniel Jacobowitz <drow@mvista.com>
2117
2118 * gdb.base/maint.exp: Only dump symbols from one source file
2119 or objfile.
2120
f4f00b1f
DJ
21212002-12-03 Daniel Jacobowitz <drow@mvista.com>
2122
2123 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
2124 function call.
2125
f1c8a949
JB
21262002-11-25 Jim Blandy <jimb@redhat.com>
2127
2128 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
2129 function appearing in error message.
2130
9e297a97
DJ
21312002-11-21 Daniel Jacobowitz <drow@mvista.com>
2132
2133 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
2134
1f312e79
JJ
21352002-11-08 Jeff Johnston <jjohnstn@redhat.com>
2136
2137 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
2138 for mi1 and current mi is in correct format. New mi startup message
2139 should be in mi console format. This is part of fix for PR gdb/604.
2140
83c31e7d
FN
21412002-09-18 Fernando Nasser <fnasser@redhat.com>
2142
2143 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
2144 which explicitly prints the zero offset as "+0".
2145
322b3f65
DJ
21462002-10-22 Daniel Jacobowitz <drow@mvista.com>
2147
2148 * gdb.threads/schedlock.c (args): Make unsigned.
2149
21502002-10-21 Daniel Jacobowitz <drow@mvista.com>
2151
2152 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
2153 numbers. Allow "foo2|selected stack frame".
2154 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
2155 * gdb.asm/asmsrc2.s: Likewise.
2156 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
2157 comments.
2158 * gdb.asm/mips.inc: New file.
2159
5e2fe5b8
AF
21602002-10-18 Adam Fedor <fedor@gnu.org>
2161
2162 * gdb.base/default.exp: Update expected output to include 'ObjC'.
2163 * gdb.base/help.exp: Likewise.
2164
abe1a5d0
KB
21652002-10-17 Kevin Buettner <kevinb@redhat.com>
2166
2167 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
2168 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
2169
10abb1d4
JB
21702002-10-02 Jim Blandy <jimb@redhat.com>
2171
2172 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
2173
1f609b42
AC
21742002-10-01 Andrew Cagney <ac131313@redhat.com>
2175
2176 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
2177 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
2178 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
2179 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
2180 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
2181 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
2182 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2183
0aee02e4
AC
21842002-09-29 Andrew Cagney <ac131313@redhat.com>
2185
2186 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
2187 * mi0-disassemble.exp, mi0-eval.exp: Delete.
2188 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
2189 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
2190 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
2191 * mi0-var-block.exp, mi0-var-child.exp: Delete.
2192 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
2193
6fde09ad
KB
21942002-09-27 Kevin Buettner <kevinb@redhat.com>
2195
2196 * gdb.base/annota1.exp (info break): Make directory components of
2197 path optional since not all compilers emit this debug information.
2198
2199 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
2200 step ends up stepping out of the function instead of stopping on
2201 the epilogue.
2202
9e8aab75
KS
22032002-09-26 Keith Seitz <keiths@redhat.com>
2204
2205 * lib/insight-support.exp (gdbtk_start): Figure out where
2206 the insight executable is based on where gdb is. Use this
2207 executable to start insight instead of gdb.
2208
e36180d7
AC
22092002-09-25 Andrew Cagney <cagney@redhat.com>
2210
2211 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2212
9dd34b2b
AC
22132002-09-24 Andrew Cagney <ac131313@redhat.com>
2214
2215 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
2216 test_isolated_complaints.
2217 (test_empty_complaint): New function.
2218 (test_empty_complaints): New function. Check no output when no
2219 complaints.
2220
dea97812
KB
22212002-09-19 Jim Blandy <jimb@redhat.com>
2222
2223 * gdb.base/charset.exp, gdb.base/charset.c: New files.
2224
54951bd7
AC
22252002-09-19 Andrew Cagney <ac131313@redhat.com>
2226
2227 * gdb.gdb/complaints.exp: New file.
2228
dec43320
AC
22292002-09-18 Andrew Cagney <ac131313@redhat.com>
2230
2231 * gdb.base/maint.exp: Check `help maint internal-warning'.
2232
e70d6e3f
DC
22332002-09-18 David Carlton <carlton@math.stanford.edu>
2234
2235 * gdb.c++/m-static.exp: Remove breakpoints depending on line
2236 numbers, and replace them by a single breakpoint after the
2237 constructors are all finished.
2238 Add test 4.
2239 * gdb.c++/m-static.cc: Add test 4.
2240 * gdb.c++/m-static.h: New file.
2241 * gdb.c++/m-static1.cc: New file.
2242
2243 * gdb.c++/printmethod.exp: New file.
2244 * gdb.c++/printmethod.cc: New file.
2245
2246 * gdb.c++/pr-574.exp: New file.
2247 * gdb.c++/pr-574.cc: New file.
2248
afb5c968
CV
22492002-09-18 Corinna Vinschen <vinschen@redhat.com>
2250
2251 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
2252 embedded targets which never actually exit.
2253
31e45dee
FN
22542002-09-18 Fernando Nasser <fnasser@redhat.com>
2255
2256 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
2257 "don't step after run" as unresolved or unsupported, instead of xfail.
2258
a283c5a1
CV
22592002-09-18 Corinna Vinschen <vinschen@redhat.com>
2260
2261 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
2262 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
2263 Add newline to expected string in "step out of main (status wrapper)"
2264 case.
2265
11350d2a
CV
22662002-09-18 Corinna Vinschen <vinschen@redhat.com>
2267
2268 * lib/gdb.exp (rerun_to_main): Allow restarting application.
2269 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
2270
0deec7d6
TT
22712002-09-17 Tom Tromey <tromey@redhat.com>
2272
2273 * gdb.base/printcmds.exp (test_print_string_constants): Expect
2274 \000, not \0, in double-quoted string.
2275
b2b4a1b5
CV
22762002-09-14 Corinna Vinschen <vinschen@redhat.com>
2277
c9d37158 2278 * gdb.base/commands.exp: Don't expect a "Program exited normally"
b2b4a1b5
CV
2279 string after running the commands execution on breakpoint tests.
2280
1c56143a
CV
22812002-09-13 Corinna Vinschen <vinschen@redhat.com>
2282
2283 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
2284
37f8da45
JB
22852002-09-12 Joel Brobecker <brobecker@gnat.com>
2286
2287 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
2288
08b468e0
KS
22892002-09-10 Keith Seitz <keiths@redhat.com>
2290
2291 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
2292 runto proc.
2293 (mi_run_to_main): Use mi_runto.
2294 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
2295
dc360f58
KS
22962002-09-10 Keith Seitz <keiths@redhat.com>
2297
2298 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
2299 regexp for stopping at main. Could have multiple event notifications.
2300 Don't assume that main was declared with no parameters.
2301 (mi_next): Use mi_step_to.
2302 (mi_step): Use mi_next_to.
2303
ce3abcfb
CV
23042002-09-09 Corinna Vinschen <vinschen@redhat.com>
2305
2306 * gdb.base/default.exp: Fix expected string in `info float' test.
2307
d1f5b980
BE
23082002-09-09 Ben Elliston <bje@redhat.com>
2309
2310 * config/mips.exp: Update comments.
2311 * config/mips-idt.exp: Likewise.
2312 * config/nind.exp: Likewise.
2313 * config/slite.exp: Likewise.
2314 * config/sparclet.exp: Likewise.
2315 * config/udi.exp: Likewise.
2316 * config/vx.exp: Likewise.
2317 * config/vxworks29k.exp: Likewise.
2318
2f71430b
JB
23192002-09-05 Jim Blandy <jimb@redhat.com>
2320
2321 * gdb.threads/killed.exp: Fix test failure message.
2322
7ddebc7e
KS
23232002-09-04 Keith Seitz <keiths@redhat.com>
2324
2325 * lib/mi-support.exp: Update copyright.
2326 (mi_gdb_test): Increase the priority of the expected pattern
2327 so that it matches gdb_test.
2328
0ae67eb3
KS
23292002-09-03 Keith Seitz <keiths@redhat.com>
2330
2331 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
2332 Use integer comparison instead of string comparison for testing
2333 whether binary was built.
2334
38fc42c8
JB
23352002-09-03 Jim Blandy <jimb@redhat.com>
2336
2337 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
2338
b6ff0e81
JB
23392002-08-29 Jim Blandy <jimb@redhat.com>
2340
2341 * gdb.threads/pthreads.exp: Move the portable thread compilation
2342 code into a function in lib/gdb.exp, and call that from here.
2343 * lib/gdb.exp (gdb_compile_pthreads): New function.
2344
07c98896
KS
23452002-08-29 Keith Seitz <keiths@redhat.com>
2346
2347 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
2348 expect_out so that callers can get at it.
2349
0312286c
DJ
23502002-08-23 Daniel Jacobowitz <drow@mvista.com>
2351
2352 * gdb.threads/print-threads.c: New file.
2353 * gdb.threads/print-threads.exp: New file.
2354 * gdb.threads/schedlock.c: New file.
2355 * gdb.threads/schedlock.exp: New file.
2356
dd039bc4
EZ
23572002-08-22 Elena Zannoni <ezannoni@redhat.com>
2358
2359 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
2360 not altivec.c.
2361
1f36144c
MK
23622002-08-17 Mark Kettenis <kettenis@gnu.org>
2363
2364 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
2365 targets. The problem should be fixed now.
2366
16057ec7 23672002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
2368
2369 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
2370 2002-07-24 change that removes final dots from error messages.
2371
3c1499ad
TT
23722002-08-13 Tom Tromey <tromey@redhat.com>
2373
2374 * gdb.base/readline.exp: New file.
2375
a20ce2c3
AC
23762002-08-01 Andrew Cagney <ac131313@redhat.com>
2377
2378 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
2379 supress message.
2380
db034ac5
AC
23812002-08-01 Andrew Cagney <cagney@redhat.com>
2382
2383 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
2384 CHILL_FOR_TARGET and CHILL_LIB.
2385 * configure.in (configdirs): Remove gdb.chill.
2386 * configure: Regenerate.
2387 * lib/gdb.exp: Obsolete references to chill.
2388 * gdb.fortran/types.exp: Ditto.
2389 * gdb.fortran/exprs.exp: Ditto.
2390
3e000b18
KB
23912002-07-30 Kevin Buettner <kevinb@redhat.com>
2392
2393 * gdb.base/shlib-call.exp (additional_flags): Conditionally
2394 set Irix-specific compile and link flags.
2395
28f4966b
KB
23962002-07-29 Kevin Buettner <kevinb@redhat.com>
2397
2398 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
2399 source files. The ``-o'' option doesn't work with the ``-E'' option
2400 when using the Irix compiler.
2401
46c0d5a6
DJ
24022002-07-19 Daniel Jacobowitz <drow@mvista.com>
2403
2404 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
2405 Improve support for reusing an exec file. Copy exec file
2406 to target, and run gdbserver on the target instead of on the host.
2407
eecf4bed
JB
24082002-07-18 Jim Blandy <jimb@redhat.com>
2409
0f815cdf
JB
2410 * gdb.base/ending-run.exp: Don't expect to see the program end in
2411 some orderly fashion when we're running on a real stand-alone
2412 board.
2413
eecf4bed
JB
2414 * gdb.base/interrupt.exp: Correct logic for skipping tests on
2415 targets that don't support interrupts.
2416
52d309e4
JB
24172002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
2418
2419 * gdb.base/attach.exp: Add patterns to match output from /proc-based
2420 systems.
2421 Move comments in expect statements to inside the actions, so that they
2422 don't get matched against.
2423
ff683d9e
MK
24242002-07-10 Mark Kettenis <kettenis@gnu.org>
2425
2426 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
2427 function when asleep" test.
2428
b5356753
AC
24292002-07-10 Andrew Cagney <ac131313@redhat.com>
2430
2431 * gdb.base/page.exp: Rewrite to handle problems with very long
2432 `info set' output. Update copyright.
2433
6aa4d13a
AC
24342002-06-26 Andrew Cagney <ac131313@redhat.com>
2435
2436 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
2437 gdb.threads-hp.
2438 * gdb.hp/configure: Regenerate.
2439 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
2440 * gdb.hp/gdb.threads-hp/configure: Delete file.
2441 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
2442
8cf8c2b8
AC
24432002-06-22 Andrew Cagney <ac131313@redhat.com>
2444
2445 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
2446 setlocale, bindtextdomain and textdomain.
2447
6827a8f8
JB
24482002-06-11 Jim Blandy <jimb@redhat.com>
2449
919d772c
JB
2450 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
2451 preprocessor macro information is present.
2452
6827a8f8
JB
2453 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
2454 tests.
2455
c15b0d21
MS
24562002-06-06 Michael Snyder <msnyder@redhat.com>
2457
c5984d70
MS
2458 * gdb.base/overlays.exp: Record addresses of overlay
2459 functions in TCL variables rather than in GDB variables,
2460 to avoid having GDB convert them to pointers (with loss
2461 of information).
2462
99a8512b
MS
2463 * gdb.base/d10v.ld: Merge in several years worth of
2464 default linker script changes.
c15b0d21
MS
2465 * gdb.base/long_long.exp: Add check for sizeof (long double).
2466
be26fe0d
ML
24672002-06-06 Michal Ludvig <mludvig@suse.cz>
2468
2469 * gdb.asm/asm-source.exp: Add x86-64 target.
2470 * gdb.asm/x86_64.inc: New.
2471
258093ca 24722002-05-30 Michael Chastain <mec@shout.net>
258093ca 2473
4b3153f1 2474 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
2475 * gdb.c++/m-static.cc: New file.
2476 * gdb.c++/m-static.exp: New file.
2477
241264c6
MS
24782002-05-28 Michael Snyder <msnyder@redhat.com>
2479
2480 * gdb.base/call-ar-st.exp: Allow for reduced floating point
2481 precision.
2482
9bba8c8f 24832002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 2484
4b3153f1 2485 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
2486 * gdb.c++/m-data.cc: New file.
2487 * gdb.c++/m-data.exp: New file.
2488
24892002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 2490
4b3153f1 2491 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
2492 * gdb.c++/try_catch.cc: New file.
2493 * gdb.c++/try_catch.exp: New file.
2494
def1b996
MC
24952002-05-27 Michael Chastain <mec@shout.net>
2496
2497 * gdb.c++/local.exp: Accept more nested types in output.
2498
522ba268
MC
24992002-05-26 Michael Chastain <mec@shout.net>
2500
2501 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
2502
277254ba
MS
25032002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
2504
2505 * lib/gdb.exp (gdb_wrapper_init): Just because
2506 gdb_wrapper_file exists, this does not mean that the file
2507 should not be rebuilt. That is what gdb_wrapper_initialized
2508 is for.
2509 (default_gdb_init): Reset gdb_wrapper_initialized.
2510
b61a8733
MS
25112002-05-23 Michael Snyder <msnyder@redhat.com>
2512
5bdb6d01
MS
2513 * gdb.base/all-bin.exp: Revise previous patch by just reducing
2514 the precision of the floating point test results.
2515 * gdb.base/call-rt-st.exp: Ditto.
2516
b61a8733
MS
2517 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
2518 * gdb.base/call-rt-st.exp: Ditto.
2519
56f6e910
MC
25202002-05-19 Michael Chastain <mec@shout.net>
2521
2522 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
2523
ad0b0016
EZ
25242002-05-19 Elena Zannoni <ezannoni@redhat.com>
2525
2526 * configure.in (configdirs): Add gdb.arch.
2527 * configure: Regenerate.
2528
f617d2b6
JB
25292002-05-17 Jim Blandy <jimb@redhat.com>
2530
2531 * gdb.base/completion.exp: Recognize the more detailed error
2532 messages produced by the macro expander's lexical analyzer.
2533
eac2a696
EZ
25342002-05-14 Elena Zannoni <ezannoni@redhat.com>
2535
2536 * gdb.arch/altivec-abi.c: New file.
2537 * gdb.arch/altivec-abi.exp: New file.
2538 * gdb.arch/altivec-regs.c: New file.
2539 * gdb.arch/altivec-regs.exp: New file.
2540
2fdde8f8
DJ
25412002-05-14 Daniel Jacobowitz <drow@mvista.com>
2542
2543 * gdb.base/maint.exp (maint print type): Update for new type
2544 structure.
eac2a696 2545
e31f1a7c
EZ
25462002-05-14 Elena Zannoni <ezannoni@redhat.com>
2547
2548 * gdb.arch: New directory.
2549 * gdb.arch/configure.in: New file.
2550 * gdb.arch/configure: New file.
2551 * gdb.arch/Makefile.in: New file.
2552
db589741
CV
25532002-05-13 Corinna Vinschen <vinschen@redhat.com>
2554
2555 * gdb.asm/asm-source.exp: Add v850 as supported target.
2556 * gdb.asm/v850.inc: New file.
2557
8ce2a7dc
DJ
25582002-05-13 Daniel Jacobowitz <drow@mvista.com>
2559
2560 * gdb.c++/annota2.exp (annotate-quit): Add comment.
2561
df763c7f
DJ
25622002-05-12 Daniel Jacobowitz <drow@mvista.com>
2563
2564 * gdb.base/break.exp: Check 'break "marker2"'.
2565
377daeed
MS
25662002-05-10 Michael Snyder <msnyder@redhat.com>
2567
2568 * gdb.base/long_long.exp: Fix typo.
2569
c4b7bc2b
JB
25702002-05-10 Jim Blandy <jimb@redhat.com>
2571
ecac9a4e
JB
2572 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
2573 a bug.
2574
c4b7bc2b
JB
2575 * gdb.base/printcmds.exp (test_integer_literals_rejected):
2576 Recognize more detailed error message produced by the macro
2577 expander's lexical analyzer.
2578 * lib/gdb.exp (test_print_reject): Same.
2579
e71019a1
MK
25802002-05-09 Mark Kettenis <kettenis@gnu.org>
2581
2582 * gdb.c++/method.exp: Fix typo.
2583
fedfc8e6
MS
25842002-05-08 Michael Snyder <msnyder@redhat.com>
2585
166a1957
MS
2586 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
2587 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 2588 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
2589 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
2590 Add iftarget clause for strongarm.
2591
f1c47eb2
MS
25922002-05-06 Michael Snyder <msnyder@redhat.com>
2593
cb9a9d3e
MS
2594 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
2595 (gdb_continue_to_end): Accept output from status wrapper.
2596 * gdb.base/ending-run.exp: Add case for output from status wrapper.
2597 Clean up fail messages to match pass messages.
2598
f1c47eb2
MS
2599 Enable the "needs_status_wrapper" testsuite feature.
2600 * lib/gdb.exp (gdb_wrapper_init): New procedure.
2601 (gdb_compile): Conditionally call gdb_wrapper_init.
2602 * gdb.base/a2-run.exp: Recognize output from status wrapper.
2603 * gdb.c++/method.exp: Recognize output from status wrapper.
2604
6079c749
BE
26052002-05-06 Ben Elliston <bje@redhat.com>
2606From Graydon Hoare <graydon@redhat.com>
2607
2608 * config/sid.exp: Include support for "rawsid" protocol.
2609
188baff3
JB
26102002-05-03 Jim Blandy <jimb@redhat.com>
2611
2612 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
2613 * gdb.c++/hang3.C: New file.
2614
b9c07f0f
AC
26152002-05-04 Andrew Cagney <ac131313@redhat.com>
2616
2617 * gdb.base/default.exp: Remove obsolete code.
2618 * gdb.c++/misc.exp: Ditto. Update copyright.
2619 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
2620 * gdb.base/whatis.exp: Ditto. Update copyright.
2621 * gdb.base/scope.exp: Ditto. Update copyright.
2622 * gdb.base/ptype.exp: Ditto. Update copyright.
2623 * gdb.base/printcmds.exp: Ditto. Update copyright.
2624 * gdb.base/opaque.exp: Ditto. Update copyright.
2625 * gdb.base/list.exp: Ditto.
2626 * gdb.base/funcargs.exp: Ditto. Update copyright.
2627 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
2628 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
2629 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
2630 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
2631 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
2632 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
2633
5c7a0397
MS
26342002-05-02 Michael Snyder <msnyder@redhat.com>
2635
d6dcc264 2636 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
2637 * gdb.base/long_long.exp: Add xscale target.
2638 * gdb.base/default.exp: Add xscale target.
2639
eb7f1c48
JB
26402002-05-01 Jim Blandy <jimb@redhat.com>
2641
2642 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
2643 gdb.c++/hang.exp: New test.
2644
a6befae8
FF
26452002-05-01 Fred Fish <fnf@redhat.com>
2646
2647 * gdb.base/completion.exp: Handle completions of "./Make" for
2648 more than one completion possibility, as is the case when we
2649 build and test in the source tree.
2650
0a310277
AG
26512002-04-29 Anthony Green <green@redhat.com>
2652
2653 * gdb.java/jmisc1.exp: New file.
2654 * gdb.java/jmisc2.exp: New file.
2655
6ff9af88
DJ
26562002-04-24 Daniel Jacobowitz <drow@mvista.com>
2657
2658 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
2659
96b3d632
EZ
26602002-04-23 Elena Zannoni <ezannoni@redhat.com>
2661
2662 * gdb.base/help.exp: Change 'help status' to allow for target
2663 dependent output differences.
2664
5019bb54
MC
26652002-04-22 Michael Chastain <mec@shout.net>
2666
2667 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
2668
a805a116
MC
26692002-04-22 Michael Chastain <mec@shout.net>
2670
2671 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
2672
a1706bfd
DM
26732002-04-17 David S. Miller <davem@redhat.com>
2674
2675 * gdb.asm/sparc64.inc: New file.
2676 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
2677
a73a20a2
EZ
26782002-04-19 Elena Zannoni <ezannoni@redhat.com>
2679
2680 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
2681 instruction file directly into the build tree. Clean up at end of
2682 test.
2683
ba678339
DM
26842002-04-18 David S. Miller <davem@redhat.com>
2685
2686 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
2687 handle 64-bit platforms correctly.
2688 * gdb.base/maint.exp: Likewise.
2689
b03399da
KB
26902002-04-18 Kevin Buettner <kevinb@redhat.com>
2691
2692 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
2693 ``-fpic'' when compiling files comprising a shared library, but
2694 it does need additional linker flags in order to find shared
2695 libraries at run time.
2696
e2004992
KB
26972002-04-18 Kevin Buettner <kevinb@redhat.com>
2698
2699 * gdb.base/cvexpr.c (use): New function.
2700 (main): Invoke use() on all global variables to prevent
2701 some linkers from deleting these otherwise unused symbols.
2702
d8937120
MC
27032002-04-17 Michael Chastain <mec@shout.net>
2704From David S. Miller <davem@redhat.com>
2705
2706 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
2707 handle 64-bit platforms correctly.
2708
ffd61a58
MS
27092002-04-12 Michael Snyder <msnyder@redhat.com>
2710From Jim Blandy <jimb@redhat.com>
2711 * gdb.base/foo.c (foox): Remove section attribute; the linker
2712 script can handle this instead.
2713 * gdb.base/bar.c (barx): Same.
2714 * gdb.base/baz.c (bazx): Same.
2715 * gdb.base/grbx.c (grbxx): Same.
2716
2717 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
2718 manager doesn't automatically unmap overlays unnecessarily.
2719
6b8426a6
MH
27202002-04-10 Martin M. Hunt <hunt@redhat.com>
2721
2722 * gdb.base/ending-run.exp: Fix pattern for Mips targets
2723 stepping out of main.
2724
34af4875
MC
27252002-04-09 Michael Chastain <mec@shout.net>
2726
2727 * gdb.c++/local.cc (main): Move call to marker1() inside nested
2728 scope so that the nested scope tests will make sense.
2729 * gdb.c++/local.exp: Write patterns that actually work with gcc
2730 (the HP patterns "were never known to work with gcc").
2731 Keep the old aCC patterns too.
2732
2d1676a0
DJ
27332002-04-09 Daniel Jacobowitz <drow@mvista.com>
2734
2735 * gdb.base/attach.exp: Correct target board test.
2736
3a63e3f9
MC
27372002-04-08 Michael Chastain <mec@shout.net>
2738
2739 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
2740 in a const method. Add some xfail and fail cases for configurations
2741 that do not emit the "const ...".
2742
f18dabd2
MC
27432002-04-07 Michael Chastain <mec@shout.net>
2744
2745 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
2746 Accept "A * const" and "const A * const" as type of "this".
2747 Fix spelling of getFunky throughout. Make messages uniform.
2748
0fcddd82
EZ
27492002-04-07 Elena Zannoni <ezannoni@redhat.com>
2750
2751 Work around for PR gdb/285:
2752 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
2753
16a8534a
EZ
27542002-04-07 Elena Zannoni <ezannoni@redhat.com>
2755
2756 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
2757 instructions file at run time instead of configure time.
2758 Sometimes we run the test in a directory that is not the one we
2759 configured in.
2760 * gdb.asm/configure.in: Delete creation of symlink.
2761 * gdb.asm/configure: Regenerate.
2762
24181d81
JB
27632002-04-05 J. Brobecker <brobecker@gnat.com>
2764
2765 * gdb.gdb/xfullpath.exp: New test, to exercise the new
2766 xfullpath () function.
2767
7cdb7107
DJ
27682002-04-04 Daniel Jacobowitz <drow@mvista.com>
2769
2770 * gdb.asm/Makefile.in: Correct dependencies.
2771
2772 * gdb.asm/powerpc.inc: New file.
2773 * gdb.asm/asm-source.exp: Add PowerPC.
2774 * gdb.asm/configure.in: Likewise.
2775 * gdb.asm/configure: Regenerated.
2776
a7d17088
DJ
27772002-04-04 Daniel Jacobowitz <drow@mvista.com>
2778
2779 * gdb.base/relocate.exp: New file.
2780 * gdb.base/relocate.c: New file.
2781
cd721503
FF
27822002-04-04 Fred Fish <fnf@redhat.com>
2783
2784 * gdb.base/step-test.exp: Update comment regarding stopping in
2785 memcpy/bcopy calls inserted as part of the compiler runtime.
2786
b22ad7a7
MS
27872002-04-04 Michael Snyder <msnyder@redhat.com>
2788
2789 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
2790
5f279fa6
DJ
27912002-04-03 Daniel Jacobowitz <drow@mvista.com>
2792
2793 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
2794 (gdb_expect): Remove $notransfer hack.
2795
dd0fd3ce
DJ
27962002-04-02 Daniel Jacobowitz <drow@mvista.com>
2797
2798 * gdb.c++/classes.exp ("calling method for small class"): Match
2799 updated register output.
2800
1e50cda1
DJ
28012002-03-30 Daniel Jacobowitz <drow@mvista.com>
2802
2803 Fix PR gdb/452
2804 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
2805 when finished. Make gdb_file_cmd send "exec-file" when
2806 appropriate.
2807
24015922
DJ
28082002-03-30 Daniel Jacobowitz <drow@mvista.com>
2809
2810 * gdb.base/attach.exp: Remove extra setup_xfail.
2811
dd7dfd64
MS
28122002-03-26 Michael Snyder <msnyder@redhat.com>
2813
2814 * gdb.base/default.exp: Add tests for dump, append, and restore.
2815 * gdb.base/help.exp: Add tests for dump, append, and restore.
2816 * gdb.base/dump.exp: New file, test dump, append and restore.
2817 * gdb.base/dump.c: New file.
2818
48b2f8d7
MS
28192002-03-27 Michael Snyder <msnyder@redhat.com>
2820
2821 * gdb.base/help.exp: Modify expect strings to reflect
2822 clean-ups in help messages.
2823
05b4d525
FF
28242002-03-26 Fred Fish <fnf@redhat.com>
2825
2826 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
2827 have debugging info for those functions and the compiler uses them
2828 internally to copy structs around.
2829
d7679631
FF
28302002-03-26 Fred Fish <fnf@redhat.com>
2831
2832 * gdb.base/list.exp: Revert the change made yesterday and add note
2833 about why we don't list the default lines for remote targets.
2834
523ac3f9
MS
28352002-03-25 Michael Snyder <msnyder@redhat.com>
2836
2837 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
2838
754b2b8d
FF
28392002-03-25 Fred Fish <fnf@redhat.com>
2840
2841 * gdb.base/list.exp: This test works on remote targets so remove
2842 the short circuit for remote targets. Update copyright.
2843
33c3e192
FF
28442002-03-25 Fred Fish <fnf@redhat.com>
2845
2846 * gdb.base/attach.exp: Fix logic error that was suppressing this
2847 test for all non hppa*-*-hpux* targets, instead of the hp target.
2848 Move comments closer to the suppression point. Also now need to
2849 check that we are running natively.
2850
d43e73ee
MS
28512002-03-22 Michael Snyder <msnyder@redhat.com>
2852
882c8f02
MS
2853 * gdb.base/default.exp: Add test for gcore. Update copyright.
2854 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 2855
04c12f60
FF
28562002-03-06 Fred Fish <fnf@redhat.com>
2857
2858 * gdb.base/funcargs.c: Remove extraneous ';' character.
2859 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
2860
b43df995
MC
28612002-03-04 Michael Chastain <mec@shout.net>
2862
2863 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
2864 accommodate gcc v3 function signature.
2865 * gdb.mi/mi0-var-cmd-exp: Ditto.
2866
92362027
AC
28672002-02-24 Andrew Cagney <ac131313@redhat.com>
2868
2869 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
2870 ``GNU/Linux'' or ``Linux kernel''
2871 * testsuite/gdb.threads/pthreads.c: Ditto.
2872
258ad32d
MC
28732002-02-24 Michael Chastain <mec@shout.net>
2874
2875 * gdb.threads/pthreads.c (thread1): Add a return statement.
2876 (thread2): Likewise.
2877 (foo): Likewise.
2878
04c3b3d4
MC
28792002-02-23 Michael Chastain <mec@shout.net>
2880
2881 * gdb.threads/linux-dp.c (philosopher): Add a return statement
2882 to placate gcc.
2883
5a2a0a20
MC
28842002-02-23 Michael Chastain <mec@shout.net>
2885
2886 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
2887 test "ptype bint". The test passes on all my stabs configurations.
2888
a640f7fc
JB
28892002-02-21 Jim Blandy <jimb@redhat.com>
2890
27924826
JB
2891 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
2892 filename at a time, and watch for the ones we want to see.
2893
a640f7fc
JB
2894 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
2895 types of pointers to prototyped functions.
2896
edcc8c75
AC
28972002-02-20 Andrew Cagney <ac131313@redhat.com>
2898
2899 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
2900 signed, unsigned and straight char.
2901 (padding_char, padding_short, padding_int, padding_long,
2902 padding_long_long, padding_float, padding_double,
2903 padding_long_double): New global variables.
2904 (fill, fill_structs): New functions.
2905
2906 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
2907 for correctly sized writes. Update copyright.
2908 (get_valueof): New procedure.
2909 (get_sizeof): Call get_valueof.
2910 (check_valueof): New procedure.
2911 (check_padding): New procedure.
2912
ac57ea44
MC
29132002-02-20 Michael Chastain <mec@shout.net>
2914
2915 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
2916 to setup_xfail. Document some of the remaining calls.
2917
7a10c941
MC
29182002-02-18 Michael Chastain <mec@shout.net>
2919
2920 * gdb.c++/userdef.exp: Update copyright year.
2921
fb8acdcc
DJ
29222002-02-18 Daniel Jacobowitz <drow@mvista.com>
2923
2924 * gdb.c++/userdef.exp: Test overloaded operators properly.
2925 Remove xfails.
2926
fda6ae12
MS
29272002-02-14 Michael Snyder <msnyder@redhat.com>
2928
2929 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
2930
676a0442
DJ
29312002-02-14 Daniel Jacobowitz <drow@mvista.com>
2932
2933 * gdb.base/a2-run.exp: Check for a remote target properly.
2934 * gdb.base/annota1.exp: Likewise.
2935 * gdb.base/list.exp: Likewise.
2936 * gdb.base/reread.exp: Likewise.
2937 * gdb.base/scope.exp: Likewise.
2938 * gdb.base/shlib-call.exp: Likewise.
2939 * gdb.base/term.exp: Likewise.
2940 * gdb.c++/annota2.exp: Likewise.
2941
78b4f468
RE
29422002-02-13 Richard Earnshaw <rearnsha@arm.com>
2943
2944 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
2945
9a81ba51
MC
29462002-02-10 Michael Chastain <mec@shout.net>
2947
2948 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
2949 (call_after_alloca): Ditto.
2950
004af6c7
DJ
29512002-02-10 Daniel Jacobowitz <drow@mvista.com>
2952
2953 * gdb.base/ending-run.exp: Guard "cont" test with
2954 gdb_skip_stdio_test.
2955
37225f62
JB
29562002-02-06 Jim Blandy <jimb@redhat.com>
2957
2958 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
2959 from here...
2960 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
2961 To here. Disable this test on non-HP platforms. Add big comment.
2962
fe6fdd96
MS
29632002-02-04 Michael Snyder <msnyder@redhat.com>
2964
2965 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
2966 other than d10v and m32r.
2967
036fad3f
RE
29682002-02-02 Richard Earnshaw <rearnsha@arm.com>
2969
2970 * gdb.base/default.exp: Rewrite test patterns to reduce time
2971 taken to match them.
2972
7148ab62
DJ
29732002-01-30 Daniel Jacobowitz <drow@mvista.com>
2974
2975 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
2976 Allow a start function above main.
2977 * gdb.threads/linux-dp.exp: Fix copyright date.
2978
396cc255
DJ
29792002-01-30 Daniel Jacobowitz <drow@mvista.com>
2980
2981 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
2982 (check_philosopher_stack): Check for manager thread before checking
2983 for a just-starting thread.
2984
f038d31b
DJ
29852002-01-30 Daniel Jacobowitz <drow@mvista.com>
2986
2987 From Neil Booth <neil@daikokuya.demon.co.uk>:
2988 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
2989 warnings.
2990
b3ff9d9a
FF
29912002-01-21 Fred Fish <fnf@redhat.com>
2992
2993 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
2994 not caller.
2995
39ad761d
JB
29962002-01-21 Jim Blandy <jimb@redhat.com>
2997
2998 * gdb.base/reread.exp: Check that GDB properly re-reads the
2999 executable file when it changes while no inferior is running.
3000
aaf320fa
FF
30012002-01-21 Fred Fish <fnf@redhat.com>
3002
3003 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
3004 optionally accept the "shlib events" variation.
3005
808a31f5
JB
30062002-01-21 Jim Blandy <jimb@redhat.com>
3007
3008 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
3009 call `fflush' after every `printf', so that the output is produced
3010 at predictable points, regardless of whatever buffering does (or
3011 doesn't) take place.
3012 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
3013 at different points.
3014
4420d5e2
DJ
30152002-01-20 Daniel Jacobowitz <drow@mvista.com>
3016
3017 * gdb.c++/inherit.exp: Update copyright years.
3018 * gdb.c++/method.exp: Likewise.
3019
3e36a0f4
DJ
30202002-01-20 Daniel Jacobowitz <drow@mvista.com>
3021
3022 * gdb.c++/classes.exp: Update for improved v3 support and skipping
3023 artificial methods/arguments.
3024 * gdb.c++/derivation.exp: Likewise.
3025 * gdb.c++/inherit.exp: Likewise.
3026 * gdb.c++/method.exp: Likewise.
3027 * gdb.c++/virtfunc.exp: Likewise.
3028
b4ceaee6
AC
30292002-01-18 Andrew Cagney <ac131313@redhat.com>
3030
3031 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
3032 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
3033 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
3034 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
3035 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
3036 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
3037
ecace851
JB
30382002-01-17 Jim Blandy <jimb@redhat.com>
3039
3040 * gdb.asm/asm-source.exp (info symbol): Take another shot at
3041 anchoring the pattern matching the entry point symbol's name.
3042
375fc983
AC
30432002-01-17 Andrew Cagney <ac131313@redhat.com>
3044
3045 * gdb.base/maint.exp: Update ``maint internal-error'' to match
3046 continue/quit query. Update copyright.
3047
fe6fdd96
MS
30482002-01-14 Michael Snyder <msnyder@redhat.com>
3049
3050 * gdb.base/gcore.exp: Remove extra debugging output.
3051
e017c81f
DJ
30522002-01-13 Daniel Jacobowitz <drow@mvista.com>
3053
3054 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
3055 for slightly dubious v2 mangled string.
3056
37ab3bf8
DJ
30572002-01-13 Daniel Jacobowitz <drow@mvista.com>
3058
3059 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
3060
1bc05c3a 30612002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 3062
1bc05c3a 3063 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 3064
1bc05c3a
JM
3065 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
3066 constructors.
3067 * gdb.c++/derivation.exp: Likewise.
3068 * gdb.c++/templates.exp: Likewise.
3069 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 3070
1bc05c3a
JM
30712002-01-10 Michael Snyder <msnyder@redhat.com>
3072
3073 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 3074
a911c360
MS
30752002-01-08 Michael Snyder <msnyder@redhat.com>
3076
3077 * gdb.base/gcore.exp: New test for generate-core-file command.
3078 * gdb.base/gcore.c: Testcase for above.
3079 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
3080
ea2119ec
JM
30812002-01-08 Jason Merrill <jason@redhat.com>
3082
3083 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
3084
68203136
FF
30852002-01-07 Fred Fish <fnf@redhat.com>
3086
3087 * gdb.c++/overload.exp: Remove unconditional xfails for:
3088 print foo_instance1.overloadargs(1)
3089 print foo_instance1.overloadargs(1, 2)
3090 print foo_instance1.overloadargs(1, 2, 3)
3091 print foo_instance1.overloadargs(1, 2, 3, 4)
3092 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
3093 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
3094 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
3095 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
3096 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
3097 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
3098 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
3099 print foo_instance1.overload1arg()
3100 print foo_instance1.overload1arg((char)arg2)
3101 print foo_instance1.overload1arg((signed char)arg3)
3102 print foo_instance1.overload1arg((unsigned char)arg4)
3103 print foo_instance1.overload1arg((int)arg7)
3104 print foo_instance1.overload1arg((unsigned int)arg8)
3105 print foo_instance1.overload1arg((float)arg11)
3106 print foo_instance1.overload1arg((double)arg12)
3107
21b9b5b1
MS
31082002-01-07 Michael Snyder <msnyder@redhat.com>
3109
3110 * gdb.base/huge.exp: New test. Print a very large target data object.
3111 (skip_huge_test): New test variable. Define if you want to skip this
3112 test. The test reads an 8 megabyte data object from the target, so it
3113 might be very time consuming on remote targets with a slow connection.
3114 * gdb.base/huge.c: New file. Test case for above.
3115
725f922e
FF
31162002-01-07 Fred Fish <fnf@redhat.com>
3117
3118 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
3119 g_instance.bfoo, and g_instance.cfoo.
3120
634d57ec
JL
3121Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
3122
f286b2c3
JL
3123 * gdb.base/break.c (multi_line_if_conditional): New function.
3124 (multi_ilne_while_conditional): Likewise.
3125 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
3126 IF or WHILE condition puts the breakpoint at the start of
3127 the condition.
3128
634d57ec
JL
3129 * gdb.base/selftest.exp (backtrace through signal handler): Remove
3130 hppa*-*-hpux* expected failure.
3131 * gdb.base/structs.exp (do_function_calls): Similarly.
3132
3133 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
3134 watchpoints.
3135
9fbfe2dc
AC
31362002-01-06 Andrew Cagney <ac131313@redhat.com>
3137
3138 Fix PR gdb/66.
3139 * gdb.base/structs.exp: Replace skip for a29k with skip for
3140 gdb,cannot_call_functions.
3141 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
3142 * gdb.base/callfuncs.exp: Ditto.
3143 * gdb.base/call-rt-st.exp: Ditto.
3144 * gdb.base/call-strs.exp: Ditto.
3145 * gdb.base/callfwmall.exp: Ditto.
3146 * gdb.base/scope.exp: Obsolete xfail a29k.
3147 * gdb.c++/misc.exp: Ditto.
3148 * gdb.c++/cplusfuncs.exp: Ditto.
3149 * gdb.base/ptype.exp: Ditto.
3150 * gdb.base/printcmds.exp: Ditto.
3151 * gdb.base/opaque.exp: Ditto.
3152 * gdb.base/list.exp: Ditto.
3153 * gdb.base/funcargs.exp: Ditto.
3154 * gdb.base/default.exp: Ditto.
3155
8ddad156
MS
31562002-01-04 Michael Snyder <msnyder@redhat.com>
3157
ca4976a6 3158 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
3159 * gdb.base/maint.exp: Add tests for maint info sections options.
3160
1b074332
JL
3161Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
3162
3163 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
3164
7d159115
CV
31652001-12-20 Corinna Vinschen <vinschen@redhat.com>
3166
3167 * gdb.asm/arm.inc: New file.
3168 * gdb.asm/asm-source.exp: Add arm targets.
3169 * gdb.asm/configure.in: Ditto.
3170 * gdb.asm/configure: Recreated from configure.in.
3171
8fb87725
JL
3172Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
3173
afabe08c
JL
3174 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
3175 with HP's compiler.
3176 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
3177 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
3178 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
3179 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
3180
3181 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
3182 either HP's compilers or GCC.
3183
db521deb
JL
3184 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
3185 a SIGBUS or SIGSEGV.
3186
3187 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
3188
3189 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
3190 can be compiled with either HP's compiler or GCC.
3191
cfa88ab7
JL
3192 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
3193 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
3194 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
3195
ca344dff
JL
3196 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
3197 to match current gdb output. Update due to using auto-solib-limit
3198 for limiting instead of overloading auto-solib-add.
3199 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
3200 test program.
3201
3f3c6e55 3202 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
3203 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
3204 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
3205 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
3206 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
3207 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
3208 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
3209 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
3210 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
3211 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
3212 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
3213 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
3214 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 3215
8fb87725
JL
3216 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
3217 a SIGTRAP to the inferior.
3218
cf599fa7
CV
32192001-12-19 Corinna Vinschen <vinschen@redhat.com>
3220
3221 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
3222 Substitute call to target_link by call to gdb_compile.
3223
2cd045cd
JL
3224Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
3225
3226 * gdb.base/break.exp: Fix HP specific search string when testing
3227 backtracing in a called function.
3228
3229 * gdb.base/constvars.exp: Only set lang to C++ if we're
3230 compiling the test with HP's compilers.
3231 * gdb.base/volatile.exp: Similarly.
3232
99ebe9ac
JB
32332001-12-19 Jim Blandy <jimb@redhat.com>
3234
3235 * gdb.base/printcmds.exp: Expect the null character to be printed
3236 as '\0', and the '\013' to be printed as '\v'.
3237 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
3238 * gdb.base/setvar.exp: Same.
3239
b9891b29
JB
32402001-12-17 Jim Blandy <jimb@redhat.com>
3241
0eba65ab
JB
3242 * gdb.base/completion.exp: Rather than completing very long
3243 filenames, which can make the readline library produce output we
3244 don't recognize, cd to the directory first, and then complete
3245 using nice, short relative paths.
3246
6970b5b1
JB
3247 * gdb.base/completion.exp: On some systems, there is, in fact, a
3248 variable named `b' in scope, since GDB treats all static
3249 variables as being in scope. So use `no_var_named_this'
3250 instead of `b'.
3251
b9891b29
JB
3252 * gdb.base/corefile.exp: Recognize the message saying that GDB
3253 can't find the core file's registers as a failure.
3254
e6ccd35f
JSC
32552001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
3256
3257 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
3258 test expect string more specific.
3259
105ba819
CV
32602001-12-13 Corinna Vinschen <vinschen@redhat.com>
3261
3262 * gdb.asm/asm-source.exp: Add support for xstormy16.
3263 * gdb.asm/configure.in: Ditto.
3264 * gdb.asm/configure: Rebuild.
3265 * gdb.asm/xstormy16.inc: New file.
3266
e9e79dd9
FF
32672001-12-10 Fred Fish <fnf@redhat.com>
3268
3269 * gdb.base/maint.exp: Update to match changes in type dumping code.
3270
347dc97d
JB
32712001-12-10 Jim Blandy <jimb@redhat.com>
3272
3273 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
3274 matching the entry point symbol's name at the beginning of the
3275 line.
3276
5178b9d6
DJ
32772001-12-07 Daniel Jacobowitz <drow@mvista.com>
3278
3279 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
3280 gdb.c++/inherit.exp, gdb.c++/method.exp,
3281 gdb.c++/namespace.exp, gdb.c++/templates.exp,
3282 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
3283 and class layout support.
3284
af890c52
DJ
32852001-12-07 Daniel Jacobowitz <drow@mvista.com>
3286
3287 * gdb.c++/classes.exp: Add test for static member function.
3288 * gdb.c++/misc.cc: Add class with static member function.
3289
7a345fb3
JB
32902001-12-07 Jim Blandy <jimb@redhat.com>
3291
f2e54a80 3292 If GDB says it can't find the struct the function returned, report
8032bf31
JB
3293 those tests as `unsupported'.
3294 * gdb.base/call-rt-st.exp (print_struct_call): New function.
3295 Rewrite subsequent tests to use it.
3296
3297 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
3298 those tests as `unsupported'.
3299 * gdb.base/structs.exp (call_struct_func): New function.
3300 (do_function_calls): Use call_struct_func to call the functions
3301 returning structs.
3302
0bc69509
JB
3303 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
3304 whether functions are prototyped or not, so we can't possibly pass
3305 arguments to t_float_values2 properly.
3306
7a345fb3
JB
3307 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
3308 value of `timeout' for targets other than the mips*tx39-*.
3309
edb6ede1
MS
33102001-12-06 Michael Snyder <msnyder@redhat.com>
3311
3312 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
3313 and detect whether the start symbol has a leading underscore.
3314
2d842f13
JB
33152001-12-04 Jim Blandy <jimb@redhat.com>
3316
3317 * gdb.base/completion.exp: Clarify indentation.
3318
68550daf
JB
33192001-12-03 Jim Blandy <jimb@redhat.com>
3320
3321 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
3322 variables on the S/390, not `.word'.
3323
cd5195a8
JB
33242001-11-30 Jim Blandy <jimb@redhat.com>
3325
3326 Add assembly-source tests for s390-ibm-linux.
3327 * gdb.asm/s390.inc: New file.
3328 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
3329 the S/390 architecture.
3330 * gdb.asm/configure: Regenerated.
3331
ca9efc90
MS
33322001-11-30 Michael Snyder <msnyder@redhat.com>
3333
3334 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
3335 next, info source, info sources, info line, global and static
3336 variables, and static functions.
3337 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
3338 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
3339 * gdb.asm/asmsrc1.s: Add a static function and some variables.
3340 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
3341 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
3342 (gdbasm_leave): Restore frame pointer.
3343 (gdbasm_startup): Copy stack set-up from crt0.S.
3344
d0e66976
FN
33452001-11-26 Fernando Nasser <fnasser@redhat.com>
3346
3347 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
3348 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
3349 to a local (non-static) variable. Copy tstruct.a to a static buffer
3350 and return a pointer to that buffer.
3351 * gdb.base/callfwmall.c (t_structs_a): Ditto.
3352
e2334072
MK
33532001-11-24 Mark Kettenis <kettenis@gnu.org>
3354
3355 * gdb.asm/configure.in: Fix recognition of ix86 target.
3356 * gdb.asm/configure: Regenerate.
3357
756caa3d
MS
33582001-11-21 Michael Snyder <msnyder@redhat.com>
3359
3360 * gdb.asm/sparc.inc: New file.
3361 * gdb.asm/asm-source.exp: Recognize sparc target.
3362 * gdb.asm/configure.in: Recognize sparc target.
3363 * gdb.asm/configure: Regenerate.
3364
9a4d72d5
MS
33652001-11-21 Michael Snyder <msnyder@redhat.com>
3366
3367 * gdb.asm/m32r.inc: New file.
3368 * gdb.asm/asm-source.exp: Recognize m32r target.
3369 * gdb.asm/configure.in: Recognize m32r target.
3370 * gdb.asm/configure: Regenerate.
3371
a773d1cd
MS
33722001-11-20 Michael Snyder <msnyder@redhat.com>
3373
017ac23d
MS
3374 * gdb.asm/i386.inc: New file.
3375 * gdb.asm/asm-source.exp: Recognize ix86 target.
3376 * gdb.asm/configure.in: Recognize ix86 target.
3377 * gdb.asm/configure: Regenerate.
3378
a773d1cd
MS
3379 * gdb.c++/namespace.exp: Fix quotes in output messages.
3380
bb632afb
MS
33812001-11-14 Michael Snyder <msnyder@redhat.com>
3382
25d559ca 3383 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
3384 qualifier in a type cast expression, to designate an address
3385 in the instruction space (Harvard architecture).
3386
4749e309
MS
33872001-11-13 Michael Snyder <msnyder@redhat.com>
3388
3389 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
3390 Tests for expressions using 'const' and 'volatile'.
3391
25050984
CV
33922001-11-13 Corinna Vinschen <vinschen@redhat.com>
3393
3394 * gdb.asm/asm-sources.exp: Allow defining linker flags.
3395
1902c51f
DJ
33962001-11-12 Daniel Jacobowitz <drow@mvista.com>
3397
3398 * lib/mi-support.exp (mi_run_to_helper): Move comments
3399 outside of gdb_expect.
3400
dcf95b47
DJ
34012001-11-11 Daniel Jacobowitz <drow@mvista.com>
3402
3403 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
3404 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
3405 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
3406 mi0_run_to): New functions.
3407 * gdb.mi/mi-simplerun.exp: Use them.
3408 * gdb.mi/mi0-simplerun.exp: Likewise.
3409 * gdb.mi/mi-var-cmd.exp: Likewise.
3410 * gdb.mi/mi0-var-cmd.exp: Likewise.
3411
45b074e1
AC
34122001-11-10 Andrew Cagney <ac131313@redhat.com>
3413
3414 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
3415 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
3416
bf50d346
AC
34172001-11-09 Andrew Cagney <ac131313@redhat.com>
3418
3419 * gdb.base/restore.exp: Include $expected value in restored test
3420 message.
3421
9383332c
AC
34222001-11-09 Andrew Cagney <ac131313@redhat.com>
3423
3424 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
3425 implemented.
3426
db62520a
MS
34272001-11-08 Michael Snyder <msnyder@redhat.com>
3428
3429 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
3430 Add pass/fail message for stop at breakpoint in call dummy function.
3431
b5703437
MS
34322001-11-07 Michael Snyder <msnyder@redhat.com>
3433
760f6330
MS
3434 * gdb.c++/templates.exp (test_template_breakpoints):
3435 If we get an overload menu, but it does not match what
3436 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
3437 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
3438 making the whitespace optional. Argument for "new" may be
3439 "unsigned" as well as "unsigned int/long".
eef747c0
MS
3440 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
3441 making the whitespace optional. Also replace "(void) with
3442 "((void|)), making the keyword "void" optional.
63f50499
MS
3443 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
3444 making the whitespace optional. Also replace "(void) with
3445 "((void|)), making the keyword "void" optional.
3bf40917
MS
3446 * gdb.base/callfuncs.c (t_float_values): This function must
3447 _not_ be prototyped, and the following function (t_float_values2)
3448 must be prototyped (if the compiler supports it), so that GDB
3449 can be tested against both cases. Usually one case involves
3450 promotion of float to double, while the other does not.
3451 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
3452 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
3453 includes a stack frame for "start".
3454
c8ab4e6d
JB
34552001-11-05 Jim Blandy <jimb@redhat.com>
3456
3457 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
3458 pointers are 32 bits long, and that offsets of relocs are always
3459 stored in the data (REL-style), and not in the reloc entry itself
3460 (RELA-style).
3461 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
3462 stabs.
3463
3f08ced9
MS
34642001-11-01 Michael Snyder <msnyder@redhat.com>
3465
3466 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
3467 and regular expression operators by using quoting.
3468
cbfa24cd
MS
34692001-10-31 Michael Snyder <msnyder@redhat.com>
3470
3471 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
3472 depending on what the symbol table contains.
3473 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
3474 the output of the ptype command. Similarly, accept both "const &"
3475 and "const&".
3476
aaa68313
CV
34772001-10-31 Corinna Vinschen <vinschen@redhat.com>
3478
3479 * gdb.base/miscexprs.c (main): Add usage of preprocessor
3480 symbol `STORAGE' to allow to choose the storage class of
3481 the local datastructures.
3482 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
3483 compiler directive.
3484
91740388
MS
34852001-10-30 Michael Snyder <msnyder@redhat.com>
3486
3487 * gdb.base/jump.exp: Allow it to run for all targets.
3488
1b7c05e7
CV
34892001-10-29 Corinna Vinschen <vinschen@redhat.com>
3490
3491 * gdb.base/call-ar-st.c (print_double_array): Match for loop
3492 with new double_array size.
3493 (main): Change storage class of all local variables to static.
3494 Reduce size of double_array to 9.
3495 * gdb.base/call-ar-st.exp: Increase timeout value.
3496 Change expected output for double array to match new size in
3497 call-ar-st.c.
3498
36a22261
CV
34992001-10-29 Corinna Vinschen <vinschen@redhat.com>
3500
3501 * gdb.base/ending-run.exp: Create identical output when passing
3502 `step to end of run' case. Add regular expression branch satisfying
3503 Stormy16 target.
3504
92b8ae91
MK
35052001-10-28 Mark Kettenis <kettenis@gnu.org>
3506
3507 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
3508 that we catch the expected failure under Linux/x86.
3509
cb135b83
OF
35102001-10-29 Orjan Friberg <orjanf@axis.com>
3511
3512 * gdb.base/setvar.exp: Escape curly braces.
3513 * gdb.stabs/weird.exp: Ditto.
3514
6884aa54
DJ
35152001-10-27 Daniel Jacobowitz <drow@mvista.com>
3516
3517 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
3518 * gdm.mi/mi0-hack-cli.exp: Likewise.
3519
0398c9aa
AC
35202001-10-25 Andrew Cagney <ac131313@redhat.com>
3521
3522 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
3523 messages.
3524
d20bf2e8
AC
35252001-10-21 Andrew Cagney <ac131313@redhat.com>
3526
3527 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
3528 checking MI enabled.
3529
03dd63aa
CV
35302001-10-09 Corinna Vinschen <vinschen@redhat.com>
3531
3532 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
3533
1d9d99f3
FCE
35342001-10-04 Frank Ch. Eigler <fche@redhat.com>
3535
3536 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
3537 if gdb child process crashes, just signal an error.
3538
838ae6c4
JB
35392001-10-02 Jim Blandy <jimb@redhat.com>
3540
3541 * lib/gdb.exp (test_xfail_format): Simplify.
3542
3543 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
3544 front of the variable name `format'. Simplify `if'.
3545
8f0cbc1c
DJ
35462001-10-01 Daniel Jacobowitz <drow@mvista.com>
3547
3548 * gdb.threads/pthreads.exp: Wait for output and delay
3549 before sending ^C.
3550
1f08dafd
DJ
35512001-10-01 Daniel Jacobowitz <drow@mvista.com>
3552
3553 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
3554 some incorrect output instead of timing out.
3555 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
3556
674f90ff
CV
35572001-09-28 Corinna Vinschen <vinschen@redhat.com>
3558
3559 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
3560 check to allow additional `int'.
3561
9b284272
DJ
35622001-09-27 Daniel Jacobowitz <drow@mvista.com>
3563
3564 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
3565 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
3566
b55a4771
MS
35672001-09-27 Michael Snyder <msnyder@redhat.com>
3568
3569 * lib/gdb.exp (test_debug_format): New proc.
3570 (setup_xfail_format): Use new proc test_debug_format.
3571 * gdb.base/constvars.exp (local_compiler_xfail_check): New
3572 proc; use new service proc test_debug_format.
3573 Replace all other "gcc_compiled" tests with this test.
3574 * gdb.base/volatile.exp (local_compiler_xfail_check): New
3575 proc; use new service proc test_debug_format.
3576 Replace all other "gcc_compiled" tests with this test.
3577
35782001-09-27 Michael Snyder <msnyder@redhat.com>
3579
3580 * gdb.base/cvexpr.exp: New file.
3581 * gdb.base/cvexpr.c: New file
3582 Test for expressions using const and volatile keywords.
3583
4e6667ac
CV
35842001-09-26 Corinna Vinschen <vinschen@redhat.com>
3585
3586 * gdb.base/constvars.exp: Check for different orders of keywords
3587 and additional "int" strings in output.
3588
4f337972
AC
35892001-09-22 Andrew Cagney <ac131313@redhat.com>
3590
3591 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
3592 responses from "help maint".
3593
2015650d
FCE
35942001-09-19 Frank Ch. Eigler <fche@redhat.com>
3595
3596 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
3597 to localhost:NNN instead of :NNN, in case Xvfb is listening
3598 only on TCP.
3599
f3bcedc1
CV
36002001-09-19 Corinna Vinschen <vinschen@redhat.com>
3601
3602 * gdb.base/recurse.exp: When checking leaving the watchpoint
3603 scope, recognize when gdb is in function's epilogue and pass.
3604
6b819c92
KS
36052001-09-18 Keith Seitz <keiths@redhat.com>
3606
3607 * lib/insight-support.exp (_gdbtk_export_target_info): Add
3608 support for running tests against sid targets.
3609 (gdbtk_done): Ditto.
3610
a10c9419
CV
36112001-09-18 Corinna Vinschen <vinschen@redhat.com>
3612
3613 * gdb.base/ending-run.c (main): Set stdout buffersize
3614 to the same reasonable value for any target.
3615 * gdb.base/ending-run.exp: Add a regular expression
3616 to make testsuite happy on Sanyo Stormy16 target.
3617
739d0d99
CV
36182001-09-17 Corinna Vinschen <vinschen@redhat.com>
3619
3620 * gdb.base/display.c (do_loops): Add float variable `f'.
3621 Increment f in loop.
3622 * gdb.base/display.exp: Increment timeout by 60 seconds.
3623 Change float display test to use variable `f'.
3624
1b8947f0
JB
36252001-09-17 Jim Blandy <jimb@redhat.com>
3626
3627 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
3628 overflowing the limited breakpoint tables on some ROM monitors
3629 (like the ROM68K).
3630
9890ac81
FCE
36312001-09-15 Frank Ch. Eigler <fche@redhat.com>
3632
3633 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
3634 the "-ac" (disable access control) flag.
3635
6db765ea
JH
36362001-08-30 Jeff Holcomb <jeffh@redhat.com>
3637
3638 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
3639 ints.
3640
4c32cc04
KS
36412001-08-30 Keith Seitz <keiths@redhat.com>
3642
3643 * lib/gdb.exp: Move all insight-related functionality into
3644 separate file.
3645 * lib/insight-support.exp: New file.
3646
8d6e6f81
FCE
36472001-08-29 Frank Ch. Eigler <fche@redhat.com>
3648
3649 * config/sid.exp (sid_start): Never set sid verbosity; disable
3650 expect_background {} that consumed its stdout; tolerate </dev/null.
3651 Attempt to set endianness override in "sid" protocol mode. Cleanup.
3652
6a90e1d0
AC
36532001-08-18 Andrew Cagney <ac131313@redhat.com>
3654
3655 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
3656 CLI jump command to start it.
3657 (mi_run_to_main): Fail immediatly when unexpected output.
3658
1759b3c3
AC
36592001-08-18 Andrew Cagney <ac131313@redhat.com>
3660
3661 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
3662 beginning of function. Fix PR gdb/191.
3663
61d11d80
FCE
36642001-08-16 Frank Ch. Eigler <fche@redhat.com>
3665
3666 * config/sid.exp (sid_start): Don't warn if we cannot figure out
3667 what to force sid endianness to.
3668
942a4df2
KS
36692001-08-15 Keith Seitz <keiths@redhat.com>
3670
3671 * lib/gdb.exp (gdbtk_start): Don't set environment
3672 variables for TCL_LIBRARY and friends. Insight will
3673 now figure these out for itself.
3674
0521c418
MS
36752001-08-02 Michael Snyder <msnyder@redhat.com>
3676
3677 * gdb.base/completion.exp: Remove the symbol "a64l" from
3678 the expect string; this is target-specific, and not related
3679 to what is being tested.
3680
74a9a58a
DB
36812001-08-02 Dave Brolley <brolley@redhat.com>
3682
3683 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
3684
c70819fa
MS
36852001-07-25 Michael Snyder <msnyder@redhat.com>
3686
c2b8fa57
MS
3687 * gdb.base/consecutive.exp: New file. Test stepping over
3688 breakpoints on consecutive instructions.
3689 * gdb.base/consecutive.c: New file.
3690
c70819fa
MS
3691 * gdb.base/call-rt-st.exp: Use double-backslash to quote
3692 curly braces in regular expressions.
3693
2b1a1355
MS
36942001-07-25 Michael Snyder <msnyder@redhat.com>
3695
3696 * gdb.base/ending-run.exp: Accept "Program exited normally" as
3697 legitimate output from stepping out of main.
3698
413eca6f
KS
36992001-07-22 Keith Seitz <keiths@redhat.com>
3700
3701 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
3702 the empty string, do not run the tests.
3703
7e5a9322
SC
37042001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3705
3706 * gdb.base/long_long.exp: Detect size of pointer. Take into
3707 account 2-byte pointers when testing for p/a results.
3708
de58f10f
SC
37092001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3710
3711 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
3712 and defined to 1K for m68hc11.
3713 (random_data): Reduce table to 1K for embedded platforms (68hc11).
3714 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
3715 (sizeof_random_data): New variable to tell the size of the data table;
3716 don't test past this size; always run to main.
3717
d6f5fea1
SC
37182001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3719
3720 * gdb.base/return2.exp: return of long long and double fails for
3721 68HC11; don't execute these tests on that platform.
3722 * gdb.base/return.exp: Return of a double fails for 68hc11.
3723
c477543d
SC
37242001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3725
3726 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
3727 tests that print a float.
3728 * call-rt-st.exp: Likewise.
3729
63cf1c79
MK
37302001-07-12 Mark Kettenis <kettenis@gnu.org>
3731
3732 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
3733 running this test on Linux.
3734
112f9ab5
MC
37352001-06-24 Michael Chastain <chastain@redhat.com>
3736
3737 * gdb.base/arithmet.exp: Remove some tests to make all test names
3738 unique.
3739
4970cb0f
MS
37402001-07-03 Michael Snyder <msnyder@redhat.com>
3741
3742 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
3743 the output of the ptype command.
3744
d85da69f
MS
37452001-07-02 Michael Snyder <msnyder@redhat.com>
3746
4c8a82de
MS
3747 * gdb.base/completion.exp: Don't assume that break.c is the only
3748 source file that may contain functions named "marker".
d85da69f
MS
3749 * gdb.base/corefile.exp: Quote the curly braces in regexp.
3750
8afc772b
AC
37512001-06-28 Andrew Cagney <ac131313@redhat.com>
3752
3753 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
3754 of files to delete.
3755
3756 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
3757 * gdb.disasm/h8300s.exp: New file.
3758 gdb.disasm/h8300s.s: Likewise.
3759
cff22675
AC
37602001-06-27 Andrew Cagney <ac131313@redhat.com>
3761
3762 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
3763 empty breakpoint tables.
3764
68c81b54
AC
37652001-06-25 Andrew Cagney <ac131313@redhat.com>
3766
3767 * lib/mi-support.exp: Update args=... part of stop-reason
3768 patterns. Accept either a list or a tuple.
3769
2dd62704
AC
37702001-06-23 Andrew Cagney <ac131313@redhat.com>
3771
3772 * lib/mi-support.exp: Remove local emacs variable defining
3773 change-log-default-name.
3774
b4127474
MC
37752001-06-22 Michael Chastain <chastain@redhat.com>
3776
3777 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
3778 This is operationally compatible with the previous version.
3779
8dbfb380
JB
37802001-06-13 Jim Blandy <jimb@redhat.com>
3781
3782 * lib/gdb.exp (gdb_test): Doc fix.
3783
f2d8c86d
MC
37842001-06-10 Michael Chastain <chastain@redhat.com>
3785
3786 * gdb.base/exprs.exp: Remove a duplicate test.
3787
81564d34
JB
37882001-06-06 Jim Blandy <jimb@redhat.com>
3789
3790 * gdb.base/return2.exp (main): Use values to test float and double
3791 returns that are not NaN's, to avoid being confused by IEEE
3792 comparison rules.
3793
da55addb
MS
37942001-06-04 Michael Snyder <msnyder@redhat.com>
3795
3796 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
3797 non-zero if control_c fails. Terminate the test on failure,
3798 rather than wait for 12 more tests to time out.
3799
42c65987
JB
38002001-06-06 Jim Blandy <jimb@redhat.com>
3801
b18bced9
JB
3802 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
3803 Don't forget to match the GDB prompt.
3804
42c65987
JB
3805 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
3806
5b41e5f0
JB
38072001-06-04 Jim Blandy <jimb@redhat.com>
3808
3809 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
3810 command.
3811
015e046f
KB
38122001-05-31 Kevin Buettner <kevinb@redhat.com>
3813
3814 * gdb.base/annota1.exp (info break): Match four or more spaces
3815 after "Address".
3816
fb1ffbbe
MC
38172001-05-31 Michael Chastain <chastain@redhat.com>
3818
3819 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
3820 (dm_type_int_star): Likewise.
3821 (dm_type_long_star): Likewise.
3822 (dm_type_void_star): Likewise.
3823
5ea2a32c
KB
38242001-05-29 Kevin Buettner <kevinb@redhat.com>
3825
3826 * gdb.base/completion.exp (INPUTRC): Set this environment variable
3827 to a known value in order to get consistent results regardless
3828 of the setting of INPUTRC or the presence or contents of .inputrc.
3829
ae23c492
MS
38302001-05-24 Michael Snyder <msnyder@redhat.com>
3831
ac55707e
MS
3832 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
3833 Don't require that the main thread and the manager thread are the
3834 first in the list.
3835
ae23c492
MS
3836 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
3837 debugging. If test fails, issue an "unsupported" not a "fail".
3838
400071f1
JB
38392001-05-24 Jim Blandy <jimb@redhat.com>
3840
3841 Don't assume that short is shorter than int.
3842 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
3843 assume that shorts are smaller than ints. On a 16-bit machine,
3844 this isn't true.
3845 ("print unsigned char == (~0)"): Add test that verifies that ~0,
3846 an int, is not equal to ~0 stored in an unsigned char. This tests
3847 the same thing that the previous test meant to, but works on
3848 16-bit machines, too.
3849 ("print unsigned char != (~0)"): Same test, complemented.
3850
0816a3e5
MS
38512001-05-24 Michael Snyder <msnyder@redhat.com>
3852
3853 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
3854 test for (full_coverage == 0). This makes the test run faster,
3855 and prevents dejagnu getting out of step.
3856
f6dc23a9
KB
38572001-05-23 Kevin Buettner <kevinb@redhat.com>
3858
3859 * gdb.base/finish.exp (finish_void): Revise pattern for
3860 stopping on the call statement to not permit stopping at
3861 the start of the instructions comprising the call sequence.
3862
7dbd117d
MC
38632001-05-19 Michael Chastain <chastain@redhat.com>
3864
3865 * gdb.base/callfuncs.exp: Make all test names unique.
3866 * gdb.base/commands.exp: Make all test names unique.
3867 * gdb.base/condbreak.exp: Make all test names unique.
3868 * gdb.base/dbx.exp: Make all test names unique.
3869 * gdb.base/default.exp: Make all test names unique.
3870 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
3871 and TIMEOUT messages to their corresponding PASS message.
3872 * gdb.base/ending-run.exp: Make all test names unique.
3873 * gdb.base/long_long.exp: Remove duplicate test.
3874
6b0b0a9e
KB
38752001-05-21 Kevin Buettner <kevinb@redhat.com>
3876
3877 * gdb.base/finish.exp (finish_void): Allow "finish" command to
3878 stop on the call statement as well as the statement after the
3879 call.
3880
2caa35cb
MS
38812001-05-21 Michael Snyder <msnyder@redhat.com>
3882
3883 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
3884
40713331
EZ
38852001-05-10 Elena Zannoni <ezannoni@redhat.com>
3886
3887 * gdb.base/completion.exp: Revamp test. Make it execute on all
3888 platforms.
3889
c2c1be8d
EZ
38902001-05-10 Elena Zannoni <ezannoni@redhat.com>
3891
2c9cd303
EZ
3892 * config/gdbserver.exp (gdb_load): Handle the case
3893 in which the arguments to gdbserver are given in the
3894 baseboard configuration file.
3895 Also handle the case in which the server needs to do a
3896 load.
3897
9671de48
KS
38982001-05-07 Keith Seitz <keiths@cygnus.com>
3899
3900 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
3901 set up the display for testing.
3902 (gdbtk_start): Convert all paths to paths that tcl will like.
3903 Export target information to environment.
3904 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
3905 necessary.
3906 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
3907 (to_tcl_path): New proc to convert a given pathname into
3908 a path acceptible as an argument to a tcl command.
3909 (_gdbtk_export_target_info): New proc to export target info
3910 into the environment for gdbtk testing.
3911 (gdbtk_done): New proc to signal end-of-test.
3912
5a360f47
JB
39132001-05-06 Jim Blandy <jimb@redhat.com>
3914
3915 * restore.c: Make the code of caller0 correspond to its comment.
3916
66c756c6
MS
39172001-05-03 Michael Snyder <msnyder@redhat.com>
3918
3919 * config/sid.exp (gdb_target_sid): Check for error messages.
3920 On error or timeout, don't make expect exit (which will terminate
3921 all subsequent tests); instead just make gdb exit.
3922 (gdb_load): Check for error messages. On error or timeout,
3923 return a negative value.
3924
a966fde5
JB
39252001-04-24 Jim Blandy <jimb@redhat.com>
3926
851c18e0
JB
3927 * gdb.c++/templates.exp: If we see the prompt for the overload
3928 list, but we haven't recognized any of the longer patterns,
3929 arrange for this test to fail, not hang.
3930
a966fde5
JB
3931 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
3932 variations.
3933
db144853
MC
39342001-04-22 Michael Chastain <chastain@redhat.com>
3935
3936 * gdb.c++/local.exp: Use the 'runto' library function.
3937 * gdb.c++/namespace.exp: Likewise.
3938 * gdb.c++/overload.exp: Likewise.
3939
3207ec21
KB
39402001-03-26 Kevin Buettner <kevinb@redhat.com>
3941
3942 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
3943 * gdb.base/step-line.exp: New file. Test step/next in presence of
3944 #line directives.
3945 * gdb.base/step-line.c: New file. Test program for the above.
3946 * gdb.base/step-line.inp: New file. We pretend that this file has
3947 been transformed by some other tool into step-line.c.
3948
13b57657
JB
39492001-03-21 Jim Blandy <jimb@redhat.com>
3950
3951 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
3952 unmangled operator names.
3953
754cbe1c
JB
39542001-03-20 Jim Blandy <jimb@redhat.com>
3955
3956 * gdb.threads/linux-dp.exp: Recognize an additional message
3957 generated by GDB when it doesn't understand how to debug threads
3958 on the target system.
3959
177495c9
AC
39602001-03-19 Andrew Cagney <ac131313@redhat.com>
3961
3962 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
3963
f266096b
MC
39642001-03-12 Michael Chastain <chastain@redhat.com>
3965
3966 * gdb.c++/derivation.exp: Use the 'runto' library function.
3967
cac3c2ff
MC
39682001-03-12 Michael Chastain <chastain@redhat.com>
3969
3970 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
3971
b6c11a24
MC
39722001-02-24 Michael Chastain <chastain@redhat.com>
3973
3974 * gdb.c++/ref-types.exp: Change handwritten code to library
3975 function 'runto'.
3976
6bae5bce
OF
39772001-03-16 Orjan Friberg <orjanf@axis.com>
3978
3979 * gdb.base/signals.exp: Set count to 0 explicitly.
3980
0015fd9a
MS
39812001-03-15 Mark Salter <msalter@redhat.com>
3982
3983 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
3984 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
3985 (gdb_load): Add support for additional target_info: gdb_download_size
3986 and gdb_load_timeout.
0015fd9a 3987
fc33412a
DT
3988Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
3989
3990 * gdb.base/annota1.exp: Move test of isnative to earlier in the
3991 file -- to prevent failing when the compile fails but we have no
3992 intention of running the tests anyway.
3993
3994 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
3995 tests if set.
3996
3997 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
3998 integers.
3999
4000 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
4001 * gdb.c++/namespace.exp: Ditto.
4002
115f06de
OF
40032001-03-07 Orjan Friberg <orjanf@axis.com>
4004
4005 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
4006 * gdb.base/pointers.exp: Relax pattern match of decimals.
4007
b6ba6518
KB
40082001-03-06 Kevin Buettner <kevinb@redhat.com>
4009
4010 * Makefile.in, config/abug.exp, config/cfdbug.exp,
4011 config/cpu32bug.exp, config/dve.exp, config/est.exp,
4012 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
4013 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
4014 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
4015 config/sh.exp, config/sid.exp, config/slite.exp,
4016 config/sparclet.exp, config/udi.exp, config/unknown.exp,
4017 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
4018 config/vxworks.exp, config/vxworks29k.exp,
4019 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
4020 gdb.base/all-bin.exp, gdb.base/annota1.exp,
4021 gdb.base/arithmet.exp, gdb.base/assign.exp,
4022 gdb.base/async.exp, gdb.base/attach.exp,
4023 gdb.base/bitfields.exp, gdb.base/bitops.exp,
4024 gdb.base/break.exp, gdb.base/call-ar-st.exp,
4025 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
4026 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
4027 gdb.base/commands.exp, gdb.base/completion.exp,
4028 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
4029 gdb.base/constvars.exp, gdb.base/corefile.exp,
4030 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
4031 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
4032 gdb.base/ending-run.exp, gdb.base/environ.exp,
4033 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
4034 gdb.base/finish.exp, gdb.base/foll-exec.exp,
4035 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
4036 gdb.base/funcargs.exp, gdb.base/help.exp,
4037 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
4038 gdb.base/logical.exp, gdb.base/long_long.exp,
4039 gdb.base/maint.exp, gdb.base/mips_pro.exp,
4040 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
4041 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
4042 gdb.base/pointers.exp, gdb.base/printcmds.exp,
4043 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
4044 gdb.base/regs.exp, gdb.base/relational.exp,
4045 gdb.base/remote.exp, gdb.base/reread.exp,
4046 gdb.base/restore.exp, gdb.base/return2.exp,
4047 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
4048 gdb.base/selftest.exp, gdb.base/setshow.exp,
4049 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
4050 gdb.base/sigall.exp, gdb.base/signals.exp,
4051 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
4052 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
4053 gdb.base/step-test.exp, gdb.base/structs.c,
4054 gdb.base/structs.exp, gdb.base/structs2.exp,
4055 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
4056 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
4057 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
4058 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4059 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
4060 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
4061 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
4062 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
4063 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
4064 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
4065 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
4066 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
4067 gdb.fortran/types.exp, gdb.java/jmisc.exp,
4068 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
4069 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
4070 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
4071 gdb.trace/circ.exp, gdb.trace/collection.exp,
4072 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
4073 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
4074 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
4075 gdb.trace/report.exp, gdb.trace/save-trace.exp,
4076 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
4077 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
4078 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
4079 notices.
4080
dc96c6c7 40812001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
4082
4083 * gdb.base/varargs.c (find_max_double): Fix printf format string:
4084 first arg is int not float.
4085
dc96c6c7 40862001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
4087
4088 * gdb.base/reread.exp: Unsupported for non-native targets;
4089 doesn't work for remote debugging.
4090
9b0c4aeb
FN
40912001-02-19 Fernando Nasser <fnasser@redhat.com>
4092
4093 From Drew Moseley <dmoseley@redhat.com>
4094 * gdb.base/ending-run.exp: Properly handle the BSP state when
4095 stepping past the end of main.
4096
02aa71d5
MC
40972001-02-19 John Moore <jmoore@redhat.com>
4098
4099 * gdb.base/commands.exp (infrun_breakpoint_command_test):
4100 Converted HPUX fix for non-expected items following multiple
4101 step commands into general solution for all platforms.
4102
1fa449a4
MC
41032001-02-18 Michael Chastain <chastain@redhat.com>
4104
4105 * gdb.c++/classes.exp (do_tests): Change runto statements
4106 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4107 statements demangler agnostic.
4108 * gdb.c++/virtfunc.exp (do_tests): Likewise.
4109 (gdb_virtfunc_restart): Likewise.
4110
b2f9ec70
MC
41112001-02-14 Michael Chastain <chastain@redhat.com>
4112
4113 * gdb.c++/inherit.exp (do_tests): Change runto statements
4114 from "runto 'foo(void)'" to "runto 'foo'". This makes the
4115 statements demangler agnostic.
4116
cf74b8ca
AC
4117Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
4118
4119 * gdb.threads/pthreads.exp: Unify pass/fail messages for
4120 ``continue to bkpt at common_routine in thread 2'' and ``stopped
4121 before calling common_routine 15 times'' tests.
4122
99f78f56
MC
41232001-02-11 Michael Chastain <chastain@redhat.com>
4124
4125 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
4126 Helps the test script figure out which demangler is in use.
4127 (dm_type_foo_ref): Ditto.
4128 (dm_type_int_star): Ditto.
4129 (dm_type_long_star): Ditto.
4130 (dm_type_unsigned_int): Ditto.
4131 (dm_type_void): Ditto.
4132 (dm_type_void_star): Ditto.
99707966 4133 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
4134 Probe the gdb demangler and set variables to accommodate
4135 formatting differences.
4136 (info_func_regexp): New function. Same as info_func, but
4137 matches against a regexp.
4138 (info_func): Match against a literal string.
4139 (print_addr_2): New function. Match against a literal string,
4140 which can be different from the input to gdb.
4141 (print_addr): Simply call print_addr_2 with the same argument twice.
4142 (test_lookup_operator_functions): Use demangler formatting variables.
4143 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
4144 the tests in the same order as the C++ class declaration.
4145 (test_paddr_operator_functions): Ditto.
4146 (test_paddr_overloaded_functions): Ditto.
4147 (test_paddr_hairy_functions): Use demangler formatting variables.
4148 Add reference to gdb/19 for related tests.
4149 (do_tests): Call probe_demangler.
4150
1de8f023
KB
41512001-01-30 Kevin Buettner <kevinb@redhat.com>
4152
4153 * gdb.c++/templates.cc (printf): Remove unused function definition.
4154
ca3f91ed
MS
41552001-01-26 Felix Lee <flee@redhat.com>
4156
4157 * sid.exp (sid_exit): Pass host, not target, to remote_close.
4158
41592001-01-25 matthew green <mrg@redhat.com>
4160
4161 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
4162 up sid.
4163 (sid_exit): Call `remote_pop_conn' after GDB is gone.
4164
41652001-01-25 matthew green <mrg@redhat.com>
4166
4167 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
4168 Deprecate $sid_spawn_id.
4169 (sid_exit): Remove code necessary only for `spawn.'
4170
41712001-01-25 matthew green <mrg@redhat.com>
4172
4173 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
4174
fb18ec4a
MC
41752001-01-28 Michael Chastain <chastain@redhat.com>
4176
4177 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
4178 to call when tests fail. It takes gdb out of the overloaded
4179 function choice menu back to the main prompt, so that the test
4180 program stays synchronized.
4181 (set_bp_overloaded): New proc to collect all the common
4182 code for setting a breakpoint on an overloaded name. Calls
4183 take_gdb_out_of_choice_menu when needed.
4184 (menu_overload1arg): New variable to collect the repeated
4185 instances of the expected menu for an overloaded name. Change
4186 the regular expression to handle changes in g++ type encoding:
4187 "void" can be either "void" or "", and "unsigned int" can be
4188 either "unsigned int" or "unsigned".
4189 (continue_to_bp_overloaded): Change regular expressions to handle
4190 changes in g++ type encoding.
4191 (no proc): Call take_gdb_out_of_choice_menu when needed.
4192 Remove redundant calls to "info break". Accept either "canceled"
4193 or "cancelled". Change regular expressions in "info break"
4194 calls to handle changes in g++ type encoding. Give all tests
4195 unique strings.
4196
9c646a6e
BE
41972001-01-17 Ben Elliston <bje@redhat.com>
4198
4199 * config/sid.exp: New file.
4200
9549d9c1
AC
4201Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
4202
4203 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
4204
dc96c6c7 42052000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
4206
4207 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
4208 Add a RE to accept a non-ascii char if one is ever presented.
4209
b4df4f68
FN
42102000-12-20 Fernando Nasser <fnasser@redhat.com>
4211
297dd0fd 4212 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 4213
dc96c6c7 42142000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
4215
4216 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
4217 in regexp. One '\' does not suffice on Linux.
4218
4a7bddb6
MC
42192000-12-09 Michael Chastain <chastain@redhat.com>
4220
4221 * gdb.base/break.exp (test_clear_command): Use a marker function
4222 rather than 'main' for the test function. Also move this
4223 test to an execution point where the marker function names are
4224 guaranteed to be bound to functions. (Executing tests after a
4225 'finish' from main runs into name conflicts with local names
4226 in __libc_start_main).
4227
dc96c6c7 42282000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
4229
4230 * gdb.base/finish.exp: New test for gdb's "finish" command.
4231 * gdb.base/return2.exp: New test for gdb's "return" command.
4232 * gdb.base/return2.c: New source file for above.
4233
dc96c6c7 42342000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
4235
4236 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
4237 * gdb.base/miscexprs.exp: Ditto.
4238 * gdb.base/pointers.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
dc96c6c7 42452000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
4246
4247 * gdb.base/constvars.exp: Test result of "up" command.
4248 * gdb.base/miscexprs.exp: Ditto.
4249 * gdb.base/pointers.exp: Ditto.
4250 * gdb.base/scope.exp: Ditto.
4251 * gdb.c++/derivation.exp: Ditto.
4252 * gdb.c++/local.exp: Ditto.
4253 * gdb.c++/namespace.exp: Ditto.
4254 * gdb.c++/overload.exp: Ditto.
4255 * gdb.c++/ref-types.exp: Ditto.
4256
44097287
FN
42572000-11-22 Michael Chastain <chastain@redhat.com>
4258
4259 * mips_pro.exp: Accept either "middle -> top -> main" or
4260 "middle -> main" in the backtrace, because gcc can optimize
4261 tail calls to jumps. Remove setup_xfail for the hppa case.
4262 Add a comment with the original warning messages from PR 3016,
4263 which was filed in 1993, to preserve them for posterity.
4264
9d2e1bab
ND
42652000-11-17 Nick Duffek <nsd@redhat.com>
4266
4267 * lib/gdb.exp (gdb_test): Override timeout with board info.
4268
1aca8eb7
ND
42692000-11-17 Nick Duffek <nsd@redhat.com>
4270
4271 * gdb.base/display.exp: Don't kill running stub. Add "again" to
4272 the second kill and detach messages.
4273
93076499
ND
42742000-11-17 Nick Duffek <nsd@redhat.com>
4275
4276 * configure.in: Add AC_EXEEXT.
4277 * configure: Regenerate.
4278 * Makefile.in (just-check): Export EXEEXT.
4279 * lib/gdb.exp ($EXEEXT): Import from environment.
4280 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
4281 expect "maint dump-me" on Cygwin.
4282 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
4283 $EXEEXT.
4284
30e87cd3
ND
42852000-11-17 Nick Duffek <nsd@redhat.com>
4286
4287 * gdb.base/break.exp: Test backtrace and finish from called
4288 function on all platforms, not just HP-UX.
4289
dc96c6c7 42902000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
4291
4292 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
4293 code from gdb_target_monitor, so it can be used independantly
4294 for gdbserver. Also comment out an unnecessary PUTS.
4295
dc96c6c7 42962000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
4297
4298 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
4299 * gdb.base/corefile.exp: Expect the message "Program is being
4300 debugged already" when we send the "corefile" command, since
4301 the preceeding gdb_load may have connected gdb to a remote target.
4302 * gdb.base/display.exp: Disable hardware watchpoints if new
4303 board info variable "no_hardware_watchpoints" is true.
4304 Replace single-letter commands with more readable ones.
4305 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
4306 if new board info variable "no_hardware_watchpoints" is true.
4307 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
4308 to see if stdio (printf) testing is possible.
4309 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
4310 board info variable "no_hardware_watchpoints" is true. Use new
4311 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
4312
39124dea
FN
43132000-11-13 Fernando Nasser <fnasser@redhat.com>
4314
4315 From Orjan Friberg <orjanf@axis.com>:
4316 * gdb.base/printcmds.exp: Escape curly braces followed by a number
4317 in array print pattern match.
4318
a9e2e984
FN
43192000-11-09 Fernando Nasser <fnasser@redhat.com>
4320
4321 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
4322 spelling "cancelled" to U.S. spelling "canceled" to match changes
4323 made to gdb.
4324 * gdb.c++/ovldbreak.exp: Ditto.
4325
c7db355b
PS
43262000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4327
4328 * gdb.base/callfuncs.c (main): Moved to end of file, call
4329 t_double_values to initialize the FPU before inferior calls are made.
4330 * gdb.base/callfuncs.exp: Test for register preservation after calling
4331 inferior functions. Add tests for continuining, finishing and
4332 returning from a stop in a call dummy.
4333
dc96c6c7 43342000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
4335
4336 * gdb.base/commands.exp: Break up long lines, and re-indent.
4337
dc96c6c7 43382000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
4339
4340 * config/gdbserver.exp: Rewritten from the ground up, to make it
4341 compatible with the current dejagnu tree, and to make it work with
4342 the new "gdbserver" in libremote.
4343
dc96c6c7 43442000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4345
4346 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
4347 * gdb.base/varargs.exp: Skip entire test if no printf support.
4348 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
4349 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
4350
dc96c6c7 43512000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
4352
4353 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
4354 no floating point support.
4355 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
4356 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
4357 * gdb.base/call-rt-st.exp: Ditto.
4358 * gdb.base/call-strs.exp: Ditto.
4359
bac5fc66
JG
43602000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
4361
4362 * gdb.base/sizeof.c: include <stdio.h>.
4363
4364 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
4365 'finish', otherwise uncaptured gdb_prompt would potentially
4366 throw remaining test points out of sync.
4367
b22a6027
SB
43682000-07-26 Scott Bambrough <scottb@netwinder.org>
4369
4370 * gdb.base/recurse.exp: Run tests for all targets.
4371 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
4372 gnu-oldld case on ARM.
4373 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
4374 for ARM targets.
4375
d8231941
AG
4376Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
4377
4378 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
4379 * gdb.java/configure: Rebuild.
4380
8caabe69
AG
4381Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
4382
4383 * gdb.java/jv-exp.exp: New file.
4384
9d273ca3
AG
4385Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
4386
4387 * configure: Rebuilt.
4388 * configure.in (configdirs): Add gdb.java.
4389 * gdb.java/jmisc.java: New file.
4390 * gdb.java/jmisc.exp: New file.
4391 * gdb.java/Makefile.in: New file.
4392 * gdb.java/configure: Rebuilt.
4393 * gdb.java/configure.in: New file.
4394 * lib/java.exp: New file.
4395
4f823a66
AC
4396Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
4397
4398 * gdb.base/exprs.exp: Test casts to a pointer including over and
4399 underflow.
4400
2391e11d
AC
4401Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
4402
4403 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
4404 and the compilers sizes.
4405
54602222
ND
44062000-07-09 Nick Duffek <nsd@redhat.com>
4407
4408 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
4409 (use_methods): New function.
4410 (main): Call use_methods().
4411 * gdb.c++/classes.exp (test_method_param_class): New procedure.
4412 (do_tests): Call test_method_param_class.
4413
2bec0572
ND
44142000-07-09 Nick Duffek <nsd@redhat.com>
4415
4416 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
4417 spelling.
4418 (test_enums): New procedure. Move enum tests from end of script
4419 to here. Set breakpoint on function name instead of line number.
4420 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
4421 (enums2): New marker function.
4422 (enums1): New function.
4423 (main): Call enums1(). Move enum tests to enums1().
4424
78492fde
AC
4425Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
4426
4427 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
4428 compile/link program. Update line numbers.
4429 * gdb.asm/d10v.inc: Define ``startup''.
4430 * gdb.asm/asmsrc1.s: Add definition of _start.
4431
49a2cef8
AC
4432Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
4433
4434 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
4435
3e6c8688
EZ
44362000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4437
4438 * gdb.base/maint.exp: Add 'maint print architecture' item to output
4439 of 'help maint print' command.
4440
9ff5cbe9
AC
4441Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
4442
4443 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
4444 they use gdb_expect_list.
4445
17c579bd
AC
4446Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
4447
4448 * gdb.base/commands.exp: Use ``set remote
4449 memory-read-packet-size'' instead of ``set endian big'' to test
4450 long commands.
4451
e6d71bf3
DB
44522000-06-03 Daniel Berlin <dan@cgsoftware.com>
4453
4454 * gdb.c++/templates.exp (do_tests): Make all of these work under
4455 g++, and stop skipping them.
4456
4457 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
4458 work under g++.
4459
e5f9ba7b
MS
4460 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
4461 initialization.
4462
dc96c6c7 44632000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
4464
4465 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
4466 the regular expression: accept an (almost) arbitrary sequence of
4467 "frames-invalid" and "breakpoints-invalid" messages both before
4468 and after the "starting" message.
4469
dc96c6c7 44702000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
4471
4472 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 4473
dc96c6c7 44742000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
4475
4476 * gdb.base/annota1.exp (annotate-signal-handler-caller):
4477 Relax the regular expression a little, make it pass on Solaris 8.
4478
8216cda9
KB
44792000-05-12 Kevin Buettner <kevinb@redhat.com>
4480
4481 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
4482 a call, do not require that gdb stop on the line after the call.
4483 Instead, it is permissible for gdb to stop on the line of the
4484 call itself.
4485
1a570b2f
MS
44862000-05-12 Michael Snyder <msnyder@.cygnus.com>
4487
4488 * gdb.base/break.exp (bp on small function, optimized file):
4489 Add a second pass pattern. The behavior differs here between stabs
4490 and dwarf for one-line functions. Stabs preserves two line symbols
4491 (one before the prologue and one after) with the same line number,
4492 but dwarf regards these as duplicates and discards one of them.
4493 Therefore the address after the prologue (where the breakpoint is)
4494 has no exactly matching line symbol, and GDB reports the breakpoint
4495 as if it were in the middle of a line rather than at the beginning.
4496
dc96c6c7 44972000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
4498
4499 * gdb.base/interrupt.exp: Make "pass" message say "send"
4500 rather than "send_gdb" (for consistancy).
4501
7d418785
AC
4502Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
4503
4504 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
4505 * gdb.c++/templates.cc: Properly check for GCC version number.
4506 * lib/compiler.cc: Likewise
4507
dc96c6c7 45082000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
4509
4510 * gdb.base/break.exp: When compiled with -O2 optimization,
4511 gdb may not stop at the first line of main, due to code motion.
4512
dc96c6c7 45132000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
4514
4515 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
4516 This test depends on parsing the printf output from the target.
4517 Since the sparclet stub doesn't do stdio, this will never work.
4518 * gdb.base/call-rt-st.exp: ditto.
4519 * gdb.base/call-strs: ditto.
4520
dc96c6c7 45212000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
4522
4523 * gdb.base/miscexprs.exp: make sizeof long array test portable.
4524
4525 * gdb.base/ending-run.exp: After connecting to a remote target,
4526 but before running, the target will appear to be in a random
4527 location. Specify both a file and a line for breakpoints.
4528 Also, the function that calls main may be called 'init'
4529 rather than 'start'.
4530
a5a51225
EZ
45312000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4532
4533 * gdb.base/help.exp: Update output for add-symbol-file command.
4534
7930cc7c
FN
45352000-04-10 Fernando Nasser <fnasser@cygnus.com>
4536
4537 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4538 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
4539
23e37ab1
C
45402000-04-07 J.T. Conklin <jtc@redback.com>
4541
e93c542c
C
4542 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
4543
23e37ab1
C
4544 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
4545
591b8fa3
PDM
4546Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
4547
4548 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
4549 values that can be represented exactly.
4550 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
4551 above change, and to not check against the directory part of the source
4552 file name.
4553 (step into print_long_arg_list): Likewise.
4554 (print print_small_structs from print_long_arg_list): Likewise.
4555 (print print_long_arg_list): Likewise.
4556
7a495180
EZ
45572000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4558
30b53638 4559 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 4560
beb998c6
AC
4561Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
4562
4563 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
4564
1c689132
DB
45652000-03-25 Daniel Berlin <dan@cgsoftware.com>
4566
4567 * gdb.base/commands.exp (deprecated_command_test): Add test for
4568 deprecate with no arguments.
4569
c1790a9d
JL
45702000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
4571
4572 * gdb.base/break.exp: Add new test for setting breakpoints on
4573 optimized code so we can test breakpoints work even when function
4574 prologues may be optimized away
4575
003ba290
FN
45762000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
4577
4578 From David Whedon <dwhedon@gordian.com>
4579 * gdb.base/commands.exp : Added command deprecator tests.
4580
6837a0a2
DB
45812000-03-22 Daniel Berlin <dan@cgsoftware.com>
4582
4583 * gdb.base/help.exp: Added test for new apropos command.
4584
b9593231
KB
45852000-03-21 Kevin Buettner <kevinb@redhat.com>
4586
4587 * gdb.base/pointers.c (usevar): New function.
4588 (main): Make sure that global variables v_int_pointer2, rptr,
4589 and y are all referenced someplace in the program by calling
4590 usevar() on them. [Some linkers delete symbols which are
4591 never referenced. The space remains, but there's no way to
4592 get a (symbolic) handle on the variable from the debugger.]
4593
751a959b
EZ
45942000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4595
4596 * gdb.base/printcmds.c: Add typedeffed arrays.
4597
4598 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
4599 procedure to test arrays that are typedef'd.
4600
73a93a32
JI
46012000-03-13 James Ingham <jingham@leda.cygnus.com>
4602
4603 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 4604 the library directories.
73a93a32 4605
fb40c209
AC
4606Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
4607
4608 * configure.in (configdirs): Add sub directory gdb.mi.
4609 * configure: Re-generate.
4610
4611 * gdb.mi: New directory.
beb998c6 4612
ee4dd2c9
AC
46132000-02-25 Scott Bambrough <scottb@netwinder.org>
4614
4615 * gdb.base/long_long.exp: Correct test suite failure when printing
4616 a long long value as a double on ARM platforms.
4617
70f0cc22
JB
46182000-02-16 Jim Blandy <jimb@redhat.com>
4619
4620 * gdb.base/break.exp ("breakpoint line number"): Make sure the
4621 default source file is set properly before running this test.
4622
853819b8
EZ
46232000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4624
4625 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
4626 gdbtk/library directory, not in gdbtcl2.
4627
dfcd3bfb
JM
46282000-02-04 Jim Blandy <jimb@redhat.com>
4629
4630 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
4631 backslash from regexp pattern.
4632
4633 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
4634 procedure. Use it to run all the "continue to bp overloaded"
4635 tests. Note that this changes the names of the tests slightly.
4636 If the breakpoint hit message includes a hex PC value, because
4637 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
4638 from the real source code, still consider that a pass.
4639
4640 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
4641 XFAIL here if the breakpoint message contains a hex address. Note
4642 similar change on 1999-11-02.
4643
4644 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
4645
4646 * gdb.base/ptype.exp: Establish a default source file before
4647 calling get_debug_format.
4648
46492000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
4650
4651 * gdb.base/watchpoint.exp: Remove duplication of test messages.
4652
8b93c638
JM
46532000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4654
4655 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
4656 of successive stepi commands -- while in the prologue we should see
4657 the function entry bracket.
4658
46592000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
4660
4661 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
4662 reach __change_mode() when stepping through the end of main().
4663
c5394b80
JM
46642000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
4665
4666 * gdb.base/default.exp: Fix expected pattern.
4667 * gdb.base/help.exp: Same.
4668
0d06e24b
JM
46692000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4670
4671 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
4672 Don't use xfail's because that affects only the following test.
beb998c6 4673
0d06e24b
JM
4674 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
4675 solaris or linux.
4676
4677 * gdb.base/selftest.exp: Update to reflect changes to main.c.
4678
dc96c6c7 46792000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 4680
beb998c6 4681 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
4682 "A syntax error" rather than "A parse error". Accept both.
4683
46842000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
4685
4686 * gdb.base/default.exp: Remove OS dependent string from "target
4687 remote" test.
4688 * gdb.base/help.exp: Same for "help target remote" test.
4689
c3f6f71d
JM
46902000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4691
4692 From Jim Kingdon <kingdon@redhat.com>:
4693
4694 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
4695 prompt (cleanup rather than necessity, but still might keep output
4696 from spilling to next test).
4697
46982000-01-02 Fred Fish <fnf@cygnus.com>
4699
4700 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
4701 AIX, which defines them in <sys/types.h>.
4702
ed9a39eb 47031999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 4704
ed9a39eb
JM
4705 * gdb.base/default.exp: Match arm* etc instead of arm in "info
4706 float" test.
4707
47081999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 4709
ed9a39eb 4710 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
4711
4712 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
4713 outermost frame disallowed".
4714
47151999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
4716
4717 * gdb.base/setvar.exp: New tests for setting the value of a struct
4718 with a constant list.
4719
47201999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4721
4722 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
4723 require the user to type a cast before setting the value of a struct.
4724
de57eccd
JM
47251999-12-06 Jim Blandy <jimb@cygnus.com>
4726
4727 * gdb.base/default.exp: Expect the new 'info float' command on
4728 all i386 platforms.
4729
4730 * gdb.threads/linux-dp.exp: Expand our ability to recognize
4731 LinuxThreads libraries that don't support debugging.
4732
c2d11a7d
JM
4733Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
4734
4735 * gdb.base/remote.c: Fill the buffer with truely random data.
4736 Change the buffer type to ``unsigned char'' to simplify size
4737 arithmetic.
4738
4739 * gdb.base/remote.exp: Reduce download numbers by one. Typical
4740 stub only handles 400-1 byte packets. Verify that the download
4741 worked.
4742
47431999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
4744
4745 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
4746 tests, using UNRESOLVED for the untested cases. Also, does not wait
4747 for a timeout if the prompt was received before a recognizable pattern.
4748
47491999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
4750
4751 * lib/gdb.exp (gdb_expect_list): Fix spelling.
4752
47531999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4754
4755 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
4756 watchpoints.
4757
47581999-11-24 Jason Merrill <jason@casey.cygnus.com>
4759
4760 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
4761
4762 * gdb.c++/local.exp: Be more flexible in recognizing local class
4763 name mangling. Don't allow horribly truncated method names.
4764 * gdb.c++/derivation.exp: Expect protected inheritance.
4765 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
4766 * gdb.c++/virtfunc.exp: Likewise.
4767 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
4768 when printing a nested enum.
4769
47701999-11-22 Jim Blandy <jimb@cygnus.com>
4771
4772 * gdb.base/step-test.exp: Properly await GDB's response to setting
4773 a breakpoint on the call to large_struct_by_value.
4774
4775 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
4776 just because we have debug info for the `start' function.
4777
47781999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
4779
4780 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
4781 "Unknown signal" messages, which indicate (on LinuxThreads) that
4782 GDB doesn't know how to debug threads on this system. This is
4783 better than hanging while philosopher 0 dumps chatter into gdb.log.
4784
47851999-11-18 Tom Tromey <tromey@cygnus.com>
4786
4787 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
4788
47891999-11-18 Fred Fish <fnf@cygnus.com>
4790
4791 * gdb.base/coremaker2.c: Add sample program for generating
4792 cores that is more self contained than coremaker.c. Eventually
4793 I'll add more code to this and tie it into the testsuite.
4794
4ce44c66
JM
47951999-11-12 Stan Shebs <shebs@andros.cygnus.com>
4796
4797 * gdb.base/dollar.exp: Remove, now in gdb.hp.
4798
47991999-11-10 Jimmy Guo <guo@cup.hp.com>
4800
4801 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
4802 from $srcdir/lib/.
4803 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
4804 and gdb.c++/.
4805
4806 * gdb.c++/derivation.exp: remove redundant get compiler info code.
4807
beb998c6 4808 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
4809 'continue with watch' test point.
4810
48111999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
4812
4813 Merged from p2linux-990323-branch:
beb998c6 4814
4ce44c66
JM
4815 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
4816
11cf8741
JM
4817Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
4818
4819 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
4820 {limit,fixed}''. Test ``set download-write-size''.
4821
4822Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
4823
4824 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
4825 gdb_expect_list.
4826
4827Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
4828
4829 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
4830
48311999-11-03 Mark Salter <msalter@cygnus.com>
4832
4833 * gdb.base/break.exp: Fix "stub continue" pattern.
4834
48351999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
4836
4837 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
4838
48391999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
4840
4841 * gdb.base/display.exp ("finish"): Add timeout clause.
4842
4843 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
4844 plain prompt clause, so this doesn't have to time out in order to
4845 fail.
4846
4847 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
4848 breakpoint hit messages include an address.
4849
4850 * gdb.base/display.exp: Don't forget to escape parens in regular
4851 expressions. Unix regexp notatation sucks.
4852
48531999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4854
4855 * gdb.base/annota1.exp: Test for annotate-signalled: change output
4856 order for 'signalled' message.
4857
5c44784c
JM
48581999-11-01 Stan Shebs <shebs@andros.cygnus.com>
4859
4860 From Jimmy Guo <guo@cup.hp.com>:
4861 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
4862 * gdb.base/annota1.c: Add code for tests to work with.
4863
48641999-10-26 Frank Ch. Eigler <fche@cygnus.com>
4865
4866 * gdb.base/remote.exp: New test for remote downloading settings.
4867 * gdb.base/remote.c: New file with large .data.
4868
917317f4
JM
48691999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
4870
4871 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
4872 for LinuxThreads support, merged from the Code Fusion branch.
4873
4874Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
4875
4876 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
4877 containing exp_continue into a while within an expect. Don't
4878 attempt a start more than three times. Check return value from
4879 gdb_load.
beb998c6 4880
2df3850c
JM
4881Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
4882
4883 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
4884 a pass case.
4885
2acceee2
JM
48861999-10-01 Kevin Buettner <kevinb@cygnus.com>
4887
4888 * gdb.base/break.c (main): Added a statement that we can step
4889 off of.
4890 * gdb.base/break.exp: Added tests for setting a breakpoint
4891 at an offset and stepping onto a breakpoint.
4892
48931999-10-01 Fred Fish <fnf@cygnus.com>
4894
beb998c6 4895 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
4896 gdb output.
4897
c2c6d25f
JM
48981999-09-18 Jim Blandy <jimb@cris.red-bean.com>
4899
4900 * gdb.base/break.exp: Code locations are in hex, don't forget!
4901 (For HP-UX.)
4902
49031999-09-17 Stan Shebs <shebs@andros.cygnus.com>
4904
4905 * condbreak.exp: Use break.c as test program.
4906 * condbreak.c: Remove, redundant with break.c.
4907
49081999-09-15 Stan Shebs <shebs@andros.cygnus.com>
4909
4910 * config/monitor.exp (gdb_target_monitor): Disable X- and
4911 Z-packets if the target needs it.
4912
49131999-09-13 James Ingham <jingham@leda.cygnus.com>
4914
4915 * gdb.c++/overload.exp: Added tests for listing overloaded
4916 functions with function pointers in the arg, explicitly calling
4917 out the version you want.
4918
cff3e48b
JM
49191999-09-09 Stan Shebs <shebs@andros.cygnus.com>
4920
4921 * long_long.exp: Add variations of test cases that work for
4922 targets with 16-bit ints and 32-bit doubles.
4923
d4f3574e
SS
49241999-09-08 Stan Shebs <shebs@andros.cygnus.com>
4925
4926 * break.c (main): Compare a possibly-uninitialized argc with an
4927 unlikely value that fits in 16 bits.
4928
49291999-09-07 Stan Shebs <shebs@andros.cygnus.com>
4930
4931 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
4932 0xfeeb, don't want negative numbers if ints are 16 bits.
4933
4934 * lib/gdb.exp (skip_cplus_tests): New proc.
4935 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
4936 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
4937 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
4938 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
4939 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
4940 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
4941 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
4942 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
4943
4944 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
4945
4946Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
4947
4948 * gdb.base/corefile.exp (up): Allow a parameter to appear
4949 in the frame that we're going up to.
4950
4951 From Jim Blandy <jimb@cygnus.com>:
4952
4953 * gdb.base/default.exp (info float): Expect some output now.
4954
4955 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
4956 returning floating-point values to fail on the x86.
4957 * gdb.base/callfwmall.exp (do_function_calls): Same.
4958
4959 * gdb.base/list.exp (test_listsize): Correct expectations for
4960 listing line 1 with listsize 2. Also, listing a single line
4961 works now, as does listing three lines. [Kevin's note: There
4962 were a number of other cases fixed too where the expectations
4963 differed...]
4964
49651999-09-02 Stan Shebs <shebs@andros.cygnus.com>
4966
4967 * gdb.base/selftest.exp: Add case for when version prints as
4968 constant string instead of char pointer.
4969
104c1213
JM
49701999-08-25 Stan Shebs <shebs@andros.cygnus.com>
4971
4972 * gdb.base/ending-run.exp: Add Solaris case for what happens when
4973 stepping out of main.
4974
4975 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
4976 G++ used.
4977
4978 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
4979 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
4980
4981 * gdb.c++/ovldbreak.exp: Update match string in test that
4982 includes a warning of multiple breakpoints.
4983
49841999-08-24 Stan Shebs <shebs@andros.cygnus.com>
4985
4986 * gdb.base/display.exp: Improve precision of step-after-finish
4987 added yesterday.
4988
4989 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
4990 test.
4991
4992 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
4993 configs when using G++, not just hppa*.
4994
49951999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4996
4997 * gdb.base/async.c: New file.
4998 * gdb.base/async.exp: New file.
4999
5000Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
5001
5002 * gdb.base/break.exp: Tweak PA specific tests to properly handle
5003 PA64.
5004
53a5351d
JM
5005Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
5006
104c1213
JM
5007 * gdb.base/display.exp: "finish" can leave us mid-line on many
5008 targets, deal with it. Add a small constant to main, instead of
5009 1000 since main+1000 may not be a valid address in the target.
5010
53a5351d
JM
5011 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
5012 on hpux11.
5013
5014 * gdb.base/attach.exp: Handle another hpux11 error message variant
5015 when attaching to a process that does not exist.
5016
50171999-08-19 J.T. Conklin <jtc@redback.com>
5018
5019 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
5020 characters in 'continue to 1241' test.
5021
50221999-08-17 Stan Shebs <shebs@andros.cygnus.com>
5023
5024 * gdb.base/call-ar-st.exp: Add a shorter match case for the
5025 stop in print_long_arg_list, define and use a whitespace
5026 variable in print_small_structs test, add an XFAIL for Solaris.
5027 * gdb.base/dbx.exp: XFAIL func commands until somebody is
5028 interested enough to fix.
5029
7be570e7
JM
50301999-08-13 Keith Seitz <keiths@cygnus.com>
5031
5032 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
5033 (dbx_gdb_load): Remove. Use gdb_load instead, since that
5034 proc knows about targets other than the natives.
5035 (test_assign): Use "gdb_run_cmd" to "run" the target.
5036 Check that we've actually hit the breakpoint at main.
5037 When we attempt to assign a value to a local variable, check
5038 that the variable is in the current scope, i.e., don't use
5039 a test with an empty result.
5040
5041Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
5042
5043 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
5044 command.
5045
50461999-08-09 Stan Shebs <shebs@andros.cygnus.com>
5047
5048 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5049 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
5050 gdb.compat, gdb.threads-hp.
5051 gdb.hp/configure, gdb.hp/configure.in: New files.
5052 gdb.hp/Makefile.in: Recurse into new subdirs.
5053 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
5054 gdb.hp/gdb.objdbg: New directory, tests for debugging info
5055 in object files.
5056 gdb.hp/tools: New directory, aux tools for HP-specific tests.
5057
96baa820
JM
50581999-08-05 Stan Shebs <shebs@andros.cygnus.com>
5059
5060 * gdb.base/display.exp: Help expect by putting a newline in the
5061 funky printf, remove a bogus p/a test.
5062
50631999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5064
5065 * gdb.base/display.exp: Make sure that when we say 'run', we are
5066 connected to the target. This is necessary when running not
5067 natively.
5068
50691999-08-03 Stan Shebs <shebs@andros.cygnus.com>
5070
5071 * gdb.base/step-test.exp: Removed some extraneous messages.
5072
5073 * gdb.base/long_long.exp: Don't run memory examination tests
5074 on little-endian targets (they will need a different set of
5075 results to match).
5076
50771999-08-02 Stan Shebs <shebs@andros.cygnus.com>
5078
5079 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
5080 until somebody decides to fix GDB.
5081
5082 * gdb.base/long_long.c: Stop compiler complaint by specifying long
5083 constant as "ULL".
5084 * gdb.base/long_long.exp: Loosen x/c test, add partial result
5085 matches for a couple x/2 commands.
5086
a0b3c4fd
JM
50871999-07-30 Stan Shebs <shebs@andros.cygnus.com>
5088
5089 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
5090 by merging in ref-types2 tests.
5091 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
5092
5093 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5094 * gdb.c++/Makefile.in: Add standard actions.
5095 (EXECUTABLES): Rename from PROGS, update list.
5096 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
5097 from gdb.hp.
5098 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
5099 foo and bar locals.
5100 * gdb.c++/anon-union.exp: Fix tests to match.
5101 * gdb.c++/classes.exp: Run if HP compiler used, add extra
5102 expect matches to handle output variations.
5103 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
5104 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
5105 output, add HP alternatives for new and delete prints.
5106 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
5107 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
5108 * gdb.c++/demangle.exp: Use $style when reporting failure.
5109 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
5110 * gdb.c++/inherit.exp: Run if HP compiler used, add some
5111 match alternatives.
5112 * gdb.c++/local.exp: Add match alternatives or xfails for HP
5113 compilers.
5114 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
5115 * gdb.c++/method.exp: Add match alternatives.
5116 * gdb.c++/misc.cc: Add bool types.
5117 * gdb.c++/misc.exp: Add tests for bool types.
5118 * gdb.c++/overload.exp: Add xfails.
5119 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
5120 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
5121 add some more template parameter tests (only for HP currently).
5122 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
5123 * gdb.c++/virtfunc.cc: Add return type and value for main.
5124 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
5125 match alternatives.
beb998c6 5126
a0b3c4fd
JM
51271999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5128
5129 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
5130
51311999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
5132
5133 * gdb.base/signals.exp: Don't expect getting a backtrace from
5134 within a signal handler to fail on Linux.
5135
51361999-07-29 Stan Shebs <shebs@andros.cygnus.com>
5137
5138 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5139 * lib/gdb.exp: Remove some gratuitious semicolons.
5140 (delete_breakpoints): Increase timeout.
5141 (gdb_expect): Add -notransfer option.
5142 (gdb_test): Use -notransfer option.
5143 (get_compiler_info): Add f77 case.
5144 (get_compiler): New proc, split out from gdb_preprocess, add f77
5145 case.
5146 (gdb_preprocess): Call get_compiler.
5147
5148 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
5149 * gdb.base/attach.exp, gdb.base/display.exp,
5150 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
5151 gdb.base/long_long.exp, gdb.base/printcmds.exp,
5152 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
5153 third arg to gdb_test.
5154 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
5155 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
5156 HP-UX xfails, add others.
5157 * gdb.base/completion.exp: Reflect name change of self-test.
5158 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
5159 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
5160 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
5161 HP failure number.
5162 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
5163 useless HP-UX 10.30 references.
5164 * gdb.base/maint.exp: Loosen matches.
5165 * gdb.base/pointers.c (main): Declare more_code.
5166 * gdb.base/pointers.exp: Match on output of a `next'.
5167 * gdb.base/structs.c: Add prototypes.
5168 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
5169 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
5170
51711999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5172
5173 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
5174 command.
5175
51761999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5177
5178 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
5179 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
5180
5181 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
5182 debug info. Deal with lack of signal hanlder info in stack.
5183
5184 From Jim Kingdon <kingdon@redhat.com>:
5185 * gdb.base/annota1.exp: If printf has debug info, deal with it.
5186
5a2468f5
JM
51871999-07-19 Stan Shebs <shebs@andros.cygnus.com>
5188
5189 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
5190 gdb.base/foll-vfork.exp: Don't run for crosses.
5191
adf40b2e
JM
5192Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
5193
5194 * gdb.base/configure.in: Check for gdbvars.exp instead of
5195 a1-selftest.exp.
5196 * gdb.base/configure: Re-generate.
5197
51981999-07-12 Stan Shebs <shebs@andros.cygnus.com>
5199
5200 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
5201 in trying to run first and name is too long.
5202
5203 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
5204 pointers2.c and pointers2.exp, respectively.
5205 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
5206 doschk happier.
5207
43e526b9
JM
52081999-07-08 Stan Shebs <shebs@andros.cygnus.com>
5209
5210 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
5211 callfuncs2.c and callfuncs2.exp.
5212
5213 * gdb.base/list.exp: Remove mistaken xfails.
5214 * gdb.base/list0.h: Add optional prototypes.
5215
9846de1b
JM
5216Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
5217
5218 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
5219 calling malloc.
5220 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
5221 * ptype.exp: Move test for get_debug_format to before its first
5222 use.
5223
52241999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5225
5226 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
5227 * gdb.base/annota2.cc, annota2.exp: Move from here.
5228 * gdb.c++/annota2.cc, annota2.exp: To here.
5229 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
5230
43ff13b4
JM
5231Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
5232
5233 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
5234 a consistent format.
5235
085dd6e6
JM
52361999-06-25 Stan Shebs <shebs@andros.cygnus.com>
5237
5238 From Jimmy Guo <guo@cup.hp.com> and others at HP:
5239 * lib/gdb.exp (get_compiler_info): Add detection for assorted
5240 HP compilers, also set the globals $true and $false.
5241
5242 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
5243 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
5244 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
5245 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
5246 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
5247 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
5248 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
5249 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
5250 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
5251 whatis.c} Add C++ compatible function definitions and return
5252 types, add includes for library functions.
5253 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
5254 * gdb.base/step-test.c (myglob): Rename from glob.
5255 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
5256 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
5257 files, move here from gdb.hp.
5258 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
5259 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
5260 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
5261 Adjust line numbers in regexps.
5262
5263 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
5264 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
5265 instead of 0/1.
5266
5267 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
5268 foll-vfork.exp: New files, move here from gdb.hp.
5269 * gdb.base/page.exp: New file, test of pagination command.
5270
5271 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
5272 recursion test.
5273 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
5274
5275 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
5276 gdb.base/solib.exp: Fix compiler invocation process.
5277
5278 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
5279 HP-UX 11, turn off overload resolution explicitly.
5280 * gdb.base/commands.exp: Set argument list explicitly, add
5281 watchpoint test.
5282 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
5283 them work.
5284 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
5285 expressions properly.
5286 * gdb.base/corefile.exp: Loosen the match slightly.
5287 * gdb.base/default.exp: Allow "Error accessing memory" message
5288 also.
5289 * gdb.base/display.exp: Skip over x/0 j if PA64.
5290 * gdb.base/funcargs.exp: Add xfails for HP-UX.
5291 * gdb.base/interrupt.exp: Ditto.
5292 * gdb.base/langs.exp: Add symbolic matches governed by compiler
5293 in use.
5294 * gdb.base/list.exp: Add xfails for HP-UX.
5295 * gdb.base/long_long.exp: Refine some of the numeric matches.
5296 * gdb.base/mips_pro.exp: Xfail on HP-UX.
5297 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
5298 * gdb.base/nodebug.exp: Succeed on more varieties of output.
5299 * gdb.base/opaque.exp: Remove some HP-UX xfails.
5300 * gdb.base/ptype.exp: Succeed on more varieties of output.
5301 * gdb.base/scope.exp: Add xfails for HP-UX.
5302 * gdb.base/sect-cmd.exp: Add more cases.
5303 * gdb.base/setvar.exp: Add xfails for HP-UX.
5304 * gdb.base/shlib-call.exp: Loosen some matches slightly.
5305 * gdb.base/signals.exp: Match on void symbolically.
5306 * gdb.base/step-test.exp: Add case for PA64.
5307 * gdb.base/term.exp: Add exit and restart.
5308 * gdb.base/twice.exp: Clean up after self.
5309 * gdb.base/varargs.exp: Disable overload resolution explicitly.
5310 * gdb.base/whatis.exp: Allow more ways to pass tests.
5311
5312 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
5313 no longer useful.
5314
5315Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
5316
5317 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
5318 list of patterns.
5319 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
5320 print_double_array(double_array)", "continuing to breakpoint
5321 1018", "print print_double_array(array_d)" and "continuing to
5322 1034" tests.
beb998c6 5323
085dd6e6
JM
53241999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
5325
5326 * Makefile.in: Add empty html and install-html targets.
5327
53281999-06-24 Stan Shebs <shebs@andros.cygnus.com>
5329
5330 * config/mt-*: Remove, these haven't been used since 1996.
5331
53321999-06-22 Stan Shebs <shebs@andros.cygnus.com>
5333
5334 * gdb.base/call-strs.c, gdb.base/ending-run.c,
5335 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
5336 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
5337
9e0b60a8
JM
53381999-06-18 Stan Shebs <shebs@andros.cygnus.com>
5339
5340 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
5341 simpler match case for the ptype of the big class.
5342
53431999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5344
5345 * gdb.exp: Fix test for gdb_prompt existence.
5346
53471999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5348
5349 * gdb.exp (gdb_test): Add fail after calls to perror.
5350
53511999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5352
5353 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
5354
53551999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
5356
5357 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
5358
0f71a2f6
JM
5359Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
5360
5361 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
5362 malloc() is linked in.
5363
53641999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
5365
5366 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
5367 step at end.
5368
5369 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
5370
53711999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
5372
5373 * gdb.java/jv-print.exp: New file. (Our first Java test!)
5374
cce74817
JM
5375Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
5376
5377 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
5378 * gdb.base/mips_pro.exp: Likewise.
5379
53801999-06-02 Keith Seitz <keiths@cygnus.com>
5381
5382 * gdb.c++/templates.cc: Change all "new" operators to throw
5383 an exception.
5384 * gdb.c++/cplusfuncs.cc: Likewise.
5385
5386 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
5387
5388Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
5389
5390 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
5391 * gdb.base/ending-run.exp: When stepping out of main, accept a
5392 step into an arbitrary assembler file.
5393
392a587b
JM
53941999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5395
beb998c6 5396 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 5397 "breakpoint-invalid" to be printed.
beb998c6 5398 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
5399 number of "frames-invalid" and "breakpoint-invalid" to be printed.
5400 * gdb.base/annota2.cc: Initialize a.x to 0.
5401
9e086581
JM
54021999-05-17 Keith Seitz <keiths@cygnus.com>
5403
5404 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
5405 when "skip_float_tests" set.
5406 Ditto for "print print_double_array(array_d)", "print print_small_structs",
5407 "print print_ten_doubles", and "step into print_long_arg_list".
5408 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
5409 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
5410 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
5411 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
5412 "skip_float_tests" is set.
5413 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
5414 when "skip_float_tests" set.
beb998c6 5415
cd0fc7c3
SS
54161999-05-06 Keith Seitz <keiths@cygnus.com>
5417
5418 * gdb.base/annota2.cc: Include stdio.h.
5419
5420Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
5421
5422 * gdb.base/crossload.exp: Remove, this has been disabled ever
5423 since BFD stopped including all targets, and cross-GDB gets
5424 plenty of testing anyway.
5425 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
5426 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
5427 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
5428 * gdb.base/README: Remove, was doc for this.
5429 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
5430 needed.
5431
b83266a0
SS
54321999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5433
5434 * gdb.base/call-ar-st.exp: Fix one regular expression in test
5435 output.
5436
5437 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
5438 * gdb.base/annota2.exp: New file. More annotation tests.
5439 * gdb.base/annota1.c: New file. Source file for annota1.exp.
5440 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
5441
54421999-04-23 Angela Marie Thomas <angela@cygnus.com>
5443
5444 * config/cfdbug.exp: New file.
5445
7a292a7a
SS
54461999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
5447
5448 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
5449 Marcus Daniel's and Dale Hawkins's demangler crashes.
5450
5451 * gdb.c++/demangle.exp (test_gnu_style_demangling,
5452 test_lucid_style_demangling, test_arm_style_demangling,
5453 test_hp_style_demangling): Try Tom Tromey's core-dumping
5454 identifier under each demangling style.
5455
54561999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
5457
5458 * gdb.c++/demangle.exp: Include the current demangling style
5459 in all test names.
5460 (current_demangling_style): New global variable.
5461 (set_demangling_style, test_demangling_core, test_demangling,
5462 test_demangling_exact): New functions.
5463 (test_gnu_style_demangling, test_lucid_style_demangling,
5464 test_arm_style_demangling, test_hp_style_demangling): Use those,
5465 instead of calling gdb_test and gdb_test_exact directly.
5466 (catch_demangling_errors): New function, which reports errors
5467 signalled by the demangling test functions in an orderly way.
5468 (do_tests): Use catch_demangling_errors.
5469
54701999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
5471
5472 * gdb.base/signals.exp (test_handle_all_print): Use () for
5473 grouping in expressions, not {}.
5474
5475 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
5476 initialized yet.
5477
54781999-04-01 Stan Shebs <shebs@andros.cygnus.com>
5479
5480 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
5481 are listed.
5482
54831999-03-26 Stan Shebs <shebs@andros.cygnus.com>
5484
5485 * gdb.stabs/weird.exp: Test for CC being defined before
5486 looking at its value.
5487
54881999-03-25 Stan Shebs <shebs@andros.cygnus.com>
5489
5490 * gdb.base/call-ar-st.exp: Remove stray '#'.
5491 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
5492 "short int" and "long int".
5493 * gdb.c++/overload.cc: Cast the string added in the previous
5494 change, to mollify finicky HP compiler.
5495 * gdb.hp/reg-test.exp (testfile): Fix file name.
5496 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 5497
7a292a7a
SS
5498 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
5499 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
5500 alternate form of enum ptype.
5501
c906108c
SS
55021999-03-23 Stan Shebs <shebs@andros.cygnus.com>
5503
7a292a7a
SS
5504 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
5505 * gdb.hp/*.exp: Change all to run compiler probe only after
5506 passing skip_hp_tests, so as not to waste time on guaranteed
5507 failure.
5508
c906108c
SS
5509 * gdb.c++/overload.cc: Pass string instead of char addr, always
5510 init ccpfoo.
5511 * gdb.c++/templates.cc: Fix syntax error.
5512
7a292a7a
SS
5513Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5514
5515 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 5516 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
5517 command.
5518
55191999-03-18 James Ingham <jingham@cygnus.com>
5520
5521 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
5522
5523 * gdb.c++/method.exp: It was testing an uninitialized int on the
5524 stack and assuming it was positive.
5525
5526 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
5527
5528 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 5529 keep it from killing the rest of the tests.
7a292a7a
SS
5530 Use gdb_continue_to_end.
5531
5532 * gdb.base/sigall.exp: use gdb_continue_to_end.
5533
5534 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
5535
5536 * gdb.base/display.exp: use runto_main, not run.
5537
beb998c6
AC
5538 * gdb.base/default.exp: Check for the current error message in the
5539 r abbreviation test.
7a292a7a
SS
5540 Add strongarm to the targets that know info float.
5541
beb998c6 5542 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
5543 run which doesn't work with monitors.
5544
5545 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
5546
5547 * gdb.base/break.exp: use the gdb_continue_to_end proc.
5548
5549 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
5550 program. Traps the case (in Cygmon) when the program never really
5551 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
5552 more places, so I used my name. Sorry Mark...
5553
5554 * config/monitor.exp (gdb_target_monitor): added another
5555 target_info parameter: remotebinarydownload. This will set the
5556 remotebinarydownload flag if this is causing some boards trouble.
5557
55581999-03-18 Mark Salter <msalter@cygnus.com>
5559
5560 * lib/gdb.exp (continue_to_exit): New function.
5561
5562 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
5563 * gdb.base/ending-run.exp: Ditto.
5564 * gdb.base/step-test.exp: Ditto.
5565
55661999-03-16 Stan Shebs <shebs@andros.cygnus.com>
5567
5568 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
5569 (suggested by Art Haas <ahaas@neosoft.com>).
5570
55711999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
5572
5573 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
5574
5575Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
5576
5577 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
5578 descriptions of types (short unsigned int vs unsigned short, etc).
5579
55801999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
5581
5582 * gdb.base/call-strs.exp: Don't assume that `step' will step over
5583 a call to strlen; sometimes we do have sources.
5584
55851999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
5586
5587 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
5588 character, so GDB won't print garbage after its end.
beb998c6 5589
c906108c
SS
5590 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
5591 breakpoint there instead. Sometimes GCC emits memcpy to handle
5592 the large structures being passed by value, so we step into that
5593 instead of sum_array_print, which obscures what we're really testing.
5594 * gdb.base/step-test.exp: However, we do want a test that notices
5595 the bizarre steps into memcpy, so do that here. Add check for
5596 stepping into function calls that pass large structures by value.
5597 ("Is that a noun clause, or are you just happy to see me?")
5598 Remove all references to specific line numbers.
5599 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
5600 New type and function.
5601 (main): Call large_struct_by_value, passing it a large struct by value.
5602 * lib/gdb.exp (gdb_get_line_number): New function.
5603
5604 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
5605 more portable.
5606
7a292a7a
SS
56071999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
5608
c906108c
SS
5609 * lib/gdb.exp: Doc fixes.
5610
7a292a7a
SS
56111999-03-05 Nick Clifton <nickc@cygnus.com>
5612
beb998c6 5613 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
5614
56151999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
5616
c906108c
SS
5617 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
5618 commands. They're not germane to this test, and they don't work
5619 that way on remote targets.
5620
3fc11d3e
JM
56211999-03-01 James Ingham <jingham@cygnus.com>
5622
5623 * Changelog entries merged over from gdb development branch.
5624
3fc11d3e
JM
5625 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
5626
5627 * lib/gdb.exp (gdbtk_analyze_results): Generic function
5628 for outputting results of test run.
5629
2d4a1622 5630 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
5631
5632 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 5633
7a292a7a
SS
56341999-02-25 Felix Lee <flee@cygnus.com>
5635
5636 * lib/gdb.exp (debug_format): initialize
5637
c906108c
SS
56381999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
5639
5640 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
5641 * gdb.base/call-rt-st.c: Ditto.
5642
c906108c
SS
56431999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
5644
5645 * gdb.threads/pthreads.exp (horiz): New variable.
5646 (test_startup): Fix regexps that capture thread numbers.
5647
56481999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
5649
5650 * gdb.base/smoke.exp: Disambiguate two test case names (both
5651 called ``print'').
5652
5653Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5654
5655 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
5656 compilation.
5657
56581999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5659
5660 * gdb.base/miscexprs.exp: Change patterns to match GDB's
5661 actual output formatting.
5662 * gdb.base/smoke.exp: GDB removes leading 0's.
5663 * gdb.base/volatile.exp: Don't check type of remuneration;
5664 that variable is no longer defined in constvars.c.
5665 * gdb.base/step-test.c (main): Exit with explicit exit code.
5666 * gdb.base/step-test.exp: Remove two nexti checks--they are
5667 not portable.
5668
56691999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
5670
5671 * gdb.base/help.exp ("help delete display"): Fix test to match
5672 gdb's output.
5673
5674 * gdb.base/long_long.c (known_types): Initialize values to zero.
5675 * gdb.base/long_long.exp: Step one more line
5676 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 5677 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
5678 unique test case names.
5679
5680Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5681
beb998c6 5682 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
5683
5684 * gdb.c++/method.exp: Add missing close brace.
5685
56861999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
5687
5688 * gdb.base/maint.exp: Use 'set height 0' to disable page
5689 prompting, not 'set height 400'.
5690
5691 Fix a bunch of timeouts.
5692 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
5693 four separate tests, so expect doesn't take forever to match a ton
5694 of text against a regexp with lots of .* forms.
5695 ("maint print psymbols", "maint print symbols"): Make some of
5696 these greps more selective, so that expect doesn't try to wade
5697 through huge piles of output and time out.
5698
5699 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
5700
5701 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
5702 tests: one which doesn't expect shlib events to be reported, and
5703 another which does, but is XFAIL for all platforms other than
5704 HP/UX.
5705
5706 * gdb.base/break.exp: Teach the test suite that the `catch
5707 fork', `catch vfork', and `catch exec' commands produce error
5708 messages on platforms that don't provide these features.
5709
5710Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
5711
5712 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
5713 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
5714 (shortening names from solib_threshold.exp etc), won't run on
5715 anything but HP-UX for the foreseeable future.
5716 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
5717 reflect move.
5718
5719Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
5720
5721 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
5722 gdb.trace/Makefile.in (clean): Remove all test executables.
5723
5724Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
5725
5726 * gdb.base/shlib-call.exp: add test cases to verify that gdb
5727 successfully re-sets breakpoints in shared libraries.
5728 * gdb.base/shmain.c (main): return 0, don't fall off the end.
5729
5730Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5731
beb998c6
AC
5732 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
5733 and compiled w/o GCC.
c906108c
SS
5734
5735 * gdb.hp/watch-cmd.exp: ditto.
5736
5737 * gdb.hp/watch-hp.exp: ditto.
5738
5739 * gdb.hp/xdb1.exp: ditto.
5740
5741 * gdb.hp/xdb2.exp: ditto.
5742
5743 * gdb.hp/dbx.exp: ditto.
5744
5745Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
5746
5747 * constvars.c: Remove C++-isms.
5748 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
5749 with GCC.
5750
5751Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
5752
5753 The following changes are part of the HP merge.
5754
5755 * gdb.base/break.exp: new tests to verify that catchpoints for
5756 fork, vfork, and exec don't trigger inappropriately.
5757
5758 * gdb.base/opaque.exp: compile one file at a time, then link.
5759
5760 * gdb.base/signals.exp: be more restrictive about which hppa
5761 systems receive a setup_xfail. new tests.
5762
5763 * gdb.base/solib_threshold.build: new file.
5764 * gdb.base/solib_threshold.exp: new file.
5765 * gdb.base/solib_threshold.link_opts: new file.
5766 * gdb.base/solib_threshold.mk: new file.
5767 * gdb.base/gen_solib_threshold.c: new file.
5768
5769 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
5770 tests. New tests for enums inside classes.
5771
5772 * gdb.c++/compiler.cc: indicate support of template debugging.
5773
5774 * gdb.c++/demangle.exp: run hp style demangling tests.
5775
5776 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
5777 tests.
5778
5779 * gdb.c++/misc.cc: changes to support new tests.
5780
5781 * gdb.c++/templates.cc: changes to support HP's compiler; changes
5782 to support new tests.
5783
5784 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
5785 gcc, then skip these tests.
5786
5787Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
5788
5789 The following files are part of the HP merge; some had longer
5790 names at HP, but have been renamed to be no more than 14
5791 characters in length.
5792
5793 * gdb.hp/ambiguous.cc: new file.
5794 * gdb.hp/ambiguous.exp: new file.
5795 * gdb.hp/attach.exp: new file.
5796 * gdb.hp/attach2.exp: new file.
5797 * gdb.hp/classes-hp.exp: new file.
5798 * gdb.hp/ctti.exp: new file.
5799 * gdb.hp/ctti-add.cc: new file.
5800 * gdb.hp/ctti-add1.cc: new file.
5801 * gdb.hp/ctti-add2.cc: new file.
5802 * gdb.hp/ctti-add3.cc: new file.
5803 * gdb.hp/dbx.exp: new file.
5804 * gdb.hp/exception.cc: new file.
5805 * gdb.hp/exception.exp: new file.
5806 * gdb.hp/foll-exec.c: new file.
5807 * gdb.hp/foll-exec.exp: new file.
5808 * gdb.hp/foll-fork.c: new file.
5809 * gdb.hp/foll-fork.exp: new file.
5810 * gdb.hp/foll-vfork.c: new file.
5811 * gdb.hp/foll-vfork.exp: new file.
5812 * gdb.hp/inherit-hp.exp: new file.
5813 * gdb.hp/more-steps.exp: new file.
5814 * gdb.hp/namespace.cc: new file.
5815 * gdb.hp/namespace.exp: new file.
5816 * gdb.hp/optimize.exp: new file.
5817 * gdb.hp/pxdb.c: new file.
5818 * gdb.hp/pxdb.exp: new file.
5819 * gdb.hp/quicksort.exp: new file.
5820 * gdb.hp/reg-test.exp: new file.
5821 * gdb.hp/reg-test.s: new file.
5822 * gdb.hp/sized-enum.c: new file.
5823 * gdb.hp/sized-enum.exp: new file.
5824 * gdb.hp/start-stop.exp: new file.
5825 * gdb.hp/templ-hp.cc: new file.
5826 * gdb.hp/templ-hp.exp: new file.
5827 * gdb.hp/thr-lib.c: new file.
5828 * gdb.hp/thr-lib.exp: new file.
5829 * gdb.hp/thr-lib.h: new file.
5830 * gdb.hp/thr-liblib.c: new file.
5831 * gdb.hp/virtfun-hp.c: new file.
5832 * gdb.hp/virtfun-hp.exp: new file.
5833 * gdb.hp/watch-cmd.exp: new file.
5834 * gdb.hp/watch-hp.exp: new file.
5835 * gdb.hp/xdb1.exp: new file.
5836 * gdb.hp/xdb2.exp: new file.
5837 * gdb.hp/xdb3.exp: new file.
5838
5839Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
5840
5841 The following files are part of the HP merge; some had longer
5842 names at HP, but have been renamed to be no more than 14
5843 characters in length.
5844
5845 * gdb.base/ss.h: new file.
5846 * gdb.base/call-ar-st.c: new file.
5847 * gdb.base/call-ar-st.exp: new file.
5848 * gdb.base/call-rt-st.c: new file.
5849 * gdb.base/call-rt-st-exp: new file.
5850 * gdb.base/call-strs.exp: new file.
5851 * gdb.base/ena-dis-br.exp: new file.
5852 * gdb.base/environ.exp: new file.
5853 * gdb.base/long_long.exp: new file.
5854 * gdb.base/sect-cmd.exp: new file.
5855 * gdb.base/shlib-cl2.exp: new file.
5856 * gdb.base/smoke.exp: new file.
5857 * gdb.base/so-impl-ld.c: new file.
5858 * gdb.base/so-impl-ld.exp: new file.
5859 * gdb.base/so-indr-cl.c: new file.
5860 * gdb.base/so-indr-cl.exp: new file.
5861 * gdb.base/varargs.exp: new file.
5862 * gdb.base/volatile.exp: new file.
5863 * gdb.base/whatis-exp.exp: new file.
7a292a7a 5864 * gdb.base/display.exp: new file.
c906108c
SS
5865 * gdb.c++/derivation.exp: new file.
5866 * gdb.c++/local.exp: new file.
5867 * gdb.c++/member-ptr.exp: new file.
5868 * gdb.c++/overload.exp: new file.
5869 * gdb.c++/ovldbreak.exp: new file.
5870 * gdb.c++/ref-types.exp: new file.
5871 * gdb.c++/ref-types2.exp: new file.
5872 * gdb.c++/userdef.exp: new file.
beb998c6 5873
c906108c
SS
5874Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
5875
5876 * gdb.base/default.exp: Reflect wording change in remote.c.
5877
dc96c6c7 5878Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5879
5880 * gdb.base/help.exp: Update to reflect current text.
5881
5882Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
5883
5884 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
5885 they're stack variables and contain garbage.
5886 * gdb.c++/anon-union.exp: new file.
5887
5888 The following changes were made by David Taylor
5889 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5890 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5891 in changes by HP.
5892
5893 * gdb.base/bitops.exp: new file.
5894 * gdb.base/default.exp: change expected messages for catch and
5895 info catch tests to reflect HP merge changes.
5896 * gdb.base/enable-disable-break.exp
5897 * gdb.base/ending-run.c: new file.
5898 * gdb.base/long_long.c: new file.
5899 * gdb.base/maint.exp: new file.
5900 * gdb.base/pointers2.exp: new file.
5901 * gdb.base/shlib-call2.exp: new file.
5902 * gdb.base/solib.exp: new file.
5903 * gdb.base/step-test.c: new file.
5904 * gdb.c++/anon-union.cc: new file.
5905 * gdb.c++/local.cc: new file.
5906 * gdb.c++/member-pointer.cc: new file.
5907 * gdb.c++/method.cc: new file.
5908 * gdb.c++/ref-types.cc: new file.
5909 * gdb.c++/ref-types2.cc: new file.
5910 * gdb.c++/userdef.cc: new file.
beb998c6 5911
c906108c
SS
5912 * gdb.base/scope.exp: compile one file at a time, then link.
5913 * gdb.base/langs.exp: ditto.
5914 * gdb.base/list.exp: ditto.
beb998c6 5915
c906108c
SS
5916Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
5917
5918 The following changes were made by David Taylor
5919 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
5920 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
5921 in changes by HP.
beb998c6 5922
c906108c
SS
5923 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
5924 skip tests. When compiling pass c++ flag to gdb_compile.
5925 * gdb.c++/
beb998c6 5926
c906108c
SS
5927 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
5928 test for on hppa*-*-hpux*; use args to see if c++ was specified.
5929 (skip_hp_tests): new function.
5930 (gdb_preprocess): new function.
5931
5932 * configure.in (hpdir): decide whether to configure gdb.hp.
5933 * configure: regenerated.
5934
5935 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
5936 to delete on clean.
5937 (EXECUTABLES): update to reflect new additions.
5938 * gdb.base/commands.exp: update message expected.
5939 * gdb.base/default.exp: add copyright notice.
5940 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
5941 * gdb.base/help.exp: update messages to reflect current text.
5942 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
5943 targets for recurse tests.
5944 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
5945 skip this file.
5946
5947 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
5948 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
5949 compilation.
5950 * gdb.c++/misc.exp: ditto.
5951 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
5952 run the tests. tell gdb_compile that it's a c++ compilation.
5953
5954 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 5955
c906108c
SS
5956 * gdb.base/all-bin.exp: new file.
5957 * gdb.base/arithmet.exp: new file.
5958 * gdb.base/assign.exp: new file.
5959 * gdb.base/completion.exp: new file.
5960 * gdb.base/cond-expr.exp: new file.
5961 * gdb.base/condbreak.exp: new file.
5962 * gdb.base/define.exp: new file.
5963 * gdb.base/dollar.exp: new file.
5964 * gdb.base/environment.exp: new file.
5965 * gdb.base/eval-skip.exp: new file.
5966 * gdb.base/jump.exp: new file.
5967 * gdb.base/logical.exp: new file.
5968 * gdb.base/pointers.exp: new file.
5969 * gdb.base/relational.exp: new file.
5970 * gdb.base/section_command.exp: new file.
5971 * gdb.base/whatis-expr.exp: new file.
5972
5973 * gdb.base/all-types.c: new file.
5974 * gdb.base/call-array-struct.c: new file.
5975 * gdb.base/call-return-struct.c: new file.
5976 * gdb.base/call-strings.c: new file.
5977 * gdb.base/callfuncs2.c: new file.
5978 * gdb.base/condbreak.c: new file.
5979 * gdb.base/constvars.c: new file.
5980 * gdb.base/display.c: new file.
5981 * gdb.base/int-type.c: new file.
5982 * gdb.base/jump.c: new file.
5983 * gdb.base/miscexprs.c: new file.
5984 * gdb.base/pointers.c: new file.
5985 * gdb.base/pointers2.c: new file.
5986 * gdb.base/shmain.c: new file.
5987 * gdb.base/shr1.c: new file.
5988 * gdb.base/shr2.c: new file.
5989 * gdb.base/solib.c: new file.
5990 * gdb.base/solib1.c: new file.
5991 * gdb.base/solib2.c: new file.
5992 * gdb.base/varargs.c: new file.
5993 * gdb.c++/derivation.cc: new file.
5994 * gdb.c++/overload.cc: new file.
5995 * gdb.c++/ovldbreak.cc: new file.
5996 * gdb.hp/attach.c: new file.
5997 * gdb.hp/attach2.c: new file.
5998 * gdb.hp/average.c: new file.
5999 * gdb.hp/compiler.c: new file.
6000 * gdb.hp/compiler.cc: new file.
6001 * gdb.hp/execd-program.c: new file.
6002 * gdb.hp/follow-exec.c: new file.
6003 * gdb.hp/follow-fork.c: new file.
6004 * gdb.hp/follow-vfork-and-exec.c: new file.
6005 * gdb.hp/misc-hp.cc: new file.
6006 * gdb.hp/more-steps.c: new file.
6007 * gdb.hp/optimize.c: new file.
6008 * gdb.hp/quicksort.c: new file.
6009 * gdb.hp/run-hp.c: new file.
6010 * gdb.hp/start-stop.c: new file.
6011 * gdb.hp/sum.c: new file.
6012 * gdb.hp/templates-hp.cc: new file.
6013 * gdb.hp/thread-local-in-lib.c: new file.
6014 * gdb.hp/thread-local-in-lib.h: new file.
6015 * gdb.hp/thread-local-in-lib.lib.c: new file.
6016 * gdb.hp/vforked-program.c: new file.
6017 * gdb.hp/virtfunc-hp.cc: new file.
6018 * gdb.hp/watchpoint-hp.c: new file.
6019 * gdb.hp/xdb.c: new file.
6020 * gdb.hp/xdb0.c: new file.
6021 * gdb.hp/xdb0.h: new file.
6022 * gdb.hp/xdb1.c: new file.
6023
6024Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
6025
6026 The following change was made by Edith Epstein
6027 <eepstein@cygnus.com> as part of a project to merge in changes
6028 originally made by HP; HP did not create ChangeLog entries.
6029
6030 * gdb.c++/demangle.exp: changed the expected output for some
6031 ARM-style mangling -- removed second reference to datatype.
6032 For example, maint demangle __dt__11T1__pt__2_cFv
6033 T1<char>::~T1<char>(void)
6034 becomes,
6035 maint demangle __dt__11T1__pt__2_cFv
6036 T1<char>::~T1(void)
6037
6038 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 6039
c906108c
SS
6040Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
6041
6042 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
6043 * gdb.trace/backtrace.exp: Likewise.
6044 * gdb.trace/circ.exp: Likewise.
6045 * gdb.trace/collection.exp: Likewise.
6046 * gdb.trace/deltrace.exp: Likewise.
6047 * gdb.trace/infotrace.exp: Likewise.
6048 * gdb.trace/limits.exp: Likewise.
6049 * gdb.trace/packetlen.exp: Likewise.
6050 * gdb.trace/passc-dyn.exp: Likewise.
6051 * gdb.trace/passcount.exp: Likewise.
6052 * gdb.trace/report.exp: Likewise.
6053 * gdb.trace/save-trace.exp: Likewise.
6054 * gdb.trace/tfind.exp: Likewise.
6055 * gdb.trace/tracecmd.exp: Likewise.
6056 * gdb.trace/while-dyn.exp: Likewise.
6057 * gdb.trace/while-stepping.exp: Likewise.
6058
60591998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
6060
6061 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
6062
6063Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
6064
6065 From Brendan Kehoe:
6066 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
6067 int return types.
6068
6069Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
6070
6071 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
6072 remote dos host testing right.
6073
6074Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
6075
6076 * gdb.base/corefile.exp: remove some xfails.
6077
6078Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
6079
6080 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
6081 have different timestamps.
6082
6083Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
6084
6085 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
6086 gdb.base/default.exp: Replace "exec" with "executable".
6087
6088Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
6089
6090 * gdb.base/default.exp: Change else if to elseif from previous
6091 delta.
6092
6093Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
6094
6095 * gdb.base/default.exp: Add brace missing from previous delta.
6096
6097Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
6098
6099 * gdb.base/default.exp: Support test for info float for all
6100 varieties of arm toolchain.
6101
dc96c6c7 6102Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6103
6104 * gdb.trace/*.exp: remove "remote_download" command.
6105
dc96c6c7 6106Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6107
6108 * gdb.trace/*.exp: remove -gdwarf from compile.
6109
6110Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
6111
6112 * gdb.trace/configure.in(AC_INIT): typo
6113 * gdb.trace/configure: regenerated
6114
dc96c6c7 6115Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6116
6117 * config/m68k-emc.exp: New file.
6118 * lib/<emc-support.exp trace-support.exp}: New files.
6119 * configure.in: add new test directory gdb.trace.
6120 * gdb.trace/{configure configure.in Makefile.in}: New files.
6121 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
6122 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
6123 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
6124 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
6125 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
6126 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
6127 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 6128
dc96c6c7 6129Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6130
6131 * gdb.c++/classes.exp: Change all regular expressions to match
6132 arbitrary combinations of newline/carriage-return, so that they
6133 will work equally well on Unix and Windows.
6134 * gdb.c++/inherit.exp: ditto.
6135 * gdb.c++/virtfunc.exp: ditto.
6136
61371998-08-11 Dawn Perchik <dawn@cygnus.com>
6138
6139 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
6140
c2d11a7d
JM
6141Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
6142
6143 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
6144 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
6145 to use a0-a3/d0-d3 as needed.
6146
6147Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
6148
6149 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
6150 * gdb.disasm/am33.exp: Corresponding changes.
6151
c906108c
SS
61521998-07-11 Felix Lee <flee@cygnus.com>
6153
6154 * gdb.base/callfuncs.exp: add cmp10 test.
6155 * gdb.base/callfuncs.c (cmp10): new function.
6156
6157Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
6158
beb998c6 6159 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
6160 into two parts to get around a synchronization problem in expect.
6161
3fc11d3e
JM
6162Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
6163
6164 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
6165
6166 * configure.in: Add options for gdbtk testsuite.
6167
6168 * configure: Regenerate.
6169
6170 * gdb.gdbtk: New directory to hold gdbtk tests.
6171
c906108c
SS
6172Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6173
6174 * gdb.fortran/types.exp: Escape brackets in expect patterns
6175 for test_float_literal_types_accepted tests.
6176 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
6177 before run test.
6178
c2d11a7d
JM
6179Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
6180
6181 * am33.exp: Just compile, do not link the testcase.
6182 * am33.s: Add ".am33" pseudoop to force am33 mode.
6183
c906108c
SS
61841998-06-25 Felix Lee <flee@cygnus.com>
6185
6186 * gdb.base/setshow.exp: make sure $pc is sane.
6187
6188 * gdb.stabs/weird.exp: split expect patterns properly.
6189
c2d11a7d
JM
6190Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
6191
6192 * gdb.disasm/am33.s: New disassembler testfile for the am33.
6193 * gdb.disasm/am33.exp: Run it.
6194
dc96c6c7 6195Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6196
6197 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
6198 match processing (and eliminate spurious timeouts when running).
6199
dc96c6c7 6200Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6201
6202 * gdb.base/signals.exp (test_handle_all_print): put back Mach
6203 exception test, but conditionalize it on target [mach | gnu].
6204
dc96c6c7 6205Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6206
6207 * gdb.base/overlays.exp: fixup compile line for linker script.
6208
6209Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
6210
6211 * gdb.fortran/types.exp: don't guess at float size.
6212
6213Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
6214
6215 * gdb.base/exprs.exp: delete test that depends on int size.
6216
6217Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
6218
6219 * config/sim.exp: Removed checks for target triplets.
6220 (gdb_target_sim): Use gdb,target_sim_options.
6221
6222Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
6223
6224 * gdb.base/reread.exp: New file.
6225 * gdb.base/reread1.c: New file.
6226 * gdb.base/reread2.c: New file.
6227
6228Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
6229
6230 * config/sim.exp: Use 'target sim -sparclite' when running
6231 SPARClite programs.
6232
6233Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
6234
6235 * gdb.base/structs2.exp: New file.
6236 * gdb.base/structs2.c: New file.
6237
6238Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
6239
6240 * gdb.asm/common.inc: New file.
6241 * gdb.asm/d10v.inc: New file.
6242 * asm-source.exp: Pass -I's to gas to find .inc files.
6243 Update line numbers in expected output.
6244 * asmsrc1.s: Rewrite.
6245 * asmsrc2.s: Rewrite.
6246 * configure.in: Create arch.inc symlink.
6247 * configure: Regenerate.
6248 * Makefile.in (distclean): Delete arch.inc.
6249
6250Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
6251
6252 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
6253 (t_enum_value2): ditto
6254 (t_enum_value3): ditto
6255 (main): ditto
6256Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
6257
6258 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
6259 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
6260 change.
6261 Use gdb_test instead of send_gdb/gdb_expect sequences.
6262
6263Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
6264
6265 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6266 not void.
6267
6268Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
6269
6270 * gdb.base/branches.c: Code with lots of loops and
6271 subroutines. Used to test gdbs ability to single step through PC
6272 changes, especially to test mips-tdep.c:mips_next_pc
6273
6274Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
6275
6276 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
6277 more rigorous EGCS C++ error checking.
6278
6279Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6280
6281 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 6282 tests.
c906108c 6283 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 6284 function when asleep.
c906108c 6285 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
6286 for i*86 Linux and SVR4 signal handling problems.
6287 Remove linux xfail for `next to handler in signals_tests_1', fixed
6288 by recent infrun.c change.
c906108c 6289 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 6290 stack backtraces.
c906108c
SS
6291 Adjust expect pattern in `handle all print' test to match Apr 28 1997
6292 target.[ch] change.
6293
6294Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
6295
6296 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
6297 for a newline from gdb before continuing.
6298 (default_gdb_exit): Just look for y or n.
6299 (gdb_test): Detect abnormal exit from GDB running on DOS; if
6300 it does, fail the rests of the tests in the file.
6301
6302Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
6303
6304 * config/cygmon.exp: New file.
6305
6306Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
6307
6308 * gdb.base/list.exp: Fix problem with "list default lines around
6309 main" test on remote targets.
6310
6311 * gdb.base/scope.exp: Fix problem with filelocal_bss before
6312 run test on remote targets.
6313
6314Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
6315
6316 * gdb.asm: New directory.
6317 * configure.in: Configure it.
6318 * configure: Regenerate.
6319 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
6320 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
6321
6322Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
6323
6324 * config/mn10300-eval.exp: New file to support MN10300 eval board.
6325
dc96c6c7 6326Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6327
c906108c
SS
6328 * gdb.base/overlays (several files): Merge the two overlay
6329 managers into one. Change variables (foox, barx, bazx, grbxx)
6330 back into ints but force them to load in their proper sections.
6331
6332Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
6333
6334 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
6335 on-chip insn memory and IMAP1 to upper 128k.
6336 (D10VCopy): Handle memory regions crossing 16k boundaries.
6337 (D10VCopy): Transfer data in 32 bit chunks.
6338
6339Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
6340
6341 * gdb.base/overlays.c (main): Exit normally when result is
6342 correct.
6343
6344 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
6345 map. Include space for printf in .text segment.
6346
6347 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
6348 updated d10v memory VMA/LMA map.
6349 (D10VCopy): Call D10VTranslate.
beb998c6 6350
c906108c
SS
6351Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
6352
6353 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
6354
6355 * gdb.base/bar.c (barx, bar): Change variable to small array so
6356 that it won't be put into the .sdata - small data -
6357 section. Update reference.
6358 * gdb.base/baz.c (bazx, baz): Ditto.
6359 * gdb.base/foo.c (foox, foo): Ditto.
6360 * gdb.base/grbx.c (grbxx, grbx): Ditto.
6361
6362 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
6363 to be arrays.
beb998c6 6364
dc96c6c7 6365Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 6366
c906108c
SS
6367 * gdb.base/overlays.exp: fix up and get working again.
6368 Add tests for backtraces from an overlay function.
beb998c6 6369
c906108c
SS
6370Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
6371
6372 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
6373 "calling function with watchpoint enabled".
6374
6375Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
6376
6377 * gdb.base/break.exp (test_next_with_recursion): Remove
6378 gdb_suppress_tests for d10v-*-*.
6379 * lib/gdb.exp (gdb_suppress_tests): Disable this function
6380 pending review of whether it is useful or not.
6381
6382Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
6383
6384 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
6385
6386Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
6387
6388 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
6389 * config/dve.exp: New file to support Densan boards.
6390
6391Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
6392
6393 * gdb.base/interrupt.exp: Document problem of simulators, signals,
6394 reads and BSD.
6395
6396Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
6397
6398 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
6399 response.
6400
6401 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
6402
6403Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
6404
6405 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
6406 test.
6407
6408 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
6409 target_sizeof_long and target_bigendian_p.
6410 (structs_by_value, structs_by_reference): Check values according
6411 to targets word size and endianess.
beb998c6 6412
c906108c
SS
6413Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
6414
6415 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
6416 output.
6417
6418Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
6419
6420 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
6421 Update test of set args help to match source change.
6422
6423Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
6424
6425 * gdb.base/default.exp: Expect help system output to be in
6426 alphabetical order.
6427 * gdb.base/help.exp: Ditto.
6428
6429Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
6430
6431 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
6432 "i*86-pc-linux-gnu*".
6433 * gdb.base/interrupt.exp: Ditto.
6434 * gdb.base/corefile.exp: Ditto.
6435
6436 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
6437 define vxworks when building the testcase.
6438
6439 * gdb.base/ptype.exp: Fix testnames to be unique.
6440 * gdb.base/radix.exp: Ditto.
6441 * gdb.base/term.exp: Ditto.
6442 * gdb.base/whatis.exp: Ditto.
6443 * gdb.c++/classes.exp: Ditto.
6444
6445Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
6446
6447 * gdb.base/callfuncs.exp: Fix indentation.
6448
6449 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
6450 suppress_flag has been set.
6451 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
6452 target feature.
6453
6454Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
6455
6456 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
6457 the testcase.
6458
6459 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
6460 set_debug_traps() and breakpoint().
6461 * gdb.c++/misc.cc (main): Ditto.
6462 * gdb.c++/templates.cc (main): Ditto.
6463 * gdb.c++/virtfunc.cc (main): Ditto.
6464
6465Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
6466
6467 * lib/gdb.exp(gdb_step_for_stub): New function.
6468 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
6469 exists, reload the executable and do a "continue" instead of
6470 doing a jump.
6471 (runto_main): Use gdb_step_for_stub.
beb998c6 6472
c906108c
SS
6473 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
6474 tests to have unique names.
6475 * gdb.base/callfuncs.exp: Ditto.
6476 * gdb.base/commands.exp: Ditto.
6477 * gdb.base/default.exp: Ditto.
6478 * gdb.base/help.exp: Ditto.
6479 * gdb.base/list.exp: Ditto.
6480 * gdb.base/opaque.exp: Ditto.
6481 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
6482 similar tests.
beb998c6 6483
c906108c
SS
6484 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
6485 * gdb.c++/cplusfuncs.cc: Ditto.
6486 * gdb.c++/virtfunc.cc: Ditto.
6487
6488 * config/monitor.exp: Keep track of the last file we saw, rather
6489 than trying to get the info from gdb.
6490
6491 * gdb.fortran/types.exp: Move comment to previous line.
6492
6493Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
6494
6495 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
6496 target mode.
6497
6498Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
6499
6500 From Bob Manson:
6501 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
6502 string from GDB when it connects.
6503
6504 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
6505
6506Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
6507
6508 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
6509 if we can't get a debug format from GDB (we may be testing an
6510 older GDB). Use a 10 second timeout when checking for the format.
6511
6512 * gdb.stabs/weird.exp: Fix quoting.
6513
6514 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
6515
6516Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
6517
6518 * config/arm-ice.exp: New file.
6519
6520Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
6521
6522 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
6523 until it has been modified to work with the new testsuite.
6524
99707966 6525 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
6526 testcase won't compile, cause all of the testcases in the file to
6527 fail instead.
6528
6529 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
6530 (gdb_clear_suppressed): New procedure.
6531 (gdb_stop_suppressing_tests): Only clear suppress_flag if
6532 it contains a positive value.
6533
6534Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
6535
6536 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
6537
6538 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
6539
6540Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
6541
6542 * lib/gdb.exp (setup_xfail_format): New function.
6543 (get_debug_format): New function to get debug format.
6544 (debug_format): New global variable to hold last value set
6545 by get_debug_format.
6546 * gdb.base/list.exp: Call get_debug_format and expect some
6547 tests to fail for DWARF 1 and COFF formats.
6548 * gdb.c++/ptype.exp: Ditto.
6549 * gdb.c++/classes.exp: Ditto.
6550 * gdb.c++/cplusfuncs.exp: Ditto.
6551 * gdb.c++/inherit.exp: Ditto.
6552 * gdb.c++/templates.exp: Ditto.
6553 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 6554
c906108c
SS
6555Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
6556
6557 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
6558 host doesn't have a currently-open connection.
6559
6560 * config/sparclet.exp: Cleanups and fixes to make it generic for
6561 any gdb stub target. Handle cases where gdb doesn't respond when
6562 interrupted in a sane fashion.
6563
6564 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
6565 same thing in a totally different way.
6566
6567 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
6568 setting "timeout".
6569 (gdb_start): We set the global gdb_prompt variable in
6570 default_gdb_init now.
6571
6572Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
6573
6574 * gdb.base/printcmds.exp: Fix "check for floating addition"
6575 regexp to accept results within approx +/- .01 of exact value.
6576 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
6577
6578Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
6579
6580 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
6581 properly.
6582 (gdb_expect): Add optional timeout parameter, and add timeout
6583 value to various calls.
6584 (gdb_suppress_tests): Only give one warning message per group.
6585
6586Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
6587
6588 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
6589 global variables. Handle getting a value for $timeout more
6590 gracefully.
6591
6592Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6593
6594 * lib/gdb.exp: Close connection to remote host if gdb doesn't
6595 initialize.
6596 (default_gdb_init): New procedure; allow gdb_init to be overridden
6597 by a target configuration file.
6598 (gdb_expect): Pass the timeout to remote_expect.
6599
6600 * config/monitor.exp(gdb_load): Fix typo in regexp.
6601
6602Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
6603
6604 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
6605
6606Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
6607
6608 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
6609 here. Call gdb_target_exec before rebooting the target, to make
6610 sure the connection to the target is closed.
6611 (gdb_load): Pass the name of the executable to gdb_target_monitor.
6612 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
6613 Also detect "Timeout reading from remote" error.
6614
6615 * config/gdbserver.exp: Pass the executable being loaded to
6616 gdb_target_monitor. Don't call gdb_file_cmd here; let
6617 gdb_target_monitor do it.
6618
6619 * gdb.disasm/hppa.exp: Don't use exec_output.
6620
6621Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
6622
6623 * gdb.base/list.exp: If we're debugging a non-native target,
6624 try to set the pc register to point to the start of the
6625 program before doing the first list command.
6626
6627 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
6628 test_calls after restarting.
6629
6630 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
6631 reloading.
6632
6633 * gdb.base/watchpoint.exp: Fix typo.
6634
6635 * gdb.base/setshow.exp: Check for use_gdb_stub.
6636
6637 * gdb.base/break.exp: Fix continue until exit test for the gdb
6638 stub case.
6639 * gdb.base/langs.exp: Ditto.
6640
6641 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
6642 gdb_load_offset. If we weren't given a file to load, figure out
6643 what the current file is and use it.
6644
6645 * config/i386-bozo.exp: New file.
6646
6647Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
6648
6649 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
6650 feature.
6651
6652 * config/proelf.exp: New entry.
6653
6654Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
6655
6656 * lib/gdb.exp: Remove spurious .* patterns at the beginning
6657 of regexps.
6658
6659 * gdb.base/watchpoint.exp: Don't run the test_stepping
6660 tests if gdb can't call functions on the target.
6661
6662 * gdb.base/setshow.exp: Don't run the set prompt tests if
6663 the board has gdb_prompt set.
6664
6665Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
6666
6667 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
6668 * gdb.base/commands.exp: Likewise.
6669 * gdb.base/setshow.exp: Likewise.
6670
6671Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
6672
6673 * config/monitor.exp(gdb_start): Look for gdb_prompt target
6674 feature.
6675
6676 * config/i960.exp: New file.
6677
6678Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
6679
6680 * gdb.base/funcargs.exp: Check for gdb,short_int target
6681 feature instead of looking for explicit target triplets.
6682
dc96c6c7 6683Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 6684
beb998c6 6685 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
6686 "p 123DEADBEEF", to check parse_number.
6687 * top.c: change "to enable to enable" to "to enable" in a couple
6688 of help strings.
6689
6690Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
6691
6692 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
6693 on the mn10300.
beb998c6 6694
c906108c
SS
6695Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
6696
6697 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
6698 where the test executable is run with explicit args.
6699 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
6700
6701Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
6702
6703 * gdb.base/run.c: Use FAKEARGV to build test executable that
6704 does not require a command line arg, since most simulators
6705 don't currently support passing such an arg into the simulated
6706 program.
6707 * gdb.base/commands.exp: Change tests to insert the proper
6708 value as the arg to the first recursive factorial call. Change
6709 compilation line to define FAKEARGV at compile time.
6710
6711Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
6712
6713 * gdb.base/recurse.exp: Enable these tests for the mn10300.
6714 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
6715 function with watchpoint enabled" test.
6716
6717Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
6718
6719 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
6720 Don't call gdb_test when the command doesn't return to a gdb prompt.
6721
6722 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
6723 "Tests restarted" messages.
6724
6725Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
6726
6727 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
6728
dc96c6c7 6729Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6730
6731 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
6732 for INFO SYMBOL; add help tests for OVERLAY commands.
6733 * gdb.base/default.exp: add tests for INFO SYMBOL command;
6734 add tests for OVERLAY commands
6735 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
6736 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
6737 * gdb.base/sigall.c: add usestubs code frag
6738 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 6739
c906108c
SS
6740Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
6741
6742 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
6743 failures.
6744 (gdb_stop_suppressing_tests): Note that tests have restarted.
6745
6746Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
6747
6748 * config/h8300.exp: New file.
6749
6750Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
6751
6752 * gdb.base/setshow.exp: Check for the existence of a
6753 feature, not its value.
6754
6755Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
6756
6757 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
6758
6759 * gdb.base/scope.exp: It's now init0(), not init().
6760
6761 * gdb.base/scope0.c: For now, change init() to be init0().
6762
6763 * config/monitor.exp: Use gdb_serial in preference to serial
6764 or netport.
6765
6766 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
6767 and it's not already set.
6768
6769Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
6770
6771 * gdb.base/setshow.exp: Only test the run command if the target
6772 isn't using a stub and if it supports argument passing.
6773
6774Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
6775
6776 * config/udi.exp(gdb_start): Make sure UDICONF is set
6777 properly before starting gdb.
6778
6779Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
6780
6781 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
6782 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
6783 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
6784
6785Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
6786
6787 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
6788 specialized code to reboot the board, use remote_reboot instead.
6789
6790 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
6791
6792 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
6793
6794 * config/monitor.exp: Make sure we disconnect from the target.
6795 Also, try a reboot/reload cycle instead of failing if the
6796 load fails.
6797
6798Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
6799
6800 * gdb.base/default.exp: Don't set match_max.
6801 * gdb.base/help.exp: Ditto.
6802 * gdb.base/list.exp: Ditto.
6803 * gdb.base/signals.exp: Ditto.
6804
6805 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
6806 set, use remote_ld to download the testcase instead of
6807 the GDB loader.
6808
6809Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
6810
6811 * config/vr5000.exp: New file.
6812
6813 * config/monitor.exp(gdb_target_monitor): Add pattern for
6814 "Ending remote" to detect errors in connecting.
6815
6816 * gdb.base/setshow.exp: Add .* within auto language test.
6817
6818 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
6819 target feature.
6820
6821 * config/monitor.exp(gdb_load): Check for a failure when loading,
6822 and reboot the board if necessary.
6823
6824 * gdb.base/setvar.exp(test_set): Handle multiple prints within
6825 a set of tests. Remove print.* from the patterns being checked.
6826
6827Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
6828
6829 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
6830 refer to gdb_spawn_id.
6831
6832 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
6833 longer used.
6834 * config/sparclet.exp: Ditto.
6835 * config/sparclet-old.exp: Ditto.
6836 * config/slite.exp: Ditto.
6837 * config/sim.exp: Ditto.
6838 * gdb.base/funcargs.exp: Ditto.
6839
6840 * lib/gdb.exp:Remove references to gdb_spawn_id.
6841 (gdb_expect): Move to remote.exp.
6842
6843Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
6844
6845 * config/monitor.exp: Detect the "Couldn't establish connection"
6846 message from GDB.
6847
6848Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
6849
6850 * gdb.base/bitfields.exp: Use runto instead of explicit
6851 gdb_run_cmd/gdb_expect sequences.
6852
6853 * gdb.base/break.exp(text_next_with_recursion): Add match for
6854 gdb_expect call.
6855
6856 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
6857 We also need to handle the "A program is being debugged already"
6858 prompt from gdb. Use gdb_test to set the baud rate.
6859
6860 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
6861 to 20000. Really. I mean it.
6862
6863Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
6864
6865 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
6866 fails. If suppress_flag is set, skip perror message about not
6867 being able to send to GDB.
6868 (send_gdb): If suppress_flag is set, don't try to send commands to
6869 GDB.
6870 (gdb_expect): If suppress_flag is set, always fail immediately.
6871 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
6872 (gdb_init): Call gdb_stop_suppressing_tests.
6873 (default_gdb_exit): Ditto.
6874 (default_gdb_start): Ditto.
6875
6876 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
6877 gdb_stop_suppressing_tests as appropriate.
6878 * gdb.base/break.exp: Ditto.
6879 * gdb.base/callfuncs.exp: Ditto.
6880 * gdb.base/commands.exp: Ditto.
6881 * gdb.base/exprs.exp: Ditto.
6882 * gdb.base/funcargs.exp: Ditto.
6883 * gdb.base/list.exp: Ditto.
6884 * gdb.base/recurse.exp: Ditto.
6885 * gdb.base/scope.exp: Ditto.
6886 * gdb.base/structs.exp: Ditto.
6887 * gdb.c++/inherit.exp: Ditto.
6888
6889Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
6890
6891 * config/vr4300.exp: New file.
6892
99707966
MC
6893 * gdb.*/*.exp: Call gdb_expect instead of expect.
6894
6895 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
6896
6897Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
6898
6899 * lib/gdb.exp(gdb_init): New function.
6900
6901 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
6902 for each individual variable set.
6903
6904 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
6905 name.
6906
6907 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
6908
6909 * gdb.base/scope.exp: Use gdb_test.
6910
6911 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
6912 aborting; the testsuite driver will do that for us (see
6913 gdb_finish). Also, use gdb_test in a few more places.
6914
6915Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
6916
6917 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
6918
6919Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
6920
6921 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
6922 and "add_tests" are not at the same address.
6923
6924Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
6925
6926 * gdb.base/ptype.exp: Use gdb_test.
6927
6928Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
6929
6930 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
6931 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
6932 left in. No longer expect them to fail.
6933
6934 * gdb.stabs/*.mt; Deleted, no longer used.
6935 * gdb.stabs/configure.in: Remove references to target makefile
6936 frags.
6937 * gdb.stabs/configure: Rebuilt.
6938
6939 * gdb.disasm/*.mt: Deleted, no longer used.
6940 * gdb.disasm/configure.in: Remove references to target makefile
6941 frags. Use "sh3.s" as the unique filename for this directory.
6942 * gdb.disasm/configure: Rebuilt.
6943
6944 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
6945 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
6946 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
6947
6948Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
6949
6950 * config/udi.exp: Use mondfe,name instead of remote_host.
6951
6952Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
6953
6954 * gdb.base/watchpoint.exp: Don't expect a failure when calling
6955 a function with a watchpoint enabled on the mn10200.
6956
6957 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
6958 before trying to create it!
6959
6960Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
6961
6962 * config/vx.exp: Use hostname instead of netport.
6963
6964 * config/vxworks.exp: New file.
6965
6966 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
6967
6968 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
6969 gdb before assuming everything worked. Send a ^C if a timeout
6970 occurs.
6971
6972 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
6973 $gdb_spawn_id directly.
6974 (gdb_run_cmd): Try _start as well as start. Use the target feature
6975 gdb,start_symbol as the symbol to start from when jumping.
6976
6977Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
6978
6979 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
6980 redundant) test.
6981
6982 * gdb.base/recurse.exp: Relax final value test for 'b' so that
6983 it doesn't lose for 16bit integer systems.
6984
6985Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
6986
6987 * gdb.fortran/types.exp: If the target doesn't support "double"
6988 data types, then expect "real" types to only be 4 bytes.
6989
6990 * gdb.c++/virtfunc.exp: Expect failure for virtual function
6991 call tests if the target doesn't support inferior function calls.
6992
6993 * gdb.base/printcmds.exp: Allow minor deviation in FP values
6994 in printf tests.
6995
6996Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
6997
6998 * gdb.base/help.exp: Disable "help set", "help show", and
6999 "help support". Simplify regexp for "help stack".
7000
7001 * gdb.base/default.exp: Set match_max to 5000 and the timeout
7002 to 60 seconds. Temporarily set match_max to 15000 around the
7003 "info copying" test.
7004
7005 * gdb.base/nodebug.exp: Don't try to do an inferior function
7006 call if the target doesn't support them.
7007 * gdb.base/printcmds.exp: Likewise.
7008 * gdb.base/setvar.exp: Likewise.
7009 * gdb.base/structs.exp: Likewise.
7010 * gdb.c++/templates.exp: Likewise.
7011 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
7012
7013 * gdb.base/recurse.exp: Enable for the mn10200.
7014
7015 * configure.in: Do configure gdb.stabs directory for *-*-elf
7016 targets.
7017 * configure: Rebuilt.
7018
7019 * gdb.base/break.exp: Check for gdb,noresults before testing
7020 exit status and/or results from the target.
7021 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
7022 * lib/gdb.exp: Remove old (now bogus) initialization of
7023 noinferior, noargs, noresults and nosignals.
7024
7025Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
7026
7027 * config/sh.exp: New file.
7028
7029 * config/slite.exp: Try to connect multiple times to the board
7030 before rebooting. Only send a "monitor run" if need_monitor_run
7031 is set.
7032
7033 * gdb.base/break.exp: Don't do the "stub continue" test if
7034 the target has gdb_stub set.
7035
7036 * gdb.base/callfuncs.exp: Increase the timeout.
7037
7038 * gdb.base/interrupt.exp: Don't even try to compile the testcase
7039 if the target has gdb,noinferiorio set.
7040
7041 * gdb.base/list.exp: Increase match_max to 10000 characters.
7042
7043 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
7044
7045 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
7046 target.
7047
7048 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
7049
7050Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
7051
7052 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
7053 trying to delete the copy of gdb. Catch the file delete so we
7054 don't die if the delete fails; also, the file should be copied to
7055 the host, not to the build.
7056
7057Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
7058
7059 * lib/gdb.exp(gdb_test): Surround the result pattern with
7060 parenthesis in case it contains multiple regexps separated
7061 with |.
7062
7063 * gdb.base/watchpoint.exp: Use gdb_test.
7064 * gdb.base/default.exp: Ditto.
7065
7066Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
7067
99707966 7068 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 7069
c906108c
SS
7070 * gdb.base/scope.exp: Use gdb_test.
7071 * gdb.c++/classes.exp: Ditto.
7072 * gdb.c++/inherit.exp: Ditto.
7073
7074Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
7075
7076 * gdb.base/crossload.exp: Don't use execute_anywhere, use
7077 remote_exec instead.
7078 * gdb.base/corefile.exp: Don't be ridiculous.
7079 * gdb.base/*.c: Add missing stub invocations.
7080
7081Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
7082
7083 * config/slite.exp: Miscellaneous fixes.
7084
7085 * lib/gdb.exp: Fix runto.
7086
7087 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
7088 the target.
7089
7090 * gdb.base/watchpoint.exp: Fix regexp.
7091
7092 * lib/gdb.exp(default_gdb_exit): Add a catch to the
7093 close and wait commands, as the descriptor may now be
7094 invalid. Always call "remote_close host".
7095
7096Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
7097
7098 Major rewrite for testsuite revision.
beb998c6 7099
c906108c
SS
7100 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
7101 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
7102 instead of relying on spawn_id to always contain a valid
7103 spawn id.
7104 (get_compiler_info): New procedure to build the ${binfile}.ci
7105 file, instead of replicating this in N different places.
7106 (gdb_compile): New procedure.
beb998c6 7107
c906108c
SS
7108 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
7109 appropriate arguments) instead of compile. Use gdb_test in a lot
7110 more places. Use send_gdb instead of send. Always run gdb_start
7111 at the start of a testcase, as this is no longer done magically.
7112
7113 config/*-gdb.exp: Rename without the -gdb suffix.
7114
7115 config/mips.exp: Use remote_close instead of exit_remote_shell.
7116 config/monitor.exp: Use target_info instead of looking at
7117 baud, timeout, etc.
7118 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
7119
7120Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7121
7122 * gdb.c++/templates.exp (test_ptype_of_templates),
7123 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
7124 Update expect patterns for destructors and assignment operators
7125 to match corresponding c-typeprint.c changes.
7126 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
7127 to destructor breakpoint test, GDB should be able to set the
7128 destructor breakpoint without specifying arguments.
7129
7130Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
7131
7132 * gdb.threads/pthreads.exp: Change result for failure to compile due
7133 to lack of pthreads runtime support from an error to simply an
7134 unsupported test, per dejagnu standards.
7135
7136Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7137
7138 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
7139 where GDB exits to reduce pattern match time.
7140 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
7141
7142 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
7143
dc96c6c7 7144Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7145
7146 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
7147 * gdb.base/default.exp: ditto.
7148 * gdb.base/nodebug.exp: ditto.
7149 * gdb.base/printcmds.exp: ditto.
7150 * gdb.base/ptype.exp: ditto.
7151 * gdb.base/setvar.exp: ditto.
7152 * gdb.base/structs.exp: ditto.
7153 * gdb.base/setshow.c: Guard against uninitialized values of argc.
7154
7155Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
7156
7157 * configure, */configure: Rebuild with autoconf 2.12.
7158
7159Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
7160
7161 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
7162 use new i*86-pc-linux*-gnu quads.
7163 * gdb.base/corefile.exp: Ditto.
7164 * gdb.base/signals.exp: Ditto.
7165 * gdb.base/sigall.exp: Ditto.
7166 * gdb.base/interrupt.exp: Ditto.
7167
7168 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
7169 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
7170 RedHat 4.0.
beb998c6 7171
c906108c
SS
7172 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
7173 linux. This allows the test case to at least compile on latest
7174 linux, but still not run due to missing the threads runtime library.
7175
7176Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7177
7178 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
7179 directory to search gdb directory. Accept and step over conditional
7180 stack alignment code. Consume $prompt in failure cases.
7181 Reset timeout to $oldtimeout instead of some arbitrary value.
7182 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
7183 timeout problems with infinite stack backtraces.
7184 * gdb.base/ptype.exp (ptype struct link, union tu_link):
7185 Accept function parameters for linkfunc member.
7186
7187Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
7188
7189 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
7190 (CXXFLAGS): Remove, unreferenced.
7191 (B_OPTIONS): Add for -B options and add code to initialize with
7192 previous -B options and also add -B option to pick up cross compiled
7193 runtime.
7194 (TARGET_INCLUDES): Add for -I options and add code to initialize when
7195 doing cross compiles.
7196 (target_alias): Declare global.
7197 (xgcc): Set variable to full path of gcc in build tree. Use findfile
7198 to verify that gcc exists in build tree, and if so set CC to that
7199 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 7200
c906108c
SS
7201Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
7202
7203 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
7204 ptype test for anonymous union. Fixup testcase to match
7205 current gcc debug output.
7206
7207Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
7208
7209 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
7210 force argument to an unsigned long type.
7211
7212Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
7213
7214 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
7215 tests and anonymous union print/ptype tests.
7216 * gdb.base/list.exp (test_forward-search): Increase timeout by
7217 5 minutes for the "search extremely long line" case.
7218 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
7219 completely optional and that the pass/fail messages use the command as
7220 the message if that third arg is a null string.
7221 (gdb_test_exact): Arrange that a null string pattern means match a
7222 null string output rather than any output, which might include random
7223 errors.
7224 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
7225 backtrace test.
7226 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
7227 always failing and failure is now exposed by gdb.exp changes.
7228
7229Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
7230
7231 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
7232 weren't being noted.
7233
7234Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7235
7236 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
7237 * gdb.stabs/weird.exp: Remove v_comb xfails.
7238
dc96c6c7 7239Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7240
7241 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
7242 list.exp scope.exp watchpoint.exp]
7243 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 7244
dc96c6c7 7245Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7246
7247 * config/monitor.exp: Increase download timeout to 1000 seconds.
7248
dc96c6c7 7249Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7250
7251 * config/m32r.exp: Increase timeout to 120 seconds.
7252
7253Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
7254
7255 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
7256 and accept older ordering as obsolescent gcc or gdb.
7257 * gdb.c++/templates.exp: Ditto.
7258 * gdb.c++/virtfunc.exp: Ditto.
7259
7260Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
7261
7262 * gdb.base/coremaker.c: Add code to mmap some data so we
7263 can check that it ends up in the core file.
7264 * gdb.base/corefile.exp: Add test to read mmapped data
7265 from core file.
7266
dc96c6c7 7267Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7268
7269 * config/m32r.exp: New file.
7270
7271Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
7272
7273 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
7274 that cflags can contains -gstabs, and work correctly for other tests.
7275
dc96c6c7 7276Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
7277
7278 * gdb.base/setshow.exp: New file, tests show and set.
7279 * gdb.base/setshow.c: New file, tests show and set.
7280 * gdb.base/help.exp: Add test for help set|show annotate.
7281 * gdb.base/default.exp: Add test for set|show annotate.
7282
7283Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
7284
7285 * testsuite/gdb.base/break.exp: Make backtrace from factorial
7286 errors unique.
7287 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
7288 explicitly.
7289
7290Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
7291
7292 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
7293 and width commands. This is done elsewhere.
7294 * (gdb_start): Don't call gdb_start_sim here. That's already
7295 done in gdb_load. This fixes lots of failures in default.exp.
7296
7297Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
7298
7299 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
7300 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
7301 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
7302 in the same we we treat other failures (since it may be an expected
7303 condition), rather than as an error.
7304 * gdb.base/signals.exp (test_handle_all_print): Revert back to
7305 old test format.
7306
7307Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
7308
7309 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
7310 (distclean maintainer-clean realclean): No need to remove files
7311 twice. Nuke the duplicates.
7312 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 7313 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
7314 Remove config.h along with other config files.
7315
7316Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
7317
7318 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
7319 "p func1 ()" and note that rests of tests are skipped.
7320 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
7321 setup_xfails for "print func2::coremaker_local".
7322 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
7323 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
7324 affected by the previous run test.
7325 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
7326 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
7327 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
7328 "pass int powerset tuple" and "pass modeless int powerset tuple".
7329 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
7330 "real write 4" and "real write 8".
7331 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
7332 setup_xfails for "print vs1 after tuple assign 2",
7333 "print \$i after tuple assign 2", and
7334 "print vs2 after tuple assign 2".
7335 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
7336 meaningful error message and return -1 so the caller can
7337 suppress further tests and avoid a cascade of errors.
beb998c6 7338
c906108c
SS
7339Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
7340
7341 * gdb.base/a1-selftest.exp: Tweak tests to account for new
7342 format for printing version.
7343 * gdb.base/default.exp: Ditto.
7344 * gdb.base/interrupt.exp: Fix problem with cascade of
7345 errors if child process dies while calling a function.
beb998c6 7346
c906108c
SS
7347Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
7348
7349 * Makefile.in (VPATH): Add
7350 * Makefile.in (Makefile, config.status): Fix rules so things get
7351 remade when necessary.
7352
7353Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
7354
7355 * Makefile.in (just-check): Add path to sibling expect dir
7356 to environment variable specified by RPATH_ENVVAR.
7357
7358Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
7359
7360 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
7361 (just-check): Add shared library paths for libstdc++, tk,
7362 tcl, bfd, and opcodes to the environment variable specified
7363 in RPATH_ENVVAR.
7364 * configure.in: Add support to recognize --enable-shared flag
7365 and generate correct value for RPATH_ENVVAR.
7366 * configure: Regenerated with autoconf.
7367
7368Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
7369
7370 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
7371 include all osf versions.
7372 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
7373 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
7374 when target is linux. When failing to build pthreads test
7375 executable, give more meaningful message.
7376 * gdb.threads/pthreads.c: Hpux also uses old definition of second
7377 arg for pthread_create.
beb998c6 7378
c906108c
SS
7379Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
7380
7381 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
7382 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
7383 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
7384 and -lpthreads (everybody else).
7385 (test_startup): Fail gracefully if threads are not supported.
7386 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
7387 "p/c array_index("abcdef",2)" when not gcc compiled.
7388 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
7389 "print func2::coremaker_local" when not gcc compiled.
7390 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
7391 "ptype on opaque struct tagname (statically)",
7392 "ptype on opaque struct tagname (dynamically) 1", and
7393 "ptype on opaque struct tagname (dynamically) 2"
7394 for not compiled with gcc.
7395 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
7396 backtrace when compiled with gcc.
beb998c6 7397 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
7398 than always return success.
7399
7400Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
7401
7402 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
7403
7404Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
7405
7406 * gdb.base/structs.exp: Undo last change.
7407
7408Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
7409
7410 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
7411 encapsulate all the steps/nexts done during self test, starting
7412 at main, and makes them less sensitive to optimization issues.
7413 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
7414 signal handler" test.
7415 * gdb.threads/pthreads.exp: Only run this for native configs.
7416 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
7417 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
7418 tests.
7419 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
7420 for "runto test_calls(void)" test.
beb998c6 7421
c906108c
SS
7422Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
7423
7424 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
7425 and don't expect address info in breakpoint confirmations.
7426
7427Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
7428
7429 * gdb.base/list.exp (test_forward_search): Increase timeout
7430 temporarily by 60 seconds for searching extremely long line,
7431 and then reset to old value when done. Increase expect input
7432 buffer to 10000.
7433
7434Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
7435
7436 * gdb.base/list.exp (test_forward_search): Fix to handle very
7437 long source line without overflowing expect's input buffer.
7438
7439Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
7440
7441 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
7442 "buffer_full".
7443
7444 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
7445 "buffer_full".
7446
7447 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
7448 "buffer_full".
7449
7450 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
7451 "buffer_full".
7452
7453Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
7454
7455 * configure.in (configdirs): Add gdb.threads.
7456 * configure: Regenerated with autoconf.
7457 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
7458 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
7459 * gdb.threads/configure: New, generated with autoconf.
beb998c6 7460
c906108c
SS
7461Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
7462
7463 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
7464
7465Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
7466
7467 * gdb.base/signals.exp (test_handle_all_print): Test separately for
7468 each signal's status in the output of "handle all print".
7469 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
7470 the \r\n sequence that immediately precedes the gdb prompt.
7471 * gdb.base/a1-selftest.exp: Save original timeout and restore
7472 after test.
7473
7474Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
7475
7476 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
7477 symbol.
7478
7479Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
7480
7481 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
7482
7483Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
7484
7485 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
7486 timeout by 60 seconds.
7487
7488Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
7489
7490 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
7491 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
7492 error return.
7493
7494Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
7495
7496 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
7497 gdb initialization, also report how long dejagnu waited. Restore
7498 old timeout before doing error return. Temporarily increase timeout
7499 by 3 minutes to allow for slow startups over heavy NFS use.
7500
7501Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
7502
7503 * lib/gdb.exp: Report timeout value for verbosity level 2.
7504 * config/gdbserver.exp: Ditto.
7505 * config/hppro.exp: Ditto.
7506 * config/mips-gdb.exp: Ditto.
7507 * config/monitor.exp: Ditto.
7508 * config/netware.exp: Ditto.
7509 * config/sim-gdb.exp: Ditto.
7510 * config/slite-gdb.exp: Ditto.
7511 * config/udi-gdb.exp: Ditto.
7512 * config/unix-gdb.exp: Ditto.
7513 * config/vx-gdb.exp: Ditto.
7514 * gdb.base/a1-selftest.exp: Ditto.
7515 * gdb.base/a2-run.exp: Ditto.
7516 * gdb.base/break.exp: Ditto.
7517 * gdb.base/corefile.exp: Ditto.
7518 * gdb.base/list.exp: Ditto.
7519 * gdb.base/recurse.exp: Ditto.
7520 * gdb.base/scope.exp: Ditto.
7521 * gdb.base/signals.exp: Ditto.
7522
7523Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7524
7525 * gdb.threads/Makefile.in (docdir): Removed.
7526
7527Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
7528
7529 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 7530 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 7531 @srcdir@.
beb998c6 7532 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
7533 autoconf 2.5 or higher.
7534 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
7535
7536Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
7537
7538 * configure: Regenerated.
7539 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
7540 avoid name clashes with SunOS headers.
7541
7542Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
7543
7544 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
7545
7546Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
7547
7548 * gdb.base/callfuncs.exp: Finish last change -- make sure the
7549 prototype information ends up in the compiler info file.
7550
7551Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
7552
7553 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
7554 attempting to regenerate it. Eliminate use of a temporary file
7555 and just generate the info file directly. Source it immediately,
7556 for consistency of use.
7557 * gdb.base/corefile.exp: Ditto
7558 * gdb.base/exprs.exp: Ditto.
7559 * gdb.base/funcargs.exp: Ditto.
7560 * gdb.base/langs.exp: Ditto.
7561 * gdb.base/list.exp: Ditto.
7562 * gdb.base/mips_pro.exp: Ditto.
7563 * gdb.base/nodebug.exp: Ditto.
7564 * gdb.base/opaque.exp: Ditto.
7565 * gdb.base/ptype.exp: Ditto.
7566 * gdb.base/scope.exp: Ditto.
7567 * gdb.base/setvar.exp: Ditto.
7568 * gdb.base/signals.exp: Ditto.
7569 * gdb.base/whatis.exp: Ditto.
7570 * gdb.c++/templates.exp: Ditto.
7571 * gdb.c++/virtfunc.exp: Ditto.
7572 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
7573 whether or not to add -lstdc++ to the compile command line args.
7574
7575Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7576
7577 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
7578 it got fixed by the recent lookup_minimal_symbol_by_pc change.
7579 Increase timeout, a lot of single stepping might be needed if the
7580 target has no hardware watchpoints.
7581
7582Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
7583
7584 * gdb.base/break.exp: Ignore compiler warnings when compiling
7585 break.c.
7586 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
7587 * gdb.base/default.exp: Add h8300 xfails. Handle messages
7588 from remote-sim.
7589 * gdb.base/exprs.exp: Add h8300 xfails.
7590 * gdb.base/funcargs.exp: Likewise.
7591 * gdb.base/nodebug.exp: Likewise.
7592 * gdb.base/printcmds.exp: Likewise.
7593 * gdb.base/ptype.exp: Likewise.
7594 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
7595 h8300 xfails.
beb998c6 7596 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
7597 on the h8300.
7598 * gdb.base/funcargs.c: Explicitly make last constant argument to
7599 call_after_alloca_subr an unsigned long type.
7600 * gdb.base/return.c: Include stdio.h.
7601
7602Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
7603
7604 * config/abug.exp: New file for the older Motorola Bug monitor
7605 that runs on the mvme13x series VME boards.
7606 * config/monitor.exp: Use the new config array for target settings
7607 if they exist.
7608
7609Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
7610
7611 * sim-gdb.exp: Make the SH simulator allocate less space when
7612 it is targeted.
7613
7614Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
7615
7616 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
7617 test.
7618
7619Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
7620
7621 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
7622 "rs6000-*-*" for "list function in include file" when gcc compiled.
7623 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
7624 for "p ctable1[120]".
7625 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
7626 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
7627 Remove setup_xfail for "rs6000-*-*" for
7628 "print 'scope0.c'::filelocal before run".
7629 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
7630 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
7631 since some compilers don't allow both options to be given
7632 on the same command line. Create object file and move it.
beb998c6 7633
c906108c
SS
7634Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
7635
7636 * gdb.base/corefile.exp: Always regenerate the core file, since
7637 we always regenerate the coremaker program. Detect special case
7638 where registers cannot be read from core file.
beb998c6 7639
c906108c
SS
7640Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
7641
7642 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
7643 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
7644 * gdb.c++/templates.exp: Only match on basename of file since
7645 some formats like xcoff don't encode directory information.
7646 * gdb.stabs/weird.exp: Use the right sed script for powerpc
7647 and rs6000 AIX xcoff targets.
7648 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
7649 * configure: Regenerate.
7650 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
7651 here, rather than in distclean.
beb998c6 7652
c906108c
SS
7653Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
7654
7655 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
7656 defined, and use it to compile the test case with -O2. The
7657 native compilation still uses no optimization.
7658 * gdb.base/mips_pro.c: Remove inline assembly code since
7659 it is compiled PIC by default, which results in assembler
7660 warnings that make the testsuite think the compilation
7661 was unsuccessful.
7662
7663Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
7664
7665 * gdb.c++/misc.exp: Add note to message for
7666 "print s.a for foo struct" that this is a known gcc 2.7.2
7667 and earlier bug.
7668
7669Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
7670
7671 * gdb.base/break.exp: Fix pattern for matching "Delete all
7672 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
7673 setup_xfail for deleting all breakpoints test. Fix various
7674 timeout messages to include "(timeout)".
7675 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
7676 for "p t_float_values2(3.14159,float_val2)".
7677 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
7678 for "continue to call2g" when gcc compiled.
7679 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
7680 "up to foo in langs.exp", "show language at foo in langs.exp",
7681 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
7682 and "show language at fsub in langs.exp".
7683 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
7684 "list line 1 in include file", "list message for lines past EOF",
7685 "list function in include file", "list list0.h:foo", and
7686 "list filename:function; nonexistant function".
7687 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
7688 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
7689 and "ptype t_char_array" to be for native cc only.
beb998c6 7690
c906108c
SS
7691Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
7692
beb998c6 7693 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
7694 setup_xfail for "print coremaker_bss", "print coremaker_ro",
7695 "print func2::coremaker_local", and "backtrace in corefile.exp".
7696
7697Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
7698
7699 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
7700 "bt in signals.exp". This problem only appears when running
7701 the testsuite, and then only intermittently.
7702
7703Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
7704
7705 * gdb.base/return.exp (return_tests): Differentiate between
7706 two tests of continuing.
7707
7708Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
7709
7710 * */Makefile.in (maintainer-clean): Remove config.log.
7711 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
7712 * gdb.c++/Makefile.in (PROGS): Add inherit.
7713 (clean): Remove *.ci.
7714
7715Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
7716
7717 * gdb.c++/misc.cc: Add test code from Mike Stump.
7718 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
7719
7720Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
7721
7722 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
7723 to "alpha-*-osf2*" and add comment.
7724 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
7725 setup_xfail for "step over execarg initialization" and
7726 "step over corearg initialization".
7727 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
7728 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
7729 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
7730 gcc compiled for "print coremaker_bss", "print coremaker_ro",
7731 "print func2::coremaker_local", and "backtrace in corefile.exp".
7732 * gdb.base/signals.exp: Build and source signals.ci.
7733 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
7734 to be for gcc only.
7735 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 7736
c906108c
SS
7737Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7738
7739 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
7740 Feb 3 procfs.c change.
7741
7742Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
7743
7744 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
7745
7746Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
7747
7748 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
7749 from dejagnu's apparent default of 10 seconds, which gives random
7750 results when running the tests over NFS on moderately loaded systems.
7751 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
7752
7753Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
7754
7755 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
7756 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
7757 result reports.
7758
7759Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
7760
7761 * configure.in (CY_AC_PATH_TCLH): Remove.
7762 * configure: Regenerate.
7763
7764Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
7765
7766 * gdb.c++/Makefile.in (clean): Add missing '{'.
7767
7768Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
7769
7770 * lib/gdb.exp: Provide a default value for noinferior.
7771
7772 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
7773 Load libgloss.exp.
7774
7775Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
7776
7777 * gdb.disasm/hppa.exp: Compile directly into an executable, use
7778 the executable, not the .o to run the tests from.
7779
7780Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
7781
7782 * gdb.base/break.exp: Don't test for program exit or exit status
7783 if $noresults if nonzero.
7784 * gdb.base/langs.exp: Likewise.
7785 * gdb.base/watchpoint.exp: Likewise.
7786
7787 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
7788 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
7789 trying to compile the testcase.
7790
7791Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
7792
7793 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
7794 * gdb.base/signals.exp (continue to handler): Likewise.
7795
7796Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
7797
7798 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
7799
7800 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
7801
7802Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7803
7804 * gdb.base/corefile.exp: Recognize "not found" as failure
7805 when trying to determine if a core file was generated.
7806 If no core file was generate the first time, try again without
7807 the ulimit -c to work around braindamaged shells.
7808
7809Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
7810
7811 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
7812 [] tests with "test" and enclose string in quotes.
7813 * gdb.stabs/configure: Rebuild
beb998c6 7814
c906108c
SS
7815Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
7816
7817 Changes in sync with expect:
7818 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
7819 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
7820 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
7821 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
7822 argument to AC_REQUIRE.
7823 * configure: Regenerated.
7824
7825Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
7826
7827 * gdb.base/corefile.exp: When generating a core, discard any
7828 error messages about ulimit not found and the "core dumped"
7829 message from the shell that runs the coredumper.
7830
7831Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
7832
7833 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
7834
7835 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
7836 which sed script to run. Expect failure for v_comb test
7837 on PA targets too.
beb998c6 7838
c906108c
SS
7839Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
7840
7841 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
7842 "print func2::coremaker_local" and for "backtrace in corefile.exp"
7843
7844Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
7845
7846 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
7847 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
7848 "sparc-sun-solaris*" xfails for "p v_comb".
7849 * lib/gdb.exp (default_gdb_start): Fix typo.
7850 * gdb.base/corefile.exp: Allow "Core was generated by ..."
7851 messages to not include the full program name that caused
7852 the core dump since some systems (such as solaris) apparently
7853 truncate this path to about 80 characters.
7854 When generating a core file first try increasing the core file
7855 size limit to unlimited since some systems may default it to
7856 zero, and it is harmless to try it. Move the test for failing
7857 to generate a core file to where it will actually get executed.
7858 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
7859 new gdb result from g++ debug info improvements and make old
7860 pattern obsolescent. Also account for size_t differences
7861 (may be int or long).
7862 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
7863 initialization before function call is placed in the delay slot
7864 and thus appears to be skipped over by commands such as "next".
7865
7866Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
7867
7868 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
7869
7870Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
7871
7872 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
7873 input source file; fix code to compile test to deal with this
7874 convention.
7875 * gdb.c++/*.exp: Likewise.
7876
7877Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
7878
7879 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
7880 "bt in signals.exp".
7881
7882Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
7883
7884 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
7885 "step over execarg initialization" and
7886 "step over corearg initialization".
7887
7888Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
7889
7890 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
7891 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
7892
7893Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
7894
7895 From Rob Savoye (rob@poseidon.cygnus.com)
7896 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
7897 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
7898 configure.in}, gdb.disasm/{Makefile.in, configure.in},
7899 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
7900 configure.in}: Major reworking for autoconfig.
7901 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
7902 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
7903 New files.
7904 * config/unix-gdb.exp: Make GDB global.
7905 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
7906 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
7907 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
7908 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
7909 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
7910 term.exp, twice.exp, watchpoint.exp, whatis.exp},
7911 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
7912 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
7913 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
7914 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
7915 pr-8136.exp, result.exp, string.exp, tuples.exp},
7916 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
7917 to returns as necessary, arrange for test to compile own testcase
7918 executable.
7919 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 7920
c906108c
SS
7921Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
7922
7923 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
7924 clear_xfail at end of test which might not call either pass or fail.
7925 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
7926 "backtrace through signal handler".
7927
7928Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7929
7930 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
7931 continuing from a job control stop signal.
7932 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
7933
7934Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
7935
7936 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
7937 * gdb.base/corefile.exp: Likewise.
7938 * gdb.base/funcargs.exp: Likewise.
7939
7940Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
7941
7942 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
7943 * config/monitor.exp: Add support for setting baud rate.
7944
7945Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
7946
7947 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
7948 i*86-*-linux* xfails for "backtrace through signal handler".
7949 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
7950 "print func2::coremaker_local".
7951 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
7952 alpha-dec-osf2* xfail for
7953 "delete all breakpoints when none".
7954
7955Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
7956
7957 * gdb.base/break.exp: Change test that deletes all breakpoints
7958 when no user breakpoints are installed. A post 4.15 change
7959 causes gdb to no longer prompt in this case.
7960
7961Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
7962
7963 * gdb.base/return.exp (return_tests): Change xfail for test
7964 "correct value returned double test" to stop xfailing at
7965 Solaris 2.5. Apparently the bug has been fixed.
7966
7967Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
7968
7969 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
7970 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
7971
7972Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
7973
7974 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
7975 * gdb.disasm/hppa.s: Corresponding changes.
7976
7977Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
7978
7979 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
7980 makefile fragment.
7981 * config/mt-hpux: Deleted.
7982
7983Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
7984
beb998c6 7985 * Many files: When warning about suppressed tests due to a
c906108c
SS
7986 nonexistant test binary, avoid incrementing the warning count.
7987
7988Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
7989
7990 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 7991
c906108c
SS
7992Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7993
7994 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
7995 "sparc-*-solaris2*".
7996
7997Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7998
7999 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
8000 Add global and local variables and initialize them.
8001 * gdb.base/corefile.exp: Test correct mapping of corefile sections
8002 by printing variables. Remove rs6000 and powerpc xfails, BFD now
8003 extracts the file name and terminating signal from the core file.
8004 * TODO: Remove note about tests for correct mapping of corefile.
8005 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
8006 from optimizing it away.
8007 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
8008 handles common blocks.
8009
8010Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
8011
8012 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
8013 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
8014
8015Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
8016
8017 * Makefile.in (maintainer-clean): New target, synonym for
8018 realclean.
8019 * gdb.base/Makefile.in (maintainer-clean): Likewise.
8020 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
8021 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
8022 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
8023 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
8024 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
8025
8026Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
8027
8028 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
8029 xfails when not gcc compiled for "print foo::funclocal".
8030 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
8031 "print foo::funclocal at foo",
8032 "print 'scope1.c'::foo::funclocal at foo",
8033 "print foo::funclocal_bss at foo",
8034 "print 'scope1.c'::foo::funclocal_bss at foo",
8035 "print foo::funclocal_ro at foo",
8036 "print 'scope1.c'::foo::funclocal_ro at foo",
8037 "print bar::funclocal at foo" and
8038 "print 'scope1.c'::bar::funclocal at foo".
8039 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
8040 gcc compiled for "print foo::funclocal at bar".
8041 Expand all messages to ensure that they identify that
8042 the test is at bar().
8043 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
8044 gcc compiled for:
8045 "ptype on opaque struct pointer (statically)",
8046 "ptype on opaque struct tagname (statically)",
8047 "ptype on opaque struct pointer (dynamically) 1",
8048 "ptype on opaque struct tagname (dynamically) 1",
8049 "ptype on opaque struct pointer (dynamically) 2" and
8050 "ptype on opaque struct tagname (dynamically) 2
8051 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
8052 gcc compiled for:
8053 "p datalocal"
8054 "whatis datalocal",
8055 "ptype datalocal",
8056 "p bsslocal",
8057 "whatis bsslocal", and
8058 "ptype bsslocal".
8059 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
8060 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
8061 when not gcc compiled.
8062 * gdb.base/funcargs.exp (float_and_integral_args): Add
8063 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
8064 compiled.
8065 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
8066 "backtrace from call6a" when not gcc compiled.
8067 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
8068 "backtrace from call7a" when not gcc compiled.
8069 * gdb.base/callfuncs.exp (do_function_calls):
8070 Add "hppa*-*-hpux*" xfail when not gcc compiled for
8071 "p t_char_array_values(char_array_val2,char_array_val1)",
8072 "p t_char_array_values(char_array_val1,char_array_val2)",
8073 "p t_char_array_values("carray 1","carray 2")",
8074 "p t_char_array_values("carray 1",char_array_val2)",
8075 "p t_char_array_values(char_array_val1,"carray 2")",
8076 "p sum_args(1,{2})",
8077 "p sum_args(2,{2,3})",
8078 "p sum_args(3,{2,3,4})",
8079 "p sum_args(4,{2,3,4,5})"
8080 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
8081 "backtrace in corefile.exp" when not gcc compiled.
8082
8083Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8084
8085 * gdb.base/signals.exp: Rewrite `handle all print' test as
8086 a procedure. Accept blanks or TABs as whitespace, increase
8087 timeout and expect input buffer size for the large output
8088 from the command. Remove "i*86-*-bsdi2.0" xfail.
8089
8090Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8091
8092 * gdb.base/setvar.exp: Add new testcases for truncation when
8093 assigning invalid values to bitfields.
8094
8095Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
8096
beb998c6 8097 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
8098 mips-sgi-irix* xfail for
8099 "call inferior func with struct - returns char *"
8100 and fix test so that an optional (unsigned char *) cast is
8101 accepted in the result.
8102
8103Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
8104
8105 * gdb.base/funcargs.exp (float_and_integral_args): Remove
8106 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
8107 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
8108 * gdb.base/signals.exp: Remove duplicate "handle all print" test
8109 that accidentally got checked in.
8110
8111Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
8112
beb998c6 8113 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
8114 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
8115 compiled test.
8116 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
8117 Add mips-sgi-irix5* xfail for not gcc compiled.
8118 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
8119 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
8120 "p top", "whatis top", "p middle", and "whatis middle".
8121 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
8122 "whatis signed char" for not gcc compiled.
8123 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
8124 "set variable signed char=-1 (-1)" and
8125 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
8126 * gdb.base/funcargs.exp (float_and_integral_args):
8127 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
8128 Add mips-sgi-irix* xfail when not gcc compiled for
8129 "continue to call2b".
8130 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
8131 "continue to call2g".
8132 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
8133 "backtrace from call6a"
8134 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
8135 "backtrace from call7k".
8136 Add mips-sgi-irix5* xfail when not gcc compiled for
8137 "backtrace from call7a".
8138 (localvars_after_alloca): Fix gdb_test cmds for
8139 "print * after runto ...".
8140 Remove rs6000-*-* xfails for
8141 "print i after runto localvars_after_alloca" and
8142 "print l after runto localvars_after_alloca"
8143 for all compilers.
8144 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
8145 when not compiled with gcc, for:
8146 "print signed char == (minus)",
8147 "print signed char != (minus)",
8148 "print signed char < (minus)",
8149 "print signed char > (minus)".
8150 * gdb.base/callfuncs.exp (do_function_calls):
8151 Add mips-sgi-irix* xfail, when compiled with native compiler, for
8152 "call inferior func with struct - returns char *".
beb998c6 8153 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
8154 "correct value returned double test" to include Solaris 2.4.
8155 * gdb.base/funcargs.exp (float_and_integral_args):
8156 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 8157
c906108c
SS
8158Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8159
8160 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
8161 enumeration bitfields if compiling with GNU C.
8162 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
8163 to empty' prompt.
8164
8165Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
8166
8167 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
8168 test for PRO targets.
8169
8170 * gdb.base/funcargs.exp: Avoid ever setting more than 8
8171 breakpoints in the inferior at any given time by making
8172 two groups of breakpoints for call2*, call6* and call7*
8173 tests.
8174
8175Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8176
8177 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
8178 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
8179 from optimizing it away.
8180 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
8181 "call inferior func with struct".
8182
8183Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
8184
8185 * configure.in: Only configure gdb.chill for particular targets.
8186
8187Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
8188
8189 * gdb.base/Makefile.in: Add action to .c.o transformation
8190 rule that generates a .ci file for each .o file and remove
8191 explicit .c.o rules except for callfuncs.o.
8192 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
8193 generates a .ci file for each .o file and remove explicit
8194 .cc.o rules.
8195 (clean): Remove *.tmp *.ci files.
8196 (EXECUTABLES): Remove templ-info.exp.
8197 * gdb.base/compiler.c: New file.
8198 * gdb.c++/compiler.cc: New file
8199 * gdb.base/scope.exp: Source gdb.base/scope.ci.
8200 Change rs6000-*-* xfail for
8201 "print 'scope0.c'::filelocal_ro" and
8202 "print 'scope1.c'::filelocal" and
8203 "print 'scope1.c'::filelocal_bss" and
8204 "print 'scope1.c'::filelocal_ro" and
8205 "print 'scope1.c'::foo::funclocal" and
8206 "print 'scope1.c'::foo::funclocal_ro" and
8207 "print 'scope1.c'::bar::funclocal" and
8208 "print 'scope0.c'::filelocal_ro" and
8209 "print 'scope1.c'::filelocal at foo" and
8210 "print 'scope1.c'::filelocal_bss at foo" and
8211 "print 'scope1.c'::filelocal_ro at foo" and
8212 "print 'scope1.c'::foo::funclocal at foo" and
8213 "print 'scope1.c'::foo::funclocal_bss at foo" and
8214 "print 'scope1.c'::foo::funclocal_ro at foo" and
8215 "print 'scope1.c'::bar::funclocal at foo" and
8216 "print 'scope0.c'::filelocal_ro" and
8217 "print 'scope1.c'::filelocal" and
8218 "print 'scope1.c'::filelocal_bss" and
8219 "print 'scope1.c'::filelocal_ro" and
8220 "print 'scope1.c'::foo::funclocal" and
8221 "print 'scope1.c'::foo::funclocal_bss" and
8222 "print 'scope1.c'::foo::funclocal_ro" and
8223 "print 'scope1.c'::bar::funclocal" and
8224 "print 'scope1.c'::bar::funclocal_bss"
8225 to only be xfail'd when not compiled with gcc.
beb998c6 8226 Add rs6000-*-* xfail for
c906108c
SS
8227 "print 'scope0.c'::filelocal_bss before run"
8228 when compiled with gcc.
8229 (test_at_main): Add rs6000-*-* xfail for
8230 "print filelocal_ro in test_at_main"
8231 when compiled with gcc.
8232 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 8233 Add rs6000-*-aix* xfail for
c906108c
SS
8234 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
8235 "ptype t_char_array", not compiled with gcc.
8236 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
8237 xfail for "list foo (in include file)" when gcc compiled.
8238 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
8239 (integral_args): Add rs6000-*-* xfail for
8240 "run to call0a" if not compiled with gcc.
8241 (unsigned_integral_args): Add rs6000-*-* xfail for
8242 "run to call1a" if not compiled with gcc.
8243 (float_and_integral_args): Add rs6000-*-* xfail for
8244 "run to call2a" if not compiled with gcc and for
8245 "continue to call2b" for any compiler.
8246 Add rs6000-*-* xfail to
8247 "print f1 after run to call2a" for gcc compiled.
8248 (discard_and_shuffle): Add rs6000-*-* xfail for
8249 "run to call6a".
8250 (shuffle_round_robin): Add rs6000-*-* xfail for
8251 "backtrace from call7a" if not compiled with gcc.
8252 Add rs6000-*-* xfail for
8253 "backtrace from call7b" if compiled with gcc.
8254 (call_after_alloca): Add rs6000-*-* xfail for
8255 "print c in call_after_alloca" and
8256 "print s in call_after_alloca" and
8257 "backtrace from call_after_alloca_subr"
8258 if not compiled with gcc.
8259 (localvars_in_indirect_call): Add rs6000-*-* xfail for
8260 "print c in localvars_in_indirect_call" and
8261 "print c in localvars_in_indirect_call" and
8262 "backtrace in indirectly called function" and
8263 "stepping into indirectly called function"
8264 if not compiled with gcc.
8265 (localvars_after_alloca): Add rs6000-*-* xfail for
8266 "print c after runto localvars_after_alloca" and
8267 "print s after runto localvars_after_alloca" and
8268 "print i after runto localvars_after_alloca" and
8269 "print l after runto localvars_after_alloca"
8270 for all compilers.
8271 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
8272 than whatis-info.exp.
8273 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
8274 than opaque-info.exp.
8275 Setup rs6000-*-* xfail for
beb998c6 8276 "ptype on opaque struct pointer (statically)" and
c906108c
SS
8277 "ptype on opaque struct pointer (dynamically)" when
8278 not compiled with gcc.
8279 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
8280 rather than callf-info.exp.
8281 (do_function_calls): Add clear_xfail for rs6000-*-* for
8282 "p t_float_values2(3.14159,float_val2)". Seems to work
8283 fine there, both with xlc and gcc. Need to find out what
8284 it is doing right and fix other platforms.
8285 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
8286 "call inferior func with struct - returns int",
8287 "call inferior func with struct - returns long",
8288 "call inferior func with struct - returns float",
8289 "call inferior func with struct - returns double",
8290 "call inferior func with struct - returns char *",
8291 but only if not gcc compiled (presumes xlc compiled).
8292 Change rs6000-*-* xfails for
8293 "call inferior func with struct - returns char" and
8294 " call inferior func with struct - returns short" to only
8295 xfail if not using gcc.
8296 (clean mostlyclean): Remove *.ci and *.tmp files.
8297 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
8298 than templ-info.exp.
8299 * gdb.base/langs.exp: Source gdb.base/langs.ci.
8300 Add rs6000-*-* xfail for "up to foo in langs.exp"
8301 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
8302 when not gcc compiled.
beb998c6 8303
c906108c
SS
8304Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8305
8306 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
8307 * gdb.base/corefile.exp: Likewise.
8308 * gdb.base/list.exp: Likewise.
8309 * gdb.base/scope.exp: Likewise.
8310 * gdb.base/siganls.exp: Likewise.
8311
8312 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
8313 compiler output.
8314 * gdb.base/whatis.exp: Likewise.
8315
8316Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
8317
8318 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
8319 failure (opcode table has been fixed to match reality).
8320
8321Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
8322
8323 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
8324 "call inferior func with struct - returns char",
8325 "call inferior func with struct - returns short"
8326
8327 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
8328 "print 'scope0.c'::filelocal at main",
8329 "print 'scope0.c'::filelocal_bss in test_at_main",
8330 "print 'scope0.c'::filelocal at foo",
8331 "print 'scope0.c'::filelocal_bss in test_at_foo",
8332 "print 'scope0.c'::filelocal at bar",
8333 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 8334
c906108c
SS
8335 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
8336 in source file 1". This bug seems to have been fixed with both
8337 gcc and native cc (was native assembler bug?).
8338
8339Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
8340
8341 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
8342 "backtrace through signal handler" to "i*86-*-sysv4*".
8343 * gdb.base/signals.exp: Add xfail for "'next' behaved as
8344 continue" case. Add "known SVR4 bug" to fail message.
8345 Add "i*86-*-bsdi2.0" xfail for "handle all print".
8346 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
8347 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
8348 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
8349 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
8350 "up to foo in langs.exp", "show language at foo in
8351 langs.exp", "up to cppsub_ in langs.exp", "show
8352 language at cppsub_ in langs.exp", "up to fsub in
8353 langs.exp", and "show language at fsub in langs.exp".
8354 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
8355 "bactrace in corefile.exp".
8356 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
8357 "call inferior function with struct - returns float" and
8358 "call inferior function with struct - returns double".
beb998c6 8359
c906108c
SS
8360Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
8361
8362 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
8363 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
8364 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
8365 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
8366
8367Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
8368
8369 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
8370 (or overriden) "CHILL" macro rather then bare "gcc".
8371 Also look for ../../gcc/xgcc since that is what we will
8372 actually need, not "Makefile". Remove following assignment
8373 of CHILL to CHILL_FOR_TARGET because that results in
8374 recursive definition.
8375
8376Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
8377
8378 * gdb.base/corefile.exp: Change xfail for backtrace in
8379 corefile.exp from linuxaout to all linux.
8380 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
8381 cases where we miss the breakpoint at the signal handler
8382 for some reason. Setup xfail for linuxoldld/linuxaout and
8383 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
8384 hitting SIGURG breakpoint.
8385 * gdb.base/signals.exp: Setup xfail for "next" acting like
8386 continue to add linuxoldld. Setup xfail for all linux for
8387 "next to handler in signals_tests_1", "backtrace in
8388 signals_tests_1", "continue to func1", "pass SIGUSR1",
8389 and continue to handler".
8390
8391Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
8392
8393 * Update all FSF addresses except those in COPYING* files.
8394
8395Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
8396
8397 * gdb.base/a2-run.exp: Change messages to be more explicit about
8398 the status of args, and quote binfile in results.
8399
8400Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
8401
8402 * gdb.base/callfuncs.exp: Add tests for passing structs to
8403 inferior functions and return various types.
8404 * gdb.base/callfuncs.c: Add functions to receive a struct
8405 and return a member of the struct, in various types.
8406
8407Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8408
8409 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
8410
8411Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
8412
8413 * config/vxworks29k.exp: New file, sources vxworks.exp.
8414
8415Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8416
8417 * config/gdbremote.exp: New file. Testing framework using
8418 gdbserver.
8419
8420Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
8421
8422 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
8423 "call function when asleep" and "send end of file".
8424 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
8425 for "backtrace in corefile.exp".
8426 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
8427 for "backtrace through signal handler".
8428 * gdb.base/corefile.exp: Make sure we actually generate a core file
8429 before trying the core tests. Some systems allow the user to suppress
8430 generation of core files and default to that (linux for example).
8431 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
8432 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
8433
8434Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8435
8436 * gdb.threads: New directory with some crude multi-threaded
8437 gdb tests (step.exp and step2.exp).
8438 * config/mt-lynx (STEP_EXECUTABLE): Define.
8439 (THREADFLAGS): Define.
8440
8441Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
8442
8443 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
8444
8445 * gdb.base/signals.exp: Disable whole file for lynx until
8446 further notice.
8447
8448 * gdb.base/signals.exp: xfail test where "next" acts like
8449 "continue" for lynx.
8450
8451 * gdb.base/interrupt.exp: xfail test for calling function while
8452 inferior is asleep for lynx.
8453
8454 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
8455 than one cr-lf after each command.
8456
8457Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8458
8459 * configure.in: Reinstate setting of stabsdirs variable, fix
8460 typo in setting up configdirs for native builds.
8461
8462 * gdb.base/return.exp: Fix typo in return double test.
8463 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
8464 compiler from optimizing them away.
8465
8466Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
8467
8468 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
8469 sequences to be echo'd by gdb when using gdb_test.
8470 * gdb.chill/chexp.exp: Likewise.
8471 * gdb.fortran/exprs.exp: Likewise
8472
8473Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
8474
8475 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
8476 after the inferior gdb has started.
8477
8478 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
8479 after each command.
8480 * gdb.base/funcargs.exp: Likewise.
8481 * gdb.base/gdbvars.exp: Likewise.
8482 * gdb.base/interrupt.exp: Likewise.
8483 * gdb.base/list.exp: Likewise.
8484 * gdb.base/watchpoint.exp: Likewise.
8485 * gdb.c++/demangle.exp: Likewise.
8486 * gdb.c++/inherit.exp: Likewise.
8487 * gdb.chill/chexp.exp: Likewise.
8488 * gdb.fortran/exprs.exp: Likewise.
8489
8490 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
8491 test if we can't handle IO to/from the inferior.
8492
8493 * gdb.c++/misc.exp: Always check for a program already being
8494 started after sending a "run" command to gdb.
8495
8496 * gdb.base/twice.exp: Start with a fresh gdb.
8497
8498 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
8499 only depend on gdb's expression code, not the chill runtime.
8500
8501 * gdb.base/return.c: Put return values into variables so we
8502 can have gdb print them rather than depending on the program
8503 to print them.
8504 * gdb.base/return.exp: Corresponding changes.
8505
8506 * lib/gdb.exp: Provide default value for noinferiorio.
8507 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
8508 the inferior.
8509
8510 * gdb.base/break.exp: Always check for a program already being
8511 started after sending a "run" command to gdb.
8512 (text_next_with_recursion): Don't check the output from the
8513 program's printf statement. Instead just make sure the program
8514 exited.
8515
8516 * gdb.base/commands.exp: Protect tests which need arguments with
8517 $noargs conditionals.
8518
8519Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8520
8521 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
8522 of structure member arrays to match gdb/valops.c:value_addr change.
8523
8524Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
8525
8526 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
8527 cases.
8528
8529Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
8530
8531 * configure.in (configdirs): Remove gdb.chill from default list
8532 of subdirs and then add it back in only if doing a native build.
8533 The current chill compiler does not yet work in any cross build.
8534 * Revert all signal changes from Jul 6.
8535 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8536 for sh-hms targets, allowing these tests to link, with no other
8537 changes. Testing is suppressed by setting "nosignals" in site.exp.
8538
8539Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
8540
8541 * configure.in (signaldirs): Define and add to configdirs for all
8542 targets except some specific ones that are known to not support signals.
8543 Also clean up formatting.
8544 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
8545 (signals, sigall): Remove rules to build.
8546 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
8547 Moved to new gdb.signals directory.
8548 * gdb.signals: New test directory.
8549 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
8550 signals.c signals.exp}: New or moved files.
8551
8552Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
8553
8554 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
8555
8556Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
8557
8558 * gdb.base/return.exp: Xfail `return double' test failure
8559 on at least Solaris 2.3 and handle future/past versions on
8560 a case by case basis as appropriate. Also update message
8561 to include i*86 failures.
8562
8563Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8564
8565 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
8566
8567 * lib/gdb.exp: Fix comment which erroneously identified
8568 gdb_file_cmd as gdb_load (the 19 May change was in fact to
8569 gdb_file_cmd not gdb_load).
8570 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
8571
8572 * gdb.base/setvar.exp: Make test names consistent between pass and
8573 fail cases. Use gdb_test more.
8574
8575Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8576
8577 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
8578
8579Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8580
8581 * gdb.base/help.exp: Fix expected help string for `show commands'.
8582
8583Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
8584
8585 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
8586
8587 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
8588 of a text section.
8589
8590Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
8591
8592 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
8593 that loop eventually terminates. Fix Connection refused logic so
8594 that testsuite will expire nicely.
8595
8596Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
8597
8598 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
8599 config/rom68k.exp: New tcl glue for the appropriate monitors.
8600 These all just end up calling monitor.exp.
8601 * config/monitor.exp (gdb_target_monitor): Handle `Connection
8602 refused' by retrying. Cleanup some timeout issues.
8603 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
8604 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
8605 callers don't have to set/restore global timeout variable.
8606
8607 * The following set of changes centralizes management of the global
8608 timeout variable. This way, it can be set in one target dependent
8609 place instead of dozens of places scattered throughout the test suite.
8610 If you need to lengthen a timeout, then you should either set timeout
8611 in one of the config/{target}.exp files, or multiply it by a factor.
8612 Setting it to an absolute value is always going to lose for some
8613 targets.
8614 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
8615 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
8616 * gdb.base/funcargs.exp: Don't set timeout.
8617 * gdb.base/list.exp (test_forward_search): Only use local timeout.
8618 * gdb.base/printcmds.exp (test_print_string_constants
8619 test_print_array_constants): Don't set timeout.
8620 * gdb.base/ptype.exp: Don't set timeout.
8621 * gdb.base/recurse.exp: Don't set timeout.
8622 * gdb.base/return.exp: Don't set timeout.
8623 * gdb.base/watchpoint.exp: Don't set timeout.
8624 * gdb.c++/classes.exp (do_tests): Don't set timeout.
8625 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
8626
8627Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
8628
8629 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
8630
8631Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8632
8633 * lib/gdb.exp: Disable chill tests for irix5.
8634
8635Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8636
8637 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
8638 each test pass or fail.
8639
8640Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8641
8642 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
8643 xlc not gcc.
8644
8645Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
8646
8647 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
8648
8649Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
8650
8651 * config/est.exp: Fix copyright and comments. Remove dead code.
8652 Use targetname, serialport and baud variables instead of fixed
8653 constants.
8654 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
8655 * config/cpu32bug.exp: New file to support cpu32bug monitors.
8656
8657Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8658
8659 * gdb.base/watchpoint.exp: Don't run
8660 test_watchpoint_triggered_in_syscall for sunos.
8661
8662Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8663
8664 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
8665 they don't seem to exist. Do include stdio.h.
8666
8667Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8668
8669 * gdb.base/a1-selftest.exp: Add alpha xfail.
8670
8671Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8672
8673 * gdb.base/watchpoint.c (main): Prompt before calling read().
8674 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
8675 Revise accordingly. Remove cruft about sending "123" several
8676 times, until it gets noticed. Clean up the "print buf[0]" stuff
8677 so that it passes or fails, and waits for prompts in the usual way.
8678
8679Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8680
8681 * gdb.base/recurse.exp: Fix comment.
8682
8683 * TODO: Remove item about printing variables in nodebug.exp. Add
8684 item about enabling tests which are only run on some targets.
8685
8686 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
8687 fail, make test names unique, use new gdb_test convention
8688 regarding pattern, use gdb_test more, etc.).
8689
8690 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
8691 fail, make test names unique, etc.).
8692
8693Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8694
8695 * gdb.base/nodebug.c: Change return type of top and middle to
8696 short.
8697 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
8698 are fixed by the recent mdebugread.c changes. Allow `short ()'
8699 as type for top and middle.
8700
8701Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8702
8703 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
8704 nearly as I can tell, the whole thing was an accident in Stu's
8705 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
8706 to replace a send/expect pair with gdb_test, but ended up only
8707 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
8708 of 30 Mar 1995 took care of it, but left this vestigial comment
8709 which I am now nuking.
8710
8711Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8712
8713 * gdb.base/break.exp: Look for different line number for
8714 breakpoint at main depending on usestubs.
8715
8716Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8717
8718 * gdb.base/list.exp: Adjust some alternate expect patterns to
8719 match recent list0.c change. Add alternate expect pattern for
8720 output from `list default lines around main' for optimizing
8721 compilers.
8722
8723Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8724
8725 * lib/gdb.exp: If nosignals is not set, set it to 0.
8726
8727Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
8728
8729 * config/slite-gdb.exp: Responds to load symbol table prompt.
8730 * gdb.base/break.exp: Adjust line number, fix rerun.
8731 * gdb.base/langs0.c: Add #ifdef usestubs.
8732
8733Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
8734
8735 * gdb.base/list.exp: Adjust line contents after adding new lines in
8736 list0.c. Also fix a syntax error.
8737
8738 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
8739 * gdb.base/break.exp: ditto.
8740 * gdb.base/list.exp: ditto.
8741 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
8742 * gdb.base/run.c: ditto.
8743 * gdb.base/list0.c: ditto.
8744 * gdb.base/funcargs.c: ditto.
8745
8746Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
8747
8748 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
8749 $targetname, $serialport and $baud instead of hardwired variables.
8750 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
8751 target doesn't support signals.
8752
8753Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
8754
8755 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
8756
8757Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8758
8759 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8760 Don't rely on the value of an auto variable before it has been
8761 initialized. Use gdb_test more.
8762
8763Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8764
8765 * lib/gdb.exp (default_gdb_version): A version number must start
8766 with a digit, but other than that contains all characters up to
8767 the first whitespace character.
8768
8769Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8770
8771 * gdb.base/commands.exp (breakpoint_command_test): New tests.
8772
8773Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8774
8775 * gdb.c++/*.exp: Warn if executable does not exist. The original
8776 reason for skipping the warning was that configure.in sometimes
8777 intentionally skipped building the executables but the tcl code
8778 had no way of knowing. That (a) was always bogus with respect to
8779 error handling, (b) is no longer true (right now there is no way
8780 to skip C++ tests).
8781
8782 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
8783
8784Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8785
8786 * gdb.base/list.exp: Add expect patterns for output from
8787 SunPRO compiled executables.
8788 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
8789 types.
8790
8791Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8792
8793 * gdb.base/break.exp (test_next_with_recursion): Accept any line
8794 number (we are already testing that the correct source line text
8795 gets printed).
8796
8797 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
8798 that is what is intended, but something needed to be done to get
8799 sunos4 native working again.
8800
8801 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
8802
8803 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
8804 apparently went with a (very) old xfail.
8805
8806Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
8807
8808 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
8809 runto_main is a proc in gdb.exp that will do 'step' for target use
8810 stubs.
8811 * gdb.base/exprs.exp: ditto.
8812 * gdb.base/interrupt.exp: ditto.
8813 * gdb.base/opaque.exp: ditto.
8814 * gdb.base/printcmds.exp: ditto.
8815 * gdb.base/ptype.exp: ditto.
8816 * gdb.base/scope.exp: ditto.
8817 * gdb.base/setvar.exp: ditto.
8818 * gdb.base/signals.exp: ditto.
8819 * gdb.base/twice.exp: ditto.
8820 * gdb.c++/classes.exp: ditto.
8821 * gdb.c++/inherit.exp: ditto.
8822 * gdb.c++/templates.exp: ditto.
8823 * gdb.base/break.exp: no run and hit main for stubs. Change line
8824 numbers for breakpoints and info breakpoint.
8825 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
8826 breakpoint().
8827 * gdb.base/callfuncs.c: ditto.
8828 * gdb.base/exprs: ditto.
8829 * gdb.base/interrupt.c: ditto.
8830 * gdb.base/opaque0.c: ditto.
8831 * gdb.base/printcmds.c: ditto.
8832 * gdb.base/ptype.c: ditto.
8833 * gdb.base/scope0.c: ditto.
8834 * gdb.base/setvar.c: ditto.
8835 * gdb.base/signals.c: ditto.
8836 * gdb.base/twice.c: ditto.
8837 * gdb.c++/misc.cc: ditto.
8838 * gdb.c++/templates.cc: ditto.
8839
8840Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8841
8842 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
8843
8844 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
8845 somewhere between `read' and `main.c'. I'm pretty sure the
8846 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
8847 and it isn't particularly useful.
8848
8849 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
8850
8851Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8852
8853 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
8854
8855Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
8856
8857 * config/mt-slite: add LIBS and -nostdlib.
8858 * config/slite-gdb.exp: add this new file to support sparclite target.
8859
8860Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
8861
8862 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
8863
8864 * gdb.base/a2-run.exp: Change argument to istarget from
8865 "*-*-vxworks" to "*-*-vxworks*".
8866 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
8867
8868Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
8869
8870 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
8871 will not runto main but do a 'step' to step out of breakpoint().
8872 * config/mt-slite: add -Dusestubs.
8873
8874Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8875
8876 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
8877 instead of just @.
8878
8879 * gdb.base/signals.exp: Add test for "handle all print".
8880 * TODO: Remove "handle all print". Also remove item about
8881 checking copyright date (I don't like the idea of a spurious FAIL
8882 based on when we run the tests).
8883
8884 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
8885 for SunOS4 (reason for failure not investigated). Remove
8886 redundant test for $binfile.
8887
8888 * gdb.base/nodebug.c (array_index): Call malloc.
8889
8890 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
8891
8892Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
8893
8894 * gdb.base/recurse.exp: Update gdb_test invocation to use new
8895 conventions and slightly simplify the matching regexp.
8896
8897Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8898
8899 * gdb.base/break.exp: Update gdb_test invocation to use new
8900 convention.
8901
8902 * lib/gdb.exp: If noargs is not set, set it to 0.
8903
8904 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
8905 tests unique.
8906
8907 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
8908
8909Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8910
8911 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
8912 one argument of type "<non-float parameter>".
8913
8914Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
8915
8916 * config/rom68k.exp: New file to support Motorola IDP board.
8917 * gdb.base/a2-run.exp: Skip this file if noargs is set.
8918 * gdb.base/break.c: Change things around so that this program
8919 doesn't depend upon args. This is necessary to make remote
8920 targets work (in general, they can't take args).
8921 * gdb.base/break.exp: Don't try to send args to program. Don't
8922 expect output. Also, replace lots of code with gdb_test.
8923
8924Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8925
8926 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
8927 printing of '\'' (which is what the comment says we are testing,
8928 even though we were not), not '''.
8929 (test_integer_literals_rejected): Test that printing ''' is an error.
8930
8931 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8932 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
8933 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
8934 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
8935 Use gdb_test not test_print_accept.
8936 * lib/gdb.exp: Remove test_print_accept.
8937
8938 * gdb.base/signals.exp (signal_tests_1): Make pass message
8939 consistent with fail message.
8940
8941 * gdb.base/whatis.exp: Remove xfails for printing char vs.
8942 unsigned char; the bug (PR 1821) is fixed.
8943
8944 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
8945
8946 * gdb.base/scope.exp (test_at_localscopes): Call pass for
8947 successful tests--makes xfailing them work right.
8948
8949Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8950
8951 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
8952 only \r\n, not .*. The test can pass .* as the last thing in
8953 $pattern if that is what it wants. In addition to providing this
8954 flexibility, this change should speed up pattern matching in cases
8955 where the pattern already ended with .* (there were a number of
8956 them). This change also helps catch bad patterns--in the old
8957 scheme the typo "char \*" instead of "char \\*" would pass. Now
8958 it is caught.
8959 * Many .exp files: Update callers.
8960
8961 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
8962 clearer and does not spuriously match multiple ('s. Likewise for
8963 ) and *.
8964
8965 * gdb.base/nodebug.exp: Test ability to call a function and pass
8966 it a string (even with no debugging info).
8967
8968 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
8969 "p '\'", which is the same as "p ''" once tcl gets done with
8970 quoting, to "p '\\'", which I suspect is what is intended (one
8971 backslash gets sent to GDB).
8972
8973 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
8974
8975Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8976
8977 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
8978 1817) was fixed literally years ago.
8979
8980Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8981
8982 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
8983 test, it causes stepping out of call_after_alloca_subr with
8984 optimizing compilers.
8985 (localvars_in_indirect_call): Consume GDB prompt if `finish'
8986 fails.
8987
8988 * gdb.c++/templates.exp: Source templ-info.exp only if
8989 the templates executable exists.
8990
8991 * gdb.c++/misc.cc (class Contains_static_instance,
8992 class Contains_nested_static_instance),
8993 gdb.c++/classes.exp (test_static_members): Test printing of
8994 a class that contains a static instance of the class.
8995
8996Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8997
8998 * gdb.base/langs2.c (cppsub_): Don't prototype.
8999 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
9000 only, I believe).
9001
9002Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9003
9004 * lib/gdb.exp (skip_chill_tests): New procedure.
9005
9006 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
9007
9008Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
9009
9010 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
9011 each expect pattern. Cuts runtime from 12 to about 4 seconds.
9012
9013Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9014
9015 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
9016
9017 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
9018 disassemble 8, not 16, instructions for part 4.
9019
9020 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
9021 support the latter anymore.
9022
9023 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
9024 -DNO_PROTOTYPES.
9025 * gdb.base/callfuncs.c: Control use of prototypes based on
9026 NO_PROTOTYPES, not __STDC__.
9027 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
9028 t_float_values2 tests if prototypes in use.
9029
9030 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
9031 t_double_values): When checking differences against DELTA, check
9032 that difference is within the range (-DELTA,DELTA), not just
9033 (-infinity,DELTA).
9034
9035Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
9036
9037 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
9038 'file' command firts, then 'target', then 'load', this is due to gdb
9039 target set up.
9040 * config/mips-gdb.exp: Fix a couple regular exp bugs.
9041
9042Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
9043
9044 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
9045 FP load/store variants.
9046 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
9047
9048Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9049
9050 * gdb.base/term.exp: Do not give a warning if not native, it is
9051 not an abnormal condition.
9052
9053Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
9054
9055 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
9056 t_char_array".
9057
9058Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
9059
9060 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
9061 are getting the version number.
9062
9063 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
9064 if not native, it is not an abnormal condition.
9065
9066Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9067
9068 * lib/gdb.exp: Just use "file exists", rather than undocumented
9069 dejagnu procedure "findfile".
9070
9071Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9072
9073 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
9074 (LDFLAGS): Set to -Xlinker -Ur.
9075
9076 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
9077 Removed, these values are set by lib/gdb.exp.
9078
9079 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
9080
9081Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
9082
9083 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
9084 of replicating gdb startup code.
9085
9086 * config/mt-vxworks (LDFLAGS): Set to -r.
9087 (CFLAGS_FOR_TARGET): Removed.
9088
9089 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
9090 (gdb) and gdb for vxworks uses (vxgdb).
9091
9092 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
9093 executable is not in the tree and host != target, use sed and
9094 program_transform_name to determine the gdb name used by the
9095 target.
9096
9097 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
9098 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
9099
9100Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9101
9102 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
9103 floats, chars, and shorts where there are ANSI-style function
9104 definitions.
9105
9106 * gdb.base/langs.exp, gdb.base/langs*: New test.
9107 * gdb.base/Makefile.in: Build it.
9108 * TODO: Remove item about checking that C names don't get C++
9109 demangling applied; this test tests it.
9110
9111Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9112
9113 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
9114 went with the const70 xfail. The xfail went away a year ago.
9115
9116 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
9117
9118 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
9119 for hp300.
9120
9121 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
9122
9123 * gdb.base/a1-selftest.exp: Don't run on hp300.
9124
9125Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9126
9127 * Makefile.in (site.exp): Set host_alias and target_alias as well
9128 as host_triplet and target_triplet.
9129
9130Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9131
9132 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
9133
9134 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
9135 places as other ecoff systems).
9136
9137 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
9138 ultrix.
9139
9140Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9141
9142 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
9143 remove them.
9144 * gdb.base/nodebug.exp: Accept "function" in addition to "text
9145 variable and "variable" in addition to "data variable".
9146 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
9147
9148 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
9149 2.
9150 * gdb.base/list1.c (long_line): Add additional statement at start
9151 of function.
9152 * gdb.base/list.exp (test_forward_search): Update line number to
9153 reflect new statement.
9154
9155Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9156
9157 * gdb.base/signals.exp: Reinitialize searched source directories
9158 after gdb_start call.
9159
9160Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
9161
9162 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
9163 * gdb.stabs/Makefile.in: Likewise.
9164
9165 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
9166 change. Instead split the tests into smaller pieces.
9167 * gdb.disasm/hppa.s: Corresponding changes.
9168
9169Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9170
9171 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9172 Quote ^C when passing it to stty. For some shells ^ is a pipe.
9173
9174 * gdb.base/funcargs.exp: Modify many tests so that every test
9175 either passes or fails. Make some test names unique.
9176
9177Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9178
9179 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
9180 Call stty to set interrupt character.
9181
9182 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
9183 for HP assembler versus GNU assembler based on actual behavior of
9184 $(CC), rather than assuming that $(AS) is always the GNU assembler.
9185
9186 * TODO: Suggest a few more stepping tests.
9187
9188Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
9189
9190 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
9191 restart GDB for h8300 after a continue.
9192 (return): Add pattern to match a29k-udi behavior.
9193 * gdb.base/nodebug.exp: Remove obsolete comment.
9194 * gdb.base/regs.exp: New file, testing of register displays.
9195 * gdb.base/return.exp: Fix typo in reference to $objdir.
9196 * gdb.base/whatis.exp: Always start with a fresh GDB.
9197
9198Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9199
9200 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
9201 higher, these tests generate a lot of output.
9202
9203Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9204
9205 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
9206 code following the catch silently ignored some errors; without the
9207 catch they should be thrown like any other tcl error. Also, the
9208 catch used "" instead of {} which meant all the callers who wanted
9209 to include one of the characters "[]$ had to quote it an extra time.
9210 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
9211 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
9212 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
9213 Remove extra quoting.
9214
9215Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
9216
9217 * gdb.base/commands.exp: Make test names unique; every test either
9218 passes or fails. Update some comments.
9219
9220 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
9221
9222Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9223
9224 The following fixes a FAIL caused by the fact that the alpha stabs
9225 configuration didn't use the ".if alpha" code in weird.def.
9226 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
9227 bit pointer, so the 32 bit version works even on the alpha.
9228 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
9229 Remove the stuff which allowed us to have separate versions for
9230 alpha and everything else.
9231
9232 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
9233 regexp which "info func operator\[\](" is supposed to match. Fix
9234 string to send to GDB. Note that GDB still doesn't work right. Add a
9235 new test for "info func .perator\[\](" which GDB does handle correctly.
9236
9237 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
9238
9239Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9240
9241 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
9242 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
9243 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
9244 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
9245 it makes the tests harder to understand and confuses test-o-matic.
9246 The preferred style is that each test provides a PASS or a FAIL,
9247 and has a unique message (e.g. "continue #54" not just "continue")
9248 which is the same for the pass and the fail.
9249 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
9250 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
9251 to lib/gdb.exp.
9252 * gdb.base/printcmds.exp: Use test_print_accept. Remove
9253 prt_accept which was basically the same thing. Likewise for
9254 test_print_reject and prt_reject.
9255 * lib/gdb.exp (test_print_reject): Add some more error message
9256 patterns to match from the former printcmds.exp (prt_reject).
9257 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
9258 One defect of the passcount stuff is that some of it failed to
9259 report XPASS where appropriate.
9260 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
9261 stuff before and after arg in expected pattern.
9262 (test_paddr_operator_functions): Re-do test without print_addr_of;
9263 this is the only test which seems to want extra stuff there.
9264
9265Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9266
9267 * gdb.base/nodebug.exp: Update new tests to reflect improved
9268 wording of gdb output.
9269
9270 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
9271 and "ptype" work on variables in files compiled without -g.
9272 Replaces commented out "maint print msymbol" tests.
9273
9274Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9275
9276 * gdb.base/setvar.c (dummy): Call malloc.
9277
9278 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
9279 losing with the irix4 sed.
9280
9281 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
9282 ALRM" on irix4.
9283
9284Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9285
9286 * TODO: Remove items about corefile.exp testing new exec-file and
9287 backtrace; both are now done. Add items about printing enums.
9288
9289Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9290
9291 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
9292 "get signal $thissig" test fails.
9293
9294 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
9295
9296Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9297
9298 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
9299 compiler warning with dec alpha compiler.
9300
9301 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
9302 extra \n from gdb_test call (this explains why the prompt test
9303 that I removed yesterday was there).
9304 (user_defined_command_test): Remove extra \n and prompt test.
9305
9306 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
9307 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
9308 doesn't exist.
9309 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
9310 Also remove alpha workaround, which turns out to be because
9311 SIGABRT == SIGLOST.
9312
9313 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
9314
9315 * gdb.base/help.exp: Don't test "help show".
9316
9317Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9318
9319 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
9320 "set print address" is on.
9321 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
9322 pass prompt to gdb_test; gdb_test already looks for the prompt.
9323
9324 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
9325
9326 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
9327 was a vestige of the manual TESTSTRATEGY, and the purpose of it
9328 was to make sure that gdb can read a core file. But (a) the "read
9329 the corefile" part didn't make it to a1-selftest.exp, we just
9330 delete the corefile after creating it, and (b) we test reading
9331 corefiles in corefile.exp anyway. Also, this test left around a
9332 xgdb process on Solaris.
9333
9334 * gdb.base/corefile.exp: Also test backtrace.
9335
9336Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
9337
9338 * gdb.base/commands.exp: Test a simple user defined command with
9339 arguments and if/while statements; verify the full user command is
9340 printed by "show user".
9341
9342 * gdb.base/commands.exp: Test if/while commands as part of a
9343 breakpoint command list; verify they appear in breakpoint
9344 information.
9345
9346Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9347
9348 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
9349 than by dividing by zero.
9350
9351Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
9352
9353 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
9354 performing an inferior call with watchpoints enabled.
9355 * gdb.base/watchpoint.c (main): Delete second unnecessary read
9356 call.
9357
9358Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9359
9360 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
9361 of "file" command.
9362
9363 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
9364 Add additional pattern for when "int operator int(void);" appears
9365 in a different order.
9366
9367Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
9368
9369 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
9370
9371 * gdb.base/help.exp: Replace most of docstrings for "info signals"
9372 and "signal" with ".*".
9373
9374Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
9375
9376 * TODO: Add note about "handle all nostop".
9377
9378 * gdb.base/{sigall.c, sigall.exp}: New test.
9379 * gdb.base/Makefile.in: Add it.
9380
9381Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
9382
9383 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
9384 when invoking GDB, suppresses any windowing interface.
9385
9386Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
9387
9388 * config/sim-gdb: New file, simulator testing support.
9389
9390Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
9391
9392 * gdb.base/interrupt.exp: Test calling func1 twice.
9393
9394Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
9395
9396 * gdb.base/list.exp (test_forward_search): Set timeout higher
9397 when we'll be getting lots of output from gdb.
9398
9399 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
9400 "init_malloc" to after the expect statement. Run it if that
9401 regexp is taken, but also for two others which happen if source
9402 cannot be found.
9403
9404Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9405
9406 * gdb.base/printcmds.exp: New test, for printing register before
9407 program is running.
9408
9409Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9410
9411 * gdb.base/list.exp: Correct some alternate expect patterns
9412 to reflect changes in list1.c.
9413
9414Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9415
9416 * TODO: Add item regarding large frames.
9417
9418 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
9419
9420 * TODO: Remove item about enabling return.exp; it
9421 is enabled. Suggest a few more "return" tests.
9422
9423Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9424
9425 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
9426 anonymous unions.
9427
9428Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9429
9430 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
9431 and pr-5646.o, so "make" is the same as "make all", not "make
9432 pr-4975.o".
9433
9434Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
9435
9436 * gdb.base/list.exp: Adjust expectations to reflect changes in
9437 list1.c.
9438 (test_forward_search): New test proc.
9439 * gdb.base/list1.c (long_line): New function, has long source line.
9440
9441Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
9442
9443 * gdb.base/a1-selftest.exp: Change initial stepping to know about
9444 additional line of code that was added.
9445
9446Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
9447
9448 * gdb.disasm/hppa.s: Break the large branching tests into smaller
9449 tests so as not to overflow expect's input buffers.
9450 * gdb.disasm/hppa.exp: Corresponding changes.
9451
9452Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9453
9454 Beginnings of template debugging tests.
9455 * gdb.c++/templ-info.cc: New file to test for template
9456 debugging capability of the compiler.
9457 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
9458 templ-info.cc.
9459 * gdb.c++/templates.cc: Add explicit template instantiations
9460 to enable compiling with -fno-implicit-templates. Add destructor
9461 and 'value' method to T5 class for template tests.
9462 * gdb.c++/templates.exp: Add testcases for printing of template
9463 types, setting breakpoints on template methods and calling a
beb998c6 9464 template method.
c906108c
SS
9465
9466Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
9467
9468 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
9469 branch target since some assemblers (gas-2.5) may emit a
9470 relocation for the branch instead of resolving it in the
9471 assembler.
9472
9473Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9474
9475 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
9476 through signal handler.
9477
9478Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9479
9480 * configure.in (*-*-netware): Use config/mt-netware.
9481
9482 * config/mt-netware: New file.
9483 * config/mt-i386-netware: Removed, separate configs for different
9484 netware architectures are no longer needed now that we have
9485 --with-headers.
9486
9487Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9488
9489 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
9490 by the recent changes to use ANSI C arithmetic conversions.
9491
9492Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9493
9494 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
9495 bug involving using inferior_pid to figure out whether to select a
9496 frame.
9497
9498Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
9499
9500 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
9501 match the current disassembler output.
9502
9503Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
9504
9505 * gdb.fortran/exprs.exp: Expect VOID instead of void.
9506 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
9507 types, expect "int" as type of integer values (for now).
9508
9509Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
9510
9511 * gdb.base/commands.exp: New tests for if/while commands.
9512
9513Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
9514
9515 * lib/gdb.exp (runto): Replace sub-pattern for hex value
9516 by .*, since hex values have different syntax in Chill mode.
9517
9518Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9519
9520 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
9521 linefeed from expect pattern for repeated types with indices > 9.
9522
9523Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
9524
9525 First part of Fortran test suite.
9526 * gdb.fortran: New directory.
9527 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
9528
9529Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9530
9531 * gdb.base/default.exp: Update expect pattern for load command
9532 without arguments.
9533
9534Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
9535
9536 * configure.in: Change i386 to i[345]86.
9537 * gdb.base/configure.in: Likewise.
9538 * gdb.c++/configure.in: Likewise.
9539 * gdb.chill/configure.in: Likewise.
9540
9541Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
9542
9543 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
9544 patterns, since that is not a valid context for comments.
9545
9546Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
9547
9548 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
9549 repeated types and repeated types with indices > 9.
9550
9551Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
9552
9553 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
9554 2417; old bug has been fixed.
9555
9556Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
9557
9558 * gdb.base/interrupt.exp: When trying to wake up the inferior,
9559 send the newline ourselves instead of assuming gdb_test will do
9560 so when passed an empty input string.
9561
9562 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
9563 stabs testcode.
9564
9565Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9566
9567 * lib/gdb.exp (gdb_test): Don't send anything if the first
9568 argument is an empty string. This makes cases where we want to
9569 match output that is already in expect's buffers (for example,
9570 matching a breakpoint after gdb_run_cmd has been called) work
9571 reliably.
9572
9573Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9574
9575 * config/netware.exp: New file.
9576
9577Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9578
9579 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
9580 the -B and -L prefixes so we can find the debugging stub.
9581
9582 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
9583 there and we are using the gcc from the tree.
9584
9585 * gdb.base/types.c: Removed.
9586
9587 * gdb.base/configure.in: Look for makefile fragments in ../config.
9588 Recognize i386-*-netware.
9589 * gdb.c++/configure.in: Likewise.
9590
9591Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9592
9593 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
9594 the correct TCL syntax.
9595
9596Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9597
9598 * gdb.base/opaque.exp: use runto instead of messing around with
9599 breakpoints. Simplify by using gdb_test.
9600
9601 * gdb.base/bitfields.exp: restart between tests on netware targets
9602 because breakpoints aren't relocated after target death. Run
9603 processes to completion.
9604
9605 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
9606
9607Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
9608
9609 * Makefile.in: Remove extra tabs that confuse some versions
9610 of "make". Use the newly built gdb to test with by default,
9611 rather than the first one in the tester's search path.
9612
9613Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
9614
9615 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
9616
9617 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
9618 condition help.
9619
9620Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9621
9622 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
9623
9624 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
9625 running.
9626 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
9627 * gdb.base/funcargs.exp: Likewise.
9628
9629 * gdb.base/bitfields.exp: Simplify by using gdb_test.
9630 * gdb.base/funcargs.exp: Likewise.
9631
9632 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
9633 message is "".
9634
9635Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9636
9637 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
9638 return,signals,twice}.exp: Handle non-existant binaries
9639 consistantly.
9640
9641 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
9642 * gdb.base/Makefile.in: Don't try to generate a core dump, we
9643 might testing a cross development system.
9644
9645Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9646
9647 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
9648 runtest script is relative to ${srcdir}, not ${rootdir}.
9649
9650Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
9651
9652 * gdb.base/signals.exp: Allow for optionality of breakpoint
9653 address.
9654
9655Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9656
9657 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
9658
9659Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
9660
9661 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
9662 for size_t definition.
9663 * gdb.c++/templates.cc: Likewise
9664
9665 * config/mt-i386-netware: New file.
9666
9667 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
9668 defined.
9669
9670 * gdb.base/Makefile.in: Added support for systems that name core
9671 files by appending "core" to the program name.
9672 * gdb.base/a1-selftest.exp: Likewise.
9673
9674Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9675
9676 * gdb.base/return.exp: Add comment and message for `return double'
9677 test failure on Sparc Solaris.
9678
9679Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
9680
9681 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
9682
9683Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9684
9685 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
9686 from optimizing them away.
9687 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
9688 patterns to include default constructors and assignment operators,
9689 to match gcc versions beyond 2.5.8. Accept any cplus demangling
9690 character in the output of the virtual base pointer.
9691
9692Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9693
9694 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
9695 expression match in print_addr_of to avoid unintented matches.
9696 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
9697 versions up to 2.5.8.
9698
9699Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9700
9701 * gdb.base/list.exp: Tweak alternate pattern for listing of an
9702 included file to run under newer versions of expect.
9703 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
9704 consecutive >'s in templates to accomodate recent cplus-dem.c change.
9705 Remove xfail for the virtual table of BDDHookV.
9706
9707Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
9708
9709 * lib/gdb.exp (string_to_regexp): Set a default result.
9710 (default_gdb_start): Fix misleading message.
9711
9712Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
9713
9714 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
9715 Remove all CC, etc definitions.
9716 * config/mt-hpux: New file.
9717 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
9718 (CFLAGS, LDFLAGS): Define.
9719 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
9720
9721 * Makefile.in (site.exp): Don't insert host_os, etc.
9722 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
9723 (distclean): Check existence of subdir.
9724 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
9725 * gdb.base/Makefile.in: General cleanup and simplification.
9726 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9727 to build executables. Use default rule to build .o files.
9728 (EXPECT, RUNTEST, CC): Fix relative pathname.
9729 (site.exp): Don't insert host_os, etc.
9730 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
9731 and/or SIGUSR1 defined.
9732 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
9733 * gdb.c++/Makefile.in: General cleanup and simplification.
9734 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
9735 (CFLAGS): Remove.
9736 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
9737
9738Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
9739
9740 * gdb.base/recurse.exp: Misc changes to get tests running again
9741 after Kung's changes to the watchpoint code.
9742 * gdb.base/watchpoint.exp: Likewise.
9743
9744Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
9745
9746 * lib/gdb.exp (string_to_regexp): Convert {\} also.
9747
9748Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
9749
9750 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
9751 * lib/gdb.exp (default_gdb_start): Define.
9752 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
9753 gdb.base/funcargs.exp, gdb.base/opaque.exp,
9754 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
9755 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
9756 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
9757 Don't call gdb_target_udi in between tests.
9758
9759Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9760
9761 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
9762 (which was basically just a local version of the same thing). In
9763 addition to avoiding duplication, gdb_test_exact is faster.
9764 * lib/gdb.exp (gdb_test_exact): Fix typo.
9765
9766 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
9767 don't give an error.
9768
9769 * gdb.base/term.exp: Call delete_breakpoints before starting.
9770
9771 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
9772 (t10): Add comment.
9773
9774Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9775
9776 Reorganization of the GDB Test Suite.
9777
9778 * gdb.base: New directory, contains all the basic tests.
9779 * gdb.c++: New directory, tests specific to C++.
9780 * gdb.chill: New directory, tests specific to Chill.
9781 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
9782 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
9783 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
9784 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
9785 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
9786 t30-31 to chill).
9787 * */gdbme.*: Rename to match appropriate expect scripts.
9788 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
9789 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
9790 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
9791 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
9792 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
9793 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
9794 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
9795 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
9796 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
9797 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
9798 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
9799 gdb.c++/virtfunc.cc: New names of C++ files.
9800 * gdb.chill/chillvars.ch: New name of Chill file.
9801 * gdb.base/configure.in, gdb.c++/configure.in,
9802 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
9803 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
9804 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
9805 * configure.in (configdirs): Update to reflect directory changes.
9806 (target_abbrev): No longer define for any configuration.
9807 * Makefile.in: Cosmetic improvements to header comments.
9808
9809Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
9810
9811 Various changes to gdb.t31:
9812
9813 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
9814 * gdbme.ch: Make all key-words and predefineds be upper-case.
9815 * chillvars.exp: Expect key-words and predefinds in upper-case.
9816
9817 * chillvars.exp: Use gdb_test_exact many places.
9818 Change expected output for arrays (which now includes index labels).
9819
9820 * pr-5020.exp, gdme.ch (module PR_5020):
9821 New test, for PR-5020.
9822
9823Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
9824
9825 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
9826 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
9827
9828Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
9829
9830 * Makefile.in: Fix bit-rot in definitions of CHILL,
9831 CHILL_FOR_TARGET and Chill_LIB.
9832 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
9833 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
9834 CHILL, and CHILL_LIB.
9835
9836Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
9837
9838 * Revert the previous changes. Please see Rob's directory
9839 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
9840
9841Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
9842
9843 * Makefile.in, configure.in, config/mips-gdb.exp,
9844 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
9845 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
9846 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
9847 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
9848 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
9849 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
9850 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
9851 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
9852 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
9853 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
9854 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
9855 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
9856 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
9857 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
9858 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
9859 changes from 94Q1.
9860
9861Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
9862
9863 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
9864 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
9865 Rob's new testing fragments.
9866
9867Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
9868
9869 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
9870 lib/gdb.exp: Replace error proc calls with perror.
9871
9872Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
9873
9874 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
9875 version also, match on casted version strings, and match on
9876 gdb startup case where the line numbers might be messed up.
9877
9878Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
9879
9880 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
9881 (CFLAGS): Delete it from here.
9882
9883Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
9884
9885 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
9886
9887Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
9888
9889 * Makefile.in (RUNTEST): Default to just "runtest".
9890
9891Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9892
9893 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
9894 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
9895 the code has been restructured.
9896
9897Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9898
9899 * gdb.t00/default.exp (set write): Allow any number of \r and/or
9900 \n, not just one of each.
9901
9902 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
9903 /bin/cc gives a warning if you do.
9904
9905Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
9906
beb998c6 9907 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
9908 __t10ListS_link1ZUiRCUiPT0
9909
9910Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9911
9912 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
9913 on local variables in recursive functions.
9914
9915 * gdb.t07/Makefile.in: Build the new test.
9916
9917Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9918
9919 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
9920 directly. Instead compare the return values from actual calls.
9921
9922Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
9923
9924 * Makefile.in (check): Set TCL_LIBRARY for runtest.
9925
9926Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9927
9928 * From Peter Schauer with minor modifications.
9929 * gdb.t15/return.exp (return_tests): Handle targets where "return"
9930 stops in mid-line in the caller. Add xfail for returning a float
9931 value on X86 targets.
9932
9933Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9934
9935 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
9936 to avoid expect lossage.
9937 (fmem_LRbug_tests): Likewise.
9938 * gdb.disasm/hppa.s: Corresponding changes.
9939
9940 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
9941 conditions to work with latest dejagnu/expect.
9942
9943 * gdb.t15/funcargs.exp (finish from indirect call): No longer
9944 expected to fail on the PA.
9945 (backtrace in call with trampolines): Explicitly require main
9946 to be frame #1 (no trampolines should show up in backtrace).
9947
9948 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
9949 "continue -expect".
9950 * gdb.t06/break.exp: Likewise.
9951 * gdb.t07/watchpoint.exp: Likewise.
9952 * gdb.t13/bitfields.exp: Likewise.
9953 * gdb.t15/{funcargs,return}.exp: Likewise.
9954 * gdb.stabs/weird.exp: Likewise.
9955 * config/{mips,udi}-gdb.exp: Likewise.
9956
9957 * hppa.sed: Enclose comments within a sed command to avoid
9958 losing with the old OSF1 sed.
9959
9960Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9961
9962 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
9963 sequent dynix.
9964 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
9965 * gdb.t15/funcargs.exp: Conditionally step again to really
9966 finish from marker_call_with_trampolines. Handle the case where
9967 the first step from within call_with_trampolines already steps
9968 us back to main.
9969 * gdb.t15/gdbme.c: Add comment to closing brace of
9970 call_with_trampolines for funcargs.exp.
9971
9972Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9973
beb998c6 9974 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
9975 Fix typo(s).
9976
9977Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9978
9979 * gdb.t07/gdbme.c: More code for watchpoint testing.
9980
9981 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
9982 "Hardware watchpoint" throughout file.
9983 (test_watchpoint_triggered_in_syscall): New test.
9984 (test_complex_watchpoint): New test.
9985
9986Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
9987
9988 * gdbme.c (call_with_trampolines): New function to try and step
9989 into. Tests trampoline problems on the PA.
9990
9991 * funcargs.exp (localvars_in_indirect_call): No longer expect
9992 stepping into indirect call to fail on PAs.
9993 (test_stepping_over_trampolines): New test.
9994
9995Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9996
9997 * TODO: Add suggestions for static member function tests, and
9998 completion tests.
9999
10000Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10001
10002 * TODO: Add suggestions for "p/a" tests.
10003
10004 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
10005 (default_gdb_exit): Replace all the hair with sending "quit" to
10006 the process with a simple close.
10007
10008Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10009
10010 * TODO: Add suggestions for shared library tests.
10011
10012Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10013
10014 * TODO: Add suggestions for x/s tests.
10015
10016Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10017
10018 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
10019 "enable once", and "enable breakpoints once" with ".*".
10020
10021Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10022
10023 * TODO: Add suggestions about structure passing tests.
10024
10025Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10026
10027 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
10028 the primary1 test, use work around if __GNUC__ < 2.
10029 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
10030 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
10031 Test for bad output rather than waiting for timeout. Issue
10032 second continue only if first continue failed.
10033
10034Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10035
10036 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
10037 operator[] test with gdb_test because the old code didn't seem to
10038 be getting the quoting right with the new dejagnu.
10039
10040Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
10041
10042 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
10043 one from the path.
10044 * Makefile.in: Use a fresh expect if there is one, use runtest
10045 from the src tree if there is one.
beb998c6 10046
c906108c
SS
10047Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10048
10049 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
10050 next over recursive call. Revise the tests from that point on
10051 (which had been skipped) to match GDB's actual (correct) output.
10052
10053 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
10054 with next over a breakpoint whose condition is false.
10055
10056 * gdb.t00/help.exp: Comment out "help set print" tests just like
10057 (and for same reason as) "help set" test.
10058
10059Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10060
10061 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
10062 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
10063
10064Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10065
10066 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
10067 necessary gdb_target_udi.
10068
10069 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
10070
10071 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
10072 1838 and 2417; they are fixed.
10073
10074 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
10075 gdb.t03/ptype.exp (ptype structure, ptype union):
10076 Remove xfails; the test is looser than when the xfails were added.
10077
10078 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
10079 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
10080
10081 * gdb.t01/run.exp: Only run shell test if isnative.
10082
10083 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
10084 since "run" automatically loads if necessary. Call gdb_target_udi
10085 after the "file" since "file" kills any execution target.
10086
10087 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
10088 GDB. GDB doesn't work that way (not anymore at least) on UDI.
10089 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
10090 argument for UDI.
10091
10092Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
10093
10094 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
10095
10096 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
10097
10098Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10099
10100 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
10101 properly quoting regexps. This makes the second argument to
10102 demangle a fixed string, which matches the callers, instead of a
10103 shell-style pattern which is what the previous implementation
10104 used. Update some of the callers.
10105
10106Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10107
10108 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
10109 (comib_nullified_tests): Fix typo.
10110 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
10111 strings. No longer expected to fail.
10112
10113 * gdb.disasm/hppa.s (addib_tests): Fix typo.
10114 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
10115 strings. No longer expected to fail.
10116
10117 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
10118 string. No longer expected to fail.
10119
10120Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10121
10122 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
10123 No longer expected to fail.
10124
10125 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
10126 string. No longer expected to fail.
10127
10128Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10129
10130 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
10131 only in the names (I probably got most of them). I was even
10132 generous with some which differed in underscores in names, and
10133 probably missed a few, and I *still* was able to remove almost a
10134 third of the file with almost no impact on testsuite coverage.
10135
10136Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10137
10138 * gdb.t00/default.exp: Match udi_attach error message as well as
10139 the one from child_attach.
10140
10141 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
10142
10143 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
10144
10145 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
10146 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
10147
10148 * Move test with enums and partial symbols back to
10149 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
10150 Reverts the change of 26 May 93. Per today's change to
10151 stabs.texinfo, the behavior that weird.exp was expecting was
10152 unreasonable; what is important is that the compiler+gdb get
10153 things right, which happens with a recent gcc. Also fix the test
10154 to deal with native compilers which put out the stab gdb can't
10155 deal with.
10156
10157Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10158
10159 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
10160 in the names. The main thing these accomplish is to slow things down.
10161 Many more such duplicates surely remain.
10162
10163 * gdb.t00/help.exp: Comment out "help support" test just like
10164 (and for same reason as) "help set" test.
10165
10166Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
10167
10168 * gdb.t06/break.exp: Remove setup_xfails for
10169 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
10170 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
10171 about known bug in gcc to include up through 2.5.8.
10172 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
10173 well as "_vb$".
10174 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
10175 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
10176 with latest gcc and gdb.
10177 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
10178 well as "_vb$".
10179
10180Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10181
10182 * configure.in (hppa*-*-*): Also configure and build stabs-only
10183 tests.
10184
10185Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10186
10187 * gdb.t10/hppa.mt: A makefile fragment for the PA.
10188 * gdb.t10/configure.in (hppa*-*-*): Use it.
10189
10190Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10191
10192 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
10193
10194Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10195
10196 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
10197 versions prior to 1.13.5.
10198
10199Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10200
10201 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
10202 the prompt is at the start of a line.
10203
10204Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
10205
10206 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
10207 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
10208 in the copr tests now.
10209 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
10210 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
10211 expected to fail.
10212
10213Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
10214
10215 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
10216 gdb.t31/chillvars.exp, lib/gdb.exp:
10217 Tweak to run under either version of expect.
10218 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
10219 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
10220 * gdb.t11/list.exp: Remove extraneous whitespace.
10221
10222Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10223
10224 * gdb.t16/printcmds.exp (test_print_strings): Accept
10225 "(unsigned char *) " before the string.
10226
10227 * TODO: Add notes about printing of fancy types and GDB expressions.
10228
10229Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
10230
10231 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
10232 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 10233 if doing mips-idt-ecoff.
c906108c
SS
10234
10235Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
10236
10237 * Most .exp files: Tweak to run under either version of expect.
10238
10239Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10240
10241 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
10242 xfails; I'm not sure why they are failing, but not because of PR 1806.
10243
10244Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
10245
10246 * config/unix-gdb.exp: Remove gdb_unload cause it's already
10247 defined in lib/gdb.exp.
10248
10249Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10250
10251 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
10252 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
10253 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
10254 have to be typeless.
10255
10256Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
10257
10258 * TODO: Add suggestion for copyright year test.
10259
10260Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
10261
10262 * configure.in (*-*-lynxos*): Add stabs tests.
10263
10264Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10265
10266 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
10267 so insert a tab before any assembler directive in column zero.
10268
10269 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
10270 stores.
10271 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
10272 stores.
10273 (fpu_short_memory_tests): Likewise.
10274
10275Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10276
10277 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
10278 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
10279 .stabs directives in comments.
10280
10281Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10282
10283 * TODO: New file, describing tests we could write.
10284 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
10285
10286Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10287
10288 * gdb.t06/signals.exp: Add kludge to force re-sync.
10289
10290 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
10291 to xgdb instead of gdb, get out of gdb.
10292
10293Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
10294
10295 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
10296 for info.
10297
10298Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
10299
10300 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
10301 * gdb.stabs/configure.in (hppa*-*-*): Use it.
10302 * gdb.stabs/hppa.sed: New sed script for the PA.
10303
10304Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10305
10306 * gdb.stabs: Re-write weird.def and configuration to use sed
10307 instead of cpp. sed is portable and POSIX; cpp is neither.
10308
10309Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10310
10311 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
10312
10313Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10314
10315 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
10316
10317Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10318
10319 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
10320 "_vb$".
10321 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
10322 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
10323
10324Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10325
10326 * lib/gdb.exp: Comment out code which depends on non-existent
10327 `transform' procedure.
10328
10329Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
10330
10331 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
10332 * lib/gdb.exp: Transform tool name.
10333 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
10334 1.1's new error handling system.
10335
10336Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10337
10338 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
10339
10340Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10341
10342 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
10343 They made pattern matching so slow that timeouts happened on
10344 heavily loaded systems. Now any output from "show print" which
10345 gets us back to the GDB prompt is a PASS.
10346
10347Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
10348
10349 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
10350
10351Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10352
10353 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
10354
10355 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
10356 It is not from PR 3220.
10357
10358Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10359
10360 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
10361 just started failing because they depended on the order the
10362 subcommands are presented, or exact docstring text. This kind of
10363 test is a pain and has minimal benefit.
10364
10365Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10366
10367 * gdb.t09/corefile.exp: At end of test, use "core" command with
10368 no arguments.
10369
10370Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
10371
10372 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
10373 17}/Makefile.in: Make it possible to run the testsuite with Sun
10374 make and CC = cross gcc by adding explicit build rules for .o
10375 files.
10376
10377Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10378
10379 * gdb.t15/funcargs.exp: Don't put comments on same line as
10380 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 10381
c906108c
SS
10382Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10383
10384 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
10385
10386Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
10387
10388 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
10389 * gdb.t20/inherit.exp: remove three dumplicate entries.
10390
10391Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10392
10393 * gdb.t06/break.exp: For "next over recursive call", fail on any
10394 incorrect output, not just on "factorial (value=2)".
10395
10396Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10397
10398 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
10399 working now. Add an xfail if accesing a bss variable causes
10400 a memory error if the target is not yet run.
10401
10402Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10403
10404 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
10405 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
10406 name of __st* demangling (2 strings). Did Kung really get the
10407 more than 95 others right without testing them?
10408
10409Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
10410
10411 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
10412
10413Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
10414
10415 * configure.in (configdirs): Add gdb.disasm
10416 * gdb.disasm: New directory for GDB disassembler tests.
10417 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
10418
10419Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10420
10421 * gdb.t00/help.exp: Don't test "help set".
10422
10423 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
10424 from within expect statements. None of these happen anymore and
10425 they cause regressions to be silently unnoticed.
10426
10427 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
10428 messages) about known failures with gcc cygnus-2.4.5-930417.
10429
10430 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
10431 comp-info.exp so it gets built if it doesn't exist.
10432
10433 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
10434 it is no longer used.
10435 * gdb.t13/comp-info.c: Removed.
10436
10437Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10438
10439 * gdb.t06/signals.exp: Add xfail for sun3.
10440
10441Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10442
10443 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
10444 relevant because ^C doesn't get sent but failure can be reproduced
10445 interactively).
10446
10447Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10448
10449 * gdb.stabs/alpha.mt: New configuration file for alpha.
10450 * gdb.stabs/configure.in: Use it.
10451 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
10452 sharing with alpha.mt, redefine long to word via preprocessor.
10453 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
10454 for alpha.
10455 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
10456 native cc.
10457 * gdb.t00/teststrategy.exp: Change expect string so that we
10458 consume the `(xgdb)' from the command echo and from the gdb prompt.
10459 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
10460 gdb currently compares all values as long, so this failure probably
10461 applies to any configuration where LONGEST is bigger than a target int.
10462 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
10463 with gcc.
10464 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
10465 to handle opaque pointers, gcc is.
10466 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
10467 as first argument. Include <sys/types.h> and change all operator
10468 new definitions to use size_t.
10469 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
10470 now that we use size_t.
10471
10472Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10473
10474 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
10475 a long or float array cast all array members to the same type.
10476 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
10477 with 64 bit longs.
10478 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
10479 on alpha.
10480 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
10481
10482Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10483
10484 * gdb.t24 (demangle.exp): Constructors of templates have names like
10485 vector<int>::vector(int) not vector<int>::vector<int>(int). See
10486 section 14.6 of the ARM.
10487
10488 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
10489 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
10490 accomplish little and slow down the testsuite.
10491
10492 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
10493 Accept spaces various places.
10494
10495Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10496
10497 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
10498 with watchpoint enabled.
10499
10500 * Makefile.in: Remove definition of CC and remove the second
10501 definition of CXX (the "CXX = gcc" one remains). These definitions
10502 were causing backquotes to be expanded within backquotes, which
10503 doesn't work.
10504
10505Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
10506
10507 * gdb.t17/callfuncs.exp: Add "return 0" to end.
10508
10509Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10510
10511 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
10512 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
10513 by mips cc and contains no stabs entries.
10514
10515Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
10516
10517 * config/vx-gdb.exp: Use fake device to load files rather than
10518 NFS.
10519 * lib/gdb.exp: New proc to do "file" command.
10520 * config/unix-gdb.exp: Use new "file" proc.
10521
10522Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
10523
10524 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
10525 Rework board rebooting slightly.
10526 (gdb_exit): Don't exit from the remote shell; there isn't one.
10527 * gdb.stabs/weird.exp: If a program is being debugged already,
10528 kill it.
10529 * gdb.t04/setvar.exp: Stop and restart gdb.
10530 * gdb.t05/expr.exp: Likewise.
10531 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
10532 restart gdb and reload the program.
10533 * gdb.t08/opaque.exp: Likewise.
10534 * gdb.t12/scope.exp: Likewise.
10535 * gdb.t13/bitfields.exp: Likewise.
10536 * gdb.t15/funcargs.exp: Likewise.
10537 * gdb.t20/classes.exp: Likewise.
10538 * gdb.t03/ptype.exp: Increase timeout.
10539 * gdb.t16/printcmds.exp (test_print_string_constants,
10540 test_print_array_constants): Likewise.
10541 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
10542 * gdb.t20/classes.exp (do_tests): Likewise.
10543 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
10544
10545Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
10546
10547 * gdb.stabs: Renamed *wierd* to *weird*.
10548
10549Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10550
10551 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
10552 for timeout. Add "known gcc 2.4.5 bug" to failure message.
10553
10554Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
10555
10556 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
10557 (do_tests): Remove xfail for whatis on one_var and two_var.
10558
10559Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
10560
10561 * Makefile.in: Made cross building work better by adding
10562 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
10563
10564Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10565
10566 * gdb.t15/{return.c,return.exp,Makefile.in}:
10567 New test, currently commented out.
10568
10569Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
10570
10571 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
10572 still running and removes the leftover named socket so GDb can do
10573 clean restarts.
10574
10575Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
10576
10577 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
10578 console, not GDB.
10579 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
10580 cross testing works better with "make check"
10581 * config/unix-gdb: Use default procedures for exit and version.
10582 * config/vx-gdb.exp: Cleaned up and massaged back to working order
10583 with the newest VxWorks.
10584
10585Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10586
10587 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
10588 old form.
10589
10590 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
10591 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
10592
10593 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
10594
10595 * config/unix-gdb.exp: Remove this version of gdb_exit
10596 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
10597 Rob says he'll look at it when he gets back to testing boards.
10598
10599Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
10600
10601 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
10602 an expected fail for certain ptype commands.
10603
10604 * gdb.t20/classes.exp: Update expected results of "ptype class
10605 Base1" to account for the constructor that now appears in the type.
10606
10607Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
10608
10609 * configure.in (configdirs): Restore gdb.t04, which mysteriously
10610 disappeared from list.
10611 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
10612 "alldone" proc with call to cleanup and exit.
10613 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
10614 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
10615 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
10616 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
10617 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
10618 "alldone" proc with simple returns that suppress remaining
10619 tests. The alldone proc went away many months ago.
10620
10621Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10622
10623 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
10624
10625 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
10626
10627Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10628
10629 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
10630 as vax gdb will display them.
10631
10632Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10633
10634 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
10635 optimizers.
10636
10637 * scope.exp: Change "bad value for localval" messages so each one
10638 is unique.
10639
10640 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
10641 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
10642
10643 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
10644
10645Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10646
10647 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
10648 doesn't exist (due to optimization).
10649
10650Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10651
10652 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
10653 contains \r because the filename is long.
10654
10655 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
10656 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
10657
10658Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10659
10660 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
10661 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
10662 Ultrix.
10663 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
10664 int tests.
10665 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
10666
10667Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
10668
10669 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
10670
10671 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 10672 to match does not match the passing case but still matches the
c906108c
SS
10673 failing case.
10674
10675Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10676
10677 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
10678
10679Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
10680
10681 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
10682 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
10683 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
10684 Remove various versions of gdb_exit.
10685 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
10686 gdb_exit.
10687 * config/unix-gdb.exp: gdb_exit remains here, and should override
10688 the generic version, since it's doing a lot of wierd stuff that
10689 the other versions aren't. FIXME, fold it in, or abandon this
10690 version.
10691
10692Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10693
10694 * gdb.t24/demangle.exp: Add tests for PR 3220.
10695
10696Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10697
10698 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
10699
10700Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
10701
10702 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
10703 "i386-*-*". Works for i486 as well.
10704
10705 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
10706 bug, and expand domain of xfail to all SVR4 systems, since the
10707 actual problem is likely to be in generic SVR4 /proc support.
10708
10709Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10710
10711 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
10712
10713Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
10714
10715 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
10716 xfails for other systems. Match a missing 'Continuing.' as an
10717 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
10718
10719 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
10720 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
10721 Only issue warning for missing executables if -all option is used.
10722
10723 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
10724 file if -all option is used. It's like an unpredictable XFAIL.
10725
10726Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10727
10728 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
10729 for dynamically linked binaries.
10730
10731 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
10732
10733Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10734
10735 * gdb.t20/inherit.exp: Change message for "print tagless struct"
10736 to state that this is a known bug in old versions of g++.
10737
10738Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10739
10740 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
10741 while waiting for `Continuing'.
10742
10743Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
10744
10745 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
10746 in text, data, and bss.
10747 * gdb.t10/nodebug.c: Add local and global test variables for
10748 initialized and uninitialized data.
10749
10750Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10751
10752 * config/unix-gdb.exp (gdb_exit): Add "wait".
10753
10754Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10755
10756 * gdb.t06/signals.exp: xfail the continue from the handler for all
10757 targets.
10758
10759 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
10760 function with watchpoints enabled, the i386 call dummy starts with
10761 a call.
10762
10763 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
10764 386 bsd names its corefiles.
10765
10766Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
10767
10768 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
10769 compilers don't grok it.
10770 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
10771 with small octal ints rather than character constants, which
10772 are signed and might not fit if first promoted to int.
10773
10774Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
10775
10776 * gdb.t09/Makefile.in (clean): Remove corefile.
10777
10778Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10779
10780 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
10781
10782Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10783 and Jim Kingdon (kingdon@cygnus.com)
10784
10785 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
10786 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
10787 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
10788
10789Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10790
10791 * gdb.t17/interrupt.exp: Add xfail for hppa.
10792
10793Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10794
10795 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
10796 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
10797 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
10798 to determine signed-ness of bitfields and use the result to setup
10799 the xfail.
10800 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
10801 * gdb.t15/funcargs.exp: Use them to step until the second indirect
10802 call line is reached if necessary.
10803
10804Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10805
10806 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
10807
10808Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10809
10810 * gdb.t06/break.exp: Also test `clear' command.
10811
10812Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10813
10814 * gdb.t00/teststrategy.exp: Remove extra quote.
10815
10816 * gdb.t07/watchpoint.exp: Change xfail for calling function with
10817 watchpoint enabled to be for all non-68k machines.
10818
10819 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
10820
10821Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10822
10823 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
10824 targets use aout.mt instead of ecoff.mt as gas understands
10825 standard aout format.
10826
10827Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
10828
10829 * lib/gdb.exp (runto): Don't insist that function we are running to
10830 was compiled with -g.
10831
10832 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
10833
10834 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
10835 to get back into the read system call.
10836 Accept leading newline in case where we woke it up.
10837
10838Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10839
10840 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
10841 to make the stabs test work on ecoff systems using gcc and -with-stabs.
10842 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
10843 enable ecoff configuration.
10844
10845Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10846
10847 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
10848
10849Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10850
10851 * gdb.t16/printcmds.exp: Add another printf test.
10852
10853Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
10854
10855 * configure.in: If configured -with-stabs on any target, add
10856 stabsdirs to configdirs.
10857
10858Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10859
10860 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
10861 fun" so pattern does not match the command itself.
10862
10863Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10864
10865 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
10866
10867Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10868
10869 * gdb.t17/interrupt.exp: Test for more things.
10870
10871Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10872
10873 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
10874 compiler arranges the code and line numbers.
10875
10876 * gdb.t17/interrupt.exp: Don't send \n after ^C.
10877
10878Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10879
10880 * gdb.t00/help.exp: Increase expect input buffer size.
10881
10882Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10883
10884 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
10885
10886 * gdb.t07/watchpoint.exp: Add xfail for hppa.
10887
10888 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
10889
10890 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
10891 [0-9]*, not just [0-9].
10892
10893Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10894
10895 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
10896
10897 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
10898
10899Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10900
10901 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
10902
10903Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10904
10905 * gdb.t06/signals.c: Add xfails for sun3.
10906
10907 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
10908
10909 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
10910 test_stepping tests.
10911
10912Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10913
10914 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
10915
10916 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
10917
10918 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
10919 rather than actually putting it through cpp twice.
10920
10921 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
10922
10923Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
10924
10925 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
10926 no longer needed.
10927
10928Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10929
10930 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
10931
10932 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
10933 C++ features prints as "struct", make it a pass, not an xfail.
10934
10935Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10936
10937 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
10938 Don't require VA to print as "class" rather than "struct".
10939
10940Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
10941
10942 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
10943
10944Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10945
10946 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
10947
10948Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10949
10950 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
10951 order.
10952
10953Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10954
10955 * gdb.t16/printcmds.exp: Add printf tests.
10956
10957 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
10958
10959 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
10960
10961Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
10962
10963 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
10964 pass counts, to counteract any existing or future setup_xfails.
10965
10966Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10967
10968 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
10969 {BEGIN,END}_COMMON for common block instead of STAB.
10970 * gdb.stabs/wierd.exp: Add xfail for rs6000.
10971
10972 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
10973 intp_var should be N_GSYM not N_LSYM.
10974 wierd-aout.S: Use a label for the value of the N_SO.
10975 wierd.def: Remove all backslashes.
10976 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
10977
10978Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10979
10980 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
10981 get the expected next to inheritance3.
10982
10983Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10984
10985 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
10986 now that gcc-2.4 gets it right.
10987
10988Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
10989
10990 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
10991
10992 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
10993 generating comp-info.exp which works for cross-compilation.
10994
10995Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
10996
10997 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
10998 "*-*-sysv4.*".
10999
11000Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
11001
11002 * gdb.t01/run.exp: Start with a fresh gdb.
11003 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
11004 SVR4.x.
11005
11006Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
11007
11008 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
11009 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
11010 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
11011 Makefile.in (distclean, realclean): Remove gdbme.c from list of
11012 things to remove.
11013
11014Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
11015
11016 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
11017 test cases from bug reports.
11018
11019Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
11020
11021 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
11022 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
11023 avoid spurious xfails.
11024 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
11025 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
11026 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
11027
11028Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
11029
11030 * gdb.t00/teststrategy.exp: Rework to provide more useful
11031 description of each test, fix problem with systems that define
11032 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
11033 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
11034 results for "next over recursive call" so timeouts aren't taken
11035 by error.
11036
11037Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
11038
11039 * gdb.t12/scope.exp: Test printing of variables before run.
11040
11041 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
11042 printed in wrong order due to sorting.
11043
11044Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
11045
11046 * gdb.t00/teststrategy.exp: Fix expected results for printing
11047 user entered string constant. Is array of char, prints with no
11048 address.
11049
11050 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
11051 commands.
11052 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
11053 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
11054 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
11055 of struct of char arrays.
11056 * gdb.t00/radix.exp: New tests for radix commands.
11057
11058Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
11059
11060 * gdb.t16/printcmd.exp: Print a variable before running program
11061 (with xfail for AIX).
11062
11063Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
11064
11065 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
11066
11067 * gdb.t16/printcmd.exp: Don't print variables before running program.
11068
11069 * gdb.t06/break.exp: Don't require envp argument to main.
11070
11071 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
11072
11073 * gdb.t02/whatis.exp, gdb.t11/list.exp:
11074 Add xfails for rs6000.
11075
11076 * gdb.t02/whatis.exp: Change other tests not to re-test something
11077 we already tested.
11078
11079 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
11080 each type used has a variable of that type.
11081
11082Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
11083
11084 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
11085
11086Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
11087
11088 * configure.in: change srctrigger to be a file, not a directory
11089
11090Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
11091
11092 * configure.in (mips-idt-ecoff*): Added trailing '*'.
11093
11094 * gdb.t11/list.exp: Fixed a couple of typos.
11095
11096Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
11097
11098 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
11099 is fixed and PR is closed.
11100 * gdb.t16 (gdbme.c): Add simple test string variable.
11101 * gdb.t16 (printcmds.exp): Add tests with simple test string
11102 variable, primarily for boundaries on "set print elements".
11103
11104Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
11105
11106 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
11107 Make leading 0's optional and don't expect a tab in the middle
11108 of the number.
11109
11110 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
11111
11112 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
11113 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
11114 don't end command passed to gdb_test with newline.
11115
11116 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
11117 signed keyword away, don't expect signed bitfields to be signed.
11118
11119 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
11120 printing with only as many 1's as are in the field as well as printing
11121 with 32 1's (see comment).
11122
11123Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
11124
11125 * gdb.t00/default.exp: Start with a fresh gdb.
11126 * configure.in (configdirs): Remove gdb.t31 until the chill
11127 compiler works again. It no longer is able to find chillrt0
11128 since it isn't in libchill.a anymore.
11129 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
11130 wierd.o, make more modular.
11131 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
11132 spurious newlines that caused problems.
11133
11134Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11135
11136 * Move test with enums and partial symbols from gdb.t03/ptype.exp
11137 to gdb.stabs/wierd.exp since GCC has worked around the bug.
11138 gdb.stabs/wierd.{exp,def}: Many new tests.
11139
11140 * gdb.t00/default.exp: update info line for new message.
11141
11142 * gdb.t02/{whatis.exp,gdbme.c}:
11143 Test that "char *" doesn't print as "caddr_t".
11144
11145Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11146
11147 * gdb.t00/help.exp: Use .* in place of some help messages which
11148 just changed.
11149 gdb.t00/default.exp: Update "info frame" test for new message.
11150 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
11151 Remove some xfails
11152
11153Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11154
11155 * gdb.t03/{gdbme.c,ptype.exp}:
11156 Add tests for typedef'd struct and union without tags.
11157 Also check "whatis" on a variable of a typedef'd enum without a tag.
11158
11159 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
11160 PRMS 1823; the bug still exists but isn't reproduced by this test
11161 anymore), and remove rs6000 XFAIL (the bug is fixed).
11162
11163 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
11164 duplicated from whatis.exp. For those that are left, accept
11165 "long", "long int", or "int" for long variables (whatis.exp already
11166 has an XFAIL for "int", so no need to fail it here).
11167
11168 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
11169 Deal with GCC's names for types now that GDB uses the compiler's names.
11170
11171 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
11172 setup_xfail's for sunos4. If we #defined the signed keyword away,
11173 don't expect GDB to know that char it is signed.
11174
11175 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
11176
11177Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
11178
11179 * configure.in (configdirs): Add gdb.t24 for C++ tests that
11180 should work on any system, regardless of debugging format.
11181 * gdb.t21/demangle.exp: Move to gdb.t24.
11182 * gdb.t24/demangle.exp: Move from gdb.t21.
11183 * gdb.t24/{Makefile.in, configure.in}: New files.
11184
11185Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11186
11187 * configure.in: Do gdb.stabs and C++ tests only for stabs.
11188 * gdb.stabs: New directory.
11189
11190Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
11191
11192 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
11193 not just "Quit anyway?".
11194
11195Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
11196
11197 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
11198 that all setup_xfails are immediately followed by clear_xfails.
11199
11200Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
11201
11202 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
11203 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
11204 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
11205 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
11206 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
11207 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11208 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11209 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
11210 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
11211 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
11212 gdb.t31/chillvars.exp, lib/gdb.exp:
11213 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
11214 bug-gdb@prep.ai.mit.edu.
11215
11216Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
11217
11218 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
11219 with 0.0, not integer 0.
11220
11221Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
11222
11223 * gdb.t06/break.exp: Update for "Kill the program" message change.
11224
11225Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
11226
11227 * Makefile.in (GDBFLAGS): Set to -nx.
11228 * Makefile.in (site.exp): Use GDBFLAGS.
11229
11230Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11231
11232 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
11233 Makefiles.
11234 (check): depend on just-check.
11235 (just-check): added so that tests can be run without a noop
11236 build pass.
11237
11238Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
11239
11240 Switch to using configure's configdirs.
11241 * Makefile.in (Makefile): add configure.in dependency.
11242 (SUBDIRS): removed redundant assignment.
11243 * configure.in: switch subdirs assignment to configdirs.
11244 * gdb.t*/configure.in: new files.
11245
11246Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
11247
11248 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
11249 works.
11250
11251Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
11252
11253 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
11254 in explicit rules. Apparently this is not supported by some makes.
11255
11256Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
11257
11258 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
11259
11260Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11261
11262 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
11263 disappeared.
11264
11265Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
11266
11267 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
11268
11269Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
11270
11271 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
11272 watchpoint problem that is now fixed.
11273 * gdb.t30/chexp.exp: Remove setup_xfail for printing
11274 uninitialized convenience variables.
11275 * gdb.t31/chillvars.exp: Fix expected patterns for printing
11276 structures.
11277
11278Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11279
11280 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
11281 which causes expect to get out of sync with gdb on long output
11282 from help set.
11283 * gdb.t09/corefile.exp: Make expected pattern for core file
11284 failing signal and frame output format less sun specific.
11285
11286Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
11287
11288 * gdb.t31/chillvars.exp: Add and remove initial dummy
11289 breakpoint, so that symbol table is forced in.
11290 (Needed at least on Sunos4, though it seems not SVR4.)
11291 * gdb.t31/chillvars.exp: Update for changed output format.
11292
11293Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
11294
11295 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
11296
11297Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
11298
11299 * Makefile.in: Added --srcdir when invoking runtest, removed the
11300 need for a local config file. (optional now)
11301
11302Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
11303
11304 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
11305 failure count used to force early termination. Add some more
11306 expected failures for gnu style demangling.
11307
11308Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11309
11310 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
11311 pmi variable from gdb.t20/gdbme to get optimized away.
11312 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
11313 Check for written corefile upon timeout _and_ eof.
11314
11315Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11316
11317 * config/unix-gdb.exp: Add missing return 0.
11318
11319Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
11320
11321 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
11322 test termination.
11323
11324Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
11325
11326 * configure.in (subdirs): Put back gdb.t17 which mysteriously
11327 disappeared.
11328
11329Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
11330
11331 * gdb.t10/crossload.exp: Disable the i860-elf test until such
11332 time as i860 support works.
11333
beb998c6 11334 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
11335 "backtrace 100\r" rather than just "backtrace\r", to match last
11336 change.
11337
11338Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
11339
11340 * config/udi-gdb.exp (gdb_exit): Remove close command.
11341 (gdb_target_udi): New procedure to set the UDI target.
11342 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
11343 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
11344 Added waits for prompts after several question responses. Added
11345 some more responses used by a29k-amd-udi-gdb.
11346 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
11347 pass different arguments, restart UDI connection after program
11348 completion.
11349 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
11350 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
11351 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
11352 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
11353 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
11354 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
11355 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
11356 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
11357 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
11358 after program completion.
11359 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
11360 compiled with a SELECT_VECS setting.
11361 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
11362 infinite recursion.
11363
11364 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
11365 Added checks for COFF results, and made them expected failures for
11366 all targets. It would be better to make them expected failures
11367 for COFF targets only.
11368
11369Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
11370
11371 * Makefile.in: add null dvi target, don't bother to recurse
11372 through test directories for info and install-info; rename
11373 $(datadir) to be dejagnu instead of deja-gnu
11374
11375Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
11376
11377 * gdb.t31/gdbme.ch: Re-enable code that previously caused
11378 compiler to coredump.
11379 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
11380 code.
11381
11382Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
11383
11384 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
11385 coredump.
11386 * gdb.t31/chillvars.exp: Comment out tests that depend on that
11387 code.
11388
11389Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
11390
11391 * gdb.t03/ptype.exp: tests for return code from gdb_test.
11392 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
11393 which in a shell. Deletes xgdb when done.
11394 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
11395 Tests the return from the "set height" or "set width" commands.
11396 Added a few return codes where needed.
11397
11398Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
11399
11400 * Makefile.in (SUBDIRS): Add gdb.t17.
11401 * configure.in (subdirs): Add gdb.t17.
11402 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
11403 files to test gdb's calling of functions in the inferior with
11404 the correct arguments and gdb's ability to retrieve any
11405 result returned.
11406
11407Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
11408
11409 * config/unix-gdb.exp (gdb_exit): Remove close commands that
11410 may be called after gdb goes away. Previous versions of expect
11411 needed these to avoid file descriptor leaks, but they cause
11412 errors with the current revision of expect.
11413 * gdb.t00/gdbvars.exp: Use -re on expected output after
11414 setting sevenbit-strings.
11415 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
11416 to set sevenbit-strings consistent across tests.
11417 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
11418 set sevenbit-strings consistent across tests.
11419
11420Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
11421
11422 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
11423 expected output to match current "expect" expectations.
11424
11425Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
11426
11427 * gdb.t00/default.exp: Change expected output for default "source"
11428 command, to match new gdb behavior which requires a filename to
11429 source.
11430
11431Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
11432
11433 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
11434 expected fail for i486-*-* that misses the marker2 function.
11435 * gdb.t10/crossload.exp (bfddefault): Allow successful
11436 recognition of a format to pass even if no symbols are found.
11437 Explicitly catch failures where the format is not recognized
11438 or is ambiguous, and add the reason to the fail message.
11439 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
11440 the cause is and invalid target and add reason to failure message.
11441 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
11442 elf32-i386, elf32-sparc, and elf32-i860.
11443 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
11444 Set up expected failure for 'filename'::variable scope resolution,
11445 which is now apparently broken on all targets.
11446 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
11447 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
11448 gdb.t23/templates.exp: Change failure for missing binfile into
11449 just a warning.
11450 gdb.t21/demangle.exp: Change all cfront references to 'arm'
11451 references.
11452
11453Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
11454
11455 * gdb.t00/default.exp: Add expected output for default "source"
11456 command, to match new gdb behavior.
11457 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
11458
11459Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
11460
11461 * config/*-gdb.exp: returns an error, rather than exiting on
11462 internal errors.
11463
11464Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
11465
11466 * gdb.t03/gdbme.c: Add pointer to struct variable.
11467 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
11468 referencing struct members.
11469
11470Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
11471
11472 * configure.in (mips-idt-ecoff): New target.
11473 * config/mips-gdb.exp: New file for remote board using MIPS remote
11474 debugging protocol.
11475
11476 * Redid configuration scheme. Removed gdb.t*/configure.in.
11477 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
11478 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
11479 distclean targets. Built executables via .o files. Adjusted
11480 tests to account for source files in $(srcdir) rather than
11481 $(objdir).
11482 * lib/gdb.exp (runto): Don't expect () after the function name,
11483 because it may have arguments.
11484
11485Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
11486
11487 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
11488 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
11489 expected failures for mips-idt-* and mips-sgi-*.
11490 * gdb.t00/default.exp (attach): Kill process if requested.
11491 * gdb.t00/help.exp (help target core, help target): Accept a gdb
11492 that does not read core files.
11493 * gdb.t01/run.exp: Removed checks for exit status code.
11494 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
11495 it is linked in.
11496 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
11497 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
11498 appropriate, rather than doing it by hand.
11499 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
11500 execution.
11501 * gdb.t10/crossload.exp: Kill existing program if needed.
11502 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
11503 appropriate, rather than doing it by hand. Always increase
11504 timeout for this test, not just for VxWorks.
11505
11506Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
11507
11508 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
11509 of Chill STRUCT types and STRUCT values.
11510 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
11511 than "char".
11512 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 11513 struct2): New struct definitions and initializations to test
c906108c
SS
11514 simple Chill STRUCT types.
11515
11516Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
11517
11518 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
11519 the null byte at the end of strings.
11520 * gdb.t00/default.exp: Make show version insensitive to copyright
11521 date.
11522 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
11523 to avoid dependencies on target char signedness.
11524 * gdb.t16/printcmds.exp: Update expected results for explicitly
11525 unsigned char.
11526 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
11527 now work.
11528 * gdb.t21/demangle.exp: Add many more patterns for template
11529 demangling, most of them being expected failures.
11530 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
11531 string we are matching for, to match on the whole string.
11532 * gdb.t21/demangle.exp: Add many new test strings to demangle,
11533 and fix a whole bunch that had incorrect expected output but were
11534 passing anyway because of the bug in "proc demangle".
11535 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
11536 type.
11537 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
11538
11539Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
11540
11541 * gdb/testsuite: made modifications to testcases, etc., to allow
11542 them to work properly given the reorganization of deja-gnu and the
11543 relocation of the testcases from deja-gnu to a "tool" subdirectory.
11544
11545Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
11546
11547 * gdb/testsuite: Initial creation of gdb/testsuite.
11548 Migrated dejagnu testcases and support files for testing nm to
11549 gdb/testsuite from deja-gnu. These files were moved "as is"
11550 with no modifications. This migration is part of a major overhaul
11551 of dejagnu. The modifications to these testcases, etc., which
11552 will allow them to work with the new version of dejagnu will be
11553 made in a future update.
48efe704
AC
11554
11555For additional changes see gdb.mi/ChangeLog-1999-2003.
c906108c
SS
11556\f
11557Local Variables:
ef043731 11558mode: change-log
c906108c
SS
11559left-margin: 8
11560fill-column: 74
11561version-control: never
11562End: