]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - gdb/testsuite/ChangeLog
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 1999-03-23 Stan Shebs <shebs@andros.cygnus.com>
2
3 * gdb.c++/overload.cc: Pass string instead of char addr, always
4 init ccpfoo.
5 * gdb.c++/templates.cc: Fix syntax error.
6
7 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
8
9 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
10 character, so GDB won't print garbage after its end.
11
12 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
13 breakpoint there instead. Sometimes GCC emits memcpy to handle
14 the large structures being passed by value, so we step into that
15 instead of sum_array_print, which obscures what we're really testing.
16 * gdb.base/step-test.exp: However, we do want a test that notices
17 the bizarre steps into memcpy, so do that here. Add check for
18 stepping into function calls that pass large structures by value.
19 ("Is that a noun clause, or are you just happy to see me?")
20 Remove all references to specific line numbers.
21 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
22 New type and function.
23 (main): Call large_struct_by_value, passing it a large struct by value.
24 * lib/gdb.exp (gdb_get_line_number): New function.
25
26 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
27 more portable.
28
29 * lib/gdb.exp: Doc fixes.
30
31 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
32 commands. They're not germane to this test, and they don't work
33 that way on remote targets.
34
35 1999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
36
37 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
38 * gdb.base/call-rt-st.c: Ditto.
39
40 1999-02-23 Jim Blandy <jimb@zwingli.cygnus.com>
41
42 * configure.in: Formatting fix.
43 * configure: Regenerated.
44
45 1999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
46
47 * gdb.threads/pthreads.exp (horiz): New variable.
48 (test_startup): Fix regexps that capture thread numbers.
49
50 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
51
52 * gdb.base/smoke.exp: Disambiguate two test case names (both
53 called ``print'').
54
55 Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
56
57 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
58 compilation.
59
60 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
61
62 * gdb.base/miscexprs.exp: Change patterns to match GDB's
63 actual output formatting.
64 * gdb.base/smoke.exp: GDB removes leading 0's.
65 * gdb.base/volatile.exp: Don't check type of remuneration;
66 that variable is no longer defined in constvars.c.
67 * gdb.base/step-test.c (main): Exit with explicit exit code.
68 * gdb.base/step-test.exp: Remove two nexti checks--they are
69 not portable.
70
71 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
72
73 * gdb.base/help.exp ("help delete display"): Fix test to match
74 gdb's output.
75
76 * gdb.base/long_long.c (known_types): Initialize values to zero.
77 * gdb.base/long_long.exp: Step one more line
78 so 'dec' is initialized in "get to known place". GDB removes
79 leading zeros. Explicitly ask for hex formatting. Use
80 unique test case names.
81
82 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
83
84 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
85
86 * gdb.c++/method.exp: Add missing close brace.
87
88 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
89
90 * gdb.base/maint.exp: Use 'set height 0' to disable page
91 prompting, not 'set height 400'.
92
93 Fix a bunch of timeouts.
94 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
95 four separate tests, so expect doesn't take forever to match a ton
96 of text against a regexp with lots of .* forms.
97 ("maint print psymbols", "maint print symbols"): Make some of
98 these greps more selective, so that expect doesn't try to wade
99 through huge piles of output and time out.
100
101 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
102
103 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
104 tests: one which doesn't expect shlib events to be reported, and
105 another which does, but is XFAIL for all platforms other than
106 HP/UX.
107
108 * gdb.base/break.exp: Teach the test suite that the `catch
109 fork', `catch vfork', and `catch exec' commands produce error
110 messages on platforms that don't provide these features.
111
112 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
113
114 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
115 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
116 (shortening names from solib_threshold.exp etc), won't run on
117 anything but HP-UX for the foreseeable future.
118 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
119 reflect move.
120
121 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
122
123 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
124 gdb.trace/Makefile.in (clean): Remove all test executables.
125
126 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
127
128 * gdb.base/shlib-call.exp: add test cases to verify that gdb
129 successfully re-sets breakpoints in shared libraries.
130 * gdb.base/shmain.c (main): return 0, don't fall off the end.
131
132 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
133
134 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
135 and compiled w/o GCC.
136
137 * gdb.hp/watch-cmd.exp: ditto.
138
139 * gdb.hp/watch-hp.exp: ditto.
140
141 * gdb.hp/xdb1.exp: ditto.
142
143 * gdb.hp/xdb2.exp: ditto.
144
145 * gdb.hp/dbx.exp: ditto.
146
147 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
148
149 * constvars.c: Remove C++-isms.
150 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
151 with GCC.
152
153 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
154
155 The following changes are part of the HP merge.
156
157 * gdb.base/break.exp: new tests to verify that catchpoints for
158 fork, vfork, and exec don't trigger inappropriately.
159
160 * gdb.base/opaque.exp: compile one file at a time, then link.
161
162 * gdb.base/signals.exp: be more restrictive about which hppa
163 systems receive a setup_xfail. new tests.
164
165 * gdb.base/solib_threshold.build: new file.
166 * gdb.base/solib_threshold.exp: new file.
167 * gdb.base/solib_threshold.link_opts: new file.
168 * gdb.base/solib_threshold.mk: new file.
169 * gdb.base/gen_solib_threshold.c: new file.
170
171 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
172 tests. New tests for enums inside classes.
173
174 * gdb.c++/compiler.cc: indicate support of template debugging.
175
176 * gdb.c++/demangle.exp: run hp style demangling tests.
177
178 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
179 tests.
180
181 * gdb.c++/misc.cc: changes to support new tests.
182
183 * gdb.c++/templates.cc: changes to support HP's compiler; changes
184 to support new tests.
185
186 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
187 gcc, then skip these tests.
188
189 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
190
191 The following files are part of the HP merge; some had longer
192 names at HP, but have been renamed to be no more than 14
193 characters in length.
194
195 * gdb.hp/ambiguous.cc: new file.
196 * gdb.hp/ambiguous.exp: new file.
197 * gdb.hp/attach.exp: new file.
198 * gdb.hp/attach2.exp: new file.
199 * gdb.hp/classes-hp.exp: new file.
200 * gdb.hp/ctti.exp: new file.
201 * gdb.hp/ctti-add.cc: new file.
202 * gdb.hp/ctti-add1.cc: new file.
203 * gdb.hp/ctti-add2.cc: new file.
204 * gdb.hp/ctti-add3.cc: new file.
205 * gdb.hp/dbx.exp: new file.
206 * gdb.hp/exception.cc: new file.
207 * gdb.hp/exception.exp: new file.
208 * gdb.hp/foll-exec.c: new file.
209 * gdb.hp/foll-exec.exp: new file.
210 * gdb.hp/foll-fork.c: new file.
211 * gdb.hp/foll-fork.exp: new file.
212 * gdb.hp/foll-vfork.c: new file.
213 * gdb.hp/foll-vfork.exp: new file.
214 * gdb.hp/inherit-hp.exp: new file.
215 * gdb.hp/more-steps.exp: new file.
216 * gdb.hp/namespace.cc: new file.
217 * gdb.hp/namespace.exp: new file.
218 * gdb.hp/optimize.exp: new file.
219 * gdb.hp/pxdb.c: new file.
220 * gdb.hp/pxdb.exp: new file.
221 * gdb.hp/quicksort.exp: new file.
222 * gdb.hp/reg-test.exp: new file.
223 * gdb.hp/reg-test.s: new file.
224 * gdb.hp/sized-enum.c: new file.
225 * gdb.hp/sized-enum.exp: new file.
226 * gdb.hp/start-stop.exp: new file.
227 * gdb.hp/templ-hp.cc: new file.
228 * gdb.hp/templ-hp.exp: new file.
229 * gdb.hp/thr-lib.c: new file.
230 * gdb.hp/thr-lib.exp: new file.
231 * gdb.hp/thr-lib.h: new file.
232 * gdb.hp/thr-liblib.c: new file.
233 * gdb.hp/virtfun-hp.c: new file.
234 * gdb.hp/virtfun-hp.exp: new file.
235 * gdb.hp/watch-cmd.exp: new file.
236 * gdb.hp/watch-hp.exp: new file.
237 * gdb.hp/xdb1.exp: new file.
238 * gdb.hp/xdb2.exp: new file.
239 * gdb.hp/xdb3.exp: new file.
240
241 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
242
243 The following files are part of the HP merge; some had longer
244 names at HP, but have been renamed to be no more than 14
245 characters in length.
246
247 * gdb.base/ss.h: new file.
248 * gdb.base/call-ar-st.c: new file.
249 * gdb.base/call-ar-st.exp: new file.
250 * gdb.base/call-rt-st.c: new file.
251 * gdb.base/call-rt-st-exp: new file.
252 * gdb.base/call-strs.exp: new file.
253 * gdb.base/ena-dis-br.exp: new file.
254 * gdb.base/environ.exp: new file.
255 * gdb.base/long_long.exp: new file.
256 * gdb.base/sect-cmd.exp: new file.
257 * gdb.base/shlib-cl2.exp: new file.
258 * gdb.base/smoke.exp: new file.
259 * gdb.base/so-impl-ld.c: new file.
260 * gdb.base/so-impl-ld.exp: new file.
261 * gdb.base/so-indr-cl.c: new file.
262 * gdb.base/so-indr-cl.exp: new file.
263 * gdb.base/varargs.exp: new file.
264 * gdb.base/volatile.exp: new file.
265 * gdb.base/whatis-exp.exp: new file.
266 * gdb.c++/derivation.exp: new file.
267 * gdb.c++/local.exp: new file.
268 * gdb.c++/member-ptr.exp: new file.
269 * gdb.c++/overload.exp: new file.
270 * gdb.c++/ovldbreak.exp: new file.
271 * gdb.c++/ref-types.exp: new file.
272 * gdb.c++/ref-types2.exp: new file.
273 * gdb.c++/userdef.exp: new file.
274
275 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
276
277 * gdb.base/default.exp: Reflect wording change in remote.c.
278
279 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
280
281 * gdb.base/help.exp: Update to reflect current text.
282
283 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
284
285 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
286 they're stack variables and contain garbage.
287 * gdb.c++/anon-union.exp: new file.
288
289 The following changes were made by David Taylor
290 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
291 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
292 in changes by HP.
293
294 * gdb.base/bitops.exp: new file.
295 * gdb.base/default.exp: change expected messages for catch and
296 info catch tests to reflect HP merge changes.
297 * gdb.base/enable-disable-break.exp
298 * gdb.base/ending-run.c: new file.
299 * gdb.base/long_long.c: new file.
300 * gdb.base/maint.exp: new file.
301 * gdb.base/pointers2.exp: new file.
302 * gdb.base/shlib-call2.exp: new file.
303 * gdb.base/solib.exp: new file.
304 * gdb.base/step-test.c: new file.
305 * gdb.c++/anon-union.cc: new file.
306 * gdb.c++/local.cc: new file.
307 * gdb.c++/member-pointer.cc: new file.
308 * gdb.c++/method.cc: new file.
309 * gdb.c++/ref-types.cc: new file.
310 * gdb.c++/ref-types2.cc: new file.
311 * gdb.c++/userdef.cc: new file.
312
313 * gdb.base/scope.exp: compile one file at a time, then link.
314 * gdb.base/langs.exp: ditto.
315 * gdb.base/list.exp: ditto.
316
317 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
318
319 The following changes were made by David Taylor
320 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
321 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
322 in changes by HP.
323
324 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
325 skip tests. When compiling pass c++ flag to gdb_compile.
326 * gdb.c++/
327
328 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
329 test for on hppa*-*-hpux*; use args to see if c++ was specified.
330 (skip_hp_tests): new function.
331 (gdb_preprocess): new function.
332
333 * configure.in (hpdir): decide whether to configure gdb.hp.
334 * configure: regenerated.
335
336 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
337 to delete on clean.
338 (EXECUTABLES): update to reflect new additions.
339 * gdb.base/commands.exp: update message expected.
340 * gdb.base/default.exp: add copyright notice.
341 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
342 * gdb.base/help.exp: update messages to reflect current text.
343 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
344 targets for recurse tests.
345 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
346 skip this file.
347
348 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
349 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
350 compilation.
351 * gdb.c++/misc.exp: ditto.
352 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
353 run the tests. tell gdb_compile that it's a c++ compilation.
354
355 * gdb.threads/pthreads.exp: fix typo in message.
356
357 * gdb.base/all-bin.exp: new file.
358 * gdb.base/arithmet.exp: new file.
359 * gdb.base/assign.exp: new file.
360 * gdb.base/completion.exp: new file.
361 * gdb.base/cond-expr.exp: new file.
362 * gdb.base/condbreak.exp: new file.
363 * gdb.base/define.exp: new file.
364 * gdb.base/dollar.exp: new file.
365 * gdb.base/environment.exp: new file.
366 * gdb.base/eval-skip.exp: new file.
367 * gdb.base/jump.exp: new file.
368 * gdb.base/logical.exp: new file.
369 * gdb.base/pointers.exp: new file.
370 * gdb.base/relational.exp: new file.
371 * gdb.base/section_command.exp: new file.
372 * gdb.base/whatis-expr.exp: new file.
373
374 * gdb.base/all-types.c: new file.
375 * gdb.base/call-array-struct.c: new file.
376 * gdb.base/call-return-struct.c: new file.
377 * gdb.base/call-strings.c: new file.
378 * gdb.base/callfuncs2.c: new file.
379 * gdb.base/condbreak.c: new file.
380 * gdb.base/constvars.c: new file.
381 * gdb.base/display.c: new file.
382 * gdb.base/int-type.c: new file.
383 * gdb.base/jump.c: new file.
384 * gdb.base/miscexprs.c: new file.
385 * gdb.base/pointers.c: new file.
386 * gdb.base/pointers2.c: new file.
387 * gdb.base/shmain.c: new file.
388 * gdb.base/shr1.c: new file.
389 * gdb.base/shr2.c: new file.
390 * gdb.base/solib.c: new file.
391 * gdb.base/solib1.c: new file.
392 * gdb.base/solib2.c: new file.
393 * gdb.base/varargs.c: new file.
394 * gdb.c++/derivation.cc: new file.
395 * gdb.c++/overload.cc: new file.
396 * gdb.c++/ovldbreak.cc: new file.
397 * gdb.hp/attach.c: new file.
398 * gdb.hp/attach2.c: new file.
399 * gdb.hp/average.c: new file.
400 * gdb.hp/compiler.c: new file.
401 * gdb.hp/compiler.cc: new file.
402 * gdb.hp/execd-program.c: new file.
403 * gdb.hp/follow-exec.c: new file.
404 * gdb.hp/follow-fork.c: new file.
405 * gdb.hp/follow-vfork-and-exec.c: new file.
406 * gdb.hp/misc-hp.cc: new file.
407 * gdb.hp/more-steps.c: new file.
408 * gdb.hp/optimize.c: new file.
409 * gdb.hp/quicksort.c: new file.
410 * gdb.hp/run-hp.c: new file.
411 * gdb.hp/start-stop.c: new file.
412 * gdb.hp/sum.c: new file.
413 * gdb.hp/templates-hp.cc: new file.
414 * gdb.hp/thread-local-in-lib.c: new file.
415 * gdb.hp/thread-local-in-lib.h: new file.
416 * gdb.hp/thread-local-in-lib.lib.c: new file.
417 * gdb.hp/vforked-program.c: new file.
418 * gdb.hp/virtfunc-hp.cc: new file.
419 * gdb.hp/watchpoint-hp.c: new file.
420 * gdb.hp/xdb.c: new file.
421 * gdb.hp/xdb0.c: new file.
422 * gdb.hp/xdb0.h: new file.
423 * gdb.hp/xdb1.c: new file.
424
425 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
426
427 The following change was made by Edith Epstein
428 <eepstein@cygnus.com> as part of a project to merge in changes
429 originally made by HP; HP did not create ChangeLog entries.
430
431 * gdb.c++/demangle.exp: changed the expected output for some
432 ARM-style mangling -- removed second reference to datatype.
433 For example, maint demangle __dt__11T1__pt__2_cFv
434 T1<char>::~T1<char>(void)
435 becomes,
436 maint demangle __dt__11T1__pt__2_cFv
437 T1<char>::~T1(void)
438
439 (test_hp_style_demangling): new hp specific demangling test cases.
440
441 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
442
443 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
444 * gdb.trace/backtrace.exp: Likewise.
445 * gdb.trace/circ.exp: Likewise.
446 * gdb.trace/collection.exp: Likewise.
447 * gdb.trace/deltrace.exp: Likewise.
448 * gdb.trace/infotrace.exp: Likewise.
449 * gdb.trace/limits.exp: Likewise.
450 * gdb.trace/packetlen.exp: Likewise.
451 * gdb.trace/passc-dyn.exp: Likewise.
452 * gdb.trace/passcount.exp: Likewise.
453 * gdb.trace/report.exp: Likewise.
454 * gdb.trace/save-trace.exp: Likewise.
455 * gdb.trace/tfind.exp: Likewise.
456 * gdb.trace/tracecmd.exp: Likewise.
457 * gdb.trace/while-dyn.exp: Likewise.
458 * gdb.trace/while-stepping.exp: Likewise.
459
460 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
461
462 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
463
464 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
465
466 From Brendan Kehoe:
467 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
468 int return types.
469
470 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
471
472 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
473 remote dos host testing right.
474
475 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
476
477 * gdb.base/corefile.exp: remove some xfails.
478
479 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
480
481 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
482 have different timestamps.
483
484 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
485
486 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
487 gdb.base/default.exp: Replace "exec" with "executable".
488
489 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
490
491 * gdb.base/default.exp: Change else if to elseif from previous
492 delta.
493
494 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
495
496 * gdb.base/default.exp: Add brace missing from previous delta.
497
498 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
499
500 * gdb.base/default.exp: Support test for info float for all
501 varieties of arm toolchain.
502
503 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
504
505 * gdb.trace/*.exp: remove "remote_download" command.
506
507 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
508
509 * gdb.trace/*.exp: remove -gdwarf from compile.
510
511 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
512
513 * gdb.trace/configure.in(AC_INIT): typo
514 * gdb.trace/configure: regenerated
515
516 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
517
518 * config/m68k-emc.exp: New file.
519 * lib/<emc-support.exp trace-support.exp}: New files.
520 * configure.in: add new test directory gdb.trace.
521 * gdb.trace/{configure configure.in Makefile.in}: New files.
522 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
523 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
524 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
525 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
526 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
527 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
528 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
529
530 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
531
532 * gdb.c++/classes.exp: Change all regular expressions to match
533 arbitrary combinations of newline/carriage-return, so that they
534 will work equally well on Unix and Windows.
535 * gdb.c++/inherit.exp: ditto.
536 * gdb.c++/virtfunc.exp: ditto.
537
538 1998-08-11 Dawn Perchik <dawn@cygnus.com>
539
540 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
541
542 1998-07-11 Felix Lee <flee@cygnus.com>
543
544 * gdb.base/callfuncs.exp: add cmp10 test.
545 * gdb.base/callfuncs.c (cmp10): new function.
546
547 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
548
549 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
550 into two parts to get around a synchronization problem in expect.
551
552 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
553
554 * gdb.fortran/types.exp: Escape brackets in expect patterns
555 for test_float_literal_types_accepted tests.
556 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
557 before run test.
558
559 1998-06-25 Felix Lee <flee@cygnus.com>
560
561 * gdb.base/setshow.exp: make sure $pc is sane.
562
563 * gdb.stabs/weird.exp: split expect patterns properly.
564
565 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
566
567 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
568 match processing (and eliminate spurious timeouts when running).
569
570 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
571
572 * gdb.base/signals.exp (test_handle_all_print): put back Mach
573 exception test, but conditionalize it on target [mach | gnu].
574
575 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
576
577 * gdb.base/overlays.exp: fixup compile line for linker script.
578
579 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
580
581 * gdb.fortran/types.exp: don't guess at float size.
582
583 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
584
585 * gdb.base/exprs.exp: delete test that depends on int size.
586
587 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
588
589 * config/sim.exp: Removed checks for target triplets.
590 (gdb_target_sim): Use gdb,target_sim_options.
591
592 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
593
594 * gdb.base/reread.exp: New file.
595 * gdb.base/reread1.c: New file.
596 * gdb.base/reread2.c: New file.
597
598 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
599
600 * config/sim.exp: Use 'target sim -sparclite' when running
601 SPARClite programs.
602
603 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
604
605 * gdb.base/structs2.exp: New file.
606 * gdb.base/structs2.c: New file.
607
608 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
609
610 * gdb.asm/common.inc: New file.
611 * gdb.asm/d10v.inc: New file.
612 * asm-source.exp: Pass -I's to gas to find .inc files.
613 Update line numbers in expected output.
614 * asmsrc1.s: Rewrite.
615 * asmsrc2.s: Rewrite.
616 * configure.in: Create arch.inc symlink.
617 * configure: Regenerate.
618 * Makefile.in (distclean): Delete arch.inc.
619
620 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
621
622 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
623 (t_enum_value2): ditto
624 (t_enum_value3): ditto
625 (main): ditto
626 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
627
628 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
629 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
630 change.
631 Use gdb_test instead of send_gdb/gdb_expect sequences.
632
633 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
634
635 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
636 not void.
637
638 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
639
640 * gdb.base/branches.c: Code with lots of loops and
641 subroutines. Used to test gdbs ability to single step through PC
642 changes, especially to test mips-tdep.c:mips_next_pc
643
644 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
645
646 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
647 more rigorous EGCS C++ error checking.
648
649 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
650
651 * gdb.base/help.exp: Clean up `help set args' and `help show args'
652 tests.
653 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
654 function when asleep.
655 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
656 for i*86 Linux and SVR4 signal handling problems.
657 Remove linux xfail for `next to handler in signals_tests_1', fixed
658 by recent infrun.c change.
659 Limit backtrace to 10 frames to avoid timeout problems with infinite
660 stack backtraces.
661 Adjust expect pattern in `handle all print' test to match Apr 28 1997
662 target.[ch] change.
663
664 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
665
666 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
667 for a newline from gdb before continuing.
668 (default_gdb_exit): Just look for y or n.
669 (gdb_test): Detect abnormal exit from GDB running on DOS; if
670 it does, fail the rests of the tests in the file.
671
672 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
673
674 * config/cygmon.exp: New file.
675
676 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
677
678 * gdb.base/list.exp: Fix problem with "list default lines around
679 main" test on remote targets.
680
681 * gdb.base/scope.exp: Fix problem with filelocal_bss before
682 run test on remote targets.
683
684 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
685
686 * gdb.asm: New directory.
687 * configure.in: Configure it.
688 * configure: Regenerate.
689 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
690 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
691
692 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
693
694 * config/mn10300-eval.exp: New file to support MN10300 eval board.
695
696 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
697
698 * gdb.base/overlays (several files): Merge the two overlay
699 managers into one. Change variables (foox, barx, bazx, grbxx)
700 back into ints but force them to load in their proper sections.
701
702 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
703
704 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
705 on-chip insn memory and IMAP1 to upper 128k.
706 (D10VCopy): Handle memory regions crossing 16k boundaries.
707 (D10VCopy): Transfer data in 32 bit chunks.
708
709 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
710
711 * gdb.base/overlays.c (main): Exit normally when result is
712 correct.
713
714 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
715 map. Include space for printf in .text segment.
716
717 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
718 updated d10v memory VMA/LMA map.
719 (D10VCopy): Call D10VTranslate.
720
721 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
722
723 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
724
725 * gdb.base/bar.c (barx, bar): Change variable to small array so
726 that it won't be put into the .sdata - small data -
727 section. Update reference.
728 * gdb.base/baz.c (bazx, baz): Ditto.
729 * gdb.base/foo.c (foox, foo): Ditto.
730 * gdb.base/grbx.c (grbxx, grbx): Ditto.
731
732 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
733 to be arrays.
734
735 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
736
737 * gdb.base/overlays.exp: fix up and get working again.
738 Add tests for backtraces from an overlay function.
739
740 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
741
742 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
743 "calling function with watchpoint enabled".
744
745 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
746
747 * gdb.base/break.exp (test_next_with_recursion): Remove
748 gdb_suppress_tests for d10v-*-*.
749 * lib/gdb.exp (gdb_suppress_tests): Disable this function
750 pending review of whether it is useful or not.
751
752 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
753
754 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
755
756 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
757
758 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
759 * config/dve.exp: New file to support Densan boards.
760
761 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
762
763 * gdb.base/interrupt.exp: Document problem of simulators, signals,
764 reads and BSD.
765
766 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
767
768 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
769 response.
770
771 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
772
773 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
774
775 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
776 test.
777
778 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
779 target_sizeof_long and target_bigendian_p.
780 (structs_by_value, structs_by_reference): Check values according
781 to targets word size and endianess.
782
783 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
784
785 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
786 output.
787
788 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
789
790 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
791 Update test of set args help to match source change.
792
793 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
794
795 * gdb.base/default.exp: Expect help system output to be in
796 alphabetical order.
797 * gdb.base/help.exp: Ditto.
798
799 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
800
801 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
802 "i*86-pc-linux-gnu*".
803 * gdb.base/interrupt.exp: Ditto.
804 * gdb.base/corefile.exp: Ditto.
805
806 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
807 define vxworks when building the testcase.
808
809 * gdb.base/ptype.exp: Fix testnames to be unique.
810 * gdb.base/radix.exp: Ditto.
811 * gdb.base/term.exp: Ditto.
812 * gdb.base/whatis.exp: Ditto.
813 * gdb.c++/classes.exp: Ditto.
814
815 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
816
817 * gdb.base/callfuncs.exp: Fix indentation.
818
819 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
820 suppress_flag has been set.
821 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
822 target feature.
823
824 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
825
826 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
827 the testcase.
828
829 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
830 set_debug_traps() and breakpoint().
831 * gdb.c++/misc.cc (main): Ditto.
832 * gdb.c++/templates.cc (main): Ditto.
833 * gdb.c++/virtfunc.cc (main): Ditto.
834
835 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
836
837 * lib/gdb.exp(gdb_step_for_stub): New function.
838 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
839 exists, reload the executable and do a "continue" instead of
840 doing a jump.
841 (runto_main): Use gdb_step_for_stub.
842
843 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
844 tests to have unique names.
845 * gdb.base/callfuncs.exp: Ditto.
846 * gdb.base/commands.exp: Ditto.
847 * gdb.base/default.exp: Ditto.
848 * gdb.base/help.exp: Ditto.
849 * gdb.base/list.exp: Ditto.
850 * gdb.base/opaque.exp: Ditto.
851 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
852 similar tests.
853
854 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
855 * gdb.c++/cplusfuncs.cc: Ditto.
856 * gdb.c++/virtfunc.cc: Ditto.
857
858 * config/monitor.exp: Keep track of the last file we saw, rather
859 than trying to get the info from gdb.
860
861 * gdb.fortran/types.exp: Move comment to previous line.
862
863 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
864
865 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
866 target mode.
867
868 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
869
870 From Bob Manson:
871 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
872 string from GDB when it connects.
873
874 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
875
876 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
877
878 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
879 if we can't get a debug format from GDB (we may be testing an
880 older GDB). Use a 10 second timeout when checking for the format.
881
882 * gdb.stabs/weird.exp: Fix quoting.
883
884 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
885
886 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
887
888 * config/arm-ice.exp: New file.
889
890 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
891
892 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
893 until it has been modified to work with the new testsuite.
894
895 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
896 testcase won't compile, cause all of the testcases in the file to
897 fail instead.
898
899 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
900 (gdb_clear_suppressed): New procedure.
901 (gdb_stop_suppressing_tests): Only clear suppress_flag if
902 it contains a positive value.
903
904 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
905
906 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
907
908 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
909
910 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
911
912 * lib/gdb.exp (setup_xfail_format): New function.
913 (get_debug_format): New function to get debug format.
914 (debug_format): New global variable to hold last value set
915 by get_debug_format.
916 * gdb.base/list.exp: Call get_debug_format and expect some
917 tests to fail for DWARF 1 and COFF formats.
918 * gdb.c++/ptype.exp: Ditto.
919 * gdb.c++/classes.exp: Ditto.
920 * gdb.c++/cplusfuncs.exp: Ditto.
921 * gdb.c++/inherit.exp: Ditto.
922 * gdb.c++/templates.exp: Ditto.
923 * gdb.c++/virtfunc.exp: Ditto.
924
925 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
926
927 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
928 host doesn't have a currently-open connection.
929
930 * config/sparclet.exp: Cleanups and fixes to make it generic for
931 any gdb stub target. Handle cases where gdb doesn't respond when
932 interrupted in a sane fashion.
933
934 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
935 same thing in a totally different way.
936
937 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
938 setting "timeout".
939 (gdb_start): We set the global gdb_prompt variable in
940 default_gdb_init now.
941
942 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
943
944 * gdb.base/printcmds.exp: Fix "check for floating addition"
945 regexp to accept results within approx +/- .01 of exact value.
946 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
947
948 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
949
950 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
951 properly.
952 (gdb_expect): Add optional timeout parameter, and add timeout
953 value to various calls.
954 (gdb_suppress_tests): Only give one warning message per group.
955
956 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
957
958 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
959 global variables. Handle getting a value for $timeout more
960 gracefully.
961
962 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
963
964 * lib/gdb.exp: Close connection to remote host if gdb doesn't
965 initialize.
966 (default_gdb_init): New procedure; allow gdb_init to be overridden
967 by a target configuration file.
968 (gdb_expect): Pass the timeout to remote_expect.
969
970 * config/monitor.exp(gdb_load): Fix typo in regexp.
971
972 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
973
974 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
975
976 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
977
978 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
979 here. Call gdb_target_exec before rebooting the target, to make
980 sure the connection to the target is closed.
981 (gdb_load): Pass the name of the executable to gdb_target_monitor.
982 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
983 Also detect "Timeout reading from remote" error.
984
985 * config/gdbserver.exp: Pass the executable being loaded to
986 gdb_target_monitor. Don't call gdb_file_cmd here; let
987 gdb_target_monitor do it.
988
989 * gdb.disasm/hppa.exp: Don't use exec_output.
990
991 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
992
993 * gdb.base/list.exp: If we're debugging a non-native target,
994 try to set the pc register to point to the start of the
995 program before doing the first list command.
996
997 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
998 test_calls after restarting.
999
1000 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
1001 reloading.
1002
1003 * gdb.base/watchpoint.exp: Fix typo.
1004
1005 * gdb.base/setshow.exp: Check for use_gdb_stub.
1006
1007 * gdb.base/break.exp: Fix continue until exit test for the gdb
1008 stub case.
1009 * gdb.base/langs.exp: Ditto.
1010
1011 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
1012 gdb_load_offset. If we weren't given a file to load, figure out
1013 what the current file is and use it.
1014
1015 * config/i386-bozo.exp: New file.
1016
1017 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
1018
1019 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
1020 feature.
1021
1022 * config/proelf.exp: New entry.
1023
1024 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
1025
1026 * lib/gdb.exp: Remove spurious .* patterns at the beginning
1027 of regexps.
1028
1029 * gdb.base/watchpoint.exp: Don't run the test_stepping
1030 tests if gdb can't call functions on the target.
1031
1032 * gdb.base/setshow.exp: Don't run the set prompt tests if
1033 the board has gdb_prompt set.
1034
1035 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
1036
1037 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
1038 * gdb.base/commands.exp: Likewise.
1039 * gdb.base/setshow.exp: Likewise.
1040
1041 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
1042
1043 * config/monitor.exp(gdb_start): Look for gdb_prompt target
1044 feature.
1045
1046 * config/i960.exp: New file.
1047
1048 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
1049
1050 * gdb.base/funcargs.exp: Check for gdb,short_int target
1051 feature instead of looking for explicit target triplets.
1052
1053 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
1054
1055 * gdb.base/printcmds.exp: add a couple more tests a la
1056 "p 123DEADBEEF", to check parse_number.
1057 * top.c: change "to enable to enable" to "to enable" in a couple
1058 of help strings.
1059
1060 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
1061
1062 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
1063 on the mn10300.
1064
1065 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
1066
1067 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
1068 where the test executable is run with explicit args.
1069 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
1070
1071 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
1072
1073 * gdb.base/run.c: Use FAKEARGV to build test executable that
1074 does not require a command line arg, since most simulators
1075 don't currently support passing such an arg into the simulated
1076 program.
1077 * gdb.base/commands.exp: Change tests to insert the proper
1078 value as the arg to the first recursive factorial call. Change
1079 compilation line to define FAKEARGV at compile time.
1080
1081 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
1082
1083 * gdb.base/recurse.exp: Enable these tests for the mn10300.
1084 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
1085 function with watchpoint enabled" test.
1086
1087 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
1088
1089 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
1090 Don't call gdb_test when the command doesn't return to a gdb prompt.
1091
1092 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
1093 "Tests restarted" messages.
1094
1095 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
1096
1097 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
1098
1099 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
1100
1101 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
1102 for INFO SYMBOL; add help tests for OVERLAY commands.
1103 * gdb.base/default.exp: add tests for INFO SYMBOL command;
1104 add tests for OVERLAY commands
1105 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
1106 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
1107 * gdb.base/sigall.c: add usestubs code frag
1108 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
1109
1110 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
1111
1112 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
1113 failures.
1114 (gdb_stop_suppressing_tests): Note that tests have restarted.
1115
1116 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
1117
1118 * config/h8300.exp: New file.
1119
1120 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
1121
1122 * gdb.base/setshow.exp: Check for the existence of a
1123 feature, not its value.
1124
1125 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
1126
1127 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
1128
1129 * gdb.base/scope.exp: It's now init0(), not init().
1130
1131 * gdb.base/scope0.c: For now, change init() to be init0().
1132
1133 * config/monitor.exp: Use gdb_serial in preference to serial
1134 or netport.
1135
1136 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
1137 and it's not already set.
1138
1139 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
1140
1141 * gdb.base/setshow.exp: Only test the run command if the target
1142 isn't using a stub and if it supports argument passing.
1143
1144 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
1145
1146 * config/udi.exp(gdb_start): Make sure UDICONF is set
1147 properly before starting gdb.
1148
1149 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
1150
1151 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
1152 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
1153 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
1154
1155 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
1156
1157 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
1158 specialized code to reboot the board, use remote_reboot instead.
1159
1160 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
1161
1162 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
1163
1164 * config/monitor.exp: Make sure we disconnect from the target.
1165 Also, try a reboot/reload cycle instead of failing if the
1166 load fails.
1167
1168 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
1169
1170 * gdb.base/default.exp: Don't set match_max.
1171 * gdb.base/help.exp: Ditto.
1172 * gdb.base/list.exp: Ditto.
1173 * gdb.base/signals.exp: Ditto.
1174
1175 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
1176 set, use remote_ld to download the testcase instead of
1177 the GDB loader.
1178
1179 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
1180
1181 * config/vr5000.exp: New file.
1182
1183 * config/monitor.exp(gdb_target_monitor): Add pattern for
1184 "Ending remote" to detect errors in connecting.
1185
1186 * gdb.base/setshow.exp: Add .* within auto language test.
1187
1188 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
1189 target feature.
1190
1191 * config/monitor.exp(gdb_load): Check for a failure when loading,
1192 and reboot the board if necessary.
1193
1194 * gdb.base/setvar.exp(test_set): Handle multiple prints within
1195 a set of tests. Remove print.* from the patterns being checked.
1196
1197 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
1198
1199 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
1200 refer to gdb_spawn_id.
1201
1202 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
1203 longer used.
1204 * config/sparclet.exp: Ditto.
1205 * config/sparclet-old.exp: Ditto.
1206 * config/slite.exp: Ditto.
1207 * config/sim.exp: Ditto.
1208 * gdb.base/funcargs.exp: Ditto.
1209
1210 * lib/gdb.exp:Remove references to gdb_spawn_id.
1211 (gdb_expect): Move to remote.exp.
1212
1213 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
1214
1215 * config/monitor.exp: Detect the "Couldn't establish connection"
1216 message from GDB.
1217
1218 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
1219
1220 * gdb.base/bitfields.exp: Use runto instead of explicit
1221 gdb_run_cmd/gdb_expect sequences.
1222
1223 * gdb.base/break.exp(text_next_with_recursion): Add match for
1224 gdb_expect call.
1225
1226 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
1227 We also need to handle the "A program is being debugged already"
1228 prompt from gdb. Use gdb_test to set the baud rate.
1229
1230 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
1231 to 20000. Really. I mean it.
1232
1233 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
1234
1235 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
1236 fails. If suppress_flag is set, skip perror message about not
1237 being able to send to GDB.
1238 (send_gdb): If suppress_flag is set, don't try to send commands to
1239 GDB.
1240 (gdb_expect): If suppress_flag is set, always fail immediately.
1241 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
1242 (gdb_init): Call gdb_stop_suppressing_tests.
1243 (default_gdb_exit): Ditto.
1244 (default_gdb_start): Ditto.
1245
1246 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
1247 gdb_stop_suppressing_tests as appropriate.
1248 * gdb.base/break.exp: Ditto.
1249 * gdb.base/callfuncs.exp: Ditto.
1250 * gdb.base/commands.exp: Ditto.
1251 * gdb.base/exprs.exp: Ditto.
1252 * gdb.base/funcargs.exp: Ditto.
1253 * gdb.base/list.exp: Ditto.
1254 * gdb.base/recurse.exp: Ditto.
1255 * gdb.base/scope.exp: Ditto.
1256 * gdb.base/structs.exp: Ditto.
1257 * gdb.c++/inherit.exp: Ditto.
1258
1259 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
1260
1261 * config/vr4300.exp: New file.
1262
1263 * gdb.*/*.exp: Call gdb_expect instead of expect.
1264
1265 * lib/gdb.exp(gdb_expect): New function.
1266
1267 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
1268
1269 * lib/gdb.exp(gdb_init): New function.
1270
1271 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
1272 for each individual variable set.
1273
1274 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
1275 name.
1276
1277 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
1278
1279 * gdb.base/scope.exp: Use gdb_test.
1280
1281 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
1282 aborting; the testsuite driver will do that for us (see
1283 gdb_finish). Also, use gdb_test in a few more places.
1284
1285 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
1286
1287 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
1288
1289 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
1290
1291 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
1292 and "add_tests" are not at the same address.
1293
1294 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
1295
1296 * gdb.base/ptype.exp: Use gdb_test.
1297
1298 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
1299
1300 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
1301 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
1302 left in. No longer expect them to fail.
1303
1304 * gdb.stabs/*.mt; Deleted, no longer used.
1305 * gdb.stabs/configure.in: Remove references to target makefile
1306 frags.
1307 * gdb.stabs/configure: Rebuilt.
1308
1309 * gdb.disasm/*.mt: Deleted, no longer used.
1310 * gdb.disasm/configure.in: Remove references to target makefile
1311 frags. Use "sh3.s" as the unique filename for this directory.
1312 * gdb.disasm/configure: Rebuilt.
1313
1314 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
1315 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
1316 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
1317
1318 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
1319
1320 * config/udi.exp: Use mondfe,name instead of remote_host.
1321
1322 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
1323
1324 * gdb.base/watchpoint.exp: Don't expect a failure when calling
1325 a function with a watchpoint enabled on the mn10200.
1326
1327 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
1328 before trying to create it!
1329
1330 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
1331
1332 * config/vx.exp: Use hostname instead of netport.
1333
1334 * config/vxworks.exp: New file.
1335
1336 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
1337
1338 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
1339 gdb before assuming everything worked. Send a ^C if a timeout
1340 occurs.
1341
1342 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
1343 $gdb_spawn_id directly.
1344 (gdb_run_cmd): Try _start as well as start. Use the target feature
1345 gdb,start_symbol as the symbol to start from when jumping.
1346
1347 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
1348
1349 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
1350 redundant) test.
1351
1352 * gdb.base/recurse.exp: Relax final value test for 'b' so that
1353 it doesn't lose for 16bit integer systems.
1354
1355 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
1356
1357 * gdb.fortran/types.exp: If the target doesn't support "double"
1358 data types, then expect "real" types to only be 4 bytes.
1359
1360 * gdb.c++/virtfunc.exp: Expect failure for virtual function
1361 call tests if the target doesn't support inferior function calls.
1362
1363 * gdb.base/printcmds.exp: Allow minor deviation in FP values
1364 in printf tests.
1365
1366 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
1367
1368 * gdb.base/help.exp: Disable "help set", "help show", and
1369 "help support". Simplify regexp for "help stack".
1370
1371 * gdb.base/default.exp: Set match_max to 5000 and the timeout
1372 to 60 seconds. Temporarily set match_max to 15000 around the
1373 "info copying" test.
1374
1375 * gdb.base/nodebug.exp: Don't try to do an inferior function
1376 call if the target doesn't support them.
1377 * gdb.base/printcmds.exp: Likewise.
1378 * gdb.base/setvar.exp: Likewise.
1379 * gdb.base/structs.exp: Likewise.
1380 * gdb.c++/templates.exp: Likewise.
1381 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
1382
1383 * gdb.base/recurse.exp: Enable for the mn10200.
1384
1385 * configure.in: Do configure gdb.stabs directory for *-*-elf
1386 targets.
1387 * configure: Rebuilt.
1388
1389 * gdb.base/break.exp: Check for gdb,noresults before testing
1390 exit status and/or results from the target.
1391 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
1392 * lib/gdb.exp: Remove old (now bogus) initialization of
1393 noinferior, noargs, noresults and nosignals.
1394
1395 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
1396
1397 * config/sh.exp: New file.
1398
1399 * config/slite.exp: Try to connect multiple times to the board
1400 before rebooting. Only send a "monitor run" if need_monitor_run
1401 is set.
1402
1403 * gdb.base/break.exp: Don't do the "stub continue" test if
1404 the target has gdb_stub set.
1405
1406 * gdb.base/callfuncs.exp: Increase the timeout.
1407
1408 * gdb.base/interrupt.exp: Don't even try to compile the testcase
1409 if the target has gdb,noinferiorio set.
1410
1411 * gdb.base/list.exp: Increase match_max to 10000 characters.
1412
1413 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
1414
1415 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
1416 target.
1417
1418 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
1419
1420 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
1421
1422 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
1423 trying to delete the copy of gdb. Catch the file delete so we
1424 don't die if the delete fails; also, the file should be copied to
1425 the host, not to the build.
1426
1427 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
1428
1429 * lib/gdb.exp(gdb_test): Surround the result pattern with
1430 parenthesis in case it contains multiple regexps separated
1431 with |.
1432
1433 * gdb.base/watchpoint.exp: Use gdb_test.
1434 * gdb.base/default.exp: Ditto.
1435
1436 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
1437
1438 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
1439
1440 * gdb.base/scope.exp: Use gdb_test.
1441 * gdb.c++/classes.exp: Ditto.
1442 * gdb.c++/inherit.exp: Ditto.
1443
1444 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
1445
1446 * gdb.base/crossload.exp: Don't use execute_anywhere, use
1447 remote_exec instead.
1448 * gdb.base/corefile.exp: Don't be ridiculous.
1449 * gdb.base/*.c: Add missing stub invocations.
1450
1451 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
1452
1453 * config/slite.exp: Miscellaneous fixes.
1454
1455 * lib/gdb.exp: Fix runto.
1456
1457 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
1458 the target.
1459
1460 * gdb.base/watchpoint.exp: Fix regexp.
1461
1462 * lib/gdb.exp(default_gdb_exit): Add a catch to the
1463 close and wait commands, as the descriptor may now be
1464 invalid. Always call "remote_close host".
1465
1466 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
1467
1468 Major rewrite for testsuite revision.
1469
1470 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
1471 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
1472 instead of relying on spawn_id to always contain a valid
1473 spawn id.
1474 (get_compiler_info): New procedure to build the ${binfile}.ci
1475 file, instead of replicating this in N different places.
1476 (gdb_compile): New procedure.
1477
1478 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
1479 appropriate arguments) instead of compile. Use gdb_test in a lot
1480 more places. Use send_gdb instead of send. Always run gdb_start
1481 at the start of a testcase, as this is no longer done magically.
1482
1483 config/*-gdb.exp: Rename without the -gdb suffix.
1484
1485 config/mips.exp: Use remote_close instead of exit_remote_shell.
1486 config/monitor.exp: Use target_info instead of looking at
1487 baud, timeout, etc.
1488 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
1489
1490 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1491
1492 * gdb.c++/templates.exp (test_ptype_of_templates),
1493 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
1494 Update expect patterns for destructors and assignment operators
1495 to match corresponding c-typeprint.c changes.
1496 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
1497 to destructor breakpoint test, GDB should be able to set the
1498 destructor breakpoint without specifying arguments.
1499
1500 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
1501
1502 * gdb.threads/pthreads.exp: Change result for failure to compile due
1503 to lack of pthreads runtime support from an error to simply an
1504 unsupported test, per dejagnu standards.
1505
1506 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1507
1508 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
1509 where GDB exits to reduce pattern match time.
1510 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
1511
1512 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
1513
1514 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1515
1516 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
1517 * gdb.base/default.exp: ditto.
1518 * gdb.base/nodebug.exp: ditto.
1519 * gdb.base/printcmds.exp: ditto.
1520 * gdb.base/ptype.exp: ditto.
1521 * gdb.base/setvar.exp: ditto.
1522 * gdb.base/structs.exp: ditto.
1523 * gdb.base/setshow.c: Guard against uninitialized values of argc.
1524
1525 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
1526
1527 * configure, */configure: Rebuild with autoconf 2.12.
1528
1529 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
1530
1531 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
1532 use new i*86-pc-linux*-gnu quads.
1533 * gdb.base/corefile.exp: Ditto.
1534 * gdb.base/signals.exp: Ditto.
1535 * gdb.base/sigall.exp: Ditto.
1536 * gdb.base/interrupt.exp: Ditto.
1537
1538 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
1539 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
1540 RedHat 4.0.
1541
1542 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
1543 linux. This allows the test case to at least compile on latest
1544 linux, but still not run due to missing the threads runtime library.
1545
1546 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1547
1548 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
1549 directory to search gdb directory. Accept and step over conditional
1550 stack alignment code. Consume $prompt in failure cases.
1551 Reset timeout to $oldtimeout instead of some arbitrary value.
1552 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
1553 timeout problems with infinite stack backtraces.
1554 * gdb.base/ptype.exp (ptype struct link, union tu_link):
1555 Accept function parameters for linkfunc member.
1556
1557 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
1558
1559 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
1560 (CXXFLAGS): Remove, unreferenced.
1561 (B_OPTIONS): Add for -B options and add code to initialize with
1562 previous -B options and also add -B option to pick up cross compiled
1563 runtime.
1564 (TARGET_INCLUDES): Add for -I options and add code to initialize when
1565 doing cross compiles.
1566 (target_alias): Declare global.
1567 (xgcc): Set variable to full path of gcc in build tree. Use findfile
1568 to verify that gcc exists in build tree, and if so set CC to that
1569 gcc and to use B_OPTIONS and TARGET_INCLUDES.
1570
1571 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
1572
1573 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
1574 ptype test for anonymous union. Fixup testcase to match
1575 current gcc debug output.
1576
1577 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
1578
1579 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
1580 force argument to an unsigned long type.
1581
1582 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
1583
1584 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
1585 tests and anonymous union print/ptype tests.
1586 * gdb.base/list.exp (test_forward-search): Increase timeout by
1587 5 minutes for the "search extremely long line" case.
1588 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
1589 completely optional and that the pass/fail messages use the command as
1590 the message if that third arg is a null string.
1591 (gdb_test_exact): Arrange that a null string pattern means match a
1592 null string output rather than any output, which might include random
1593 errors.
1594 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
1595 backtrace test.
1596 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
1597 always failing and failure is now exposed by gdb.exp changes.
1598
1599 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
1600
1601 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
1602 weren't being noted.
1603
1604 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1605
1606 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
1607 * gdb.stabs/weird.exp: Remove v_comb xfails.
1608
1609 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1610
1611 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
1612 list.exp scope.exp watchpoint.exp]
1613 Make all timeout error msgs explicitly say "(timeout)".
1614
1615 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1616
1617 * config/monitor.exp: Increase download timeout to 1000 seconds.
1618
1619 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1620
1621 * config/m32r.exp: Increase timeout to 120 seconds.
1622
1623 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
1624
1625 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
1626 and accept older ordering as obsolescent gcc or gdb.
1627 * gdb.c++/templates.exp: Ditto.
1628 * gdb.c++/virtfunc.exp: Ditto.
1629
1630 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
1631
1632 * gdb.base/coremaker.c: Add code to mmap some data so we
1633 can check that it ends up in the core file.
1634 * gdb.base/corefile.exp: Add test to read mmapped data
1635 from core file.
1636
1637 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1638
1639 * config/m32r.exp: New file.
1640
1641 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
1642
1643 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
1644 that cflags can contains -gstabs, and work correctly for other tests.
1645
1646 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1647
1648 * gdb.base/setshow.exp: New file, tests show and set.
1649 * gdb.base/setshow.c: New file, tests show and set.
1650 * gdb.base/help.exp: Add test for help set|show annotate.
1651 * gdb.base/default.exp: Add test for set|show annotate.
1652
1653 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
1654
1655 * testsuite/gdb.base/break.exp: Make backtrace from factorial
1656 errors unique.
1657 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
1658 explicitly.
1659
1660 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
1661
1662 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
1663 and width commands. This is done elsewhere.
1664 * (gdb_start): Don't call gdb_start_sim here. That's already
1665 done in gdb_load. This fixes lots of failures in default.exp.
1666
1667 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
1668
1669 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1670 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
1671 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
1672 in the same we we treat other failures (since it may be an expected
1673 condition), rather than as an error.
1674 * gdb.base/signals.exp (test_handle_all_print): Revert back to
1675 old test format.
1676
1677 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
1678
1679 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
1680 (distclean maintainer-clean realclean): No need to remove files
1681 twice. Nuke the duplicates.
1682 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
1683 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
1684 Remove config.h along with other config files.
1685
1686 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
1687
1688 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
1689 "p func1 ()" and note that rests of tests are skipped.
1690 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
1691 setup_xfails for "print func2::coremaker_local".
1692 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
1693 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
1694 affected by the previous run test.
1695 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
1696 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
1697 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
1698 "pass int powerset tuple" and "pass modeless int powerset tuple".
1699 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
1700 "real write 4" and "real write 8".
1701 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
1702 setup_xfails for "print vs1 after tuple assign 2",
1703 "print \$i after tuple assign 2", and
1704 "print vs2 after tuple assign 2".
1705 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
1706 meaningful error message and return -1 so the caller can
1707 suppress further tests and avoid a cascade of errors.
1708
1709 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
1710
1711 * gdb.base/a1-selftest.exp: Tweak tests to account for new
1712 format for printing version.
1713 * gdb.base/default.exp: Ditto.
1714 * gdb.base/interrupt.exp: Fix problem with cascade of
1715 errors if child process dies while calling a function.
1716
1717 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
1718
1719 * Makefile.in (VPATH): Add
1720 * Makefile.in (Makefile, config.status): Fix rules so things get
1721 remade when necessary.
1722
1723 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
1724
1725 * Makefile.in (just-check): Add path to sibling expect dir
1726 to environment variable specified by RPATH_ENVVAR.
1727
1728 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
1729
1730 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
1731 (just-check): Add shared library paths for libstdc++, tk,
1732 tcl, bfd, and opcodes to the environment variable specified
1733 in RPATH_ENVVAR.
1734 * configure.in: Add support to recognize --enable-shared flag
1735 and generate correct value for RPATH_ENVVAR.
1736 * configure: Regenerated with autoconf.
1737
1738 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
1739
1740 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
1741 include all osf versions.
1742 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
1743 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
1744 when target is linux. When failing to build pthreads test
1745 executable, give more meaningful message.
1746 * gdb.threads/pthreads.c: Hpux also uses old definition of second
1747 arg for pthread_create.
1748
1749 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
1750
1751 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
1752 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
1753 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
1754 and -lpthreads (everybody else).
1755 (test_startup): Fail gracefully if threads are not supported.
1756 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
1757 "p/c array_index("abcdef",2)" when not gcc compiled.
1758 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
1759 "print func2::coremaker_local" when not gcc compiled.
1760 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
1761 "ptype on opaque struct tagname (statically)",
1762 "ptype on opaque struct tagname (dynamically) 1", and
1763 "ptype on opaque struct tagname (dynamically) 2"
1764 for not compiled with gcc.
1765 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
1766 backtrace when compiled with gcc.
1767 * lib/gdb.exp (runto_main): Return result of "runto main" rather
1768 than always return success.
1769
1770 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
1771
1772 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
1773
1774 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
1775
1776 * gdb.base/structs.exp: Undo last change.
1777
1778 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
1779
1780 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
1781 encapsulate all the steps/nexts done during self test, starting
1782 at main, and makes them less sensitive to optimization issues.
1783 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
1784 signal handler" test.
1785 * gdb.threads/pthreads.exp: Only run this for native configs.
1786 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
1787 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
1788 tests.
1789 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
1790 for "runto test_calls(void)" test.
1791
1792 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
1793
1794 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
1795 and don't expect address info in breakpoint confirmations.
1796
1797 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
1798
1799 * gdb.base/list.exp (test_forward_search): Increase timeout
1800 temporarily by 60 seconds for searching extremely long line,
1801 and then reset to old value when done. Increase expect input
1802 buffer to 10000.
1803
1804 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
1805
1806 * gdb.base/list.exp (test_forward_search): Fix to handle very
1807 long source line without overflowing expect's input buffer.
1808
1809 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1810
1811 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
1812 "buffer_full".
1813
1814 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
1815 "buffer_full".
1816
1817 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
1818 "buffer_full".
1819
1820 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
1821 "buffer_full".
1822
1823 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
1824
1825 * configure.in (configdirs): Add gdb.threads.
1826 * configure: Regenerated with autoconf.
1827 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
1828 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
1829 * gdb.threads/configure: New, generated with autoconf.
1830
1831 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
1832
1833 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
1834
1835 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
1836
1837 * gdb.base/signals.exp (test_handle_all_print): Test separately for
1838 each signal's status in the output of "handle all print".
1839 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
1840 the \r\n sequence that immediately precedes the gdb prompt.
1841 * gdb.base/a1-selftest.exp: Save original timeout and restore
1842 after test.
1843
1844 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
1845
1846 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
1847 symbol.
1848
1849 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1850
1851 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1852
1853 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
1854
1855 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
1856 timeout by 60 seconds.
1857
1858 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
1859
1860 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
1861 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
1862 error return.
1863
1864 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
1865
1866 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
1867 gdb initialization, also report how long dejagnu waited. Restore
1868 old timeout before doing error return. Temporarily increase timeout
1869 by 3 minutes to allow for slow startups over heavy NFS use.
1870
1871 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
1872
1873 * lib/gdb.exp: Report timeout value for verbosity level 2.
1874 * config/gdbserver.exp: Ditto.
1875 * config/hppro.exp: Ditto.
1876 * config/mips-gdb.exp: Ditto.
1877 * config/monitor.exp: Ditto.
1878 * config/netware.exp: Ditto.
1879 * config/sim-gdb.exp: Ditto.
1880 * config/slite-gdb.exp: Ditto.
1881 * config/udi-gdb.exp: Ditto.
1882 * config/unix-gdb.exp: Ditto.
1883 * config/vx-gdb.exp: Ditto.
1884 * gdb.base/a1-selftest.exp: Ditto.
1885 * gdb.base/a2-run.exp: Ditto.
1886 * gdb.base/break.exp: Ditto.
1887 * gdb.base/corefile.exp: Ditto.
1888 * gdb.base/list.exp: Ditto.
1889 * gdb.base/recurse.exp: Ditto.
1890 * gdb.base/scope.exp: Ditto.
1891 * gdb.base/signals.exp: Ditto.
1892
1893 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1894
1895 * gdb.threads/Makefile.in (docdir): Removed.
1896
1897 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1898
1899 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1900 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
1901 @srcdir@.
1902 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
1903 autoconf 2.5 or higher.
1904 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1905
1906 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
1907
1908 * configure: Regenerated.
1909 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1910 avoid name clashes with SunOS headers.
1911
1912 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
1913
1914 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
1915
1916 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
1917
1918 * gdb.base/callfuncs.exp: Finish last change -- make sure the
1919 prototype information ends up in the compiler info file.
1920
1921 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
1922
1923 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
1924 attempting to regenerate it. Eliminate use of a temporary file
1925 and just generate the info file directly. Source it immediately,
1926 for consistency of use.
1927 * gdb.base/corefile.exp: Ditto
1928 * gdb.base/exprs.exp: Ditto.
1929 * gdb.base/funcargs.exp: Ditto.
1930 * gdb.base/langs.exp: Ditto.
1931 * gdb.base/list.exp: Ditto.
1932 * gdb.base/mips_pro.exp: Ditto.
1933 * gdb.base/nodebug.exp: Ditto.
1934 * gdb.base/opaque.exp: Ditto.
1935 * gdb.base/ptype.exp: Ditto.
1936 * gdb.base/scope.exp: Ditto.
1937 * gdb.base/setvar.exp: Ditto.
1938 * gdb.base/signals.exp: Ditto.
1939 * gdb.base/whatis.exp: Ditto.
1940 * gdb.c++/templates.exp: Ditto.
1941 * gdb.c++/virtfunc.exp: Ditto.
1942 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
1943 whether or not to add -lstdc++ to the compile command line args.
1944
1945 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1946
1947 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
1948 it got fixed by the recent lookup_minimal_symbol_by_pc change.
1949 Increase timeout, a lot of single stepping might be needed if the
1950 target has no hardware watchpoints.
1951
1952 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
1953
1954 * gdb.base/break.exp: Ignore compiler warnings when compiling
1955 break.c.
1956 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
1957 * gdb.base/default.exp: Add h8300 xfails. Handle messages
1958 from remote-sim.
1959 * gdb.base/exprs.exp: Add h8300 xfails.
1960 * gdb.base/funcargs.exp: Likewise.
1961 * gdb.base/nodebug.exp: Likewise.
1962 * gdb.base/printcmds.exp: Likewise.
1963 * gdb.base/ptype.exp: Likewise.
1964 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1965 h8300 xfails.
1966 * gdb.base/return.exp: Handle float/double precision problems
1967 on the h8300.
1968 * gdb.base/funcargs.c: Explicitly make last constant argument to
1969 call_after_alloca_subr an unsigned long type.
1970 * gdb.base/return.c: Include stdio.h.
1971
1972 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1973
1974 * config/abug.exp: New file for the older Motorola Bug monitor
1975 that runs on the mvme13x series VME boards.
1976 * config/monitor.exp: Use the new config array for target settings
1977 if they exist.
1978
1979 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1980
1981 * sim-gdb.exp: Make the SH simulator allocate less space when
1982 it is targeted.
1983
1984 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1985
1986 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1987 test.
1988
1989 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1990
1991 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1992 "rs6000-*-*" for "list function in include file" when gcc compiled.
1993 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1994 for "p ctable1[120]".
1995 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1996 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1997 Remove setup_xfail for "rs6000-*-*" for
1998 "print 'scope0.c'::filelocal before run".
1999 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
2000 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
2001 since some compilers don't allow both options to be given
2002 on the same command line. Create object file and move it.
2003
2004 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
2005
2006 * gdb.base/corefile.exp: Always regenerate the core file, since
2007 we always regenerate the coremaker program. Detect special case
2008 where registers cannot be read from core file.
2009
2010 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
2011
2012 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
2013 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
2014 * gdb.c++/templates.exp: Only match on basename of file since
2015 some formats like xcoff don't encode directory information.
2016 * gdb.stabs/weird.exp: Use the right sed script for powerpc
2017 and rs6000 AIX xcoff targets.
2018 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
2019 * configure: Regenerate.
2020 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
2021 here, rather than in distclean.
2022
2023 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
2024
2025 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
2026 defined, and use it to compile the test case with -O2. The
2027 native compilation still uses no optimization.
2028 * gdb.base/mips_pro.c: Remove inline assembly code since
2029 it is compiled PIC by default, which results in assembler
2030 warnings that make the testsuite think the compilation
2031 was unsuccessful.
2032
2033 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
2034
2035 * gdb.c++/misc.exp: Add note to message for
2036 "print s.a for foo struct" that this is a known gcc 2.7.2
2037 and earlier bug.
2038
2039 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
2040
2041 * gdb.base/break.exp: Fix pattern for matching "Delete all
2042 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
2043 setup_xfail for deleting all breakpoints test. Fix various
2044 timeout messages to include "(timeout)".
2045 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
2046 for "p t_float_values2(3.14159,float_val2)".
2047 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
2048 for "continue to call2g" when gcc compiled.
2049 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
2050 "up to foo in langs.exp", "show language at foo in langs.exp",
2051 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
2052 and "show language at fsub in langs.exp".
2053 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
2054 "list line 1 in include file", "list message for lines past EOF",
2055 "list function in include file", "list list0.h:foo", and
2056 "list filename:function; nonexistant function".
2057 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
2058 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
2059 and "ptype t_char_array" to be for native cc only.
2060
2061 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
2062
2063 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
2064 setup_xfail for "print coremaker_bss", "print coremaker_ro",
2065 "print func2::coremaker_local", and "backtrace in corefile.exp".
2066
2067 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
2068
2069 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
2070 "bt in signals.exp". This problem only appears when running
2071 the testsuite, and then only intermittently.
2072
2073 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
2074
2075 * gdb.base/return.exp (return_tests): Differentiate between
2076 two tests of continuing.
2077
2078 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
2079
2080 * */Makefile.in (maintainer-clean): Remove config.log.
2081 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
2082 * gdb.c++/Makefile.in (PROGS): Add inherit.
2083 (clean): Remove *.ci.
2084
2085 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
2086
2087 * gdb.c++/misc.cc: Add test code from Mike Stump.
2088 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
2089
2090 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
2091
2092 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
2093 to "alpha-*-osf2*" and add comment.
2094 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
2095 setup_xfail for "step over execarg initialization" and
2096 "step over corearg initialization".
2097 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
2098 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
2099 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
2100 gcc compiled for "print coremaker_bss", "print coremaker_ro",
2101 "print func2::coremaker_local", and "backtrace in corefile.exp".
2102 * gdb.base/signals.exp: Build and source signals.ci.
2103 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
2104 to be for gcc only.
2105 * lib/gdb.exp: Move verbose statements outside conditionals.
2106
2107 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2108
2109 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
2110 Feb 3 procfs.c change.
2111
2112 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
2113
2114 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
2115
2116 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
2117
2118 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
2119 from dejagnu's apparent default of 10 seconds, which gives random
2120 results when running the tests over NFS on moderately loaded systems.
2121 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
2122
2123 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
2124
2125 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
2126 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
2127 result reports.
2128
2129 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
2130
2131 * configure.in (CY_AC_PATH_TCLH): Remove.
2132 * configure: Regenerate.
2133
2134 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
2135
2136 * gdb.c++/Makefile.in (clean): Add missing '{'.
2137
2138 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
2139
2140 * lib/gdb.exp: Provide a default value for noinferior.
2141
2142 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
2143 Load libgloss.exp.
2144
2145 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
2146
2147 * gdb.disasm/hppa.exp: Compile directly into an executable, use
2148 the executable, not the .o to run the tests from.
2149
2150 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
2151
2152 * gdb.base/break.exp: Don't test for program exit or exit status
2153 if $noresults if nonzero.
2154 * gdb.base/langs.exp: Likewise.
2155 * gdb.base/watchpoint.exp: Likewise.
2156
2157 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
2158 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
2159 trying to compile the testcase.
2160
2161 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
2162
2163 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
2164 * gdb.base/signals.exp (continue to handler): Likewise.
2165
2166 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
2167
2168 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
2169
2170 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
2171
2172 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
2173
2174 * gdb.base/corefile.exp: Recognize "not found" as failure
2175 when trying to determine if a core file was generated.
2176 If no core file was generate the first time, try again without
2177 the ulimit -c to work around braindamaged shells.
2178
2179 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
2180
2181 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
2182 [] tests with "test" and enclose string in quotes.
2183 * gdb.stabs/configure: Rebuild
2184
2185 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
2186
2187 Changes in sync with expect:
2188 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
2189 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
2190 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
2191 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
2192 argument to AC_REQUIRE.
2193 * configure: Regenerated.
2194
2195 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
2196
2197 * gdb.base/corefile.exp: When generating a core, discard any
2198 error messages about ulimit not found and the "core dumped"
2199 message from the shell that runs the coredumper.
2200
2201 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
2202
2203 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
2204
2205 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
2206 which sed script to run. Expect failure for v_comb test
2207 on PA targets too.
2208
2209 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
2210
2211 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
2212 "print func2::coremaker_local" and for "backtrace in corefile.exp"
2213
2214 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
2215
2216 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
2217 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
2218 "sparc-sun-solaris*" xfails for "p v_comb".
2219 * lib/gdb.exp (default_gdb_start): Fix typo.
2220 * gdb.base/corefile.exp: Allow "Core was generated by ..."
2221 messages to not include the full program name that caused
2222 the core dump since some systems (such as solaris) apparently
2223 truncate this path to about 80 characters.
2224 When generating a core file first try increasing the core file
2225 size limit to unlimited since some systems may default it to
2226 zero, and it is harmless to try it. Move the test for failing
2227 to generate a core file to where it will actually get executed.
2228 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
2229 new gdb result from g++ debug info improvements and make old
2230 pattern obsolescent. Also account for size_t differences
2231 (may be int or long).
2232 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
2233 initialization before function call is placed in the delay slot
2234 and thus appears to be skipped over by commands such as "next".
2235
2236 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
2237
2238 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
2239
2240 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
2241
2242 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
2243 input source file; fix code to compile test to deal with this
2244 convention.
2245 * gdb.c++/*.exp: Likewise.
2246
2247 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
2248
2249 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
2250 "bt in signals.exp".
2251
2252 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
2253
2254 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
2255 "step over execarg initialization" and
2256 "step over corearg initialization".
2257
2258 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
2259
2260 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
2261 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
2262
2263 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
2264
2265 From Rob Savoye (rob@poseidon.cygnus.com)
2266 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
2267 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
2268 configure.in}, gdb.disasm/{Makefile.in, configure.in},
2269 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
2270 configure.in}: Major reworking for autoconfig.
2271 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
2272 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
2273 New files.
2274 * config/unix-gdb.exp: Make GDB global.
2275 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
2276 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
2277 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
2278 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
2279 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
2280 term.exp, twice.exp, watchpoint.exp, whatis.exp},
2281 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
2282 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
2283 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
2284 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
2285 pr-8136.exp, result.exp, string.exp, tuples.exp},
2286 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
2287 to returns as necessary, arrange for test to compile own testcase
2288 executable.
2289 * lib/gdb.exp: Changes for testsuite to compile own test cases.
2290
2291 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
2292
2293 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
2294 clear_xfail at end of test which might not call either pass or fail.
2295 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
2296 "backtrace through signal handler".
2297
2298 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2299
2300 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
2301 continuing from a job control stop signal.
2302 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
2303
2304 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
2305
2306 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
2307 * gdb.base/corefile.exp: Likewise.
2308 * gdb.base/funcargs.exp: Likewise.
2309
2310 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
2311
2312 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
2313 * config/monitor.exp: Add support for setting baud rate.
2314
2315 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
2316
2317 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
2318 i*86-*-linux* xfails for "backtrace through signal handler".
2319 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
2320 "print func2::coremaker_local".
2321 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
2322 alpha-dec-osf2* xfail for
2323 "delete all breakpoints when none".
2324
2325 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
2326
2327 * gdb.base/break.exp: Change test that deletes all breakpoints
2328 when no user breakpoints are installed. A post 4.15 change
2329 causes gdb to no longer prompt in this case.
2330
2331 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
2332
2333 * gdb.base/return.exp (return_tests): Change xfail for test
2334 "correct value returned double test" to stop xfailing at
2335 Solaris 2.5. Apparently the bug has been fixed.
2336
2337 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
2338
2339 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
2340 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
2341
2342 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
2343
2344 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
2345 * gdb.disasm/hppa.s: Corresponding changes.
2346
2347 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
2348
2349 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
2350 makefile fragment.
2351 * config/mt-hpux: Deleted.
2352
2353 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
2354
2355 * Many files: When warning about suppressed tests due to a
2356 nonexistant test binary, avoid incrementing the warning count.
2357
2358 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
2359
2360 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
2361
2362 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2363
2364 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
2365 "sparc-*-solaris2*".
2366
2367 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2368
2369 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
2370 Add global and local variables and initialize them.
2371 * gdb.base/corefile.exp: Test correct mapping of corefile sections
2372 by printing variables. Remove rs6000 and powerpc xfails, BFD now
2373 extracts the file name and terminating signal from the core file.
2374 * TODO: Remove note about tests for correct mapping of corefile.
2375 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
2376 from optimizing it away.
2377 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
2378 handles common blocks.
2379
2380 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
2381
2382 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
2383 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
2384
2385 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
2386
2387 * Makefile.in (maintainer-clean): New target, synonym for
2388 realclean.
2389 * gdb.base/Makefile.in (maintainer-clean): Likewise.
2390 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
2391 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
2392 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
2393 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
2394 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
2395
2396 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
2397
2398 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
2399 xfails when not gcc compiled for "print foo::funclocal".
2400 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
2401 "print foo::funclocal at foo",
2402 "print 'scope1.c'::foo::funclocal at foo",
2403 "print foo::funclocal_bss at foo",
2404 "print 'scope1.c'::foo::funclocal_bss at foo",
2405 "print foo::funclocal_ro at foo",
2406 "print 'scope1.c'::foo::funclocal_ro at foo",
2407 "print bar::funclocal at foo" and
2408 "print 'scope1.c'::bar::funclocal at foo".
2409 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
2410 gcc compiled for "print foo::funclocal at bar".
2411 Expand all messages to ensure that they identify that
2412 the test is at bar().
2413 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
2414 gcc compiled for:
2415 "ptype on opaque struct pointer (statically)",
2416 "ptype on opaque struct tagname (statically)",
2417 "ptype on opaque struct pointer (dynamically) 1",
2418 "ptype on opaque struct tagname (dynamically) 1",
2419 "ptype on opaque struct pointer (dynamically) 2" and
2420 "ptype on opaque struct tagname (dynamically) 2
2421 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
2422 gcc compiled for:
2423 "p datalocal"
2424 "whatis datalocal",
2425 "ptype datalocal",
2426 "p bsslocal",
2427 "whatis bsslocal", and
2428 "ptype bsslocal".
2429 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
2430 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
2431 when not gcc compiled.
2432 * gdb.base/funcargs.exp (float_and_integral_args): Add
2433 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
2434 compiled.
2435 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
2436 "backtrace from call6a" when not gcc compiled.
2437 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
2438 "backtrace from call7a" when not gcc compiled.
2439 * gdb.base/callfuncs.exp (do_function_calls):
2440 Add "hppa*-*-hpux*" xfail when not gcc compiled for
2441 "p t_char_array_values(char_array_val2,char_array_val1)",
2442 "p t_char_array_values(char_array_val1,char_array_val2)",
2443 "p t_char_array_values("carray 1","carray 2")",
2444 "p t_char_array_values("carray 1",char_array_val2)",
2445 "p t_char_array_values(char_array_val1,"carray 2")",
2446 "p sum_args(1,{2})",
2447 "p sum_args(2,{2,3})",
2448 "p sum_args(3,{2,3,4})",
2449 "p sum_args(4,{2,3,4,5})"
2450 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
2451 "backtrace in corefile.exp" when not gcc compiled.
2452
2453 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2454
2455 * gdb.base/signals.exp: Rewrite `handle all print' test as
2456 a procedure. Accept blanks or TABs as whitespace, increase
2457 timeout and expect input buffer size for the large output
2458 from the command. Remove "i*86-*-bsdi2.0" xfail.
2459
2460 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2461
2462 * gdb.base/setvar.exp: Add new testcases for truncation when
2463 assigning invalid values to bitfields.
2464
2465 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
2466
2467 * gdb.base/callfuncs.exp (do_function_calls): Remove
2468 mips-sgi-irix* xfail for
2469 "call inferior func with struct - returns char *"
2470 and fix test so that an optional (unsigned char *) cast is
2471 accepted in the result.
2472
2473 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
2474
2475 * gdb.base/funcargs.exp (float_and_integral_args): Remove
2476 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2477 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
2478 * gdb.base/signals.exp: Remove duplicate "handle all print" test
2479 that accidentally got checked in.
2480
2481 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
2482
2483 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
2484 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
2485 compiled test.
2486 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
2487 Add mips-sgi-irix5* xfail for not gcc compiled.
2488 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
2489 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
2490 "p top", "whatis top", "p middle", and "whatis middle".
2491 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
2492 "whatis signed char" for not gcc compiled.
2493 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
2494 "set variable signed char=-1 (-1)" and
2495 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
2496 * gdb.base/funcargs.exp (float_and_integral_args):
2497 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
2498 Add mips-sgi-irix* xfail when not gcc compiled for
2499 "continue to call2b".
2500 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
2501 "continue to call2g".
2502 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
2503 "backtrace from call6a"
2504 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
2505 "backtrace from call7k".
2506 Add mips-sgi-irix5* xfail when not gcc compiled for
2507 "backtrace from call7a".
2508 (localvars_after_alloca): Fix gdb_test cmds for
2509 "print * after runto ...".
2510 Remove rs6000-*-* xfails for
2511 "print i after runto localvars_after_alloca" and
2512 "print l after runto localvars_after_alloca"
2513 for all compilers.
2514 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
2515 when not compiled with gcc, for:
2516 "print signed char == (minus)",
2517 "print signed char != (minus)",
2518 "print signed char < (minus)",
2519 "print signed char > (minus)".
2520 * gdb.base/callfuncs.exp (do_function_calls):
2521 Add mips-sgi-irix* xfail, when compiled with native compiler, for
2522 "call inferior func with struct - returns char *".
2523 * gdb.base/return.exp (return_tests): Change xfail for
2524 "correct value returned double test" to include Solaris 2.4.
2525 * gdb.base/funcargs.exp (float_and_integral_args):
2526 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2527
2528 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2529
2530 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
2531 enumeration bitfields if compiling with GNU C.
2532 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
2533 to empty' prompt.
2534
2535 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
2536
2537 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
2538 test for PRO targets.
2539
2540 * gdb.base/funcargs.exp: Avoid ever setting more than 8
2541 breakpoints in the inferior at any given time by making
2542 two groups of breakpoints for call2*, call6* and call7*
2543 tests.
2544
2545 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2546
2547 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
2548 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
2549 from optimizing it away.
2550 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
2551 "call inferior func with struct".
2552
2553 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
2554
2555 * configure.in: Only configure gdb.chill for particular targets.
2556
2557 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
2558
2559 * gdb.base/Makefile.in: Add action to .c.o transformation
2560 rule that generates a .ci file for each .o file and remove
2561 explicit .c.o rules except for callfuncs.o.
2562 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
2563 generates a .ci file for each .o file and remove explicit
2564 .cc.o rules.
2565 (clean): Remove *.tmp *.ci files.
2566 (EXECUTABLES): Remove templ-info.exp.
2567 * gdb.base/compiler.c: New file.
2568 * gdb.c++/compiler.cc: New file
2569 * gdb.base/scope.exp: Source gdb.base/scope.ci.
2570 Change rs6000-*-* xfail for
2571 "print 'scope0.c'::filelocal_ro" and
2572 "print 'scope1.c'::filelocal" and
2573 "print 'scope1.c'::filelocal_bss" and
2574 "print 'scope1.c'::filelocal_ro" and
2575 "print 'scope1.c'::foo::funclocal" and
2576 "print 'scope1.c'::foo::funclocal_ro" and
2577 "print 'scope1.c'::bar::funclocal" and
2578 "print 'scope0.c'::filelocal_ro" and
2579 "print 'scope1.c'::filelocal at foo" and
2580 "print 'scope1.c'::filelocal_bss at foo" and
2581 "print 'scope1.c'::filelocal_ro at foo" and
2582 "print 'scope1.c'::foo::funclocal at foo" and
2583 "print 'scope1.c'::foo::funclocal_bss at foo" and
2584 "print 'scope1.c'::foo::funclocal_ro at foo" and
2585 "print 'scope1.c'::bar::funclocal at foo" and
2586 "print 'scope0.c'::filelocal_ro" and
2587 "print 'scope1.c'::filelocal" and
2588 "print 'scope1.c'::filelocal_bss" and
2589 "print 'scope1.c'::filelocal_ro" and
2590 "print 'scope1.c'::foo::funclocal" and
2591 "print 'scope1.c'::foo::funclocal_bss" and
2592 "print 'scope1.c'::foo::funclocal_ro" and
2593 "print 'scope1.c'::bar::funclocal" and
2594 "print 'scope1.c'::bar::funclocal_bss"
2595 to only be xfail'd when not compiled with gcc.
2596 Add rs6000-*-* xfail for
2597 "print 'scope0.c'::filelocal_bss before run"
2598 when compiled with gcc.
2599 (test_at_main): Add rs6000-*-* xfail for
2600 "print filelocal_ro in test_at_main"
2601 when compiled with gcc.
2602 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
2603 Add rs6000-*-aix* xfail for
2604 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
2605 "ptype t_char_array", not compiled with gcc.
2606 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
2607 xfail for "list foo (in include file)" when gcc compiled.
2608 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
2609 (integral_args): Add rs6000-*-* xfail for
2610 "run to call0a" if not compiled with gcc.
2611 (unsigned_integral_args): Add rs6000-*-* xfail for
2612 "run to call1a" if not compiled with gcc.
2613 (float_and_integral_args): Add rs6000-*-* xfail for
2614 "run to call2a" if not compiled with gcc and for
2615 "continue to call2b" for any compiler.
2616 Add rs6000-*-* xfail to
2617 "print f1 after run to call2a" for gcc compiled.
2618 (discard_and_shuffle): Add rs6000-*-* xfail for
2619 "run to call6a".
2620 (shuffle_round_robin): Add rs6000-*-* xfail for
2621 "backtrace from call7a" if not compiled with gcc.
2622 Add rs6000-*-* xfail for
2623 "backtrace from call7b" if compiled with gcc.
2624 (call_after_alloca): Add rs6000-*-* xfail for
2625 "print c in call_after_alloca" and
2626 "print s in call_after_alloca" and
2627 "backtrace from call_after_alloca_subr"
2628 if not compiled with gcc.
2629 (localvars_in_indirect_call): Add rs6000-*-* xfail for
2630 "print c in localvars_in_indirect_call" and
2631 "print c in localvars_in_indirect_call" and
2632 "backtrace in indirectly called function" and
2633 "stepping into indirectly called function"
2634 if not compiled with gcc.
2635 (localvars_after_alloca): Add rs6000-*-* xfail for
2636 "print c after runto localvars_after_alloca" and
2637 "print s after runto localvars_after_alloca" and
2638 "print i after runto localvars_after_alloca" and
2639 "print l after runto localvars_after_alloca"
2640 for all compilers.
2641 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
2642 than whatis-info.exp.
2643 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
2644 than opaque-info.exp.
2645 Setup rs6000-*-* xfail for
2646 "ptype on opaque struct pointer (statically)" and
2647 "ptype on opaque struct pointer (dynamically)" when
2648 not compiled with gcc.
2649 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
2650 rather than callf-info.exp.
2651 (do_function_calls): Add clear_xfail for rs6000-*-* for
2652 "p t_float_values2(3.14159,float_val2)". Seems to work
2653 fine there, both with xlc and gcc. Need to find out what
2654 it is doing right and fix other platforms.
2655 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
2656 "call inferior func with struct - returns int",
2657 "call inferior func with struct - returns long",
2658 "call inferior func with struct - returns float",
2659 "call inferior func with struct - returns double",
2660 "call inferior func with struct - returns char *",
2661 but only if not gcc compiled (presumes xlc compiled).
2662 Change rs6000-*-* xfails for
2663 "call inferior func with struct - returns char" and
2664 " call inferior func with struct - returns short" to only
2665 xfail if not using gcc.
2666 (clean mostlyclean): Remove *.ci and *.tmp files.
2667 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
2668 than templ-info.exp.
2669 * gdb.base/langs.exp: Source gdb.base/langs.ci.
2670 Add rs6000-*-* xfail for "up to foo in langs.exp"
2671 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
2672 when not gcc compiled.
2673
2674 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2675
2676 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
2677 * gdb.base/corefile.exp: Likewise.
2678 * gdb.base/list.exp: Likewise.
2679 * gdb.base/scope.exp: Likewise.
2680 * gdb.base/siganls.exp: Likewise.
2681
2682 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
2683 compiler output.
2684 * gdb.base/whatis.exp: Likewise.
2685
2686 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
2687
2688 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
2689 failure (opcode table has been fixed to match reality).
2690
2691 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
2692
2693 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
2694 "call inferior func with struct - returns char",
2695 "call inferior func with struct - returns short"
2696
2697 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
2698 "print 'scope0.c'::filelocal at main",
2699 "print 'scope0.c'::filelocal_bss in test_at_main",
2700 "print 'scope0.c'::filelocal at foo",
2701 "print 'scope0.c'::filelocal_bss in test_at_foo",
2702 "print 'scope0.c'::filelocal at bar",
2703 "print 'scope0.c'::filelocal_bss in test_at_bar"
2704
2705 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
2706 in source file 1". This bug seems to have been fixed with both
2707 gcc and native cc (was native assembler bug?).
2708
2709 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
2710
2711 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
2712 "backtrace through signal handler" to "i*86-*-sysv4*".
2713 * gdb.base/signals.exp: Add xfail for "'next' behaved as
2714 continue" case. Add "known SVR4 bug" to fail message.
2715 Add "i*86-*-bsdi2.0" xfail for "handle all print".
2716 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
2717 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
2718 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
2719 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
2720 "up to foo in langs.exp", "show language at foo in
2721 langs.exp", "up to cppsub_ in langs.exp", "show
2722 language at cppsub_ in langs.exp", "up to fsub in
2723 langs.exp", and "show language at fsub in langs.exp".
2724 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
2725 "bactrace in corefile.exp".
2726 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
2727 "call inferior function with struct - returns float" and
2728 "call inferior function with struct - returns double".
2729
2730 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
2731
2732 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
2733 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
2734 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
2735 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
2736
2737 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
2738
2739 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
2740 (or overriden) "CHILL" macro rather then bare "gcc".
2741 Also look for ../../gcc/xgcc since that is what we will
2742 actually need, not "Makefile". Remove following assignment
2743 of CHILL to CHILL_FOR_TARGET because that results in
2744 recursive definition.
2745
2746 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
2747
2748 * gdb.base/corefile.exp: Change xfail for backtrace in
2749 corefile.exp from linuxaout to all linux.
2750 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
2751 cases where we miss the breakpoint at the signal handler
2752 for some reason. Setup xfail for linuxoldld/linuxaout and
2753 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
2754 hitting SIGURG breakpoint.
2755 * gdb.base/signals.exp: Setup xfail for "next" acting like
2756 continue to add linuxoldld. Setup xfail for all linux for
2757 "next to handler in signals_tests_1", "backtrace in
2758 signals_tests_1", "continue to func1", "pass SIGUSR1",
2759 and continue to handler".
2760
2761 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
2762
2763 * Update all FSF addresses except those in COPYING* files.
2764
2765 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
2766
2767 * gdb.base/a2-run.exp: Change messages to be more explicit about
2768 the status of args, and quote binfile in results.
2769
2770 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
2771
2772 * gdb.base/callfuncs.exp: Add tests for passing structs to
2773 inferior functions and return various types.
2774 * gdb.base/callfuncs.c: Add functions to receive a struct
2775 and return a member of the struct, in various types.
2776
2777 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2778
2779 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
2780
2781 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
2782
2783 * config/vxworks29k.exp: New file, sources vxworks.exp.
2784
2785 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2786
2787 * config/gdbremote.exp: New file. Testing framework using
2788 gdbserver.
2789
2790 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
2791
2792 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
2793 "call function when asleep" and "send end of file".
2794 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
2795 for "backtrace in corefile.exp".
2796 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
2797 for "backtrace through signal handler".
2798 * gdb.base/corefile.exp: Make sure we actually generate a core file
2799 before trying the core tests. Some systems allow the user to suppress
2800 generation of core files and default to that (linux for example).
2801 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
2802 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
2803
2804 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2805
2806 * gdb.threads: New directory with some crude multi-threaded
2807 gdb tests (step.exp and step2.exp).
2808 * config/mt-lynx (STEP_EXECUTABLE): Define.
2809 (THREADFLAGS): Define.
2810
2811 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
2812
2813 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
2814
2815 * gdb.base/signals.exp: Disable whole file for lynx until
2816 further notice.
2817
2818 * gdb.base/signals.exp: xfail test where "next" acts like
2819 "continue" for lynx.
2820
2821 * gdb.base/interrupt.exp: xfail test for calling function while
2822 inferior is asleep for lynx.
2823
2824 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
2825 than one cr-lf after each command.
2826
2827 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2828
2829 * configure.in: Reinstate setting of stabsdirs variable, fix
2830 typo in setting up configdirs for native builds.
2831
2832 * gdb.base/return.exp: Fix typo in return double test.
2833 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
2834 compiler from optimizing them away.
2835
2836 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
2837
2838 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
2839 sequences to be echo'd by gdb when using gdb_test.
2840 * gdb.chill/chexp.exp: Likewise.
2841 * gdb.fortran/exprs.exp: Likewise
2842
2843 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2844
2845 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
2846 after the inferior gdb has started.
2847
2848 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
2849 after each command.
2850 * gdb.base/funcargs.exp: Likewise.
2851 * gdb.base/gdbvars.exp: Likewise.
2852 * gdb.base/interrupt.exp: Likewise.
2853 * gdb.base/list.exp: Likewise.
2854 * gdb.base/watchpoint.exp: Likewise.
2855 * gdb.c++/demangle.exp: Likewise.
2856 * gdb.c++/inherit.exp: Likewise.
2857 * gdb.chill/chexp.exp: Likewise.
2858 * gdb.fortran/exprs.exp: Likewise.
2859
2860 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
2861 test if we can't handle IO to/from the inferior.
2862
2863 * gdb.c++/misc.exp: Always check for a program already being
2864 started after sending a "run" command to gdb.
2865
2866 * gdb.base/twice.exp: Start with a fresh gdb.
2867
2868 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
2869 only depend on gdb's expression code, not the chill runtime.
2870
2871 * gdb.base/return.c: Put return values into variables so we
2872 can have gdb print them rather than depending on the program
2873 to print them.
2874 * gdb.base/return.exp: Corresponding changes.
2875
2876 * lib/gdb.exp: Provide default value for noinferiorio.
2877 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
2878 the inferior.
2879
2880 * gdb.base/break.exp: Always check for a program already being
2881 started after sending a "run" command to gdb.
2882 (text_next_with_recursion): Don't check the output from the
2883 program's printf statement. Instead just make sure the program
2884 exited.
2885
2886 * gdb.base/commands.exp: Protect tests which need arguments with
2887 $noargs conditionals.
2888
2889 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2890
2891 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
2892 of structure member arrays to match gdb/valops.c:value_addr change.
2893
2894 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
2895
2896 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
2897 cases.
2898
2899 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
2900
2901 * configure.in (configdirs): Remove gdb.chill from default list
2902 of subdirs and then add it back in only if doing a native build.
2903 The current chill compiler does not yet work in any cross build.
2904 * Revert all signal changes from Jul 6.
2905 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
2906 for sh-hms targets, allowing these tests to link, with no other
2907 changes. Testing is suppressed by setting "nosignals" in site.exp.
2908
2909 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
2910
2911 * configure.in (signaldirs): Define and add to configdirs for all
2912 targets except some specific ones that are known to not support signals.
2913 Also clean up formatting.
2914 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
2915 (signals, sigall): Remove rules to build.
2916 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
2917 Moved to new gdb.signals directory.
2918 * gdb.signals: New test directory.
2919 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
2920 signals.c signals.exp}: New or moved files.
2921
2922 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
2923
2924 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
2925
2926 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
2927
2928 * gdb.base/return.exp: Xfail `return double' test failure
2929 on at least Solaris 2.3 and handle future/past versions on
2930 a case by case basis as appropriate. Also update message
2931 to include i*86 failures.
2932
2933 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2934
2935 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
2936
2937 * lib/gdb.exp: Fix comment which erroneously identified
2938 gdb_file_cmd as gdb_load (the 19 May change was in fact to
2939 gdb_file_cmd not gdb_load).
2940 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
2941
2942 * gdb.base/setvar.exp: Make test names consistent between pass and
2943 fail cases. Use gdb_test more.
2944
2945 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2946
2947 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
2948
2949 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2950
2951 * gdb.base/help.exp: Fix expected help string for `show commands'.
2952
2953 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2954
2955 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
2956
2957 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
2958 of a text section.
2959
2960 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
2961
2962 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2963 that loop eventually terminates. Fix Connection refused logic so
2964 that testsuite will expire nicely.
2965
2966 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
2967
2968 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2969 config/rom68k.exp: New tcl glue for the appropriate monitors.
2970 These all just end up calling monitor.exp.
2971 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2972 refused' by retrying. Cleanup some timeout issues.
2973 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2974 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2975 callers don't have to set/restore global timeout variable.
2976
2977 * The following set of changes centralizes management of the global
2978 timeout variable. This way, it can be set in one target dependent
2979 place instead of dozens of places scattered throughout the test suite.
2980 If you need to lengthen a timeout, then you should either set timeout
2981 in one of the config/{target}.exp files, or multiply it by a factor.
2982 Setting it to an absolute value is always going to lose for some
2983 targets.
2984 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2985 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2986 * gdb.base/funcargs.exp: Don't set timeout.
2987 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2988 * gdb.base/printcmds.exp (test_print_string_constants
2989 test_print_array_constants): Don't set timeout.
2990 * gdb.base/ptype.exp: Don't set timeout.
2991 * gdb.base/recurse.exp: Don't set timeout.
2992 * gdb.base/return.exp: Don't set timeout.
2993 * gdb.base/watchpoint.exp: Don't set timeout.
2994 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2995 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2996
2997 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2998
2999 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
3000
3001 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3002
3003 * lib/gdb.exp: Disable chill tests for irix5.
3004
3005 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3006
3007 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
3008 each test pass or fail.
3009
3010 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3011
3012 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
3013 xlc not gcc.
3014
3015 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
3016
3017 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
3018
3019 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
3020
3021 * config/est.exp: Fix copyright and comments. Remove dead code.
3022 Use targetname, serialport and baud variables instead of fixed
3023 constants.
3024 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
3025 * config/cpu32bug.exp: New file to support cpu32bug monitors.
3026
3027 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3028
3029 * gdb.base/watchpoint.exp: Don't run
3030 test_watchpoint_triggered_in_syscall for sunos.
3031
3032 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3033
3034 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
3035 they don't seem to exist. Do include stdio.h.
3036
3037 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3038
3039 * gdb.base/a1-selftest.exp: Add alpha xfail.
3040
3041 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3042
3043 * gdb.base/watchpoint.c (main): Prompt before calling read().
3044 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3045 Revise accordingly. Remove cruft about sending "123" several
3046 times, until it gets noticed. Clean up the "print buf[0]" stuff
3047 so that it passes or fails, and waits for prompts in the usual way.
3048
3049 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3050
3051 * gdb.base/recurse.exp: Fix comment.
3052
3053 * TODO: Remove item about printing variables in nodebug.exp. Add
3054 item about enabling tests which are only run on some targets.
3055
3056 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
3057 fail, make test names unique, use new gdb_test convention
3058 regarding pattern, use gdb_test more, etc.).
3059
3060 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
3061 fail, make test names unique, etc.).
3062
3063 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3064
3065 * gdb.base/nodebug.c: Change return type of top and middle to
3066 short.
3067 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
3068 are fixed by the recent mdebugread.c changes. Allow `short ()'
3069 as type for top and middle.
3070
3071 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3072
3073 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
3074 nearly as I can tell, the whole thing was an accident in Stu's
3075 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
3076 to replace a send/expect pair with gdb_test, but ended up only
3077 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
3078 of 30 Mar 1995 took care of it, but left this vestigial comment
3079 which I am now nuking.
3080
3081 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3082
3083 * gdb.base/break.exp: Look for different line number for
3084 breakpoint at main depending on usestubs.
3085
3086 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3087
3088 * gdb.base/list.exp: Adjust some alternate expect patterns to
3089 match recent list0.c change. Add alternate expect pattern for
3090 output from `list default lines around main' for optimizing
3091 compilers.
3092
3093 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3094
3095 * lib/gdb.exp: If nosignals is not set, set it to 0.
3096
3097 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
3098
3099 * config/slite-gdb.exp: Responds to load symbol table prompt.
3100 * gdb.base/break.exp: Adjust line number, fix rerun.
3101 * gdb.base/langs0.c: Add #ifdef usestubs.
3102
3103 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
3104
3105 * gdb.base/list.exp: Adjust line contents after adding new lines in
3106 list0.c. Also fix a syntax error.
3107
3108 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
3109 * gdb.base/break.exp: ditto.
3110 * gdb.base/list.exp: ditto.
3111 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
3112 * gdb.base/run.c: ditto.
3113 * gdb.base/list0.c: ditto.
3114 * gdb.base/funcargs.c: ditto.
3115
3116 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
3117
3118 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
3119 $targetname, $serialport and $baud instead of hardwired variables.
3120 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
3121 target doesn't support signals.
3122
3123 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
3124
3125 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
3126
3127 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3128
3129 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
3130 Don't rely on the value of an auto variable before it has been
3131 initialized. Use gdb_test more.
3132
3133 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3134
3135 * lib/gdb.exp (default_gdb_version): A version number must start
3136 with a digit, but other than that contains all characters up to
3137 the first whitespace character.
3138
3139 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3140
3141 * gdb.base/commands.exp (breakpoint_command_test): New tests.
3142
3143 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3144
3145 * gdb.c++/*.exp: Warn if executable does not exist. The original
3146 reason for skipping the warning was that configure.in sometimes
3147 intentionally skipped building the executables but the tcl code
3148 had no way of knowing. That (a) was always bogus with respect to
3149 error handling, (b) is no longer true (right now there is no way
3150 to skip C++ tests).
3151
3152 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
3153
3154 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3155
3156 * gdb.base/list.exp: Add expect patterns for output from
3157 SunPRO compiled executables.
3158 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
3159 types.
3160
3161 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3162
3163 * gdb.base/break.exp (test_next_with_recursion): Accept any line
3164 number (we are already testing that the correct source line text
3165 gets printed).
3166
3167 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
3168 that is what is intended, but something needed to be done to get
3169 sunos4 native working again.
3170
3171 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
3172
3173 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
3174 apparently went with a (very) old xfail.
3175
3176 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
3177
3178 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
3179 runto_main is a proc in gdb.exp that will do 'step' for target use
3180 stubs.
3181 * gdb.base/exprs.exp: ditto.
3182 * gdb.base/interrupt.exp: ditto.
3183 * gdb.base/opaque.exp: ditto.
3184 * gdb.base/printcmds.exp: ditto.
3185 * gdb.base/ptype.exp: ditto.
3186 * gdb.base/scope.exp: ditto.
3187 * gdb.base/setvar.exp: ditto.
3188 * gdb.base/signals.exp: ditto.
3189 * gdb.base/twice.exp: ditto.
3190 * gdb.c++/classes.exp: ditto.
3191 * gdb.c++/inherit.exp: ditto.
3192 * gdb.c++/templates.exp: ditto.
3193 * gdb.base/break.exp: no run and hit main for stubs. Change line
3194 numbers for breakpoints and info breakpoint.
3195 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
3196 breakpoint().
3197 * gdb.base/callfuncs.c: ditto.
3198 * gdb.base/exprs: ditto.
3199 * gdb.base/interrupt.c: ditto.
3200 * gdb.base/opaque0.c: ditto.
3201 * gdb.base/printcmds.c: ditto.
3202 * gdb.base/ptype.c: ditto.
3203 * gdb.base/scope0.c: ditto.
3204 * gdb.base/setvar.c: ditto.
3205 * gdb.base/signals.c: ditto.
3206 * gdb.base/twice.c: ditto.
3207 * gdb.c++/misc.cc: ditto.
3208 * gdb.c++/templates.cc: ditto.
3209
3210 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3211
3212 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
3213
3214 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
3215 somewhere between `read' and `main.c'. I'm pretty sure the
3216 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
3217 and it isn't particularly useful.
3218
3219 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
3220
3221 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3222
3223 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
3224
3225 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
3226
3227 * config/mt-slite: add LIBS and -nostdlib.
3228 * config/slite-gdb.exp: add this new file to support sparclite target.
3229
3230 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
3231
3232 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
3233
3234 * gdb.base/a2-run.exp: Change argument to istarget from
3235 "*-*-vxworks" to "*-*-vxworks*".
3236 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
3237
3238 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
3239
3240 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
3241 will not runto main but do a 'step' to step out of breakpoint().
3242 * config/mt-slite: add -Dusestubs.
3243
3244 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3245
3246 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
3247 instead of just @.
3248
3249 * gdb.base/signals.exp: Add test for "handle all print".
3250 * TODO: Remove "handle all print". Also remove item about
3251 checking copyright date (I don't like the idea of a spurious FAIL
3252 based on when we run the tests).
3253
3254 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
3255 for SunOS4 (reason for failure not investigated). Remove
3256 redundant test for $binfile.
3257
3258 * gdb.base/nodebug.c (array_index): Call malloc.
3259
3260 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
3261
3262 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
3263
3264 * gdb.base/recurse.exp: Update gdb_test invocation to use new
3265 conventions and slightly simplify the matching regexp.
3266
3267 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3268
3269 * gdb.base/break.exp: Update gdb_test invocation to use new
3270 convention.
3271
3272 * lib/gdb.exp: If noargs is not set, set it to 0.
3273
3274 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
3275 tests unique.
3276
3277 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
3278
3279 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3280
3281 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
3282 one argument of type "<non-float parameter>".
3283
3284 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
3285
3286 * config/rom68k.exp: New file to support Motorola IDP board.
3287 * gdb.base/a2-run.exp: Skip this file if noargs is set.
3288 * gdb.base/break.c: Change things around so that this program
3289 doesn't depend upon args. This is necessary to make remote
3290 targets work (in general, they can't take args).
3291 * gdb.base/break.exp: Don't try to send args to program. Don't
3292 expect output. Also, replace lots of code with gdb_test.
3293
3294 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3295
3296 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
3297 printing of '\'' (which is what the comment says we are testing,
3298 even though we were not), not '''.
3299 (test_integer_literals_rejected): Test that printing ''' is an error.
3300
3301 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3302 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
3303 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
3304 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
3305 Use gdb_test not test_print_accept.
3306 * lib/gdb.exp: Remove test_print_accept.
3307
3308 * gdb.base/signals.exp (signal_tests_1): Make pass message
3309 consistent with fail message.
3310
3311 * gdb.base/whatis.exp: Remove xfails for printing char vs.
3312 unsigned char; the bug (PR 1821) is fixed.
3313
3314 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
3315
3316 * gdb.base/scope.exp (test_at_localscopes): Call pass for
3317 successful tests--makes xfailing them work right.
3318
3319 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3320
3321 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
3322 only \r\n, not .*. The test can pass .* as the last thing in
3323 $pattern if that is what it wants. In addition to providing this
3324 flexibility, this change should speed up pattern matching in cases
3325 where the pattern already ended with .* (there were a number of
3326 them). This change also helps catch bad patterns--in the old
3327 scheme the typo "char \*" instead of "char \\*" would pass. Now
3328 it is caught.
3329 * Many .exp files: Update callers.
3330
3331 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
3332 clearer and does not spuriously match multiple ('s. Likewise for
3333 ) and *.
3334
3335 * gdb.base/nodebug.exp: Test ability to call a function and pass
3336 it a string (even with no debugging info).
3337
3338 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
3339 "p '\'", which is the same as "p ''" once tcl gets done with
3340 quoting, to "p '\\'", which I suspect is what is intended (one
3341 backslash gets sent to GDB).
3342
3343 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
3344
3345 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3346
3347 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
3348 1817) was fixed literally years ago.
3349
3350 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3351
3352 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
3353 test, it causes stepping out of call_after_alloca_subr with
3354 optimizing compilers.
3355 (localvars_in_indirect_call): Consume GDB prompt if `finish'
3356 fails.
3357
3358 * gdb.c++/templates.exp: Source templ-info.exp only if
3359 the templates executable exists.
3360
3361 * gdb.c++/misc.cc (class Contains_static_instance,
3362 class Contains_nested_static_instance),
3363 gdb.c++/classes.exp (test_static_members): Test printing of
3364 a class that contains a static instance of the class.
3365
3366 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3367
3368 * gdb.base/langs2.c (cppsub_): Don't prototype.
3369 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
3370 only, I believe).
3371
3372 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3373
3374 * lib/gdb.exp (skip_chill_tests): New procedure.
3375
3376 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
3377
3378 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
3379
3380 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
3381 each expect pattern. Cuts runtime from 12 to about 4 seconds.
3382
3383 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3384
3385 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
3386
3387 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
3388 disassemble 8, not 16, instructions for part 4.
3389
3390 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
3391 support the latter anymore.
3392
3393 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
3394 -DNO_PROTOTYPES.
3395 * gdb.base/callfuncs.c: Control use of prototypes based on
3396 NO_PROTOTYPES, not __STDC__.
3397 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
3398 t_float_values2 tests if prototypes in use.
3399
3400 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
3401 t_double_values): When checking differences against DELTA, check
3402 that difference is within the range (-DELTA,DELTA), not just
3403 (-infinity,DELTA).
3404
3405 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
3406
3407 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
3408 'file' command firts, then 'target', then 'load', this is due to gdb
3409 target set up.
3410 * config/mips-gdb.exp: Fix a couple regular exp bugs.
3411
3412 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
3413
3414 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
3415 FP load/store variants.
3416 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
3417
3418 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3419
3420 * gdb.base/term.exp: Do not give a warning if not native, it is
3421 not an abnormal condition.
3422
3423 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
3424
3425 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
3426 t_char_array".
3427
3428 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3429
3430 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
3431 are getting the version number.
3432
3433 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
3434 if not native, it is not an abnormal condition.
3435
3436 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3437
3438 * lib/gdb.exp: Just use "file exists", rather than undocumented
3439 dejagnu procedure "findfile".
3440
3441 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3442
3443 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
3444 (LDFLAGS): Set to -Xlinker -Ur.
3445
3446 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
3447 Removed, these values are set by lib/gdb.exp.
3448
3449 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
3450
3451 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3452
3453 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
3454 of replicating gdb startup code.
3455
3456 * config/mt-vxworks (LDFLAGS): Set to -r.
3457 (CFLAGS_FOR_TARGET): Removed.
3458
3459 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
3460 (gdb) and gdb for vxworks uses (vxgdb).
3461
3462 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
3463 executable is not in the tree and host != target, use sed and
3464 program_transform_name to determine the gdb name used by the
3465 target.
3466
3467 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
3468 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
3469
3470 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3471
3472 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
3473 floats, chars, and shorts where there are ANSI-style function
3474 definitions.
3475
3476 * gdb.base/langs.exp, gdb.base/langs*: New test.
3477 * gdb.base/Makefile.in: Build it.
3478 * TODO: Remove item about checking that C names don't get C++
3479 demangling applied; this test tests it.
3480
3481 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3482
3483 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
3484 went with the const70 xfail. The xfail went away a year ago.
3485
3486 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
3487
3488 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
3489 for hp300.
3490
3491 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
3492
3493 * gdb.base/a1-selftest.exp: Don't run on hp300.
3494
3495 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3496
3497 * Makefile.in (site.exp): Set host_alias and target_alias as well
3498 as host_triplet and target_triplet.
3499
3500 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3501
3502 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
3503
3504 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
3505 places as other ecoff systems).
3506
3507 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
3508 ultrix.
3509
3510 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3511
3512 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
3513 remove them.
3514 * gdb.base/nodebug.exp: Accept "function" in addition to "text
3515 variable and "variable" in addition to "data variable".
3516 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
3517
3518 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
3519 2.
3520 * gdb.base/list1.c (long_line): Add additional statement at start
3521 of function.
3522 * gdb.base/list.exp (test_forward_search): Update line number to
3523 reflect new statement.
3524
3525 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3526
3527 * gdb.base/signals.exp: Reinitialize searched source directories
3528 after gdb_start call.
3529
3530 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
3531
3532 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
3533 * gdb.stabs/Makefile.in: Likewise.
3534
3535 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
3536 change. Instead split the tests into smaller pieces.
3537 * gdb.disasm/hppa.s: Corresponding changes.
3538
3539 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3540
3541 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3542 Quote ^C when passing it to stty. For some shells ^ is a pipe.
3543
3544 * gdb.base/funcargs.exp: Modify many tests so that every test
3545 either passes or fails. Make some test names unique.
3546
3547 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3548
3549 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3550 Call stty to set interrupt character.
3551
3552 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
3553 for HP assembler versus GNU assembler based on actual behavior of
3554 $(CC), rather than assuming that $(AS) is always the GNU assembler.
3555
3556 * TODO: Suggest a few more stepping tests.
3557
3558 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
3559
3560 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
3561 restart GDB for h8300 after a continue.
3562 (return): Add pattern to match a29k-udi behavior.
3563 * gdb.base/nodebug.exp: Remove obsolete comment.
3564 * gdb.base/regs.exp: New file, testing of register displays.
3565 * gdb.base/return.exp: Fix typo in reference to $objdir.
3566 * gdb.base/whatis.exp: Always start with a fresh GDB.
3567
3568 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3569
3570 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
3571 higher, these tests generate a lot of output.
3572
3573 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3574
3575 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
3576 code following the catch silently ignored some errors; without the
3577 catch they should be thrown like any other tcl error. Also, the
3578 catch used "" instead of {} which meant all the callers who wanted
3579 to include one of the characters "[]$ had to quote it an extra time.
3580 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
3581 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
3582 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
3583 Remove extra quoting.
3584
3585 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
3586
3587 * gdb.base/commands.exp: Make test names unique; every test either
3588 passes or fails. Update some comments.
3589
3590 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
3591
3592 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3593
3594 The following fixes a FAIL caused by the fact that the alpha stabs
3595 configuration didn't use the ".if alpha" code in weird.def.
3596 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
3597 bit pointer, so the 32 bit version works even on the alpha.
3598 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
3599 Remove the stuff which allowed us to have separate versions for
3600 alpha and everything else.
3601
3602 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
3603 regexp which "info func operator\[\](" is supposed to match. Fix
3604 string to send to GDB. Note that GDB still doesn't work right. Add a
3605 new test for "info func .perator\[\](" which GDB does handle correctly.
3606
3607 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
3608
3609 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3610
3611 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
3612 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
3613 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
3614 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
3615 it makes the tests harder to understand and confuses test-o-matic.
3616 The preferred style is that each test provides a PASS or a FAIL,
3617 and has a unique message (e.g. "continue #54" not just "continue")
3618 which is the same for the pass and the fail.
3619 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3620 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
3621 to lib/gdb.exp.
3622 * gdb.base/printcmds.exp: Use test_print_accept. Remove
3623 prt_accept which was basically the same thing. Likewise for
3624 test_print_reject and prt_reject.
3625 * lib/gdb.exp (test_print_reject): Add some more error message
3626 patterns to match from the former printcmds.exp (prt_reject).
3627 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
3628 One defect of the passcount stuff is that some of it failed to
3629 report XPASS where appropriate.
3630 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
3631 stuff before and after arg in expected pattern.
3632 (test_paddr_operator_functions): Re-do test without print_addr_of;
3633 this is the only test which seems to want extra stuff there.
3634
3635 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3636
3637 * gdb.base/nodebug.exp: Update new tests to reflect improved
3638 wording of gdb output.
3639
3640 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
3641 and "ptype" work on variables in files compiled without -g.
3642 Replaces commented out "maint print msymbol" tests.
3643
3644 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3645
3646 * gdb.base/setvar.c (dummy): Call malloc.
3647
3648 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
3649 losing with the irix4 sed.
3650
3651 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
3652 ALRM" on irix4.
3653
3654 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3655
3656 * TODO: Remove items about corefile.exp testing new exec-file and
3657 backtrace; both are now done. Add items about printing enums.
3658
3659 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3660
3661 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
3662 "get signal $thissig" test fails.
3663
3664 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
3665
3666 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3667
3668 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
3669 compiler warning with dec alpha compiler.
3670
3671 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
3672 extra \n from gdb_test call (this explains why the prompt test
3673 that I removed yesterday was there).
3674 (user_defined_command_test): Remove extra \n and prompt test.
3675
3676 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
3677 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
3678 doesn't exist.
3679 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
3680 Also remove alpha workaround, which turns out to be because
3681 SIGABRT == SIGLOST.
3682
3683 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
3684
3685 * gdb.base/help.exp: Don't test "help show".
3686
3687 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3688
3689 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
3690 "set print address" is on.
3691 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
3692 pass prompt to gdb_test; gdb_test already looks for the prompt.
3693
3694 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
3695
3696 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
3697 was a vestige of the manual TESTSTRATEGY, and the purpose of it
3698 was to make sure that gdb can read a core file. But (a) the "read
3699 the corefile" part didn't make it to a1-selftest.exp, we just
3700 delete the corefile after creating it, and (b) we test reading
3701 corefiles in corefile.exp anyway. Also, this test left around a
3702 xgdb process on Solaris.
3703
3704 * gdb.base/corefile.exp: Also test backtrace.
3705
3706 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
3707
3708 * gdb.base/commands.exp: Test a simple user defined command with
3709 arguments and if/while statements; verify the full user command is
3710 printed by "show user".
3711
3712 * gdb.base/commands.exp: Test if/while commands as part of a
3713 breakpoint command list; verify they appear in breakpoint
3714 information.
3715
3716 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3717
3718 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
3719 than by dividing by zero.
3720
3721 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
3722
3723 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
3724 performing an inferior call with watchpoints enabled.
3725 * gdb.base/watchpoint.c (main): Delete second unnecessary read
3726 call.
3727
3728 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3729
3730 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
3731 of "file" command.
3732
3733 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
3734 Add additional pattern for when "int operator int(void);" appears
3735 in a different order.
3736
3737 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3738
3739 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
3740
3741 * gdb.base/help.exp: Replace most of docstrings for "info signals"
3742 and "signal" with ".*".
3743
3744 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3745
3746 * TODO: Add note about "handle all nostop".
3747
3748 * gdb.base/{sigall.c, sigall.exp}: New test.
3749 * gdb.base/Makefile.in: Add it.
3750
3751 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3752
3753 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
3754 when invoking GDB, suppresses any windowing interface.
3755
3756 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
3757
3758 * config/sim-gdb: New file, simulator testing support.
3759
3760 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
3761
3762 * gdb.base/interrupt.exp: Test calling func1 twice.
3763
3764 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
3765
3766 * gdb.base/list.exp (test_forward_search): Set timeout higher
3767 when we'll be getting lots of output from gdb.
3768
3769 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
3770 "init_malloc" to after the expect statement. Run it if that
3771 regexp is taken, but also for two others which happen if source
3772 cannot be found.
3773
3774 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3775
3776 * gdb.base/printcmds.exp: New test, for printing register before
3777 program is running.
3778
3779 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3780
3781 * gdb.base/list.exp: Correct some alternate expect patterns
3782 to reflect changes in list1.c.
3783
3784 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3785
3786 * TODO: Add item regarding large frames.
3787
3788 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
3789
3790 * TODO: Remove item about enabling return.exp; it
3791 is enabled. Suggest a few more "return" tests.
3792
3793 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3794
3795 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
3796 anonymous unions.
3797
3798 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3799
3800 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
3801 and pr-5646.o, so "make" is the same as "make all", not "make
3802 pr-4975.o".
3803
3804 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
3805
3806 * gdb.base/list.exp: Adjust expectations to reflect changes in
3807 list1.c.
3808 (test_forward_search): New test proc.
3809 * gdb.base/list1.c (long_line): New function, has long source line.
3810
3811 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
3812
3813 * gdb.base/a1-selftest.exp: Change initial stepping to know about
3814 additional line of code that was added.
3815
3816 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
3817
3818 * gdb.disasm/hppa.s: Break the large branching tests into smaller
3819 tests so as not to overflow expect's input buffers.
3820 * gdb.disasm/hppa.exp: Corresponding changes.
3821
3822 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3823
3824 Beginnings of template debugging tests.
3825 * gdb.c++/templ-info.cc: New file to test for template
3826 debugging capability of the compiler.
3827 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
3828 templ-info.cc.
3829 * gdb.c++/templates.cc: Add explicit template instantiations
3830 to enable compiling with -fno-implicit-templates. Add destructor
3831 and 'value' method to T5 class for template tests.
3832 * gdb.c++/templates.exp: Add testcases for printing of template
3833 types, setting breakpoints on template methods and calling a
3834 template method.
3835
3836 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
3837
3838 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
3839 branch target since some assemblers (gas-2.5) may emit a
3840 relocation for the branch instead of resolving it in the
3841 assembler.
3842
3843 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3844
3845 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
3846 through signal handler.
3847
3848 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3849
3850 * configure.in (*-*-netware): Use config/mt-netware.
3851
3852 * config/mt-netware: New file.
3853 * config/mt-i386-netware: Removed, separate configs for different
3854 netware architectures are no longer needed now that we have
3855 --with-headers.
3856
3857 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3858
3859 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
3860 by the recent changes to use ANSI C arithmetic conversions.
3861
3862 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3863
3864 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
3865 bug involving using inferior_pid to figure out whether to select a
3866 frame.
3867
3868 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
3869
3870 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
3871 match the current disassembler output.
3872
3873 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
3874
3875 * gdb.fortran/exprs.exp: Expect VOID instead of void.
3876 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
3877 types, expect "int" as type of integer values (for now).
3878
3879 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
3880
3881 * gdb.base/commands.exp: New tests for if/while commands.
3882
3883 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
3884
3885 * lib/gdb.exp (runto): Replace sub-pattern for hex value
3886 by .*, since hex values have different syntax in Chill mode.
3887
3888 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3889
3890 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
3891 linefeed from expect pattern for repeated types with indices > 9.
3892
3893 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
3894
3895 First part of Fortran test suite.
3896 * gdb.fortran: New directory.
3897 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
3898
3899 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3900
3901 * gdb.base/default.exp: Update expect pattern for load command
3902 without arguments.
3903
3904 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
3905
3906 * configure.in: Change i386 to i[345]86.
3907 * gdb.base/configure.in: Likewise.
3908 * gdb.c++/configure.in: Likewise.
3909 * gdb.chill/configure.in: Likewise.
3910
3911 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
3912
3913 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
3914 patterns, since that is not a valid context for comments.
3915
3916 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
3917
3918 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
3919 repeated types and repeated types with indices > 9.
3920
3921 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
3922
3923 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
3924 2417; old bug has been fixed.
3925
3926 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
3927
3928 * gdb.base/interrupt.exp: When trying to wake up the inferior,
3929 send the newline ourselves instead of assuming gdb_test will do
3930 so when passed an empty input string.
3931
3932 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
3933 stabs testcode.
3934
3935 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3936
3937 * lib/gdb.exp (gdb_test): Don't send anything if the first
3938 argument is an empty string. This makes cases where we want to
3939 match output that is already in expect's buffers (for example,
3940 matching a breakpoint after gdb_run_cmd has been called) work
3941 reliably.
3942
3943 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3944
3945 * config/netware.exp: New file.
3946
3947 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3948
3949 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
3950 the -B and -L prefixes so we can find the debugging stub.
3951
3952 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
3953 there and we are using the gcc from the tree.
3954
3955 * gdb.base/types.c: Removed.
3956
3957 * gdb.base/configure.in: Look for makefile fragments in ../config.
3958 Recognize i386-*-netware.
3959 * gdb.c++/configure.in: Likewise.
3960
3961 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3962
3963 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3964 the correct TCL syntax.
3965
3966 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3967
3968 * gdb.base/opaque.exp: use runto instead of messing around with
3969 breakpoints. Simplify by using gdb_test.
3970
3971 * gdb.base/bitfields.exp: restart between tests on netware targets
3972 because breakpoints aren't relocated after target death. Run
3973 processes to completion.
3974
3975 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3976
3977 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3978
3979 * Makefile.in: Remove extra tabs that confuse some versions
3980 of "make". Use the newly built gdb to test with by default,
3981 rather than the first one in the tester's search path.
3982
3983 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3984
3985 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3986
3987 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3988 condition help.
3989
3990 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3991
3992 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3993
3994 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3995 running.
3996 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3997 * gdb.base/funcargs.exp: Likewise.
3998
3999 * gdb.base/bitfields.exp: Simplify by using gdb_test.
4000 * gdb.base/funcargs.exp: Likewise.
4001
4002 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
4003 message is "".
4004
4005 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
4006
4007 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
4008 return,signals,twice}.exp: Handle non-existant binaries
4009 consistantly.
4010
4011 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
4012 * gdb.base/Makefile.in: Don't try to generate a core dump, we
4013 might testing a cross development system.
4014
4015 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
4016
4017 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
4018 runtest script is relative to ${srcdir}, not ${rootdir}.
4019
4020 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
4021
4022 * gdb.base/signals.exp: Allow for optionality of breakpoint
4023 address.
4024
4025 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4026
4027 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
4028
4029 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
4030
4031 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
4032 for size_t definition.
4033 * gdb.c++/templates.cc: Likewise
4034
4035 * config/mt-i386-netware: New file.
4036
4037 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
4038 defined.
4039
4040 * gdb.base/Makefile.in: Added support for systems that name core
4041 files by appending "core" to the program name.
4042 * gdb.base/a1-selftest.exp: Likewise.
4043
4044 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4045
4046 * gdb.base/return.exp: Add comment and message for `return double'
4047 test failure on Sparc Solaris.
4048
4049 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
4050
4051 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
4052
4053 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4054
4055 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
4056 from optimizing them away.
4057 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
4058 patterns to include default constructors and assignment operators,
4059 to match gcc versions beyond 2.5.8. Accept any cplus demangling
4060 character in the output of the virtual base pointer.
4061
4062 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4063
4064 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
4065 expression match in print_addr_of to avoid unintented matches.
4066 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
4067 versions up to 2.5.8.
4068
4069 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4070
4071 * gdb.base/list.exp: Tweak alternate pattern for listing of an
4072 included file to run under newer versions of expect.
4073 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
4074 consecutive >'s in templates to accomodate recent cplus-dem.c change.
4075 Remove xfail for the virtual table of BDDHookV.
4076
4077 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
4078
4079 * lib/gdb.exp (string_to_regexp): Set a default result.
4080 (default_gdb_start): Fix misleading message.
4081
4082 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
4083
4084 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
4085 Remove all CC, etc definitions.
4086 * config/mt-hpux: New file.
4087 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
4088 (CFLAGS, LDFLAGS): Define.
4089 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
4090
4091 * Makefile.in (site.exp): Don't insert host_os, etc.
4092 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
4093 (distclean): Check existence of subdir.
4094 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
4095 * gdb.base/Makefile.in: General cleanup and simplification.
4096 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
4097 to build executables. Use default rule to build .o files.
4098 (EXPECT, RUNTEST, CC): Fix relative pathname.
4099 (site.exp): Don't insert host_os, etc.
4100 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
4101 and/or SIGUSR1 defined.
4102 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
4103 * gdb.c++/Makefile.in: General cleanup and simplification.
4104 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
4105 (CFLAGS): Remove.
4106 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
4107
4108 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
4109
4110 * gdb.base/recurse.exp: Misc changes to get tests running again
4111 after Kung's changes to the watchpoint code.
4112 * gdb.base/watchpoint.exp: Likewise.
4113
4114 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
4115
4116 * lib/gdb.exp (string_to_regexp): Convert {\} also.
4117
4118 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
4119
4120 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
4121 * lib/gdb.exp (default_gdb_start): Define.
4122 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
4123 gdb.base/funcargs.exp, gdb.base/opaque.exp,
4124 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
4125 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
4126 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
4127 Don't call gdb_target_udi in between tests.
4128
4129 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4130
4131 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
4132 (which was basically just a local version of the same thing). In
4133 addition to avoiding duplication, gdb_test_exact is faster.
4134 * lib/gdb.exp (gdb_test_exact): Fix typo.
4135
4136 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
4137 don't give an error.
4138
4139 * gdb.base/term.exp: Call delete_breakpoints before starting.
4140
4141 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
4142 (t10): Add comment.
4143
4144 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
4145
4146 Reorganization of the GDB Test Suite.
4147
4148 * gdb.base: New directory, contains all the basic tests.
4149 * gdb.c++: New directory, tests specific to C++.
4150 * gdb.chill: New directory, tests specific to Chill.
4151 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
4152 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
4153 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
4154 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
4155 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
4156 t30-31 to chill).
4157 * */gdbme.*: Rename to match appropriate expect scripts.
4158 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
4159 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
4160 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
4161 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
4162 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
4163 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
4164 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
4165 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
4166 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
4167 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
4168 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
4169 gdb.c++/virtfunc.cc: New names of C++ files.
4170 * gdb.chill/chillvars.ch: New name of Chill file.
4171 * gdb.base/configure.in, gdb.c++/configure.in,
4172 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
4173 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4174 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
4175 * configure.in (configdirs): Update to reflect directory changes.
4176 (target_abbrev): No longer define for any configuration.
4177 * Makefile.in: Cosmetic improvements to header comments.
4178
4179 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
4180
4181 Various changes to gdb.t31:
4182
4183 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
4184 * gdbme.ch: Make all key-words and predefineds be upper-case.
4185 * chillvars.exp: Expect key-words and predefinds in upper-case.
4186
4187 * chillvars.exp: Use gdb_test_exact many places.
4188 Change expected output for arrays (which now includes index labels).
4189
4190 * pr-5020.exp, gdme.ch (module PR_5020):
4191 New test, for PR-5020.
4192
4193 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
4194
4195 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
4196 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
4197
4198 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
4199
4200 * Makefile.in: Fix bit-rot in definitions of CHILL,
4201 CHILL_FOR_TARGET and Chill_LIB.
4202 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
4203 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
4204 CHILL, and CHILL_LIB.
4205
4206 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
4207
4208 * Revert the previous changes. Please see Rob's directory
4209 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
4210
4211 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
4212
4213 * Makefile.in, configure.in, config/mips-gdb.exp,
4214 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
4215 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
4216 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
4217 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
4218 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
4219 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
4220 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
4221 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
4222 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
4223 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
4224 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
4225 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
4226 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
4227 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
4228 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
4229 changes from 94Q1.
4230
4231 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
4232
4233 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
4234 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
4235 Rob's new testing fragments.
4236
4237 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
4238
4239 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
4240 lib/gdb.exp: Replace error proc calls with perror.
4241
4242 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
4243
4244 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
4245 version also, match on casted version strings, and match on
4246 gdb startup case where the line numbers might be messed up.
4247
4248 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
4249
4250 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
4251 (CFLAGS): Delete it from here.
4252
4253 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
4254
4255 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
4256
4257 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
4258
4259 * Makefile.in (RUNTEST): Default to just "runtest".
4260
4261 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4262
4263 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
4264 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
4265 the code has been restructured.
4266
4267 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4268
4269 * gdb.t00/default.exp (set write): Allow any number of \r and/or
4270 \n, not just one of each.
4271
4272 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
4273 /bin/cc gives a warning if you do.
4274
4275 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
4276
4277 * gdb.t24/demangle.exp: change expect pattern of
4278 __t10ListS_link1ZUiRCUiPT0
4279
4280 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4281
4282 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
4283 on local variables in recursive functions.
4284
4285 * gdb.t07/Makefile.in: Build the new test.
4286
4287 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4288
4289 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
4290 directly. Instead compare the return values from actual calls.
4291
4292 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
4293
4294 * Makefile.in (check): Set TCL_LIBRARY for runtest.
4295
4296 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4297
4298 * From Peter Schauer with minor modifications.
4299 * gdb.t15/return.exp (return_tests): Handle targets where "return"
4300 stops in mid-line in the caller. Add xfail for returning a float
4301 value on X86 targets.
4302
4303 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4304
4305 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
4306 to avoid expect lossage.
4307 (fmem_LRbug_tests): Likewise.
4308 * gdb.disasm/hppa.s: Corresponding changes.
4309
4310 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
4311 conditions to work with latest dejagnu/expect.
4312
4313 * gdb.t15/funcargs.exp (finish from indirect call): No longer
4314 expected to fail on the PA.
4315 (backtrace in call with trampolines): Explicitly require main
4316 to be frame #1 (no trampolines should show up in backtrace).
4317
4318 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
4319 "continue -expect".
4320 * gdb.t06/break.exp: Likewise.
4321 * gdb.t07/watchpoint.exp: Likewise.
4322 * gdb.t13/bitfields.exp: Likewise.
4323 * gdb.t15/{funcargs,return}.exp: Likewise.
4324 * gdb.stabs/weird.exp: Likewise.
4325 * config/{mips,udi}-gdb.exp: Likewise.
4326
4327 * hppa.sed: Enclose comments within a sed command to avoid
4328 losing with the old OSF1 sed.
4329
4330 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4331
4332 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
4333 sequent dynix.
4334 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
4335 * gdb.t15/funcargs.exp: Conditionally step again to really
4336 finish from marker_call_with_trampolines. Handle the case where
4337 the first step from within call_with_trampolines already steps
4338 us back to main.
4339 * gdb.t15/gdbme.c: Add comment to closing brace of
4340 call_with_trampolines for funcargs.exp.
4341
4342 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4343
4344 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
4345 Fix typo(s).
4346
4347 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4348
4349 * gdb.t07/gdbme.c: More code for watchpoint testing.
4350
4351 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
4352 "Hardware watchpoint" throughout file.
4353 (test_watchpoint_triggered_in_syscall): New test.
4354 (test_complex_watchpoint): New test.
4355
4356 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4357
4358 * gdbme.c (call_with_trampolines): New function to try and step
4359 into. Tests trampoline problems on the PA.
4360
4361 * funcargs.exp (localvars_in_indirect_call): No longer expect
4362 stepping into indirect call to fail on PAs.
4363 (test_stepping_over_trampolines): New test.
4364
4365 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4366
4367 * TODO: Add suggestions for static member function tests, and
4368 completion tests.
4369
4370 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4371
4372 * TODO: Add suggestions for "p/a" tests.
4373
4374 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
4375 (default_gdb_exit): Replace all the hair with sending "quit" to
4376 the process with a simple close.
4377
4378 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4379
4380 * TODO: Add suggestions for shared library tests.
4381
4382 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4383
4384 * TODO: Add suggestions for x/s tests.
4385
4386 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4387
4388 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
4389 "enable once", and "enable breakpoints once" with ".*".
4390
4391 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4392
4393 * TODO: Add suggestions about structure passing tests.
4394
4395 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4396
4397 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
4398 the primary1 test, use work around if __GNUC__ < 2.
4399 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
4400 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
4401 Test for bad output rather than waiting for timeout. Issue
4402 second continue only if first continue failed.
4403
4404 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4405
4406 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
4407 operator[] test with gdb_test because the old code didn't seem to
4408 be getting the quoting right with the new dejagnu.
4409
4410 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
4411
4412 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
4413 one from the path.
4414 * Makefile.in: Use a fresh expect if there is one, use runtest
4415 from the src tree if there is one.
4416
4417 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4418
4419 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
4420 next over recursive call. Revise the tests from that point on
4421 (which had been skipped) to match GDB's actual (correct) output.
4422
4423 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
4424 with next over a breakpoint whose condition is false.
4425
4426 * gdb.t00/help.exp: Comment out "help set print" tests just like
4427 (and for same reason as) "help set" test.
4428
4429 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4430
4431 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
4432 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
4433
4434 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4435
4436 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
4437 necessary gdb_target_udi.
4438
4439 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
4440
4441 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
4442 1838 and 2417; they are fixed.
4443
4444 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
4445 gdb.t03/ptype.exp (ptype structure, ptype union):
4446 Remove xfails; the test is looser than when the xfails were added.
4447
4448 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
4449 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
4450
4451 * gdb.t01/run.exp: Only run shell test if isnative.
4452
4453 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
4454 since "run" automatically loads if necessary. Call gdb_target_udi
4455 after the "file" since "file" kills any execution target.
4456
4457 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
4458 GDB. GDB doesn't work that way (not anymore at least) on UDI.
4459 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
4460 argument for UDI.
4461
4462 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4463
4464 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
4465
4466 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
4467
4468 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4469
4470 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
4471 properly quoting regexps. This makes the second argument to
4472 demangle a fixed string, which matches the callers, instead of a
4473 shell-style pattern which is what the previous implementation
4474 used. Update some of the callers.
4475
4476 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4477
4478 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
4479 (comib_nullified_tests): Fix typo.
4480 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
4481 strings. No longer expected to fail.
4482
4483 * gdb.disasm/hppa.s (addib_tests): Fix typo.
4484 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
4485 strings. No longer expected to fail.
4486
4487 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
4488 string. No longer expected to fail.
4489
4490 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4491
4492 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
4493 No longer expected to fail.
4494
4495 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
4496 string. No longer expected to fail.
4497
4498 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4499
4500 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
4501 only in the names (I probably got most of them). I was even
4502 generous with some which differed in underscores in names, and
4503 probably missed a few, and I *still* was able to remove almost a
4504 third of the file with almost no impact on testsuite coverage.
4505
4506 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4507
4508 * gdb.t00/default.exp: Match udi_attach error message as well as
4509 the one from child_attach.
4510
4511 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
4512
4513 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
4514
4515 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
4516 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
4517
4518 * Move test with enums and partial symbols back to
4519 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
4520 Reverts the change of 26 May 93. Per today's change to
4521 stabs.texinfo, the behavior that weird.exp was expecting was
4522 unreasonable; what is important is that the compiler+gdb get
4523 things right, which happens with a recent gcc. Also fix the test
4524 to deal with native compilers which put out the stab gdb can't
4525 deal with.
4526
4527 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4528
4529 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
4530 in the names. The main thing these accomplish is to slow things down.
4531 Many more such duplicates surely remain.
4532
4533 * gdb.t00/help.exp: Comment out "help support" test just like
4534 (and for same reason as) "help set" test.
4535
4536 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
4537
4538 * gdb.t06/break.exp: Remove setup_xfails for
4539 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
4540 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
4541 about known bug in gcc to include up through 2.5.8.
4542 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
4543 well as "_vb$".
4544 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
4545 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
4546 with latest gcc and gdb.
4547 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
4548 well as "_vb$".
4549
4550 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4551
4552 * configure.in (hppa*-*-*): Also configure and build stabs-only
4553 tests.
4554
4555 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4556
4557 * gdb.t10/hppa.mt: A makefile fragment for the PA.
4558 * gdb.t10/configure.in (hppa*-*-*): Use it.
4559
4560 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4561
4562 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
4563
4564 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4565
4566 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
4567 versions prior to 1.13.5.
4568
4569 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4570
4571 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
4572 the prompt is at the start of a line.
4573
4574 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4575
4576 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
4577 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
4578 in the copr tests now.
4579 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
4580 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
4581 expected to fail.
4582
4583 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
4584
4585 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
4586 gdb.t31/chillvars.exp, lib/gdb.exp:
4587 Tweak to run under either version of expect.
4588 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
4589 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
4590 * gdb.t11/list.exp: Remove extraneous whitespace.
4591
4592 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4593
4594 * gdb.t16/printcmds.exp (test_print_strings): Accept
4595 "(unsigned char *) " before the string.
4596
4597 * TODO: Add notes about printing of fancy types and GDB expressions.
4598
4599 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
4600
4601 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
4602 * gdb.t06/configure.in: Don't try to compile signals test program
4603 if doing mips-idt-ecoff.
4604
4605 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
4606
4607 * Most .exp files: Tweak to run under either version of expect.
4608
4609 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4610
4611 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
4612 xfails; I'm not sure why they are failing, but not because of PR 1806.
4613
4614 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
4615
4616 * config/unix-gdb.exp: Remove gdb_unload cause it's already
4617 defined in lib/gdb.exp.
4618
4619 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4620
4621 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
4622 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
4623 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
4624 have to be typeless.
4625
4626 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4627
4628 * TODO: Add suggestion for copyright year test.
4629
4630 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
4631
4632 * configure.in (*-*-lynxos*): Add stabs tests.
4633
4634 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4635
4636 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
4637 so insert a tab before any assembler directive in column zero.
4638
4639 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
4640 stores.
4641 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
4642 stores.
4643 (fpu_short_memory_tests): Likewise.
4644
4645 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4646
4647 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
4648 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
4649 .stabs directives in comments.
4650
4651 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4652
4653 * TODO: New file, describing tests we could write.
4654 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
4655
4656 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4657
4658 * gdb.t06/signals.exp: Add kludge to force re-sync.
4659
4660 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
4661 to xgdb instead of gdb, get out of gdb.
4662
4663 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
4664
4665 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
4666 for info.
4667
4668 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4669
4670 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
4671 * gdb.stabs/configure.in (hppa*-*-*): Use it.
4672 * gdb.stabs/hppa.sed: New sed script for the PA.
4673
4674 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4675
4676 * gdb.stabs: Re-write weird.def and configuration to use sed
4677 instead of cpp. sed is portable and POSIX; cpp is neither.
4678
4679 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4680
4681 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
4682
4683 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4684
4685 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
4686
4687 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4688
4689 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
4690 "_vb$".
4691 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
4692 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
4693
4694 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4695
4696 * lib/gdb.exp: Comment out code which depends on non-existent
4697 `transform' procedure.
4698
4699 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
4700
4701 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
4702 * lib/gdb.exp: Transform tool name.
4703 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
4704 1.1's new error handling system.
4705
4706 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4707
4708 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
4709
4710 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4711
4712 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
4713 They made pattern matching so slow that timeouts happened on
4714 heavily loaded systems. Now any output from "show print" which
4715 gets us back to the GDB prompt is a PASS.
4716
4717 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
4718
4719 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
4720
4721 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4722
4723 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
4724
4725 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
4726 It is not from PR 3220.
4727
4728 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4729
4730 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
4731 just started failing because they depended on the order the
4732 subcommands are presented, or exact docstring text. This kind of
4733 test is a pain and has minimal benefit.
4734
4735 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4736
4737 * gdb.t09/corefile.exp: At end of test, use "core" command with
4738 no arguments.
4739
4740 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
4741
4742 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
4743 17}/Makefile.in: Make it possible to run the testsuite with Sun
4744 make and CC = cross gcc by adding explicit build rules for .o
4745 files.
4746
4747 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4748
4749 * gdb.t15/funcargs.exp: Don't put comments on same line as
4750 setup_xfail (@#$*%& tcl braindamage!).
4751
4752 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4753
4754 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
4755
4756 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
4757
4758 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
4759 * gdb.t20/inherit.exp: remove three dumplicate entries.
4760
4761 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4762
4763 * gdb.t06/break.exp: For "next over recursive call", fail on any
4764 incorrect output, not just on "factorial (value=2)".
4765
4766 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4767
4768 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
4769 working now. Add an xfail if accesing a bss variable causes
4770 a memory error if the target is not yet run.
4771
4772 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4773
4774 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
4775 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
4776 name of __st* demangling (2 strings). Did Kung really get the
4777 more than 95 others right without testing them?
4778
4779 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
4780
4781 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
4782
4783 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
4784
4785 * configure.in (configdirs): Add gdb.disasm
4786 * gdb.disasm: New directory for GDB disassembler tests.
4787 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
4788
4789 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4790
4791 * gdb.t00/help.exp: Don't test "help set".
4792
4793 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
4794 from within expect statements. None of these happen anymore and
4795 they cause regressions to be silently unnoticed.
4796
4797 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
4798 messages) about known failures with gcc cygnus-2.4.5-930417.
4799
4800 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
4801 comp-info.exp so it gets built if it doesn't exist.
4802
4803 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
4804 it is no longer used.
4805 * gdb.t13/comp-info.c: Removed.
4806
4807 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4808
4809 * gdb.t06/signals.exp: Add xfail for sun3.
4810
4811 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4812
4813 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
4814 relevant because ^C doesn't get sent but failure can be reproduced
4815 interactively).
4816
4817 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4818
4819 * gdb.stabs/alpha.mt: New configuration file for alpha.
4820 * gdb.stabs/configure.in: Use it.
4821 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
4822 sharing with alpha.mt, redefine long to word via preprocessor.
4823 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
4824 for alpha.
4825 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
4826 native cc.
4827 * gdb.t00/teststrategy.exp: Change expect string so that we
4828 consume the `(xgdb)' from the command echo and from the gdb prompt.
4829 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
4830 gdb currently compares all values as long, so this failure probably
4831 applies to any configuration where LONGEST is bigger than a target int.
4832 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
4833 with gcc.
4834 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
4835 to handle opaque pointers, gcc is.
4836 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
4837 as first argument. Include <sys/types.h> and change all operator
4838 new definitions to use size_t.
4839 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
4840 now that we use size_t.
4841
4842 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4843
4844 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
4845 a long or float array cast all array members to the same type.
4846 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
4847 with 64 bit longs.
4848 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
4849 on alpha.
4850 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
4851
4852 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4853
4854 * gdb.t24 (demangle.exp): Constructors of templates have names like
4855 vector<int>::vector(int) not vector<int>::vector<int>(int). See
4856 section 14.6 of the ARM.
4857
4858 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
4859 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
4860 accomplish little and slow down the testsuite.
4861
4862 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
4863 Accept spaces various places.
4864
4865 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4866
4867 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
4868 with watchpoint enabled.
4869
4870 * Makefile.in: Remove definition of CC and remove the second
4871 definition of CXX (the "CXX = gcc" one remains). These definitions
4872 were causing backquotes to be expanded within backquotes, which
4873 doesn't work.
4874
4875 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
4876
4877 * gdb.t17/callfuncs.exp: Add "return 0" to end.
4878
4879 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4880
4881 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
4882 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
4883 by mips cc and contains no stabs entries.
4884
4885 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
4886
4887 * config/vx-gdb.exp: Use fake device to load files rather than
4888 NFS.
4889 * lib/gdb.exp: New proc to do "file" command.
4890 * config/unix-gdb.exp: Use new "file" proc.
4891
4892 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4893
4894 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
4895 Rework board rebooting slightly.
4896 (gdb_exit): Don't exit from the remote shell; there isn't one.
4897 * gdb.stabs/weird.exp: If a program is being debugged already,
4898 kill it.
4899 * gdb.t04/setvar.exp: Stop and restart gdb.
4900 * gdb.t05/expr.exp: Likewise.
4901 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
4902 restart gdb and reload the program.
4903 * gdb.t08/opaque.exp: Likewise.
4904 * gdb.t12/scope.exp: Likewise.
4905 * gdb.t13/bitfields.exp: Likewise.
4906 * gdb.t15/funcargs.exp: Likewise.
4907 * gdb.t20/classes.exp: Likewise.
4908 * gdb.t03/ptype.exp: Increase timeout.
4909 * gdb.t16/printcmds.exp (test_print_string_constants,
4910 test_print_array_constants): Likewise.
4911 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
4912 * gdb.t20/classes.exp (do_tests): Likewise.
4913 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
4914
4915 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
4916
4917 * gdb.stabs: Renamed *wierd* to *weird*.
4918
4919 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4920
4921 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
4922 for timeout. Add "known gcc 2.4.5 bug" to failure message.
4923
4924 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4925
4926 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
4927 (do_tests): Remove xfail for whatis on one_var and two_var.
4928
4929 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
4930
4931 * Makefile.in: Made cross building work better by adding
4932 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
4933
4934 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4935
4936 * gdb.t15/{return.c,return.exp,Makefile.in}:
4937 New test, currently commented out.
4938
4939 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
4940
4941 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
4942 still running and removes the leftover named socket so GDb can do
4943 clean restarts.
4944
4945 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
4946
4947 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
4948 console, not GDB.
4949 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
4950 cross testing works better with "make check"
4951 * config/unix-gdb: Use default procedures for exit and version.
4952 * config/vx-gdb.exp: Cleaned up and massaged back to working order
4953 with the newest VxWorks.
4954
4955 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4956
4957 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
4958 old form.
4959
4960 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4961 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4962
4963 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4964
4965 * config/unix-gdb.exp: Remove this version of gdb_exit
4966 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4967 Rob says he'll look at it when he gets back to testing boards.
4968
4969 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
4970
4971 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4972 an expected fail for certain ptype commands.
4973
4974 * gdb.t20/classes.exp: Update expected results of "ptype class
4975 Base1" to account for the constructor that now appears in the type.
4976
4977 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4978
4979 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4980 disappeared from list.
4981 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4982 "alldone" proc with call to cleanup and exit.
4983 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4984 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4985 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4986 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4987 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4988 "alldone" proc with simple returns that suppress remaining
4989 tests. The alldone proc went away many months ago.
4990
4991 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4992
4993 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4994
4995 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4996
4997 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4998
4999 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
5000 as vax gdb will display them.
5001
5002 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5003
5004 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
5005 optimizers.
5006
5007 * scope.exp: Change "bad value for localval" messages so each one
5008 is unique.
5009
5010 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
5011 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
5012
5013 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
5014
5015 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5016
5017 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
5018 doesn't exist (due to optimization).
5019
5020 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5021
5022 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
5023 contains \r because the filename is long.
5024
5025 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
5026 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
5027
5028 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5029
5030 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
5031 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
5032 Ultrix.
5033 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
5034 int tests.
5035 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
5036
5037 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
5038
5039 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
5040
5041 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
5042 to match does not match the passing case but still matches the
5043 failing case.
5044
5045 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5046
5047 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
5048
5049 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
5050
5051 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
5052 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
5053 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
5054 Remove various versions of gdb_exit.
5055 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
5056 gdb_exit.
5057 * config/unix-gdb.exp: gdb_exit remains here, and should override
5058 the generic version, since it's doing a lot of wierd stuff that
5059 the other versions aren't. FIXME, fold it in, or abandon this
5060 version.
5061
5062 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5063
5064 * gdb.t24/demangle.exp: Add tests for PR 3220.
5065
5066 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5067
5068 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
5069
5070 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
5071
5072 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
5073 "i386-*-*". Works for i486 as well.
5074
5075 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
5076 bug, and expand domain of xfail to all SVR4 systems, since the
5077 actual problem is likely to be in generic SVR4 /proc support.
5078
5079 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5080
5081 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
5082
5083 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
5084
5085 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
5086 xfails for other systems. Match a missing 'Continuing.' as an
5087 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
5088
5089 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
5090 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
5091 Only issue warning for missing executables if -all option is used.
5092
5093 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
5094 file if -all option is used. It's like an unpredictable XFAIL.
5095
5096 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5097
5098 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
5099 for dynamically linked binaries.
5100
5101 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
5102
5103 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5104
5105 * gdb.t20/inherit.exp: Change message for "print tagless struct"
5106 to state that this is a known bug in old versions of g++.
5107
5108 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5109
5110 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
5111 while waiting for `Continuing'.
5112
5113 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
5114
5115 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
5116 in text, data, and bss.
5117 * gdb.t10/nodebug.c: Add local and global test variables for
5118 initialized and uninitialized data.
5119
5120 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5121
5122 * config/unix-gdb.exp (gdb_exit): Add "wait".
5123
5124 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5125
5126 * gdb.t06/signals.exp: xfail the continue from the handler for all
5127 targets.
5128
5129 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
5130 function with watchpoints enabled, the i386 call dummy starts with
5131 a call.
5132
5133 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
5134 386 bsd names its corefiles.
5135
5136 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
5137
5138 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
5139 compilers don't grok it.
5140 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
5141 with small octal ints rather than character constants, which
5142 are signed and might not fit if first promoted to int.
5143
5144 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
5145
5146 * gdb.t09/Makefile.in (clean): Remove corefile.
5147
5148 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5149
5150 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
5151
5152 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5153 and Jim Kingdon (kingdon@cygnus.com)
5154
5155 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
5156 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
5157 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
5158
5159 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5160
5161 * gdb.t17/interrupt.exp: Add xfail for hppa.
5162
5163 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5164
5165 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
5166 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
5167 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
5168 to determine signed-ness of bitfields and use the result to setup
5169 the xfail.
5170 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
5171 * gdb.t15/funcargs.exp: Use them to step until the second indirect
5172 call line is reached if necessary.
5173
5174 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5175
5176 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
5177
5178 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5179
5180 * gdb.t06/break.exp: Also test `clear' command.
5181
5182 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
5183
5184 * gdb.t00/teststrategy.exp: Remove extra quote.
5185
5186 * gdb.t07/watchpoint.exp: Change xfail for calling function with
5187 watchpoint enabled to be for all non-68k machines.
5188
5189 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
5190
5191 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5192
5193 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
5194 targets use aout.mt instead of ecoff.mt as gas understands
5195 standard aout format.
5196
5197 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
5198
5199 * lib/gdb.exp (runto): Don't insist that function we are running to
5200 was compiled with -g.
5201
5202 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
5203
5204 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
5205 to get back into the read system call.
5206 Accept leading newline in case where we woke it up.
5207
5208 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5209
5210 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
5211 to make the stabs test work on ecoff systems using gcc and -with-stabs.
5212 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
5213 enable ecoff configuration.
5214
5215 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5216
5217 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
5218
5219 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5220
5221 * gdb.t16/printcmds.exp: Add another printf test.
5222
5223 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
5224
5225 * configure.in: If configured -with-stabs on any target, add
5226 stabsdirs to configdirs.
5227
5228 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5229
5230 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
5231 fun" so pattern does not match the command itself.
5232
5233 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5234
5235 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
5236
5237 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5238
5239 * gdb.t17/interrupt.exp: Test for more things.
5240
5241 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5242
5243 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
5244 compiler arranges the code and line numbers.
5245
5246 * gdb.t17/interrupt.exp: Don't send \n after ^C.
5247
5248 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5249
5250 * gdb.t00/help.exp: Increase expect input buffer size.
5251
5252 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5253
5254 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
5255
5256 * gdb.t07/watchpoint.exp: Add xfail for hppa.
5257
5258 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
5259
5260 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
5261 [0-9]*, not just [0-9].
5262
5263 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5264
5265 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
5266
5267 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
5268
5269 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5270
5271 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
5272
5273 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5274
5275 * gdb.t06/signals.c: Add xfails for sun3.
5276
5277 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
5278
5279 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
5280 test_stepping tests.
5281
5282 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5283
5284 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
5285
5286 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
5287
5288 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
5289 rather than actually putting it through cpp twice.
5290
5291 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
5292
5293 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
5294
5295 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
5296 no longer needed.
5297
5298 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5299
5300 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
5301
5302 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
5303 C++ features prints as "struct", make it a pass, not an xfail.
5304
5305 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5306
5307 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
5308 Don't require VA to print as "class" rather than "struct".
5309
5310 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
5311
5312 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
5313
5314 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5315
5316 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
5317
5318 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5319
5320 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
5321 order.
5322
5323 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5324
5325 * gdb.t16/printcmds.exp: Add printf tests.
5326
5327 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
5328
5329 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
5330
5331 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
5332
5333 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
5334 pass counts, to counteract any existing or future setup_xfails.
5335
5336 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5337
5338 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
5339 {BEGIN,END}_COMMON for common block instead of STAB.
5340 * gdb.stabs/wierd.exp: Add xfail for rs6000.
5341
5342 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
5343 intp_var should be N_GSYM not N_LSYM.
5344 wierd-aout.S: Use a label for the value of the N_SO.
5345 wierd.def: Remove all backslashes.
5346 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
5347
5348 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5349
5350 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
5351 get the expected next to inheritance3.
5352
5353 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5354
5355 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
5356 now that gcc-2.4 gets it right.
5357
5358 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5359
5360 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
5361
5362 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
5363 generating comp-info.exp which works for cross-compilation.
5364
5365 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
5366
5367 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
5368 "*-*-sysv4.*".
5369
5370 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
5371
5372 * gdb.t01/run.exp: Start with a fresh gdb.
5373 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
5374 SVR4.x.
5375
5376 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
5377
5378 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
5379 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
5380 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
5381 Makefile.in (distclean, realclean): Remove gdbme.c from list of
5382 things to remove.
5383
5384 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
5385
5386 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
5387 test cases from bug reports.
5388
5389 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
5390
5391 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
5392 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
5393 avoid spurious xfails.
5394 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
5395 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
5396 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
5397
5398 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
5399
5400 * gdb.t00/teststrategy.exp: Rework to provide more useful
5401 description of each test, fix problem with systems that define
5402 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
5403 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
5404 results for "next over recursive call" so timeouts aren't taken
5405 by error.
5406
5407 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
5408
5409 * gdb.t12/scope.exp: Test printing of variables before run.
5410
5411 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
5412 printed in wrong order due to sorting.
5413
5414 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
5415
5416 * gdb.t00/teststrategy.exp: Fix expected results for printing
5417 user entered string constant. Is array of char, prints with no
5418 address.
5419
5420 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
5421 commands.
5422 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
5423 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
5424 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
5425 of struct of char arrays.
5426 * gdb.t00/radix.exp: New tests for radix commands.
5427
5428 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
5429
5430 * gdb.t16/printcmd.exp: Print a variable before running program
5431 (with xfail for AIX).
5432
5433 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
5434
5435 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
5436
5437 * gdb.t16/printcmd.exp: Don't print variables before running program.
5438
5439 * gdb.t06/break.exp: Don't require envp argument to main.
5440
5441 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
5442
5443 * gdb.t02/whatis.exp, gdb.t11/list.exp:
5444 Add xfails for rs6000.
5445
5446 * gdb.t02/whatis.exp: Change other tests not to re-test something
5447 we already tested.
5448
5449 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
5450 each type used has a variable of that type.
5451
5452 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
5453
5454 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
5455
5456 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5457
5458 * configure.in: change srctrigger to be a file, not a directory
5459
5460 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
5461
5462 * configure.in (mips-idt-ecoff*): Added trailing '*'.
5463
5464 * gdb.t11/list.exp: Fixed a couple of typos.
5465
5466 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
5467
5468 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
5469 is fixed and PR is closed.
5470 * gdb.t16 (gdbme.c): Add simple test string variable.
5471 * gdb.t16 (printcmds.exp): Add tests with simple test string
5472 variable, primarily for boundaries on "set print elements".
5473
5474 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
5475
5476 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
5477 Make leading 0's optional and don't expect a tab in the middle
5478 of the number.
5479
5480 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
5481
5482 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
5483 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
5484 don't end command passed to gdb_test with newline.
5485
5486 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
5487 signed keyword away, don't expect signed bitfields to be signed.
5488
5489 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
5490 printing with only as many 1's as are in the field as well as printing
5491 with 32 1's (see comment).
5492
5493 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
5494
5495 * gdb.t00/default.exp: Start with a fresh gdb.
5496 * configure.in (configdirs): Remove gdb.t31 until the chill
5497 compiler works again. It no longer is able to find chillrt0
5498 since it isn't in libchill.a anymore.
5499 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
5500 wierd.o, make more modular.
5501 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
5502 spurious newlines that caused problems.
5503
5504 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5505
5506 * Move test with enums and partial symbols from gdb.t03/ptype.exp
5507 to gdb.stabs/wierd.exp since GCC has worked around the bug.
5508 gdb.stabs/wierd.{exp,def}: Many new tests.
5509
5510 * gdb.t00/default.exp: update info line for new message.
5511
5512 * gdb.t02/{whatis.exp,gdbme.c}:
5513 Test that "char *" doesn't print as "caddr_t".
5514
5515 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5516
5517 * gdb.t00/help.exp: Use .* in place of some help messages which
5518 just changed.
5519 gdb.t00/default.exp: Update "info frame" test for new message.
5520 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
5521 Remove some xfails
5522
5523 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5524
5525 * gdb.t03/{gdbme.c,ptype.exp}:
5526 Add tests for typedef'd struct and union without tags.
5527 Also check "whatis" on a variable of a typedef'd enum without a tag.
5528
5529 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
5530 PRMS 1823; the bug still exists but isn't reproduced by this test
5531 anymore), and remove rs6000 XFAIL (the bug is fixed).
5532
5533 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
5534 duplicated from whatis.exp. For those that are left, accept
5535 "long", "long int", or "int" for long variables (whatis.exp already
5536 has an XFAIL for "int", so no need to fail it here).
5537
5538 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
5539 Deal with GCC's names for types now that GDB uses the compiler's names.
5540
5541 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
5542 setup_xfail's for sunos4. If we #defined the signed keyword away,
5543 don't expect GDB to know that char it is signed.
5544
5545 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
5546
5547 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
5548
5549 * configure.in (configdirs): Add gdb.t24 for C++ tests that
5550 should work on any system, regardless of debugging format.
5551 * gdb.t21/demangle.exp: Move to gdb.t24.
5552 * gdb.t24/demangle.exp: Move from gdb.t21.
5553 * gdb.t24/{Makefile.in, configure.in}: New files.
5554
5555 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5556
5557 * configure.in: Do gdb.stabs and C++ tests only for stabs.
5558 * gdb.stabs: New directory.
5559
5560 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5561
5562 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
5563 not just "Quit anyway?".
5564
5565 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
5566
5567 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
5568 that all setup_xfails are immediately followed by clear_xfails.
5569
5570 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
5571
5572 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
5573 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
5574 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
5575 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
5576 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
5577 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5578 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5579 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
5580 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
5581 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
5582 gdb.t31/chillvars.exp, lib/gdb.exp:
5583 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
5584 bug-gdb@prep.ai.mit.edu.
5585
5586 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
5587
5588 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
5589 with 0.0, not integer 0.
5590
5591 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
5592
5593 * gdb.t06/break.exp: Update for "Kill the program" message change.
5594
5595 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
5596
5597 * Makefile.in (GDBFLAGS): Set to -nx.
5598 * Makefile.in (site.exp): Use GDBFLAGS.
5599
5600 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5601
5602 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
5603 Makefiles.
5604 (check): depend on just-check.
5605 (just-check): added so that tests can be run without a noop
5606 build pass.
5607
5608 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5609
5610 Switch to using configure's configdirs.
5611 * Makefile.in (Makefile): add configure.in dependency.
5612 (SUBDIRS): removed redundant assignment.
5613 * configure.in: switch subdirs assignment to configdirs.
5614 * gdb.t*/configure.in: new files.
5615
5616 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
5617
5618 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
5619 works.
5620
5621 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
5622
5623 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
5624 in explicit rules. Apparently this is not supported by some makes.
5625
5626 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
5627
5628 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
5629
5630 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5631
5632 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
5633 disappeared.
5634
5635 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
5636
5637 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
5638
5639 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
5640
5641 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
5642 watchpoint problem that is now fixed.
5643 * gdb.t30/chexp.exp: Remove setup_xfail for printing
5644 uninitialized convenience variables.
5645 * gdb.t31/chillvars.exp: Fix expected patterns for printing
5646 structures.
5647
5648 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5649
5650 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
5651 which causes expect to get out of sync with gdb on long output
5652 from help set.
5653 * gdb.t09/corefile.exp: Make expected pattern for core file
5654 failing signal and frame output format less sun specific.
5655
5656 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
5657
5658 * gdb.t31/chillvars.exp: Add and remove initial dummy
5659 breakpoint, so that symbol table is forced in.
5660 (Needed at least on Sunos4, though it seems not SVR4.)
5661 * gdb.t31/chillvars.exp: Update for changed output format.
5662
5663 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
5664
5665 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
5666
5667 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
5668
5669 * Makefile.in: Added --srcdir when invoking runtest, removed the
5670 need for a local config file. (optional now)
5671
5672 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
5673
5674 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
5675 failure count used to force early termination. Add some more
5676 expected failures for gnu style demangling.
5677
5678 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5679
5680 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
5681 pmi variable from gdb.t20/gdbme to get optimized away.
5682 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
5683 Check for written corefile upon timeout _and_ eof.
5684
5685 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5686
5687 * config/unix-gdb.exp: Add missing return 0.
5688
5689 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5690
5691 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
5692 test termination.
5693
5694 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
5695
5696 * configure.in (subdirs): Put back gdb.t17 which mysteriously
5697 disappeared.
5698
5699 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
5700
5701 * gdb.t10/crossload.exp: Disable the i860-elf test until such
5702 time as i860 support works.
5703
5704 * gdb.t15/funcargs.exp: Fix expected outputs to include
5705 "backtrace 100\r" rather than just "backtrace\r", to match last
5706 change.
5707
5708 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
5709
5710 * config/udi-gdb.exp (gdb_exit): Remove close command.
5711 (gdb_target_udi): New procedure to set the UDI target.
5712 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
5713 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
5714 Added waits for prompts after several question responses. Added
5715 some more responses used by a29k-amd-udi-gdb.
5716 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
5717 pass different arguments, restart UDI connection after program
5718 completion.
5719 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
5720 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5721 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
5722 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
5723 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
5724 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
5725 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5726 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
5727 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
5728 after program completion.
5729 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
5730 compiled with a SELECT_VECS setting.
5731 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
5732 infinite recursion.
5733
5734 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
5735 Added checks for COFF results, and made them expected failures for
5736 all targets. It would be better to make them expected failures
5737 for COFF targets only.
5738
5739 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5740
5741 * Makefile.in: add null dvi target, don't bother to recurse
5742 through test directories for info and install-info; rename
5743 $(datadir) to be dejagnu instead of deja-gnu
5744
5745 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
5746
5747 * gdb.t31/gdbme.ch: Re-enable code that previously caused
5748 compiler to coredump.
5749 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
5750 code.
5751
5752 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
5753
5754 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
5755 coredump.
5756 * gdb.t31/chillvars.exp: Comment out tests that depend on that
5757 code.
5758
5759 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
5760
5761 * gdb.t03/ptype.exp: tests for return code from gdb_test.
5762 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
5763 which in a shell. Deletes xgdb when done.
5764 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
5765 Tests the return from the "set height" or "set width" commands.
5766 Added a few return codes where needed.
5767
5768 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
5769
5770 * Makefile.in (SUBDIRS): Add gdb.t17.
5771 * configure.in (subdirs): Add gdb.t17.
5772 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
5773 files to test gdb's calling of functions in the inferior with
5774 the correct arguments and gdb's ability to retrieve any
5775 result returned.
5776
5777 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
5778
5779 * config/unix-gdb.exp (gdb_exit): Remove close commands that
5780 may be called after gdb goes away. Previous versions of expect
5781 needed these to avoid file descriptor leaks, but they cause
5782 errors with the current revision of expect.
5783 * gdb.t00/gdbvars.exp: Use -re on expected output after
5784 setting sevenbit-strings.
5785 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
5786 to set sevenbit-strings consistent across tests.
5787 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
5788 set sevenbit-strings consistent across tests.
5789
5790 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
5791
5792 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
5793 expected output to match current "expect" expectations.
5794
5795 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
5796
5797 * gdb.t00/default.exp: Change expected output for default "source"
5798 command, to match new gdb behavior which requires a filename to
5799 source.
5800
5801 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
5802
5803 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
5804 expected fail for i486-*-* that misses the marker2 function.
5805 * gdb.t10/crossload.exp (bfddefault): Allow successful
5806 recognition of a format to pass even if no symbols are found.
5807 Explicitly catch failures where the format is not recognized
5808 or is ambiguous, and add the reason to the fail message.
5809 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
5810 the cause is and invalid target and add reason to failure message.
5811 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
5812 elf32-i386, elf32-sparc, and elf32-i860.
5813 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
5814 Set up expected failure for 'filename'::variable scope resolution,
5815 which is now apparently broken on all targets.
5816 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
5817 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
5818 gdb.t23/templates.exp: Change failure for missing binfile into
5819 just a warning.
5820 gdb.t21/demangle.exp: Change all cfront references to 'arm'
5821 references.
5822
5823 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
5824
5825 * gdb.t00/default.exp: Add expected output for default "source"
5826 command, to match new gdb behavior.
5827 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
5828
5829 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
5830
5831 * config/*-gdb.exp: returns an error, rather than exiting on
5832 internal errors.
5833
5834 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
5835
5836 * gdb.t03/gdbme.c: Add pointer to struct variable.
5837 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
5838 referencing struct members.
5839
5840 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
5841
5842 * configure.in (mips-idt-ecoff): New target.
5843 * config/mips-gdb.exp: New file for remote board using MIPS remote
5844 debugging protocol.
5845
5846 * Redid configuration scheme. Removed gdb.t*/configure.in.
5847 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
5848 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
5849 distclean targets. Built executables via .o files. Adjusted
5850 tests to account for source files in $(srcdir) rather than
5851 $(objdir).
5852 * lib/gdb.exp (runto): Don't expect () after the function name,
5853 because it may have arguments.
5854
5855 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
5856
5857 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
5858 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
5859 expected failures for mips-idt-* and mips-sgi-*.
5860 * gdb.t00/default.exp (attach): Kill process if requested.
5861 * gdb.t00/help.exp (help target core, help target): Accept a gdb
5862 that does not read core files.
5863 * gdb.t01/run.exp: Removed checks for exit status code.
5864 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
5865 it is linked in.
5866 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
5867 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
5868 appropriate, rather than doing it by hand.
5869 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
5870 execution.
5871 * gdb.t10/crossload.exp: Kill existing program if needed.
5872 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
5873 appropriate, rather than doing it by hand. Always increase
5874 timeout for this test, not just for VxWorks.
5875
5876 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
5877
5878 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
5879 of Chill STRUCT types and STRUCT values.
5880 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
5881 than "char".
5882 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
5883 struct2): New struct definitions and initializations to test
5884 simple Chill STRUCT types.
5885
5886 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
5887
5888 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
5889 the null byte at the end of strings.
5890 * gdb.t00/default.exp: Make show version insensitive to copyright
5891 date.
5892 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
5893 to avoid dependencies on target char signedness.
5894 * gdb.t16/printcmds.exp: Update expected results for explicitly
5895 unsigned char.
5896 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
5897 now work.
5898 * gdb.t21/demangle.exp: Add many more patterns for template
5899 demangling, most of them being expected failures.
5900 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
5901 string we are matching for, to match on the whole string.
5902 * gdb.t21/demangle.exp: Add many new test strings to demangle,
5903 and fix a whole bunch that had incorrect expected output but were
5904 passing anyway because of the bug in "proc demangle".
5905 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
5906 type.
5907 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
5908
5909 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
5910
5911 * gdb/testsuite: made modifications to testcases, etc., to allow
5912 them to work properly given the reorganization of deja-gnu and the
5913 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5914
5915 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
5916
5917 * gdb/testsuite: Initial creation of gdb/testsuite.
5918 Migrated dejagnu testcases and support files for testing nm to
5919 gdb/testsuite from deja-gnu. These files were moved "as is"
5920 with no modifications. This migration is part of a major overhaul
5921 of dejagnu. The modifications to these testcases, etc., which
5922 will allow them to work with the new version of dejagnu will be
5923 made in a future update.
5924 \f
5925 Local Variables:
5926 mode: indented-text
5927 left-margin: 8
5928 fill-column: 74
5929 version-control: never
5930 End: