1 1999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
3 * gdb.base/help.exp ("help delete display"): Fix test to match
6 * gdb.base/long_long.c (known_types): Initialize values to zero.
7 * gdb.base/long_long.exp: Step one more line
8 so 'dec' is initialized in "get to known place". GDB doesn't
9 prepend unnecessary zeros to the front of numbers. Explicitly
10 ask for hex formatting. Use unique test case names.
12 Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
14 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
16 * gdb.c++/method.exp: Add missing close brace.
18 1999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
20 * gdb.base/maint.exp: Use 'set height 0' to disable page
21 prompting, not 'set height 400'.
23 Fix a bunch of timeouts.
24 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
25 four separate tests, so expect doesn't take forever to match a ton
26 of text against a regexp with lots of .* forms.
27 ("maint print psymbols", "maint print symbols"): Make some of
28 these greps more selective, so that expect doesn't try to wade
29 through huge piles of output and time out.
31 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
33 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
34 tests: one which doesn't expect shlib events to be reported, and
35 another which does, but is XFAIL for all platforms other than
38 * gdb.base/break.exp: Teach the test suite that the `catch
39 fork', `catch vfork', and `catch exec' commands produce error
40 messages on platforms that don't provide these features.
42 Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
44 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
45 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
46 (shortening names from solib_threshold.exp etc), won't run on
47 anything but HP-UX for the foreseeable future.
48 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
51 Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
53 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
54 gdb.trace/Makefile.in (clean): Remove all test executables.
56 Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
58 * gdb.base/shlib-call.exp: add test cases to verify that gdb
59 successfully re-sets breakpoints in shared libraries.
60 * gdb.base/shmain.c (main): return 0, don't fall off the end.
62 Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
64 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
67 * gdb.hp/watch-cmd.exp: ditto.
69 * gdb.hp/watch-hp.exp: ditto.
71 * gdb.hp/xdb1.exp: ditto.
73 * gdb.hp/xdb2.exp: ditto.
75 * gdb.hp/dbx.exp: ditto.
77 Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
79 * constvars.c: Remove C++-isms.
80 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
83 Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
85 The following changes are part of the HP merge.
87 * gdb.base/break.exp: new tests to verify that catchpoints for
88 fork, vfork, and exec don't trigger inappropriately.
90 * gdb.base/opaque.exp: compile one file at a time, then link.
92 * gdb.base/signals.exp: be more restrictive about which hppa
93 systems receive a setup_xfail. new tests.
95 * gdb.base/solib_threshold.build: new file.
96 * gdb.base/solib_threshold.exp: new file.
97 * gdb.base/solib_threshold.link_opts: new file.
98 * gdb.base/solib_threshold.mk: new file.
99 * gdb.base/gen_solib_threshold.c: new file.
101 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
102 tests. New tests for enums inside classes.
104 * gdb.c++/compiler.cc: indicate support of template debugging.
106 * gdb.c++/demangle.exp: run hp style demangling tests.
108 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
111 * gdb.c++/misc.cc: changes to support new tests.
113 * gdb.c++/templates.cc: changes to support HP's compiler; changes
114 to support new tests.
116 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
117 gcc, then skip these tests.
119 Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
121 The following files are part of the HP merge; some had longer
122 names at HP, but have been renamed to be no more than 14
123 characters in length.
125 * gdb.hp/ambiguous.cc: new file.
126 * gdb.hp/ambiguous.exp: new file.
127 * gdb.hp/attach.exp: new file.
128 * gdb.hp/attach2.exp: new file.
129 * gdb.hp/classes-hp.exp: new file.
130 * gdb.hp/ctti.exp: new file.
131 * gdb.hp/ctti-add.cc: new file.
132 * gdb.hp/ctti-add1.cc: new file.
133 * gdb.hp/ctti-add2.cc: new file.
134 * gdb.hp/ctti-add3.cc: new file.
135 * gdb.hp/dbx.exp: new file.
136 * gdb.hp/exception.cc: new file.
137 * gdb.hp/exception.exp: new file.
138 * gdb.hp/foll-exec.c: new file.
139 * gdb.hp/foll-exec.exp: new file.
140 * gdb.hp/foll-fork.c: new file.
141 * gdb.hp/foll-fork.exp: new file.
142 * gdb.hp/foll-vfork.c: new file.
143 * gdb.hp/foll-vfork.exp: new file.
144 * gdb.hp/inherit-hp.exp: new file.
145 * gdb.hp/more-steps.exp: new file.
146 * gdb.hp/namespace.cc: new file.
147 * gdb.hp/namespace.exp: new file.
148 * gdb.hp/optimize.exp: new file.
149 * gdb.hp/pxdb.c: new file.
150 * gdb.hp/pxdb.exp: new file.
151 * gdb.hp/quicksort.exp: new file.
152 * gdb.hp/reg-test.exp: new file.
153 * gdb.hp/reg-test.s: new file.
154 * gdb.hp/sized-enum.c: new file.
155 * gdb.hp/sized-enum.exp: new file.
156 * gdb.hp/start-stop.exp: new file.
157 * gdb.hp/templ-hp.cc: new file.
158 * gdb.hp/templ-hp.exp: new file.
159 * gdb.hp/thr-lib.c: new file.
160 * gdb.hp/thr-lib.exp: new file.
161 * gdb.hp/thr-lib.h: new file.
162 * gdb.hp/thr-liblib.c: new file.
163 * gdb.hp/virtfun-hp.c: new file.
164 * gdb.hp/virtfun-hp.exp: new file.
165 * gdb.hp/watch-cmd.exp: new file.
166 * gdb.hp/watch-hp.exp: new file.
167 * gdb.hp/xdb1.exp: new file.
168 * gdb.hp/xdb2.exp: new file.
169 * gdb.hp/xdb3.exp: new file.
171 Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
173 The following files are part of the HP merge; some had longer
174 names at HP, but have been renamed to be no more than 14
175 characters in length.
177 * gdb.base/ss.h: new file.
178 * gdb.base/call-ar-st.c: new file.
179 * gdb.base/call-ar-st.exp: new file.
180 * gdb.base/call-rt-st.c: new file.
181 * gdb.base/call-rt-st-exp: new file.
182 * gdb.base/call-strs.exp: new file.
183 * gdb.base/ena-dis-br.exp: new file.
184 * gdb.base/environ.exp: new file.
185 * gdb.base/long_long.exp: new file.
186 * gdb.base/sect-cmd.exp: new file.
187 * gdb.base/shlib-cl2.exp: new file.
188 * gdb.base/smoke.exp: new file.
189 * gdb.base/so-impl-ld.c: new file.
190 * gdb.base/so-impl-ld.exp: new file.
191 * gdb.base/so-indr-cl.c: new file.
192 * gdb.base/so-indr-cl.exp: new file.
193 * gdb.base/varargs.exp: new file.
194 * gdb.base/volatile.exp: new file.
195 * gdb.base/whatis-exp.exp: new file.
196 * gdb.c++/derivation.exp: new file.
197 * gdb.c++/local.exp: new file.
198 * gdb.c++/member-ptr.exp: new file.
199 * gdb.c++/overload.exp: new file.
200 * gdb.c++/ovldbreak.exp: new file.
201 * gdb.c++/ref-types.exp: new file.
202 * gdb.c++/ref-types2.exp: new file.
203 * gdb.c++/userdef.exp: new file.
205 Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
207 * gdb.base/default.exp: Reflect wording change in remote.c.
209 Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
211 * gdb.base/help.exp: Update to reflect current text.
213 Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
215 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
216 they're stack variables and contain garbage.
217 * gdb.c++/anon-union.exp: new file.
219 The following changes were made by David Taylor
220 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
221 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
224 * gdb.base/bitops.exp: new file.
225 * gdb.base/default.exp: change expected messages for catch and
226 info catch tests to reflect HP merge changes.
227 * gdb.base/enable-disable-break.exp
228 * gdb.base/ending-run.c: new file.
229 * gdb.base/long_long.c: new file.
230 * gdb.base/maint.exp: new file.
231 * gdb.base/pointers2.exp: new file.
232 * gdb.base/shlib-call2.exp: new file.
233 * gdb.base/solib.exp: new file.
234 * gdb.base/step-test.c: new file.
235 * gdb.c++/anon-union.cc: new file.
236 * gdb.c++/local.cc: new file.
237 * gdb.c++/member-pointer.cc: new file.
238 * gdb.c++/method.cc: new file.
239 * gdb.c++/ref-types.cc: new file.
240 * gdb.c++/ref-types2.cc: new file.
241 * gdb.c++/userdef.cc: new file.
243 * gdb.base/scope.exp: compile one file at a time, then link.
244 * gdb.base/langs.exp: ditto.
245 * gdb.base/list.exp: ditto.
247 Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
249 The following changes were made by David Taylor
250 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
251 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
254 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
255 skip tests. When compiling pass c++ flag to gdb_compile.
258 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
259 test for on hppa*-*-hpux*; use args to see if c++ was specified.
260 (skip_hp_tests): new function.
261 (gdb_preprocess): new function.
263 * configure.in (hpdir): decide whether to configure gdb.hp.
264 * configure: regenerated.
266 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
268 (EXECUTABLES): update to reflect new additions.
269 * gdb.base/commands.exp: update message expected.
270 * gdb.base/default.exp: add copyright notice.
271 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
272 * gdb.base/help.exp: update messages to reflect current text.
273 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
274 targets for recurse tests.
275 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
278 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
279 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
281 * gdb.c++/misc.exp: ditto.
282 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
283 run the tests. tell gdb_compile that it's a c++ compilation.
285 * gdb.threads/pthreads.exp: fix typo in message.
287 * gdb.base/all-bin.exp: new file.
288 * gdb.base/arithmet.exp: new file.
289 * gdb.base/assign.exp: new file.
290 * gdb.base/completion.exp: new file.
291 * gdb.base/cond-expr.exp: new file.
292 * gdb.base/condbreak.exp: new file.
293 * gdb.base/define.exp: new file.
294 * gdb.base/dollar.exp: new file.
295 * gdb.base/environment.exp: new file.
296 * gdb.base/eval-skip.exp: new file.
297 * gdb.base/jump.exp: new file.
298 * gdb.base/logical.exp: new file.
299 * gdb.base/pointers.exp: new file.
300 * gdb.base/relational.exp: new file.
301 * gdb.base/section_command.exp: new file.
302 * gdb.base/whatis-expr.exp: new file.
304 * gdb.base/all-types.c: new file.
305 * gdb.base/call-array-struct.c: new file.
306 * gdb.base/call-return-struct.c: new file.
307 * gdb.base/call-strings.c: new file.
308 * gdb.base/callfuncs2.c: new file.
309 * gdb.base/condbreak.c: new file.
310 * gdb.base/constvars.c: new file.
311 * gdb.base/display.c: new file.
312 * gdb.base/int-type.c: new file.
313 * gdb.base/jump.c: new file.
314 * gdb.base/miscexprs.c: new file.
315 * gdb.base/pointers.c: new file.
316 * gdb.base/pointers2.c: new file.
317 * gdb.base/shmain.c: new file.
318 * gdb.base/shr1.c: new file.
319 * gdb.base/shr2.c: new file.
320 * gdb.base/solib.c: new file.
321 * gdb.base/solib1.c: new file.
322 * gdb.base/solib2.c: new file.
323 * gdb.base/varargs.c: new file.
324 * gdb.c++/derivation.cc: new file.
325 * gdb.c++/overload.cc: new file.
326 * gdb.c++/ovldbreak.cc: new file.
327 * gdb.hp/attach.c: new file.
328 * gdb.hp/attach2.c: new file.
329 * gdb.hp/average.c: new file.
330 * gdb.hp/compiler.c: new file.
331 * gdb.hp/compiler.cc: new file.
332 * gdb.hp/execd-program.c: new file.
333 * gdb.hp/follow-exec.c: new file.
334 * gdb.hp/follow-fork.c: new file.
335 * gdb.hp/follow-vfork-and-exec.c: new file.
336 * gdb.hp/misc-hp.cc: new file.
337 * gdb.hp/more-steps.c: new file.
338 * gdb.hp/optimize.c: new file.
339 * gdb.hp/quicksort.c: new file.
340 * gdb.hp/run-hp.c: new file.
341 * gdb.hp/start-stop.c: new file.
342 * gdb.hp/sum.c: new file.
343 * gdb.hp/templates-hp.cc: new file.
344 * gdb.hp/thread-local-in-lib.c: new file.
345 * gdb.hp/thread-local-in-lib.h: new file.
346 * gdb.hp/thread-local-in-lib.lib.c: new file.
347 * gdb.hp/vforked-program.c: new file.
348 * gdb.hp/virtfunc-hp.cc: new file.
349 * gdb.hp/watchpoint-hp.c: new file.
350 * gdb.hp/xdb.c: new file.
351 * gdb.hp/xdb0.c: new file.
352 * gdb.hp/xdb0.h: new file.
353 * gdb.hp/xdb1.c: new file.
355 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
357 The following change was made by Edith Epstein
358 <eepstein@cygnus.com> as part of a project to merge in changes
359 originally made by HP; HP did not create ChangeLog entries.
361 * gdb.c++/demangle.exp: changed the expected output for some
362 ARM-style mangling -- removed second reference to datatype.
363 For example, maint demangle __dt__11T1__pt__2_cFv
364 T1<char>::~T1<char>(void)
366 maint demangle __dt__11T1__pt__2_cFv
369 (test_hp_style_demangling): new hp specific demangling test cases.
371 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
373 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
374 * gdb.trace/backtrace.exp: Likewise.
375 * gdb.trace/circ.exp: Likewise.
376 * gdb.trace/collection.exp: Likewise.
377 * gdb.trace/deltrace.exp: Likewise.
378 * gdb.trace/infotrace.exp: Likewise.
379 * gdb.trace/limits.exp: Likewise.
380 * gdb.trace/packetlen.exp: Likewise.
381 * gdb.trace/passc-dyn.exp: Likewise.
382 * gdb.trace/passcount.exp: Likewise.
383 * gdb.trace/report.exp: Likewise.
384 * gdb.trace/save-trace.exp: Likewise.
385 * gdb.trace/tfind.exp: Likewise.
386 * gdb.trace/tracecmd.exp: Likewise.
387 * gdb.trace/while-dyn.exp: Likewise.
388 * gdb.trace/while-stepping.exp: Likewise.
390 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
392 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
394 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
397 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
400 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
402 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
403 remote dos host testing right.
405 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
407 * gdb.base/corefile.exp: remove some xfails.
409 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
411 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
412 have different timestamps.
414 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
416 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
417 gdb.base/default.exp: Replace "exec" with "executable".
419 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
421 * gdb.base/default.exp: Change else if to elseif from previous
424 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
426 * gdb.base/default.exp: Add brace missing from previous delta.
428 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
430 * gdb.base/default.exp: Support test for info float for all
431 varieties of arm toolchain.
433 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
435 * gdb.trace/*.exp: remove "remote_download" command.
437 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
439 * gdb.trace/*.exp: remove -gdwarf from compile.
441 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
443 * gdb.trace/configure.in(AC_INIT): typo
444 * gdb.trace/configure: regenerated
446 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
448 * config/m68k-emc.exp: New file.
449 * lib/<emc-support.exp trace-support.exp}: New files.
450 * configure.in: add new test directory gdb.trace.
451 * gdb.trace/{configure configure.in Makefile.in}: New files.
452 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
453 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
454 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
455 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
456 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
457 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
458 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
460 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
462 * gdb.c++/classes.exp: Change all regular expressions to match
463 arbitrary combinations of newline/carriage-return, so that they
464 will work equally well on Unix and Windows.
465 * gdb.c++/inherit.exp: ditto.
466 * gdb.c++/virtfunc.exp: ditto.
468 1998-08-11 Dawn Perchik <dawn@cygnus.com>
470 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
472 start-sanitize-cygnus
473 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
475 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
476 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
477 to use a0-a3/d0-d3 as needed.
479 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
481 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
482 * gdb.disasm/am33.exp: Corresponding changes.
485 start-sanitize-cygnus-never
486 Tue Jul 14 16:11:11 1998 Keith Seitz <keiths@cygnus.com>
488 * configure.in: Fix sanitization start/end error.
489 * configure: Regenerate.
490 end-sanitize-cygnus-never
491 1998-07-11 Felix Lee <flee@cygnus.com>
493 * gdb.base/callfuncs.exp: add cmp10 test.
494 * gdb.base/callfuncs.c (cmp10): new function.
496 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
498 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
499 into two parts to get around a synchronization problem in expect.
501 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
503 * gdb.fortran/types.exp: Escape brackets in expect patterns
504 for test_float_literal_types_accepted tests.
505 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
508 start-sanitize-cygnus
509 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
511 * am33.exp: Just compile, do not link the testcase.
512 * am33.s: Add ".am33" pseudoop to force am33 mode.
515 1998-06-25 Felix Lee <flee@cygnus.com>
517 * gdb.base/setshow.exp: make sure $pc is sane.
519 * gdb.stabs/weird.exp: split expect patterns properly.
521 start-sanitize-cygnus
522 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
524 * gdb.disasm/am33.s: New disassembler testfile for the am33.
525 * gdb.disasm/am33.exp: Run it.
528 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
530 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
531 match processing (and eliminate spurious timeouts when running).
533 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
535 * gdb.base/signals.exp (test_handle_all_print): put back Mach
536 exception test, but conditionalize it on target [mach | gnu].
538 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
540 * gdb.base/overlays.exp: fixup compile line for linker script.
542 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
544 * gdb.fortran/types.exp: don't guess at float size.
546 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
548 * gdb.base/exprs.exp: delete test that depends on int size.
550 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
552 * config/sim.exp: Removed checks for target triplets.
553 (gdb_target_sim): Use gdb,target_sim_options.
555 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
557 * gdb.base/reread.exp: New file.
558 * gdb.base/reread1.c: New file.
559 * gdb.base/reread2.c: New file.
561 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
563 * config/sim.exp: Use 'target sim -sparclite' when running
566 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
568 * gdb.base/structs2.exp: New file.
569 * gdb.base/structs2.c: New file.
571 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
573 * gdb.asm/common.inc: New file.
574 * gdb.asm/d10v.inc: New file.
575 * asm-source.exp: Pass -I's to gas to find .inc files.
576 Update line numbers in expected output.
577 * asmsrc1.s: Rewrite.
578 * asmsrc2.s: Rewrite.
579 * configure.in: Create arch.inc symlink.
580 * configure: Regenerate.
581 * Makefile.in (distclean): Delete arch.inc.
583 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
585 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
586 (t_enum_value2): ditto
587 (t_enum_value3): ditto
589 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
591 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
592 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
594 Use gdb_test instead of send_gdb/gdb_expect sequences.
596 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
598 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
601 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
603 * gdb.base/branches.c: Code with lots of loops and
604 subroutines. Used to test gdbs ability to single step through PC
605 changes, especially to test mips-tdep.c:mips_next_pc
607 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
609 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
610 more rigorous EGCS C++ error checking.
612 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
614 * gdb.base/help.exp: Clean up `help set args' and `help show args'
616 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
617 function when asleep.
618 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
619 for i*86 Linux and SVR4 signal handling problems.
620 Remove linux xfail for `next to handler in signals_tests_1', fixed
621 by recent infrun.c change.
622 Limit backtrace to 10 frames to avoid timeout problems with infinite
624 Adjust expect pattern in `handle all print' test to match Apr 28 1997
627 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
629 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
630 for a newline from gdb before continuing.
631 (default_gdb_exit): Just look for y or n.
632 (gdb_test): Detect abnormal exit from GDB running on DOS; if
633 it does, fail the rests of the tests in the file.
635 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
637 * config/cygmon.exp: New file.
639 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
641 * gdb.base/list.exp: Fix problem with "list default lines around
642 main" test on remote targets.
644 * gdb.base/scope.exp: Fix problem with filelocal_bss before
645 run test on remote targets.
647 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
649 * gdb.asm: New directory.
650 * configure.in: Configure it.
651 * configure: Regenerate.
652 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
653 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
655 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
657 * config/mn10300-eval.exp: New file to support MN10300 eval board.
659 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
661 * gdb.base/overlays (several files): Merge the two overlay
662 managers into one. Change variables (foox, barx, bazx, grbxx)
663 back into ints but force them to load in their proper sections.
665 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
667 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
668 on-chip insn memory and IMAP1 to upper 128k.
669 (D10VCopy): Handle memory regions crossing 16k boundaries.
670 (D10VCopy): Transfer data in 32 bit chunks.
672 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
674 * gdb.base/overlays.c (main): Exit normally when result is
677 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
678 map. Include space for printf in .text segment.
680 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
681 updated d10v memory VMA/LMA map.
682 (D10VCopy): Call D10VTranslate.
684 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
686 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
688 * gdb.base/bar.c (barx, bar): Change variable to small array so
689 that it won't be put into the .sdata - small data -
690 section. Update reference.
691 * gdb.base/baz.c (bazx, baz): Ditto.
692 * gdb.base/foo.c (foox, foo): Ditto.
693 * gdb.base/grbx.c (grbxx, grbx): Ditto.
695 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
698 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
700 * gdb.base/overlays.exp: fix up and get working again.
701 Add tests for backtraces from an overlay function.
703 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
705 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
706 "calling function with watchpoint enabled".
708 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
710 * gdb.base/break.exp (test_next_with_recursion): Remove
711 gdb_suppress_tests for d10v-*-*.
712 * lib/gdb.exp (gdb_suppress_tests): Disable this function
713 pending review of whether it is useful or not.
715 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
717 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
719 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
721 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
722 * config/dve.exp: New file to support Densan boards.
724 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
726 * gdb.base/interrupt.exp: Document problem of simulators, signals,
729 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
731 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
734 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
736 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
738 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
741 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
742 target_sizeof_long and target_bigendian_p.
743 (structs_by_value, structs_by_reference): Check values according
744 to targets word size and endianess.
746 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
748 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
751 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
753 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
754 Update test of set args help to match source change.
756 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
758 * gdb.base/default.exp: Expect help system output to be in
760 * gdb.base/help.exp: Ditto.
762 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
764 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
765 "i*86-pc-linux-gnu*".
766 * gdb.base/interrupt.exp: Ditto.
767 * gdb.base/corefile.exp: Ditto.
769 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
770 define vxworks when building the testcase.
772 * gdb.base/ptype.exp: Fix testnames to be unique.
773 * gdb.base/radix.exp: Ditto.
774 * gdb.base/term.exp: Ditto.
775 * gdb.base/whatis.exp: Ditto.
776 * gdb.c++/classes.exp: Ditto.
778 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
780 * gdb.base/callfuncs.exp: Fix indentation.
782 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
783 suppress_flag has been set.
784 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
787 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
789 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
792 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
793 set_debug_traps() and breakpoint().
794 * gdb.c++/misc.cc (main): Ditto.
795 * gdb.c++/templates.cc (main): Ditto.
796 * gdb.c++/virtfunc.cc (main): Ditto.
798 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
800 * lib/gdb.exp(gdb_step_for_stub): New function.
801 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
802 exists, reload the executable and do a "continue" instead of
804 (runto_main): Use gdb_step_for_stub.
806 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
807 tests to have unique names.
808 * gdb.base/callfuncs.exp: Ditto.
809 * gdb.base/commands.exp: Ditto.
810 * gdb.base/default.exp: Ditto.
811 * gdb.base/help.exp: Ditto.
812 * gdb.base/list.exp: Ditto.
813 * gdb.base/opaque.exp: Ditto.
814 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
817 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
818 * gdb.c++/cplusfuncs.cc: Ditto.
819 * gdb.c++/virtfunc.cc: Ditto.
821 * config/monitor.exp: Keep track of the last file we saw, rather
822 than trying to get the info from gdb.
824 * gdb.fortran/types.exp: Move comment to previous line.
826 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
828 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
831 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
834 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
835 string from GDB when it connects.
837 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
839 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
841 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
842 if we can't get a debug format from GDB (we may be testing an
843 older GDB). Use a 10 second timeout when checking for the format.
845 * gdb.stabs/weird.exp: Fix quoting.
847 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
849 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
851 * config/arm-ice.exp: New file.
853 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
855 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
856 until it has been modified to work with the new testsuite.
858 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
859 testcase won't compile, cause all of the testcases in the file to
862 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
863 (gdb_clear_suppressed): New procedure.
864 (gdb_stop_suppressing_tests): Only clear suppress_flag if
865 it contains a positive value.
867 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
869 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
871 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
873 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
875 * lib/gdb.exp (setup_xfail_format): New function.
876 (get_debug_format): New function to get debug format.
877 (debug_format): New global variable to hold last value set
879 * gdb.base/list.exp: Call get_debug_format and expect some
880 tests to fail for DWARF 1 and COFF formats.
881 * gdb.c++/ptype.exp: Ditto.
882 * gdb.c++/classes.exp: Ditto.
883 * gdb.c++/cplusfuncs.exp: Ditto.
884 * gdb.c++/inherit.exp: Ditto.
885 * gdb.c++/templates.exp: Ditto.
886 * gdb.c++/virtfunc.exp: Ditto.
888 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
890 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
891 host doesn't have a currently-open connection.
893 * config/sparclet.exp: Cleanups and fixes to make it generic for
894 any gdb stub target. Handle cases where gdb doesn't respond when
895 interrupted in a sane fashion.
897 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
898 same thing in a totally different way.
900 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
902 (gdb_start): We set the global gdb_prompt variable in
903 default_gdb_init now.
905 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
907 * gdb.base/printcmds.exp: Fix "check for floating addition"
908 regexp to accept results within approx +/- .01 of exact value.
909 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
911 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
913 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
915 (gdb_expect): Add optional timeout parameter, and add timeout
916 value to various calls.
917 (gdb_suppress_tests): Only give one warning message per group.
919 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
921 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
922 global variables. Handle getting a value for $timeout more
925 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
927 * lib/gdb.exp: Close connection to remote host if gdb doesn't
929 (default_gdb_init): New procedure; allow gdb_init to be overridden
930 by a target configuration file.
931 (gdb_expect): Pass the timeout to remote_expect.
933 * config/monitor.exp(gdb_load): Fix typo in regexp.
935 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
937 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
939 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
941 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
942 here. Call gdb_target_exec before rebooting the target, to make
943 sure the connection to the target is closed.
944 (gdb_load): Pass the name of the executable to gdb_target_monitor.
945 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
946 Also detect "Timeout reading from remote" error.
948 * config/gdbserver.exp: Pass the executable being loaded to
949 gdb_target_monitor. Don't call gdb_file_cmd here; let
950 gdb_target_monitor do it.
952 * gdb.disasm/hppa.exp: Don't use exec_output.
954 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
956 * gdb.base/list.exp: If we're debugging a non-native target,
957 try to set the pc register to point to the start of the
958 program before doing the first list command.
960 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
961 test_calls after restarting.
963 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
966 * gdb.base/watchpoint.exp: Fix typo.
968 * gdb.base/setshow.exp: Check for use_gdb_stub.
970 * gdb.base/break.exp: Fix continue until exit test for the gdb
972 * gdb.base/langs.exp: Ditto.
974 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
975 gdb_load_offset. If we weren't given a file to load, figure out
976 what the current file is and use it.
978 * config/i386-bozo.exp: New file.
980 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
982 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
985 * config/proelf.exp: New entry.
987 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
989 * lib/gdb.exp: Remove spurious .* patterns at the beginning
992 * gdb.base/watchpoint.exp: Don't run the test_stepping
993 tests if gdb can't call functions on the target.
995 * gdb.base/setshow.exp: Don't run the set prompt tests if
996 the board has gdb_prompt set.
998 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
1000 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
1001 * gdb.base/commands.exp: Likewise.
1002 * gdb.base/setshow.exp: Likewise.
1004 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
1006 * config/monitor.exp(gdb_start): Look for gdb_prompt target
1009 * config/i960.exp: New file.
1011 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
1013 * gdb.base/funcargs.exp: Check for gdb,short_int target
1014 feature instead of looking for explicit target triplets.
1016 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
1018 * gdb.base/printcmds.exp: add a couple more tests a la
1019 "p 123DEADBEEF", to check parse_number.
1020 * top.c: change "to enable to enable" to "to enable" in a couple
1023 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
1025 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
1028 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
1030 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
1031 where the test executable is run with explicit args.
1032 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
1034 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
1036 * gdb.base/run.c: Use FAKEARGV to build test executable that
1037 does not require a command line arg, since most simulators
1038 don't currently support passing such an arg into the simulated
1040 * gdb.base/commands.exp: Change tests to insert the proper
1041 value as the arg to the first recursive factorial call. Change
1042 compilation line to define FAKEARGV at compile time.
1044 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
1046 * gdb.base/recurse.exp: Enable these tests for the mn10300.
1047 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
1048 function with watchpoint enabled" test.
1050 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
1052 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
1053 Don't call gdb_test when the command doesn't return to a gdb prompt.
1055 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
1056 "Tests restarted" messages.
1058 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
1060 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
1062 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
1064 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
1065 for INFO SYMBOL; add help tests for OVERLAY commands.
1066 * gdb.base/default.exp: add tests for INFO SYMBOL command;
1067 add tests for OVERLAY commands
1068 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
1069 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
1070 * gdb.base/sigall.c: add usestubs code frag
1071 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
1073 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
1075 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
1077 (gdb_stop_suppressing_tests): Note that tests have restarted.
1079 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
1081 * config/h8300.exp: New file.
1083 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
1085 * gdb.base/setshow.exp: Check for the existence of a
1086 feature, not its value.
1088 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
1090 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
1092 * gdb.base/scope.exp: It's now init0(), not init().
1094 * gdb.base/scope0.c: For now, change init() to be init0().
1096 * config/monitor.exp: Use gdb_serial in preference to serial
1099 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
1100 and it's not already set.
1102 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
1104 * gdb.base/setshow.exp: Only test the run command if the target
1105 isn't using a stub and if it supports argument passing.
1107 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
1109 * config/udi.exp(gdb_start): Make sure UDICONF is set
1110 properly before starting gdb.
1112 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
1114 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
1115 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
1116 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
1118 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
1120 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
1121 specialized code to reboot the board, use remote_reboot instead.
1123 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
1125 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
1127 * config/monitor.exp: Make sure we disconnect from the target.
1128 Also, try a reboot/reload cycle instead of failing if the
1131 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
1133 * gdb.base/default.exp: Don't set match_max.
1134 * gdb.base/help.exp: Ditto.
1135 * gdb.base/list.exp: Ditto.
1136 * gdb.base/signals.exp: Ditto.
1138 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
1139 set, use remote_ld to download the testcase instead of
1142 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
1144 * config/vr5000.exp: New file.
1146 * config/monitor.exp(gdb_target_monitor): Add pattern for
1147 "Ending remote" to detect errors in connecting.
1149 * gdb.base/setshow.exp: Add .* within auto language test.
1151 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
1154 * config/monitor.exp(gdb_load): Check for a failure when loading,
1155 and reboot the board if necessary.
1157 * gdb.base/setvar.exp(test_set): Handle multiple prints within
1158 a set of tests. Remove print.* from the patterns being checked.
1160 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
1162 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
1163 refer to gdb_spawn_id.
1165 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
1167 * config/sparclet.exp: Ditto.
1168 * config/sparclet-old.exp: Ditto.
1169 * config/slite.exp: Ditto.
1170 * config/sim.exp: Ditto.
1171 * gdb.base/funcargs.exp: Ditto.
1173 * lib/gdb.exp:Remove references to gdb_spawn_id.
1174 (gdb_expect): Move to remote.exp.
1176 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
1178 * config/monitor.exp: Detect the "Couldn't establish connection"
1181 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
1183 * gdb.base/bitfields.exp: Use runto instead of explicit
1184 gdb_run_cmd/gdb_expect sequences.
1186 * gdb.base/break.exp(text_next_with_recursion): Add match for
1189 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
1190 We also need to handle the "A program is being debugged already"
1191 prompt from gdb. Use gdb_test to set the baud rate.
1193 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
1194 to 20000. Really. I mean it.
1196 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
1198 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
1199 fails. If suppress_flag is set, skip perror message about not
1200 being able to send to GDB.
1201 (send_gdb): If suppress_flag is set, don't try to send commands to
1203 (gdb_expect): If suppress_flag is set, always fail immediately.
1204 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
1205 (gdb_init): Call gdb_stop_suppressing_tests.
1206 (default_gdb_exit): Ditto.
1207 (default_gdb_start): Ditto.
1209 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
1210 gdb_stop_suppressing_tests as appropriate.
1211 * gdb.base/break.exp: Ditto.
1212 * gdb.base/callfuncs.exp: Ditto.
1213 * gdb.base/commands.exp: Ditto.
1214 * gdb.base/exprs.exp: Ditto.
1215 * gdb.base/funcargs.exp: Ditto.
1216 * gdb.base/list.exp: Ditto.
1217 * gdb.base/recurse.exp: Ditto.
1218 * gdb.base/scope.exp: Ditto.
1219 * gdb.base/structs.exp: Ditto.
1220 * gdb.c++/inherit.exp: Ditto.
1222 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
1224 * config/vr4300.exp: New file.
1226 * gdb.*/*.exp: Call gdb_expect instead of expect.
1228 * lib/gdb.exp(gdb_expect): New function.
1230 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
1232 * lib/gdb.exp(gdb_init): New function.
1234 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
1235 for each individual variable set.
1237 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
1240 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
1242 * gdb.base/scope.exp: Use gdb_test.
1244 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
1245 aborting; the testsuite driver will do that for us (see
1246 gdb_finish). Also, use gdb_test in a few more places.
1248 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
1250 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
1252 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
1254 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
1255 and "add_tests" are not at the same address.
1257 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
1259 * gdb.base/ptype.exp: Use gdb_test.
1261 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
1263 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
1264 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
1265 left in. No longer expect them to fail.
1267 * gdb.stabs/*.mt; Deleted, no longer used.
1268 * gdb.stabs/configure.in: Remove references to target makefile
1270 * gdb.stabs/configure: Rebuilt.
1272 * gdb.disasm/*.mt: Deleted, no longer used.
1273 * gdb.disasm/configure.in: Remove references to target makefile
1274 frags. Use "sh3.s" as the unique filename for this directory.
1275 * gdb.disasm/configure: Rebuilt.
1277 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
1278 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
1279 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
1281 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
1283 * config/udi.exp: Use mondfe,name instead of remote_host.
1285 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
1287 * gdb.base/watchpoint.exp: Don't expect a failure when calling
1288 a function with a watchpoint enabled on the mn10200.
1290 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
1291 before trying to create it!
1293 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
1295 * config/vx.exp: Use hostname instead of netport.
1297 * config/vxworks.exp: New file.
1299 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
1301 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
1302 gdb before assuming everything worked. Send a ^C if a timeout
1305 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
1306 $gdb_spawn_id directly.
1307 (gdb_run_cmd): Try _start as well as start. Use the target feature
1308 gdb,start_symbol as the symbol to start from when jumping.
1310 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
1312 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
1315 * gdb.base/recurse.exp: Relax final value test for 'b' so that
1316 it doesn't lose for 16bit integer systems.
1318 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
1320 * gdb.fortran/types.exp: If the target doesn't support "double"
1321 data types, then expect "real" types to only be 4 bytes.
1323 * gdb.c++/virtfunc.exp: Expect failure for virtual function
1324 call tests if the target doesn't support inferior function calls.
1326 * gdb.base/printcmds.exp: Allow minor deviation in FP values
1329 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
1331 * gdb.base/help.exp: Disable "help set", "help show", and
1332 "help support". Simplify regexp for "help stack".
1334 * gdb.base/default.exp: Set match_max to 5000 and the timeout
1335 to 60 seconds. Temporarily set match_max to 15000 around the
1336 "info copying" test.
1338 * gdb.base/nodebug.exp: Don't try to do an inferior function
1339 call if the target doesn't support them.
1340 * gdb.base/printcmds.exp: Likewise.
1341 * gdb.base/setvar.exp: Likewise.
1342 * gdb.base/structs.exp: Likewise.
1343 * gdb.c++/templates.exp: Likewise.
1344 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
1346 * gdb.base/recurse.exp: Enable for the mn10200.
1348 * configure.in: Do configure gdb.stabs directory for *-*-elf
1350 * configure: Rebuilt.
1352 * gdb.base/break.exp: Check for gdb,noresults before testing
1353 exit status and/or results from the target.
1354 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
1355 * lib/gdb.exp: Remove old (now bogus) initialization of
1356 noinferior, noargs, noresults and nosignals.
1358 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
1360 * config/sh.exp: New file.
1362 * config/slite.exp: Try to connect multiple times to the board
1363 before rebooting. Only send a "monitor run" if need_monitor_run
1366 * gdb.base/break.exp: Don't do the "stub continue" test if
1367 the target has gdb_stub set.
1369 * gdb.base/callfuncs.exp: Increase the timeout.
1371 * gdb.base/interrupt.exp: Don't even try to compile the testcase
1372 if the target has gdb,noinferiorio set.
1374 * gdb.base/list.exp: Increase match_max to 10000 characters.
1376 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
1378 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
1381 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
1383 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
1385 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
1386 trying to delete the copy of gdb. Catch the file delete so we
1387 don't die if the delete fails; also, the file should be copied to
1388 the host, not to the build.
1390 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
1392 * lib/gdb.exp(gdb_test): Surround the result pattern with
1393 parenthesis in case it contains multiple regexps separated
1396 * gdb.base/watchpoint.exp: Use gdb_test.
1397 * gdb.base/default.exp: Ditto.
1399 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
1401 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
1403 * gdb.base/scope.exp: Use gdb_test.
1404 * gdb.c++/classes.exp: Ditto.
1405 * gdb.c++/inherit.exp: Ditto.
1407 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
1409 * gdb.base/crossload.exp: Don't use execute_anywhere, use
1410 remote_exec instead.
1411 * gdb.base/corefile.exp: Don't be ridiculous.
1412 * gdb.base/*.c: Add missing stub invocations.
1414 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
1416 * config/slite.exp: Miscellaneous fixes.
1418 * lib/gdb.exp: Fix runto.
1420 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
1423 * gdb.base/watchpoint.exp: Fix regexp.
1425 * lib/gdb.exp(default_gdb_exit): Add a catch to the
1426 close and wait commands, as the descriptor may now be
1427 invalid. Always call "remote_close host".
1429 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
1431 Major rewrite for testsuite revision.
1433 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
1434 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
1435 instead of relying on spawn_id to always contain a valid
1437 (get_compiler_info): New procedure to build the ${binfile}.ci
1438 file, instead of replicating this in N different places.
1439 (gdb_compile): New procedure.
1441 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
1442 appropriate arguments) instead of compile. Use gdb_test in a lot
1443 more places. Use send_gdb instead of send. Always run gdb_start
1444 at the start of a testcase, as this is no longer done magically.
1446 config/*-gdb.exp: Rename without the -gdb suffix.
1448 config/mips.exp: Use remote_close instead of exit_remote_shell.
1449 config/monitor.exp: Use target_info instead of looking at
1451 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
1453 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1455 * gdb.c++/templates.exp (test_ptype_of_templates),
1456 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
1457 Update expect patterns for destructors and assignment operators
1458 to match corresponding c-typeprint.c changes.
1459 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
1460 to destructor breakpoint test, GDB should be able to set the
1461 destructor breakpoint without specifying arguments.
1463 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
1465 * gdb.threads/pthreads.exp: Change result for failure to compile due
1466 to lack of pthreads runtime support from an error to simply an
1467 unsupported test, per dejagnu standards.
1469 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1471 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
1472 where GDB exits to reduce pattern match time.
1473 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
1475 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
1477 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1479 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
1480 * gdb.base/default.exp: ditto.
1481 * gdb.base/nodebug.exp: ditto.
1482 * gdb.base/printcmds.exp: ditto.
1483 * gdb.base/ptype.exp: ditto.
1484 * gdb.base/setvar.exp: ditto.
1485 * gdb.base/structs.exp: ditto.
1486 * gdb.base/setshow.c: Guard against uninitialized values of argc.
1488 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
1490 * configure, */configure: Rebuild with autoconf 2.12.
1492 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
1494 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
1495 use new i*86-pc-linux*-gnu quads.
1496 * gdb.base/corefile.exp: Ditto.
1497 * gdb.base/signals.exp: Ditto.
1498 * gdb.base/sigall.exp: Ditto.
1499 * gdb.base/interrupt.exp: Ditto.
1501 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
1502 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
1505 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
1506 linux. This allows the test case to at least compile on latest
1507 linux, but still not run due to missing the threads runtime library.
1509 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1511 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
1512 directory to search gdb directory. Accept and step over conditional
1513 stack alignment code. Consume $prompt in failure cases.
1514 Reset timeout to $oldtimeout instead of some arbitrary value.
1515 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
1516 timeout problems with infinite stack backtraces.
1517 * gdb.base/ptype.exp (ptype struct link, union tu_link):
1518 Accept function parameters for linkfunc member.
1520 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
1522 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
1523 (CXXFLAGS): Remove, unreferenced.
1524 (B_OPTIONS): Add for -B options and add code to initialize with
1525 previous -B options and also add -B option to pick up cross compiled
1527 (TARGET_INCLUDES): Add for -I options and add code to initialize when
1528 doing cross compiles.
1529 (target_alias): Declare global.
1530 (xgcc): Set variable to full path of gcc in build tree. Use findfile
1531 to verify that gcc exists in build tree, and if so set CC to that
1532 gcc and to use B_OPTIONS and TARGET_INCLUDES.
1534 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
1536 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
1537 ptype test for anonymous union. Fixup testcase to match
1538 current gcc debug output.
1540 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
1542 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
1543 force argument to an unsigned long type.
1545 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
1547 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
1548 tests and anonymous union print/ptype tests.
1549 * gdb.base/list.exp (test_forward-search): Increase timeout by
1550 5 minutes for the "search extremely long line" case.
1551 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
1552 completely optional and that the pass/fail messages use the command as
1553 the message if that third arg is a null string.
1554 (gdb_test_exact): Arrange that a null string pattern means match a
1555 null string output rather than any output, which might include random
1557 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
1559 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
1560 always failing and failure is now exposed by gdb.exp changes.
1562 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
1564 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
1565 weren't being noted.
1567 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1569 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
1570 * gdb.stabs/weird.exp: Remove v_comb xfails.
1572 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1574 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
1575 list.exp scope.exp watchpoint.exp]
1576 Make all timeout error msgs explicitly say "(timeout)".
1578 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1580 * config/monitor.exp: Increase download timeout to 1000 seconds.
1582 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1584 * config/m32r.exp: Increase timeout to 120 seconds.
1586 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
1588 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
1589 and accept older ordering as obsolescent gcc or gdb.
1590 * gdb.c++/templates.exp: Ditto.
1591 * gdb.c++/virtfunc.exp: Ditto.
1593 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
1595 * gdb.base/coremaker.c: Add code to mmap some data so we
1596 can check that it ends up in the core file.
1597 * gdb.base/corefile.exp: Add test to read mmapped data
1600 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1602 * config/m32r.exp: New file.
1604 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
1606 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
1607 that cflags can contains -gstabs, and work correctly for other tests.
1609 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1611 * gdb.base/setshow.exp: New file, tests show and set.
1612 * gdb.base/setshow.c: New file, tests show and set.
1613 * gdb.base/help.exp: Add test for help set|show annotate.
1614 * gdb.base/default.exp: Add test for set|show annotate.
1616 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
1618 * testsuite/gdb.base/break.exp: Make backtrace from factorial
1620 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
1623 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
1625 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
1626 and width commands. This is done elsewhere.
1627 * (gdb_start): Don't call gdb_start_sim here. That's already
1628 done in gdb_load. This fixes lots of failures in default.exp.
1630 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
1632 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1633 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
1634 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
1635 in the same we we treat other failures (since it may be an expected
1636 condition), rather than as an error.
1637 * gdb.base/signals.exp (test_handle_all_print): Revert back to
1640 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
1642 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
1643 (distclean maintainer-clean realclean): No need to remove files
1644 twice. Nuke the duplicates.
1645 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
1646 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
1647 Remove config.h along with other config files.
1649 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
1651 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
1652 "p func1 ()" and note that rests of tests are skipped.
1653 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
1654 setup_xfails for "print func2::coremaker_local".
1655 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
1656 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
1657 affected by the previous run test.
1658 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
1659 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
1660 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
1661 "pass int powerset tuple" and "pass modeless int powerset tuple".
1662 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
1663 "real write 4" and "real write 8".
1664 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
1665 setup_xfails for "print vs1 after tuple assign 2",
1666 "print \$i after tuple assign 2", and
1667 "print vs2 after tuple assign 2".
1668 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
1669 meaningful error message and return -1 so the caller can
1670 suppress further tests and avoid a cascade of errors.
1672 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
1674 * gdb.base/a1-selftest.exp: Tweak tests to account for new
1675 format for printing version.
1676 * gdb.base/default.exp: Ditto.
1677 * gdb.base/interrupt.exp: Fix problem with cascade of
1678 errors if child process dies while calling a function.
1680 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
1682 * Makefile.in (VPATH): Add
1683 * Makefile.in (Makefile, config.status): Fix rules so things get
1684 remade when necessary.
1686 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
1688 * Makefile.in (just-check): Add path to sibling expect dir
1689 to environment variable specified by RPATH_ENVVAR.
1691 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
1693 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
1694 (just-check): Add shared library paths for libstdc++, tk,
1695 tcl, bfd, and opcodes to the environment variable specified
1697 * configure.in: Add support to recognize --enable-shared flag
1698 and generate correct value for RPATH_ENVVAR.
1699 * configure: Regenerated with autoconf.
1701 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
1703 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
1704 include all osf versions.
1705 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
1706 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
1707 when target is linux. When failing to build pthreads test
1708 executable, give more meaningful message.
1709 * gdb.threads/pthreads.c: Hpux also uses old definition of second
1710 arg for pthread_create.
1712 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
1714 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
1715 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
1716 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
1717 and -lpthreads (everybody else).
1718 (test_startup): Fail gracefully if threads are not supported.
1719 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
1720 "p/c array_index("abcdef",2)" when not gcc compiled.
1721 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
1722 "print func2::coremaker_local" when not gcc compiled.
1723 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
1724 "ptype on opaque struct tagname (statically)",
1725 "ptype on opaque struct tagname (dynamically) 1", and
1726 "ptype on opaque struct tagname (dynamically) 2"
1727 for not compiled with gcc.
1728 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
1729 backtrace when compiled with gcc.
1730 * lib/gdb.exp (runto_main): Return result of "runto main" rather
1731 than always return success.
1733 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
1735 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
1737 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
1739 * gdb.base/structs.exp: Undo last change.
1741 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
1743 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
1744 encapsulate all the steps/nexts done during self test, starting
1745 at main, and makes them less sensitive to optimization issues.
1746 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
1747 signal handler" test.
1748 * gdb.threads/pthreads.exp: Only run this for native configs.
1749 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
1750 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
1752 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
1753 for "runto test_calls(void)" test.
1755 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
1757 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
1758 and don't expect address info in breakpoint confirmations.
1760 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
1762 * gdb.base/list.exp (test_forward_search): Increase timeout
1763 temporarily by 60 seconds for searching extremely long line,
1764 and then reset to old value when done. Increase expect input
1767 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
1769 * gdb.base/list.exp (test_forward_search): Fix to handle very
1770 long source line without overflowing expect's input buffer.
1772 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1774 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
1777 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
1780 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
1783 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
1786 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
1788 * configure.in (configdirs): Add gdb.threads.
1789 * configure: Regenerated with autoconf.
1790 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
1791 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
1792 * gdb.threads/configure: New, generated with autoconf.
1794 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
1796 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
1798 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
1800 * gdb.base/signals.exp (test_handle_all_print): Test separately for
1801 each signal's status in the output of "handle all print".
1802 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
1803 the \r\n sequence that immediately precedes the gdb prompt.
1804 * gdb.base/a1-selftest.exp: Save original timeout and restore
1807 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
1809 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
1812 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1814 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1816 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
1818 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
1819 timeout by 60 seconds.
1821 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
1823 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
1824 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
1827 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
1829 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
1830 gdb initialization, also report how long dejagnu waited. Restore
1831 old timeout before doing error return. Temporarily increase timeout
1832 by 3 minutes to allow for slow startups over heavy NFS use.
1834 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
1836 * lib/gdb.exp: Report timeout value for verbosity level 2.
1837 * config/gdbserver.exp: Ditto.
1838 * config/hppro.exp: Ditto.
1839 * config/mips-gdb.exp: Ditto.
1840 * config/monitor.exp: Ditto.
1841 * config/netware.exp: Ditto.
1842 * config/sim-gdb.exp: Ditto.
1843 * config/slite-gdb.exp: Ditto.
1844 * config/udi-gdb.exp: Ditto.
1845 * config/unix-gdb.exp: Ditto.
1846 * config/vx-gdb.exp: Ditto.
1847 * gdb.base/a1-selftest.exp: Ditto.
1848 * gdb.base/a2-run.exp: Ditto.
1849 * gdb.base/break.exp: Ditto.
1850 * gdb.base/corefile.exp: Ditto.
1851 * gdb.base/list.exp: Ditto.
1852 * gdb.base/recurse.exp: Ditto.
1853 * gdb.base/scope.exp: Ditto.
1854 * gdb.base/signals.exp: Ditto.
1856 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1858 * gdb.threads/Makefile.in (docdir): Removed.
1860 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1862 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1863 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
1865 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
1866 autoconf 2.5 or higher.
1867 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1869 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
1871 * configure: Regenerated.
1872 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1873 avoid name clashes with SunOS headers.
1875 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
1877 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
1879 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
1881 * gdb.base/callfuncs.exp: Finish last change -- make sure the
1882 prototype information ends up in the compiler info file.
1884 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
1886 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
1887 attempting to regenerate it. Eliminate use of a temporary file
1888 and just generate the info file directly. Source it immediately,
1889 for consistency of use.
1890 * gdb.base/corefile.exp: Ditto
1891 * gdb.base/exprs.exp: Ditto.
1892 * gdb.base/funcargs.exp: Ditto.
1893 * gdb.base/langs.exp: Ditto.
1894 * gdb.base/list.exp: Ditto.
1895 * gdb.base/mips_pro.exp: Ditto.
1896 * gdb.base/nodebug.exp: Ditto.
1897 * gdb.base/opaque.exp: Ditto.
1898 * gdb.base/ptype.exp: Ditto.
1899 * gdb.base/scope.exp: Ditto.
1900 * gdb.base/setvar.exp: Ditto.
1901 * gdb.base/signals.exp: Ditto.
1902 * gdb.base/whatis.exp: Ditto.
1903 * gdb.c++/templates.exp: Ditto.
1904 * gdb.c++/virtfunc.exp: Ditto.
1905 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
1906 whether or not to add -lstdc++ to the compile command line args.
1908 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1910 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
1911 it got fixed by the recent lookup_minimal_symbol_by_pc change.
1912 Increase timeout, a lot of single stepping might be needed if the
1913 target has no hardware watchpoints.
1915 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
1917 * gdb.base/break.exp: Ignore compiler warnings when compiling
1919 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
1920 * gdb.base/default.exp: Add h8300 xfails. Handle messages
1922 * gdb.base/exprs.exp: Add h8300 xfails.
1923 * gdb.base/funcargs.exp: Likewise.
1924 * gdb.base/nodebug.exp: Likewise.
1925 * gdb.base/printcmds.exp: Likewise.
1926 * gdb.base/ptype.exp: Likewise.
1927 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1929 * gdb.base/return.exp: Handle float/double precision problems
1931 * gdb.base/funcargs.c: Explicitly make last constant argument to
1932 call_after_alloca_subr an unsigned long type.
1933 * gdb.base/return.c: Include stdio.h.
1935 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1937 * config/abug.exp: New file for the older Motorola Bug monitor
1938 that runs on the mvme13x series VME boards.
1939 * config/monitor.exp: Use the new config array for target settings
1942 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1944 * sim-gdb.exp: Make the SH simulator allocate less space when
1947 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1949 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1952 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1954 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1955 "rs6000-*-*" for "list function in include file" when gcc compiled.
1956 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1957 for "p ctable1[120]".
1958 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1959 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1960 Remove setup_xfail for "rs6000-*-*" for
1961 "print 'scope0.c'::filelocal before run".
1962 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1963 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1964 since some compilers don't allow both options to be given
1965 on the same command line. Create object file and move it.
1967 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
1969 * gdb.base/corefile.exp: Always regenerate the core file, since
1970 we always regenerate the coremaker program. Detect special case
1971 where registers cannot be read from core file.
1973 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
1975 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1976 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1977 * gdb.c++/templates.exp: Only match on basename of file since
1978 some formats like xcoff don't encode directory information.
1979 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1980 and rs6000 AIX xcoff targets.
1981 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1982 * configure: Regenerate.
1983 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1984 here, rather than in distclean.
1986 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
1988 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1989 defined, and use it to compile the test case with -O2. The
1990 native compilation still uses no optimization.
1991 * gdb.base/mips_pro.c: Remove inline assembly code since
1992 it is compiled PIC by default, which results in assembler
1993 warnings that make the testsuite think the compilation
1996 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1998 * gdb.c++/misc.exp: Add note to message for
1999 "print s.a for foo struct" that this is a known gcc 2.7.2
2002 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
2004 * gdb.base/break.exp: Fix pattern for matching "Delete all
2005 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
2006 setup_xfail for deleting all breakpoints test. Fix various
2007 timeout messages to include "(timeout)".
2008 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
2009 for "p t_float_values2(3.14159,float_val2)".
2010 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
2011 for "continue to call2g" when gcc compiled.
2012 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
2013 "up to foo in langs.exp", "show language at foo in langs.exp",
2014 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
2015 and "show language at fsub in langs.exp".
2016 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
2017 "list line 1 in include file", "list message for lines past EOF",
2018 "list function in include file", "list list0.h:foo", and
2019 "list filename:function; nonexistant function".
2020 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
2021 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
2022 and "ptype t_char_array" to be for native cc only.
2024 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
2026 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
2027 setup_xfail for "print coremaker_bss", "print coremaker_ro",
2028 "print func2::coremaker_local", and "backtrace in corefile.exp".
2030 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
2032 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
2033 "bt in signals.exp". This problem only appears when running
2034 the testsuite, and then only intermittently.
2036 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
2038 * gdb.base/return.exp (return_tests): Differentiate between
2039 two tests of continuing.
2041 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
2043 * */Makefile.in (maintainer-clean): Remove config.log.
2044 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
2045 * gdb.c++/Makefile.in (PROGS): Add inherit.
2046 (clean): Remove *.ci.
2048 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
2050 * gdb.c++/misc.cc: Add test code from Mike Stump.
2051 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
2053 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
2055 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
2056 to "alpha-*-osf2*" and add comment.
2057 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
2058 setup_xfail for "step over execarg initialization" and
2059 "step over corearg initialization".
2060 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
2061 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
2062 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
2063 gcc compiled for "print coremaker_bss", "print coremaker_ro",
2064 "print func2::coremaker_local", and "backtrace in corefile.exp".
2065 * gdb.base/signals.exp: Build and source signals.ci.
2066 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
2068 * lib/gdb.exp: Move verbose statements outside conditionals.
2070 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2072 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
2073 Feb 3 procfs.c change.
2075 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
2077 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
2079 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
2081 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
2082 from dejagnu's apparent default of 10 seconds, which gives random
2083 results when running the tests over NFS on moderately loaded systems.
2084 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
2086 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
2088 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
2089 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
2092 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
2094 * configure.in (CY_AC_PATH_TCLH): Remove.
2095 * configure: Regenerate.
2097 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
2099 * gdb.c++/Makefile.in (clean): Add missing '{'.
2101 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
2103 * lib/gdb.exp: Provide a default value for noinferior.
2105 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
2108 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
2110 * gdb.disasm/hppa.exp: Compile directly into an executable, use
2111 the executable, not the .o to run the tests from.
2113 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
2115 * gdb.base/break.exp: Don't test for program exit or exit status
2116 if $noresults if nonzero.
2117 * gdb.base/langs.exp: Likewise.
2118 * gdb.base/watchpoint.exp: Likewise.
2120 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
2121 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
2122 trying to compile the testcase.
2124 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
2126 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
2127 * gdb.base/signals.exp (continue to handler): Likewise.
2129 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
2131 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
2133 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
2135 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
2137 * gdb.base/corefile.exp: Recognize "not found" as failure
2138 when trying to determine if a core file was generated.
2139 If no core file was generate the first time, try again without
2140 the ulimit -c to work around braindamaged shells.
2142 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
2144 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
2145 [] tests with "test" and enclose string in quotes.
2146 * gdb.stabs/configure: Rebuild
2148 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
2150 Changes in sync with expect:
2151 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
2152 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
2153 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
2154 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
2155 argument to AC_REQUIRE.
2156 * configure: Regenerated.
2158 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
2160 * gdb.base/corefile.exp: When generating a core, discard any
2161 error messages about ulimit not found and the "core dumped"
2162 message from the shell that runs the coredumper.
2164 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
2166 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
2168 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
2169 which sed script to run. Expect failure for v_comb test
2172 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
2174 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
2175 "print func2::coremaker_local" and for "backtrace in corefile.exp"
2177 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
2179 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
2180 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
2181 "sparc-sun-solaris*" xfails for "p v_comb".
2182 * lib/gdb.exp (default_gdb_start): Fix typo.
2183 * gdb.base/corefile.exp: Allow "Core was generated by ..."
2184 messages to not include the full program name that caused
2185 the core dump since some systems (such as solaris) apparently
2186 truncate this path to about 80 characters.
2187 When generating a core file first try increasing the core file
2188 size limit to unlimited since some systems may default it to
2189 zero, and it is harmless to try it. Move the test for failing
2190 to generate a core file to where it will actually get executed.
2191 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
2192 new gdb result from g++ debug info improvements and make old
2193 pattern obsolescent. Also account for size_t differences
2194 (may be int or long).
2195 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
2196 initialization before function call is placed in the delay slot
2197 and thus appears to be skipped over by commands such as "next".
2199 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
2201 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
2203 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
2205 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
2206 input source file; fix code to compile test to deal with this
2208 * gdb.c++/*.exp: Likewise.
2210 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
2212 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
2213 "bt in signals.exp".
2215 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
2217 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
2218 "step over execarg initialization" and
2219 "step over corearg initialization".
2221 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
2223 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
2224 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
2226 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
2228 From Rob Savoye (rob@poseidon.cygnus.com)
2229 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
2230 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
2231 configure.in}, gdb.disasm/{Makefile.in, configure.in},
2232 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
2233 configure.in}: Major reworking for autoconfig.
2234 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
2235 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
2237 * config/unix-gdb.exp: Make GDB global.
2238 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
2239 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
2240 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
2241 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
2242 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
2243 term.exp, twice.exp, watchpoint.exp, whatis.exp},
2244 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
2245 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
2246 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
2247 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
2248 pr-8136.exp, result.exp, string.exp, tuples.exp},
2249 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
2250 to returns as necessary, arrange for test to compile own testcase
2252 * lib/gdb.exp: Changes for testsuite to compile own test cases.
2254 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
2256 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
2257 clear_xfail at end of test which might not call either pass or fail.
2258 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
2259 "backtrace through signal handler".
2261 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2263 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
2264 continuing from a job control stop signal.
2265 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
2267 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
2269 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
2270 * gdb.base/corefile.exp: Likewise.
2271 * gdb.base/funcargs.exp: Likewise.
2273 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
2275 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
2276 * config/monitor.exp: Add support for setting baud rate.
2278 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
2280 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
2281 i*86-*-linux* xfails for "backtrace through signal handler".
2282 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
2283 "print func2::coremaker_local".
2284 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
2285 alpha-dec-osf2* xfail for
2286 "delete all breakpoints when none".
2288 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
2290 * gdb.base/break.exp: Change test that deletes all breakpoints
2291 when no user breakpoints are installed. A post 4.15 change
2292 causes gdb to no longer prompt in this case.
2294 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
2296 * gdb.base/return.exp (return_tests): Change xfail for test
2297 "correct value returned double test" to stop xfailing at
2298 Solaris 2.5. Apparently the bug has been fixed.
2300 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
2302 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
2303 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
2305 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
2307 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
2308 * gdb.disasm/hppa.s: Corresponding changes.
2310 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
2312 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
2314 * config/mt-hpux: Deleted.
2316 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
2318 * Many files: When warning about suppressed tests due to a
2319 nonexistant test binary, avoid incrementing the warning count.
2321 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
2323 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
2325 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2327 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
2328 "sparc-*-solaris2*".
2330 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2332 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
2333 Add global and local variables and initialize them.
2334 * gdb.base/corefile.exp: Test correct mapping of corefile sections
2335 by printing variables. Remove rs6000 and powerpc xfails, BFD now
2336 extracts the file name and terminating signal from the core file.
2337 * TODO: Remove note about tests for correct mapping of corefile.
2338 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
2339 from optimizing it away.
2340 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
2341 handles common blocks.
2343 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
2345 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
2346 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
2348 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
2350 * Makefile.in (maintainer-clean): New target, synonym for
2352 * gdb.base/Makefile.in (maintainer-clean): Likewise.
2353 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
2354 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
2355 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
2356 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
2357 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
2359 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
2361 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
2362 xfails when not gcc compiled for "print foo::funclocal".
2363 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
2364 "print foo::funclocal at foo",
2365 "print 'scope1.c'::foo::funclocal at foo",
2366 "print foo::funclocal_bss at foo",
2367 "print 'scope1.c'::foo::funclocal_bss at foo",
2368 "print foo::funclocal_ro at foo",
2369 "print 'scope1.c'::foo::funclocal_ro at foo",
2370 "print bar::funclocal at foo" and
2371 "print 'scope1.c'::bar::funclocal at foo".
2372 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
2373 gcc compiled for "print foo::funclocal at bar".
2374 Expand all messages to ensure that they identify that
2375 the test is at bar().
2376 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
2378 "ptype on opaque struct pointer (statically)",
2379 "ptype on opaque struct tagname (statically)",
2380 "ptype on opaque struct pointer (dynamically) 1",
2381 "ptype on opaque struct tagname (dynamically) 1",
2382 "ptype on opaque struct pointer (dynamically) 2" and
2383 "ptype on opaque struct tagname (dynamically) 2
2384 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
2390 "whatis bsslocal", and
2392 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
2393 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
2394 when not gcc compiled.
2395 * gdb.base/funcargs.exp (float_and_integral_args): Add
2396 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
2398 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
2399 "backtrace from call6a" when not gcc compiled.
2400 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
2401 "backtrace from call7a" when not gcc compiled.
2402 * gdb.base/callfuncs.exp (do_function_calls):
2403 Add "hppa*-*-hpux*" xfail when not gcc compiled for
2404 "p t_char_array_values(char_array_val2,char_array_val1)",
2405 "p t_char_array_values(char_array_val1,char_array_val2)",
2406 "p t_char_array_values("carray 1","carray 2")",
2407 "p t_char_array_values("carray 1",char_array_val2)",
2408 "p t_char_array_values(char_array_val1,"carray 2")",
2409 "p sum_args(1,{2})",
2410 "p sum_args(2,{2,3})",
2411 "p sum_args(3,{2,3,4})",
2412 "p sum_args(4,{2,3,4,5})"
2413 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
2414 "backtrace in corefile.exp" when not gcc compiled.
2416 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2418 * gdb.base/signals.exp: Rewrite `handle all print' test as
2419 a procedure. Accept blanks or TABs as whitespace, increase
2420 timeout and expect input buffer size for the large output
2421 from the command. Remove "i*86-*-bsdi2.0" xfail.
2423 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2425 * gdb.base/setvar.exp: Add new testcases for truncation when
2426 assigning invalid values to bitfields.
2428 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
2430 * gdb.base/callfuncs.exp (do_function_calls): Remove
2431 mips-sgi-irix* xfail for
2432 "call inferior func with struct - returns char *"
2433 and fix test so that an optional (unsigned char *) cast is
2434 accepted in the result.
2436 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
2438 * gdb.base/funcargs.exp (float_and_integral_args): Remove
2439 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2440 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
2441 * gdb.base/signals.exp: Remove duplicate "handle all print" test
2442 that accidentally got checked in.
2444 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
2446 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
2447 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
2449 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
2450 Add mips-sgi-irix5* xfail for not gcc compiled.
2451 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
2452 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
2453 "p top", "whatis top", "p middle", and "whatis middle".
2454 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
2455 "whatis signed char" for not gcc compiled.
2456 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
2457 "set variable signed char=-1 (-1)" and
2458 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
2459 * gdb.base/funcargs.exp (float_and_integral_args):
2460 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
2461 Add mips-sgi-irix* xfail when not gcc compiled for
2462 "continue to call2b".
2463 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
2464 "continue to call2g".
2465 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
2466 "backtrace from call6a"
2467 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
2468 "backtrace from call7k".
2469 Add mips-sgi-irix5* xfail when not gcc compiled for
2470 "backtrace from call7a".
2471 (localvars_after_alloca): Fix gdb_test cmds for
2472 "print * after runto ...".
2473 Remove rs6000-*-* xfails for
2474 "print i after runto localvars_after_alloca" and
2475 "print l after runto localvars_after_alloca"
2477 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
2478 when not compiled with gcc, for:
2479 "print signed char == (minus)",
2480 "print signed char != (minus)",
2481 "print signed char < (minus)",
2482 "print signed char > (minus)".
2483 * gdb.base/callfuncs.exp (do_function_calls):
2484 Add mips-sgi-irix* xfail, when compiled with native compiler, for
2485 "call inferior func with struct - returns char *".
2486 * gdb.base/return.exp (return_tests): Change xfail for
2487 "correct value returned double test" to include Solaris 2.4.
2488 * gdb.base/funcargs.exp (float_and_integral_args):
2489 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2491 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2493 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
2494 enumeration bitfields if compiling with GNU C.
2495 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
2498 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
2500 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
2501 test for PRO targets.
2503 * gdb.base/funcargs.exp: Avoid ever setting more than 8
2504 breakpoints in the inferior at any given time by making
2505 two groups of breakpoints for call2*, call6* and call7*
2508 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2510 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
2511 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
2512 from optimizing it away.
2513 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
2514 "call inferior func with struct".
2516 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
2518 * configure.in: Only configure gdb.chill for particular targets.
2520 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
2522 * gdb.base/Makefile.in: Add action to .c.o transformation
2523 rule that generates a .ci file for each .o file and remove
2524 explicit .c.o rules except for callfuncs.o.
2525 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
2526 generates a .ci file for each .o file and remove explicit
2528 (clean): Remove *.tmp *.ci files.
2529 (EXECUTABLES): Remove templ-info.exp.
2530 * gdb.base/compiler.c: New file.
2531 * gdb.c++/compiler.cc: New file
2532 * gdb.base/scope.exp: Source gdb.base/scope.ci.
2533 Change rs6000-*-* xfail for
2534 "print 'scope0.c'::filelocal_ro" and
2535 "print 'scope1.c'::filelocal" and
2536 "print 'scope1.c'::filelocal_bss" and
2537 "print 'scope1.c'::filelocal_ro" and
2538 "print 'scope1.c'::foo::funclocal" and
2539 "print 'scope1.c'::foo::funclocal_ro" and
2540 "print 'scope1.c'::bar::funclocal" and
2541 "print 'scope0.c'::filelocal_ro" and
2542 "print 'scope1.c'::filelocal at foo" and
2543 "print 'scope1.c'::filelocal_bss at foo" and
2544 "print 'scope1.c'::filelocal_ro at foo" and
2545 "print 'scope1.c'::foo::funclocal at foo" and
2546 "print 'scope1.c'::foo::funclocal_bss at foo" and
2547 "print 'scope1.c'::foo::funclocal_ro at foo" and
2548 "print 'scope1.c'::bar::funclocal at foo" and
2549 "print 'scope0.c'::filelocal_ro" and
2550 "print 'scope1.c'::filelocal" and
2551 "print 'scope1.c'::filelocal_bss" and
2552 "print 'scope1.c'::filelocal_ro" and
2553 "print 'scope1.c'::foo::funclocal" and
2554 "print 'scope1.c'::foo::funclocal_bss" and
2555 "print 'scope1.c'::foo::funclocal_ro" and
2556 "print 'scope1.c'::bar::funclocal" and
2557 "print 'scope1.c'::bar::funclocal_bss"
2558 to only be xfail'd when not compiled with gcc.
2559 Add rs6000-*-* xfail for
2560 "print 'scope0.c'::filelocal_bss before run"
2561 when compiled with gcc.
2562 (test_at_main): Add rs6000-*-* xfail for
2563 "print filelocal_ro in test_at_main"
2564 when compiled with gcc.
2565 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
2566 Add rs6000-*-aix* xfail for
2567 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
2568 "ptype t_char_array", not compiled with gcc.
2569 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
2570 xfail for "list foo (in include file)" when gcc compiled.
2571 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
2572 (integral_args): Add rs6000-*-* xfail for
2573 "run to call0a" if not compiled with gcc.
2574 (unsigned_integral_args): Add rs6000-*-* xfail for
2575 "run to call1a" if not compiled with gcc.
2576 (float_and_integral_args): Add rs6000-*-* xfail for
2577 "run to call2a" if not compiled with gcc and for
2578 "continue to call2b" for any compiler.
2579 Add rs6000-*-* xfail to
2580 "print f1 after run to call2a" for gcc compiled.
2581 (discard_and_shuffle): Add rs6000-*-* xfail for
2583 (shuffle_round_robin): Add rs6000-*-* xfail for
2584 "backtrace from call7a" if not compiled with gcc.
2585 Add rs6000-*-* xfail for
2586 "backtrace from call7b" if compiled with gcc.
2587 (call_after_alloca): Add rs6000-*-* xfail for
2588 "print c in call_after_alloca" and
2589 "print s in call_after_alloca" and
2590 "backtrace from call_after_alloca_subr"
2591 if not compiled with gcc.
2592 (localvars_in_indirect_call): Add rs6000-*-* xfail for
2593 "print c in localvars_in_indirect_call" and
2594 "print c in localvars_in_indirect_call" and
2595 "backtrace in indirectly called function" and
2596 "stepping into indirectly called function"
2597 if not compiled with gcc.
2598 (localvars_after_alloca): Add rs6000-*-* xfail for
2599 "print c after runto localvars_after_alloca" and
2600 "print s after runto localvars_after_alloca" and
2601 "print i after runto localvars_after_alloca" and
2602 "print l after runto localvars_after_alloca"
2604 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
2605 than whatis-info.exp.
2606 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
2607 than opaque-info.exp.
2608 Setup rs6000-*-* xfail for
2609 "ptype on opaque struct pointer (statically)" and
2610 "ptype on opaque struct pointer (dynamically)" when
2611 not compiled with gcc.
2612 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
2613 rather than callf-info.exp.
2614 (do_function_calls): Add clear_xfail for rs6000-*-* for
2615 "p t_float_values2(3.14159,float_val2)". Seems to work
2616 fine there, both with xlc and gcc. Need to find out what
2617 it is doing right and fix other platforms.
2618 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
2619 "call inferior func with struct - returns int",
2620 "call inferior func with struct - returns long",
2621 "call inferior func with struct - returns float",
2622 "call inferior func with struct - returns double",
2623 "call inferior func with struct - returns char *",
2624 but only if not gcc compiled (presumes xlc compiled).
2625 Change rs6000-*-* xfails for
2626 "call inferior func with struct - returns char" and
2627 " call inferior func with struct - returns short" to only
2628 xfail if not using gcc.
2629 (clean mostlyclean): Remove *.ci and *.tmp files.
2630 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
2631 than templ-info.exp.
2632 * gdb.base/langs.exp: Source gdb.base/langs.ci.
2633 Add rs6000-*-* xfail for "up to foo in langs.exp"
2634 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
2635 when not gcc compiled.
2637 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2639 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
2640 * gdb.base/corefile.exp: Likewise.
2641 * gdb.base/list.exp: Likewise.
2642 * gdb.base/scope.exp: Likewise.
2643 * gdb.base/siganls.exp: Likewise.
2645 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
2647 * gdb.base/whatis.exp: Likewise.
2649 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
2651 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
2652 failure (opcode table has been fixed to match reality).
2654 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
2656 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
2657 "call inferior func with struct - returns char",
2658 "call inferior func with struct - returns short"
2660 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
2661 "print 'scope0.c'::filelocal at main",
2662 "print 'scope0.c'::filelocal_bss in test_at_main",
2663 "print 'scope0.c'::filelocal at foo",
2664 "print 'scope0.c'::filelocal_bss in test_at_foo",
2665 "print 'scope0.c'::filelocal at bar",
2666 "print 'scope0.c'::filelocal_bss in test_at_bar"
2668 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
2669 in source file 1". This bug seems to have been fixed with both
2670 gcc and native cc (was native assembler bug?).
2672 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
2674 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
2675 "backtrace through signal handler" to "i*86-*-sysv4*".
2676 * gdb.base/signals.exp: Add xfail for "'next' behaved as
2677 continue" case. Add "known SVR4 bug" to fail message.
2678 Add "i*86-*-bsdi2.0" xfail for "handle all print".
2679 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
2680 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
2681 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
2682 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
2683 "up to foo in langs.exp", "show language at foo in
2684 langs.exp", "up to cppsub_ in langs.exp", "show
2685 language at cppsub_ in langs.exp", "up to fsub in
2686 langs.exp", and "show language at fsub in langs.exp".
2687 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
2688 "bactrace in corefile.exp".
2689 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
2690 "call inferior function with struct - returns float" and
2691 "call inferior function with struct - returns double".
2693 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
2695 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
2696 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
2697 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
2698 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
2700 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
2702 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
2703 (or overriden) "CHILL" macro rather then bare "gcc".
2704 Also look for ../../gcc/xgcc since that is what we will
2705 actually need, not "Makefile". Remove following assignment
2706 of CHILL to CHILL_FOR_TARGET because that results in
2707 recursive definition.
2709 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
2711 * gdb.base/corefile.exp: Change xfail for backtrace in
2712 corefile.exp from linuxaout to all linux.
2713 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
2714 cases where we miss the breakpoint at the signal handler
2715 for some reason. Setup xfail for linuxoldld/linuxaout and
2716 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
2717 hitting SIGURG breakpoint.
2718 * gdb.base/signals.exp: Setup xfail for "next" acting like
2719 continue to add linuxoldld. Setup xfail for all linux for
2720 "next to handler in signals_tests_1", "backtrace in
2721 signals_tests_1", "continue to func1", "pass SIGUSR1",
2722 and continue to handler".
2724 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
2726 * Update all FSF addresses except those in COPYING* files.
2728 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
2730 * gdb.base/a2-run.exp: Change messages to be more explicit about
2731 the status of args, and quote binfile in results.
2733 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
2735 * gdb.base/callfuncs.exp: Add tests for passing structs to
2736 inferior functions and return various types.
2737 * gdb.base/callfuncs.c: Add functions to receive a struct
2738 and return a member of the struct, in various types.
2740 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2742 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
2744 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
2746 * config/vxworks29k.exp: New file, sources vxworks.exp.
2748 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2750 * config/gdbremote.exp: New file. Testing framework using
2753 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
2755 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
2756 "call function when asleep" and "send end of file".
2757 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
2758 for "backtrace in corefile.exp".
2759 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
2760 for "backtrace through signal handler".
2761 * gdb.base/corefile.exp: Make sure we actually generate a core file
2762 before trying the core tests. Some systems allow the user to suppress
2763 generation of core files and default to that (linux for example).
2764 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
2765 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
2767 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2769 * gdb.threads: New directory with some crude multi-threaded
2770 gdb tests (step.exp and step2.exp).
2771 * config/mt-lynx (STEP_EXECUTABLE): Define.
2772 (THREADFLAGS): Define.
2774 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
2776 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
2778 * gdb.base/signals.exp: Disable whole file for lynx until
2781 * gdb.base/signals.exp: xfail test where "next" acts like
2782 "continue" for lynx.
2784 * gdb.base/interrupt.exp: xfail test for calling function while
2785 inferior is asleep for lynx.
2787 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
2788 than one cr-lf after each command.
2790 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2792 * configure.in: Reinstate setting of stabsdirs variable, fix
2793 typo in setting up configdirs for native builds.
2795 * gdb.base/return.exp: Fix typo in return double test.
2796 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
2797 compiler from optimizing them away.
2799 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
2801 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
2802 sequences to be echo'd by gdb when using gdb_test.
2803 * gdb.chill/chexp.exp: Likewise.
2804 * gdb.fortran/exprs.exp: Likewise
2806 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2808 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
2809 after the inferior gdb has started.
2811 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
2813 * gdb.base/funcargs.exp: Likewise.
2814 * gdb.base/gdbvars.exp: Likewise.
2815 * gdb.base/interrupt.exp: Likewise.
2816 * gdb.base/list.exp: Likewise.
2817 * gdb.base/watchpoint.exp: Likewise.
2818 * gdb.c++/demangle.exp: Likewise.
2819 * gdb.c++/inherit.exp: Likewise.
2820 * gdb.chill/chexp.exp: Likewise.
2821 * gdb.fortran/exprs.exp: Likewise.
2823 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
2824 test if we can't handle IO to/from the inferior.
2826 * gdb.c++/misc.exp: Always check for a program already being
2827 started after sending a "run" command to gdb.
2829 * gdb.base/twice.exp: Start with a fresh gdb.
2831 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
2832 only depend on gdb's expression code, not the chill runtime.
2834 * gdb.base/return.c: Put return values into variables so we
2835 can have gdb print them rather than depending on the program
2837 * gdb.base/return.exp: Corresponding changes.
2839 * lib/gdb.exp: Provide default value for noinferiorio.
2840 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
2843 * gdb.base/break.exp: Always check for a program already being
2844 started after sending a "run" command to gdb.
2845 (text_next_with_recursion): Don't check the output from the
2846 program's printf statement. Instead just make sure the program
2849 * gdb.base/commands.exp: Protect tests which need arguments with
2850 $noargs conditionals.
2852 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2854 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
2855 of structure member arrays to match gdb/valops.c:value_addr change.
2857 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
2859 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
2862 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
2864 * configure.in (configdirs): Remove gdb.chill from default list
2865 of subdirs and then add it back in only if doing a native build.
2866 The current chill compiler does not yet work in any cross build.
2867 * Revert all signal changes from Jul 6.
2868 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
2869 for sh-hms targets, allowing these tests to link, with no other
2870 changes. Testing is suppressed by setting "nosignals" in site.exp.
2872 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
2874 * configure.in (signaldirs): Define and add to configdirs for all
2875 targets except some specific ones that are known to not support signals.
2876 Also clean up formatting.
2877 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
2878 (signals, sigall): Remove rules to build.
2879 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
2880 Moved to new gdb.signals directory.
2881 * gdb.signals: New test directory.
2882 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
2883 signals.c signals.exp}: New or moved files.
2885 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
2887 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
2889 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
2891 * gdb.base/return.exp: Xfail `return double' test failure
2892 on at least Solaris 2.3 and handle future/past versions on
2893 a case by case basis as appropriate. Also update message
2894 to include i*86 failures.
2896 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2898 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
2900 * lib/gdb.exp: Fix comment which erroneously identified
2901 gdb_file_cmd as gdb_load (the 19 May change was in fact to
2902 gdb_file_cmd not gdb_load).
2903 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
2905 * gdb.base/setvar.exp: Make test names consistent between pass and
2906 fail cases. Use gdb_test more.
2908 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2910 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
2912 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2914 * gdb.base/help.exp: Fix expected help string for `show commands'.
2916 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2918 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
2920 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
2923 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
2925 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2926 that loop eventually terminates. Fix Connection refused logic so
2927 that testsuite will expire nicely.
2929 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
2931 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2932 config/rom68k.exp: New tcl glue for the appropriate monitors.
2933 These all just end up calling monitor.exp.
2934 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2935 refused' by retrying. Cleanup some timeout issues.
2936 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2937 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2938 callers don't have to set/restore global timeout variable.
2940 * The following set of changes centralizes management of the global
2941 timeout variable. This way, it can be set in one target dependent
2942 place instead of dozens of places scattered throughout the test suite.
2943 If you need to lengthen a timeout, then you should either set timeout
2944 in one of the config/{target}.exp files, or multiply it by a factor.
2945 Setting it to an absolute value is always going to lose for some
2947 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2948 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2949 * gdb.base/funcargs.exp: Don't set timeout.
2950 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2951 * gdb.base/printcmds.exp (test_print_string_constants
2952 test_print_array_constants): Don't set timeout.
2953 * gdb.base/ptype.exp: Don't set timeout.
2954 * gdb.base/recurse.exp: Don't set timeout.
2955 * gdb.base/return.exp: Don't set timeout.
2956 * gdb.base/watchpoint.exp: Don't set timeout.
2957 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2958 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2960 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2962 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2964 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2966 * lib/gdb.exp: Disable chill tests for irix5.
2968 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2970 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2971 each test pass or fail.
2973 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2975 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2978 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
2980 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2982 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
2984 * config/est.exp: Fix copyright and comments. Remove dead code.
2985 Use targetname, serialport and baud variables instead of fixed
2987 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2988 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2990 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2992 * gdb.base/watchpoint.exp: Don't run
2993 test_watchpoint_triggered_in_syscall for sunos.
2995 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2997 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2998 they don't seem to exist. Do include stdio.h.
3000 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3002 * gdb.base/a1-selftest.exp: Add alpha xfail.
3004 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3006 * gdb.base/watchpoint.c (main): Prompt before calling read().
3007 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3008 Revise accordingly. Remove cruft about sending "123" several
3009 times, until it gets noticed. Clean up the "print buf[0]" stuff
3010 so that it passes or fails, and waits for prompts in the usual way.
3012 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3014 * gdb.base/recurse.exp: Fix comment.
3016 * TODO: Remove item about printing variables in nodebug.exp. Add
3017 item about enabling tests which are only run on some targets.
3019 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
3020 fail, make test names unique, use new gdb_test convention
3021 regarding pattern, use gdb_test more, etc.).
3023 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
3024 fail, make test names unique, etc.).
3026 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3028 * gdb.base/nodebug.c: Change return type of top and middle to
3030 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
3031 are fixed by the recent mdebugread.c changes. Allow `short ()'
3032 as type for top and middle.
3034 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3036 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
3037 nearly as I can tell, the whole thing was an accident in Stu's
3038 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
3039 to replace a send/expect pair with gdb_test, but ended up only
3040 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
3041 of 30 Mar 1995 took care of it, but left this vestigial comment
3042 which I am now nuking.
3044 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3046 * gdb.base/break.exp: Look for different line number for
3047 breakpoint at main depending on usestubs.
3049 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3051 * gdb.base/list.exp: Adjust some alternate expect patterns to
3052 match recent list0.c change. Add alternate expect pattern for
3053 output from `list default lines around main' for optimizing
3056 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3058 * lib/gdb.exp: If nosignals is not set, set it to 0.
3060 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
3062 * config/slite-gdb.exp: Responds to load symbol table prompt.
3063 * gdb.base/break.exp: Adjust line number, fix rerun.
3064 * gdb.base/langs0.c: Add #ifdef usestubs.
3066 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
3068 * gdb.base/list.exp: Adjust line contents after adding new lines in
3069 list0.c. Also fix a syntax error.
3071 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
3072 * gdb.base/break.exp: ditto.
3073 * gdb.base/list.exp: ditto.
3074 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
3075 * gdb.base/run.c: ditto.
3076 * gdb.base/list0.c: ditto.
3077 * gdb.base/funcargs.c: ditto.
3079 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
3081 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
3082 $targetname, $serialport and $baud instead of hardwired variables.
3083 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
3084 target doesn't support signals.
3086 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
3088 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
3090 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3092 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
3093 Don't rely on the value of an auto variable before it has been
3094 initialized. Use gdb_test more.
3096 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3098 * lib/gdb.exp (default_gdb_version): A version number must start
3099 with a digit, but other than that contains all characters up to
3100 the first whitespace character.
3102 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3104 * gdb.base/commands.exp (breakpoint_command_test): New tests.
3106 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3108 * gdb.c++/*.exp: Warn if executable does not exist. The original
3109 reason for skipping the warning was that configure.in sometimes
3110 intentionally skipped building the executables but the tcl code
3111 had no way of knowing. That (a) was always bogus with respect to
3112 error handling, (b) is no longer true (right now there is no way
3115 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
3117 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3119 * gdb.base/list.exp: Add expect patterns for output from
3120 SunPRO compiled executables.
3121 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
3124 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3126 * gdb.base/break.exp (test_next_with_recursion): Accept any line
3127 number (we are already testing that the correct source line text
3130 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
3131 that is what is intended, but something needed to be done to get
3132 sunos4 native working again.
3134 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
3136 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
3137 apparently went with a (very) old xfail.
3139 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
3141 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
3142 runto_main is a proc in gdb.exp that will do 'step' for target use
3144 * gdb.base/exprs.exp: ditto.
3145 * gdb.base/interrupt.exp: ditto.
3146 * gdb.base/opaque.exp: ditto.
3147 * gdb.base/printcmds.exp: ditto.
3148 * gdb.base/ptype.exp: ditto.
3149 * gdb.base/scope.exp: ditto.
3150 * gdb.base/setvar.exp: ditto.
3151 * gdb.base/signals.exp: ditto.
3152 * gdb.base/twice.exp: ditto.
3153 * gdb.c++/classes.exp: ditto.
3154 * gdb.c++/inherit.exp: ditto.
3155 * gdb.c++/templates.exp: ditto.
3156 * gdb.base/break.exp: no run and hit main for stubs. Change line
3157 numbers for breakpoints and info breakpoint.
3158 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
3160 * gdb.base/callfuncs.c: ditto.
3161 * gdb.base/exprs: ditto.
3162 * gdb.base/interrupt.c: ditto.
3163 * gdb.base/opaque0.c: ditto.
3164 * gdb.base/printcmds.c: ditto.
3165 * gdb.base/ptype.c: ditto.
3166 * gdb.base/scope0.c: ditto.
3167 * gdb.base/setvar.c: ditto.
3168 * gdb.base/signals.c: ditto.
3169 * gdb.base/twice.c: ditto.
3170 * gdb.c++/misc.cc: ditto.
3171 * gdb.c++/templates.cc: ditto.
3173 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3175 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
3177 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
3178 somewhere between `read' and `main.c'. I'm pretty sure the
3179 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
3180 and it isn't particularly useful.
3182 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
3184 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3186 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
3188 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
3190 * config/mt-slite: add LIBS and -nostdlib.
3191 * config/slite-gdb.exp: add this new file to support sparclite target.
3193 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
3195 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
3197 * gdb.base/a2-run.exp: Change argument to istarget from
3198 "*-*-vxworks" to "*-*-vxworks*".
3199 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
3201 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
3203 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
3204 will not runto main but do a 'step' to step out of breakpoint().
3205 * config/mt-slite: add -Dusestubs.
3207 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3209 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
3212 * gdb.base/signals.exp: Add test for "handle all print".
3213 * TODO: Remove "handle all print". Also remove item about
3214 checking copyright date (I don't like the idea of a spurious FAIL
3215 based on when we run the tests).
3217 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
3218 for SunOS4 (reason for failure not investigated). Remove
3219 redundant test for $binfile.
3221 * gdb.base/nodebug.c (array_index): Call malloc.
3223 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
3225 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
3227 * gdb.base/recurse.exp: Update gdb_test invocation to use new
3228 conventions and slightly simplify the matching regexp.
3230 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3232 * gdb.base/break.exp: Update gdb_test invocation to use new
3235 * lib/gdb.exp: If noargs is not set, set it to 0.
3237 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
3240 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
3242 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3244 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
3245 one argument of type "<non-float parameter>".
3247 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
3249 * config/rom68k.exp: New file to support Motorola IDP board.
3250 * gdb.base/a2-run.exp: Skip this file if noargs is set.
3251 * gdb.base/break.c: Change things around so that this program
3252 doesn't depend upon args. This is necessary to make remote
3253 targets work (in general, they can't take args).
3254 * gdb.base/break.exp: Don't try to send args to program. Don't
3255 expect output. Also, replace lots of code with gdb_test.
3257 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3259 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
3260 printing of '\'' (which is what the comment says we are testing,
3261 even though we were not), not '''.
3262 (test_integer_literals_rejected): Test that printing ''' is an error.
3264 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3265 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
3266 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
3267 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
3268 Use gdb_test not test_print_accept.
3269 * lib/gdb.exp: Remove test_print_accept.
3271 * gdb.base/signals.exp (signal_tests_1): Make pass message
3272 consistent with fail message.
3274 * gdb.base/whatis.exp: Remove xfails for printing char vs.
3275 unsigned char; the bug (PR 1821) is fixed.
3277 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
3279 * gdb.base/scope.exp (test_at_localscopes): Call pass for
3280 successful tests--makes xfailing them work right.
3282 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3284 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
3285 only \r\n, not .*. The test can pass .* as the last thing in
3286 $pattern if that is what it wants. In addition to providing this
3287 flexibility, this change should speed up pattern matching in cases
3288 where the pattern already ended with .* (there were a number of
3289 them). This change also helps catch bad patterns--in the old
3290 scheme the typo "char \*" instead of "char \\*" would pass. Now
3292 * Many .exp files: Update callers.
3294 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
3295 clearer and does not spuriously match multiple ('s. Likewise for
3298 * gdb.base/nodebug.exp: Test ability to call a function and pass
3299 it a string (even with no debugging info).
3301 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
3302 "p '\'", which is the same as "p ''" once tcl gets done with
3303 quoting, to "p '\\'", which I suspect is what is intended (one
3304 backslash gets sent to GDB).
3306 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
3308 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3310 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
3311 1817) was fixed literally years ago.
3313 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3315 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
3316 test, it causes stepping out of call_after_alloca_subr with
3317 optimizing compilers.
3318 (localvars_in_indirect_call): Consume GDB prompt if `finish'
3321 * gdb.c++/templates.exp: Source templ-info.exp only if
3322 the templates executable exists.
3324 * gdb.c++/misc.cc (class Contains_static_instance,
3325 class Contains_nested_static_instance),
3326 gdb.c++/classes.exp (test_static_members): Test printing of
3327 a class that contains a static instance of the class.
3329 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3331 * gdb.base/langs2.c (cppsub_): Don't prototype.
3332 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
3335 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3337 * lib/gdb.exp (skip_chill_tests): New procedure.
3339 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
3341 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
3343 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
3344 each expect pattern. Cuts runtime from 12 to about 4 seconds.
3346 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3348 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
3350 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
3351 disassemble 8, not 16, instructions for part 4.
3353 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
3354 support the latter anymore.
3356 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
3358 * gdb.base/callfuncs.c: Control use of prototypes based on
3359 NO_PROTOTYPES, not __STDC__.
3360 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
3361 t_float_values2 tests if prototypes in use.
3363 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
3364 t_double_values): When checking differences against DELTA, check
3365 that difference is within the range (-DELTA,DELTA), not just
3368 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
3370 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
3371 'file' command firts, then 'target', then 'load', this is due to gdb
3373 * config/mips-gdb.exp: Fix a couple regular exp bugs.
3375 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
3377 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
3378 FP load/store variants.
3379 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
3381 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3383 * gdb.base/term.exp: Do not give a warning if not native, it is
3384 not an abnormal condition.
3386 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
3388 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
3391 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3393 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
3394 are getting the version number.
3396 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
3397 if not native, it is not an abnormal condition.
3399 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3401 * lib/gdb.exp: Just use "file exists", rather than undocumented
3402 dejagnu procedure "findfile".
3404 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3406 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
3407 (LDFLAGS): Set to -Xlinker -Ur.
3409 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
3410 Removed, these values are set by lib/gdb.exp.
3412 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
3414 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3416 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
3417 of replicating gdb startup code.
3419 * config/mt-vxworks (LDFLAGS): Set to -r.
3420 (CFLAGS_FOR_TARGET): Removed.
3422 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
3423 (gdb) and gdb for vxworks uses (vxgdb).
3425 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
3426 executable is not in the tree and host != target, use sed and
3427 program_transform_name to determine the gdb name used by the
3430 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
3431 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
3433 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3435 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
3436 floats, chars, and shorts where there are ANSI-style function
3439 * gdb.base/langs.exp, gdb.base/langs*: New test.
3440 * gdb.base/Makefile.in: Build it.
3441 * TODO: Remove item about checking that C names don't get C++
3442 demangling applied; this test tests it.
3444 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3446 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
3447 went with the const70 xfail. The xfail went away a year ago.
3449 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
3451 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
3454 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
3456 * gdb.base/a1-selftest.exp: Don't run on hp300.
3458 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3460 * Makefile.in (site.exp): Set host_alias and target_alias as well
3461 as host_triplet and target_triplet.
3463 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3465 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
3467 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
3468 places as other ecoff systems).
3470 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
3473 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3475 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
3477 * gdb.base/nodebug.exp: Accept "function" in addition to "text
3478 variable and "variable" in addition to "data variable".
3479 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
3481 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
3483 * gdb.base/list1.c (long_line): Add additional statement at start
3485 * gdb.base/list.exp (test_forward_search): Update line number to
3486 reflect new statement.
3488 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3490 * gdb.base/signals.exp: Reinitialize searched source directories
3491 after gdb_start call.
3493 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
3495 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
3496 * gdb.stabs/Makefile.in: Likewise.
3498 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
3499 change. Instead split the tests into smaller pieces.
3500 * gdb.disasm/hppa.s: Corresponding changes.
3502 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3504 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3505 Quote ^C when passing it to stty. For some shells ^ is a pipe.
3507 * gdb.base/funcargs.exp: Modify many tests so that every test
3508 either passes or fails. Make some test names unique.
3510 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3512 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3513 Call stty to set interrupt character.
3515 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
3516 for HP assembler versus GNU assembler based on actual behavior of
3517 $(CC), rather than assuming that $(AS) is always the GNU assembler.
3519 * TODO: Suggest a few more stepping tests.
3521 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
3523 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
3524 restart GDB for h8300 after a continue.
3525 (return): Add pattern to match a29k-udi behavior.
3526 * gdb.base/nodebug.exp: Remove obsolete comment.
3527 * gdb.base/regs.exp: New file, testing of register displays.
3528 * gdb.base/return.exp: Fix typo in reference to $objdir.
3529 * gdb.base/whatis.exp: Always start with a fresh GDB.
3531 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3533 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
3534 higher, these tests generate a lot of output.
3536 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3538 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
3539 code following the catch silently ignored some errors; without the
3540 catch they should be thrown like any other tcl error. Also, the
3541 catch used "" instead of {} which meant all the callers who wanted
3542 to include one of the characters "[]$ had to quote it an extra time.
3543 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
3544 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
3545 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
3546 Remove extra quoting.
3548 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
3550 * gdb.base/commands.exp: Make test names unique; every test either
3551 passes or fails. Update some comments.
3553 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
3555 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3557 The following fixes a FAIL caused by the fact that the alpha stabs
3558 configuration didn't use the ".if alpha" code in weird.def.
3559 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
3560 bit pointer, so the 32 bit version works even on the alpha.
3561 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
3562 Remove the stuff which allowed us to have separate versions for
3563 alpha and everything else.
3565 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
3566 regexp which "info func operator\[\](" is supposed to match. Fix
3567 string to send to GDB. Note that GDB still doesn't work right. Add a
3568 new test for "info func .perator\[\](" which GDB does handle correctly.
3570 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
3572 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3574 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
3575 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
3576 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
3577 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
3578 it makes the tests harder to understand and confuses test-o-matic.
3579 The preferred style is that each test provides a PASS or a FAIL,
3580 and has a unique message (e.g. "continue #54" not just "continue")
3581 which is the same for the pass and the fail.
3582 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3583 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
3585 * gdb.base/printcmds.exp: Use test_print_accept. Remove
3586 prt_accept which was basically the same thing. Likewise for
3587 test_print_reject and prt_reject.
3588 * lib/gdb.exp (test_print_reject): Add some more error message
3589 patterns to match from the former printcmds.exp (prt_reject).
3590 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
3591 One defect of the passcount stuff is that some of it failed to
3592 report XPASS where appropriate.
3593 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
3594 stuff before and after arg in expected pattern.
3595 (test_paddr_operator_functions): Re-do test without print_addr_of;
3596 this is the only test which seems to want extra stuff there.
3598 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3600 * gdb.base/nodebug.exp: Update new tests to reflect improved
3601 wording of gdb output.
3603 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
3604 and "ptype" work on variables in files compiled without -g.
3605 Replaces commented out "maint print msymbol" tests.
3607 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3609 * gdb.base/setvar.c (dummy): Call malloc.
3611 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
3612 losing with the irix4 sed.
3614 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
3617 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3619 * TODO: Remove items about corefile.exp testing new exec-file and
3620 backtrace; both are now done. Add items about printing enums.
3622 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3624 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
3625 "get signal $thissig" test fails.
3627 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
3629 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3631 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
3632 compiler warning with dec alpha compiler.
3634 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
3635 extra \n from gdb_test call (this explains why the prompt test
3636 that I removed yesterday was there).
3637 (user_defined_command_test): Remove extra \n and prompt test.
3639 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
3640 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
3642 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
3643 Also remove alpha workaround, which turns out to be because
3646 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
3648 * gdb.base/help.exp: Don't test "help show".
3650 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3652 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
3653 "set print address" is on.
3654 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
3655 pass prompt to gdb_test; gdb_test already looks for the prompt.
3657 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
3659 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
3660 was a vestige of the manual TESTSTRATEGY, and the purpose of it
3661 was to make sure that gdb can read a core file. But (a) the "read
3662 the corefile" part didn't make it to a1-selftest.exp, we just
3663 delete the corefile after creating it, and (b) we test reading
3664 corefiles in corefile.exp anyway. Also, this test left around a
3665 xgdb process on Solaris.
3667 * gdb.base/corefile.exp: Also test backtrace.
3669 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
3671 * gdb.base/commands.exp: Test a simple user defined command with
3672 arguments and if/while statements; verify the full user command is
3673 printed by "show user".
3675 * gdb.base/commands.exp: Test if/while commands as part of a
3676 breakpoint command list; verify they appear in breakpoint
3679 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3681 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
3682 than by dividing by zero.
3684 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
3686 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
3687 performing an inferior call with watchpoints enabled.
3688 * gdb.base/watchpoint.c (main): Delete second unnecessary read
3691 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3693 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
3696 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
3697 Add additional pattern for when "int operator int(void);" appears
3698 in a different order.
3700 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3702 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
3704 * gdb.base/help.exp: Replace most of docstrings for "info signals"
3705 and "signal" with ".*".
3707 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3709 * TODO: Add note about "handle all nostop".
3711 * gdb.base/{sigall.c, sigall.exp}: New test.
3712 * gdb.base/Makefile.in: Add it.
3714 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3716 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
3717 when invoking GDB, suppresses any windowing interface.
3719 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
3721 * config/sim-gdb: New file, simulator testing support.
3723 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
3725 * gdb.base/interrupt.exp: Test calling func1 twice.
3727 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
3729 * gdb.base/list.exp (test_forward_search): Set timeout higher
3730 when we'll be getting lots of output from gdb.
3732 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
3733 "init_malloc" to after the expect statement. Run it if that
3734 regexp is taken, but also for two others which happen if source
3737 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3739 * gdb.base/printcmds.exp: New test, for printing register before
3742 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3744 * gdb.base/list.exp: Correct some alternate expect patterns
3745 to reflect changes in list1.c.
3747 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3749 * TODO: Add item regarding large frames.
3751 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
3753 * TODO: Remove item about enabling return.exp; it
3754 is enabled. Suggest a few more "return" tests.
3756 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3758 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
3761 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3763 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
3764 and pr-5646.o, so "make" is the same as "make all", not "make
3767 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
3769 * gdb.base/list.exp: Adjust expectations to reflect changes in
3771 (test_forward_search): New test proc.
3772 * gdb.base/list1.c (long_line): New function, has long source line.
3774 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
3776 * gdb.base/a1-selftest.exp: Change initial stepping to know about
3777 additional line of code that was added.
3779 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
3781 * gdb.disasm/hppa.s: Break the large branching tests into smaller
3782 tests so as not to overflow expect's input buffers.
3783 * gdb.disasm/hppa.exp: Corresponding changes.
3785 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3787 Beginnings of template debugging tests.
3788 * gdb.c++/templ-info.cc: New file to test for template
3789 debugging capability of the compiler.
3790 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
3792 * gdb.c++/templates.cc: Add explicit template instantiations
3793 to enable compiling with -fno-implicit-templates. Add destructor
3794 and 'value' method to T5 class for template tests.
3795 * gdb.c++/templates.exp: Add testcases for printing of template
3796 types, setting breakpoints on template methods and calling a
3799 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
3801 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
3802 branch target since some assemblers (gas-2.5) may emit a
3803 relocation for the branch instead of resolving it in the
3806 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3808 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
3809 through signal handler.
3811 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3813 * configure.in (*-*-netware): Use config/mt-netware.
3815 * config/mt-netware: New file.
3816 * config/mt-i386-netware: Removed, separate configs for different
3817 netware architectures are no longer needed now that we have
3820 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3822 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
3823 by the recent changes to use ANSI C arithmetic conversions.
3825 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3827 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
3828 bug involving using inferior_pid to figure out whether to select a
3831 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
3833 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
3834 match the current disassembler output.
3836 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
3838 * gdb.fortran/exprs.exp: Expect VOID instead of void.
3839 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
3840 types, expect "int" as type of integer values (for now).
3842 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
3844 * gdb.base/commands.exp: New tests for if/while commands.
3846 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
3848 * lib/gdb.exp (runto): Replace sub-pattern for hex value
3849 by .*, since hex values have different syntax in Chill mode.
3851 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3853 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
3854 linefeed from expect pattern for repeated types with indices > 9.
3856 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
3858 First part of Fortran test suite.
3859 * gdb.fortran: New directory.
3860 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
3862 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3864 * gdb.base/default.exp: Update expect pattern for load command
3867 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
3869 * configure.in: Change i386 to i[345]86.
3870 * gdb.base/configure.in: Likewise.
3871 * gdb.c++/configure.in: Likewise.
3872 * gdb.chill/configure.in: Likewise.
3874 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
3876 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
3877 patterns, since that is not a valid context for comments.
3879 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
3881 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
3882 repeated types and repeated types with indices > 9.
3884 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
3886 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
3887 2417; old bug has been fixed.
3889 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
3891 * gdb.base/interrupt.exp: When trying to wake up the inferior,
3892 send the newline ourselves instead of assuming gdb_test will do
3893 so when passed an empty input string.
3895 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
3898 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3900 * lib/gdb.exp (gdb_test): Don't send anything if the first
3901 argument is an empty string. This makes cases where we want to
3902 match output that is already in expect's buffers (for example,
3903 matching a breakpoint after gdb_run_cmd has been called) work
3906 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3908 * config/netware.exp: New file.
3910 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3912 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
3913 the -B and -L prefixes so we can find the debugging stub.
3915 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
3916 there and we are using the gcc from the tree.
3918 * gdb.base/types.c: Removed.
3920 * gdb.base/configure.in: Look for makefile fragments in ../config.
3921 Recognize i386-*-netware.
3922 * gdb.c++/configure.in: Likewise.
3924 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3926 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3927 the correct TCL syntax.
3929 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3931 * gdb.base/opaque.exp: use runto instead of messing around with
3932 breakpoints. Simplify by using gdb_test.
3934 * gdb.base/bitfields.exp: restart between tests on netware targets
3935 because breakpoints aren't relocated after target death. Run
3936 processes to completion.
3938 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3940 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3942 * Makefile.in: Remove extra tabs that confuse some versions
3943 of "make". Use the newly built gdb to test with by default,
3944 rather than the first one in the tester's search path.
3946 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3948 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3950 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3953 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3955 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3957 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3959 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3960 * gdb.base/funcargs.exp: Likewise.
3962 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3963 * gdb.base/funcargs.exp: Likewise.
3965 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3968 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3970 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3971 return,signals,twice}.exp: Handle non-existant binaries
3974 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3975 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3976 might testing a cross development system.
3978 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3980 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3981 runtest script is relative to ${srcdir}, not ${rootdir}.
3983 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
3985 * gdb.base/signals.exp: Allow for optionality of breakpoint
3988 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3990 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3992 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3994 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3995 for size_t definition.
3996 * gdb.c++/templates.cc: Likewise
3998 * config/mt-i386-netware: New file.
4000 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
4003 * gdb.base/Makefile.in: Added support for systems that name core
4004 files by appending "core" to the program name.
4005 * gdb.base/a1-selftest.exp: Likewise.
4007 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4009 * gdb.base/return.exp: Add comment and message for `return double'
4010 test failure on Sparc Solaris.
4012 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
4014 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
4016 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4018 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
4019 from optimizing them away.
4020 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
4021 patterns to include default constructors and assignment operators,
4022 to match gcc versions beyond 2.5.8. Accept any cplus demangling
4023 character in the output of the virtual base pointer.
4025 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4027 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
4028 expression match in print_addr_of to avoid unintented matches.
4029 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
4030 versions up to 2.5.8.
4032 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4034 * gdb.base/list.exp: Tweak alternate pattern for listing of an
4035 included file to run under newer versions of expect.
4036 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
4037 consecutive >'s in templates to accomodate recent cplus-dem.c change.
4038 Remove xfail for the virtual table of BDDHookV.
4040 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
4042 * lib/gdb.exp (string_to_regexp): Set a default result.
4043 (default_gdb_start): Fix misleading message.
4045 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
4047 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
4048 Remove all CC, etc definitions.
4049 * config/mt-hpux: New file.
4050 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
4051 (CFLAGS, LDFLAGS): Define.
4052 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
4054 * Makefile.in (site.exp): Don't insert host_os, etc.
4055 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
4056 (distclean): Check existence of subdir.
4057 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
4058 * gdb.base/Makefile.in: General cleanup and simplification.
4059 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
4060 to build executables. Use default rule to build .o files.
4061 (EXPECT, RUNTEST, CC): Fix relative pathname.
4062 (site.exp): Don't insert host_os, etc.
4063 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
4064 and/or SIGUSR1 defined.
4065 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
4066 * gdb.c++/Makefile.in: General cleanup and simplification.
4067 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
4069 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
4071 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
4073 * gdb.base/recurse.exp: Misc changes to get tests running again
4074 after Kung's changes to the watchpoint code.
4075 * gdb.base/watchpoint.exp: Likewise.
4077 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
4079 * lib/gdb.exp (string_to_regexp): Convert {\} also.
4081 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
4083 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
4084 * lib/gdb.exp (default_gdb_start): Define.
4085 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
4086 gdb.base/funcargs.exp, gdb.base/opaque.exp,
4087 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
4088 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
4089 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
4090 Don't call gdb_target_udi in between tests.
4092 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4094 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
4095 (which was basically just a local version of the same thing). In
4096 addition to avoiding duplication, gdb_test_exact is faster.
4097 * lib/gdb.exp (gdb_test_exact): Fix typo.
4099 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
4100 don't give an error.
4102 * gdb.base/term.exp: Call delete_breakpoints before starting.
4104 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
4107 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
4109 Reorganization of the GDB Test Suite.
4111 * gdb.base: New directory, contains all the basic tests.
4112 * gdb.c++: New directory, tests specific to C++.
4113 * gdb.chill: New directory, tests specific to Chill.
4114 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
4115 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
4116 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
4117 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
4118 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
4120 * */gdbme.*: Rename to match appropriate expect scripts.
4121 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
4122 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
4123 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
4124 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
4125 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
4126 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
4127 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
4128 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
4129 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
4130 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
4131 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
4132 gdb.c++/virtfunc.cc: New names of C++ files.
4133 * gdb.chill/chillvars.ch: New name of Chill file.
4134 * gdb.base/configure.in, gdb.c++/configure.in,
4135 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
4136 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4137 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
4138 * configure.in (configdirs): Update to reflect directory changes.
4139 (target_abbrev): No longer define for any configuration.
4140 * Makefile.in: Cosmetic improvements to header comments.
4142 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
4144 Various changes to gdb.t31:
4146 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
4147 * gdbme.ch: Make all key-words and predefineds be upper-case.
4148 * chillvars.exp: Expect key-words and predefinds in upper-case.
4150 * chillvars.exp: Use gdb_test_exact many places.
4151 Change expected output for arrays (which now includes index labels).
4153 * pr-5020.exp, gdme.ch (module PR_5020):
4154 New test, for PR-5020.
4156 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
4158 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
4159 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
4161 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
4163 * Makefile.in: Fix bit-rot in definitions of CHILL,
4164 CHILL_FOR_TARGET and Chill_LIB.
4165 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
4166 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
4167 CHILL, and CHILL_LIB.
4169 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
4171 * Revert the previous changes. Please see Rob's directory
4172 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
4174 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
4176 * Makefile.in, configure.in, config/mips-gdb.exp,
4177 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
4178 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
4179 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
4180 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
4181 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
4182 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
4183 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
4184 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
4185 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
4186 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
4187 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
4188 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
4189 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
4190 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
4191 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
4194 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
4196 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
4197 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
4198 Rob's new testing fragments.
4200 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
4202 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
4203 lib/gdb.exp: Replace error proc calls with perror.
4205 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
4207 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
4208 version also, match on casted version strings, and match on
4209 gdb startup case where the line numbers might be messed up.
4211 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
4213 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
4214 (CFLAGS): Delete it from here.
4216 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
4218 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
4220 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
4222 * Makefile.in (RUNTEST): Default to just "runtest".
4224 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4226 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
4227 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
4228 the code has been restructured.
4230 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4232 * gdb.t00/default.exp (set write): Allow any number of \r and/or
4233 \n, not just one of each.
4235 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
4236 /bin/cc gives a warning if you do.
4238 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
4240 * gdb.t24/demangle.exp: change expect pattern of
4241 __t10ListS_link1ZUiRCUiPT0
4243 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4245 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
4246 on local variables in recursive functions.
4248 * gdb.t07/Makefile.in: Build the new test.
4250 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4252 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
4253 directly. Instead compare the return values from actual calls.
4255 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
4257 * Makefile.in (check): Set TCL_LIBRARY for runtest.
4259 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4261 * From Peter Schauer with minor modifications.
4262 * gdb.t15/return.exp (return_tests): Handle targets where "return"
4263 stops in mid-line in the caller. Add xfail for returning a float
4264 value on X86 targets.
4266 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4268 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
4269 to avoid expect lossage.
4270 (fmem_LRbug_tests): Likewise.
4271 * gdb.disasm/hppa.s: Corresponding changes.
4273 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
4274 conditions to work with latest dejagnu/expect.
4276 * gdb.t15/funcargs.exp (finish from indirect call): No longer
4277 expected to fail on the PA.
4278 (backtrace in call with trampolines): Explicitly require main
4279 to be frame #1 (no trampolines should show up in backtrace).
4281 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
4283 * gdb.t06/break.exp: Likewise.
4284 * gdb.t07/watchpoint.exp: Likewise.
4285 * gdb.t13/bitfields.exp: Likewise.
4286 * gdb.t15/{funcargs,return}.exp: Likewise.
4287 * gdb.stabs/weird.exp: Likewise.
4288 * config/{mips,udi}-gdb.exp: Likewise.
4290 * hppa.sed: Enclose comments within a sed command to avoid
4291 losing with the old OSF1 sed.
4293 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4295 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
4297 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
4298 * gdb.t15/funcargs.exp: Conditionally step again to really
4299 finish from marker_call_with_trampolines. Handle the case where
4300 the first step from within call_with_trampolines already steps
4302 * gdb.t15/gdbme.c: Add comment to closing brace of
4303 call_with_trampolines for funcargs.exp.
4305 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4307 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
4310 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4312 * gdb.t07/gdbme.c: More code for watchpoint testing.
4314 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
4315 "Hardware watchpoint" throughout file.
4316 (test_watchpoint_triggered_in_syscall): New test.
4317 (test_complex_watchpoint): New test.
4319 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4321 * gdbme.c (call_with_trampolines): New function to try and step
4322 into. Tests trampoline problems on the PA.
4324 * funcargs.exp (localvars_in_indirect_call): No longer expect
4325 stepping into indirect call to fail on PAs.
4326 (test_stepping_over_trampolines): New test.
4328 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4330 * TODO: Add suggestions for static member function tests, and
4333 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4335 * TODO: Add suggestions for "p/a" tests.
4337 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
4338 (default_gdb_exit): Replace all the hair with sending "quit" to
4339 the process with a simple close.
4341 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4343 * TODO: Add suggestions for shared library tests.
4345 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4347 * TODO: Add suggestions for x/s tests.
4349 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4351 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
4352 "enable once", and "enable breakpoints once" with ".*".
4354 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4356 * TODO: Add suggestions about structure passing tests.
4358 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4360 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
4361 the primary1 test, use work around if __GNUC__ < 2.
4362 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
4363 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
4364 Test for bad output rather than waiting for timeout. Issue
4365 second continue only if first continue failed.
4367 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4369 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
4370 operator[] test with gdb_test because the old code didn't seem to
4371 be getting the quoting right with the new dejagnu.
4373 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
4375 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
4377 * Makefile.in: Use a fresh expect if there is one, use runtest
4378 from the src tree if there is one.
4380 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4382 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
4383 next over recursive call. Revise the tests from that point on
4384 (which had been skipped) to match GDB's actual (correct) output.
4386 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
4387 with next over a breakpoint whose condition is false.
4389 * gdb.t00/help.exp: Comment out "help set print" tests just like
4390 (and for same reason as) "help set" test.
4392 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4394 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
4395 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
4397 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4399 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
4400 necessary gdb_target_udi.
4402 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
4404 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
4405 1838 and 2417; they are fixed.
4407 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
4408 gdb.t03/ptype.exp (ptype structure, ptype union):
4409 Remove xfails; the test is looser than when the xfails were added.
4411 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
4412 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
4414 * gdb.t01/run.exp: Only run shell test if isnative.
4416 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
4417 since "run" automatically loads if necessary. Call gdb_target_udi
4418 after the "file" since "file" kills any execution target.
4420 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
4421 GDB. GDB doesn't work that way (not anymore at least) on UDI.
4422 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
4425 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4427 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
4429 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
4431 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4433 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
4434 properly quoting regexps. This makes the second argument to
4435 demangle a fixed string, which matches the callers, instead of a
4436 shell-style pattern which is what the previous implementation
4437 used. Update some of the callers.
4439 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4441 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
4442 (comib_nullified_tests): Fix typo.
4443 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
4444 strings. No longer expected to fail.
4446 * gdb.disasm/hppa.s (addib_tests): Fix typo.
4447 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
4448 strings. No longer expected to fail.
4450 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
4451 string. No longer expected to fail.
4453 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4455 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
4456 No longer expected to fail.
4458 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
4459 string. No longer expected to fail.
4461 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4463 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
4464 only in the names (I probably got most of them). I was even
4465 generous with some which differed in underscores in names, and
4466 probably missed a few, and I *still* was able to remove almost a
4467 third of the file with almost no impact on testsuite coverage.
4469 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4471 * gdb.t00/default.exp: Match udi_attach error message as well as
4472 the one from child_attach.
4474 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
4476 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
4478 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
4479 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
4481 * Move test with enums and partial symbols back to
4482 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
4483 Reverts the change of 26 May 93. Per today's change to
4484 stabs.texinfo, the behavior that weird.exp was expecting was
4485 unreasonable; what is important is that the compiler+gdb get
4486 things right, which happens with a recent gcc. Also fix the test
4487 to deal with native compilers which put out the stab gdb can't
4490 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4492 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
4493 in the names. The main thing these accomplish is to slow things down.
4494 Many more such duplicates surely remain.
4496 * gdb.t00/help.exp: Comment out "help support" test just like
4497 (and for same reason as) "help set" test.
4499 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
4501 * gdb.t06/break.exp: Remove setup_xfails for
4502 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
4503 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
4504 about known bug in gcc to include up through 2.5.8.
4505 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
4507 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
4508 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
4509 with latest gcc and gdb.
4510 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
4513 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4515 * configure.in (hppa*-*-*): Also configure and build stabs-only
4518 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4520 * gdb.t10/hppa.mt: A makefile fragment for the PA.
4521 * gdb.t10/configure.in (hppa*-*-*): Use it.
4523 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4525 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
4527 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4529 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
4530 versions prior to 1.13.5.
4532 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4534 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
4535 the prompt is at the start of a line.
4537 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4539 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
4540 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
4541 in the copr tests now.
4542 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
4543 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
4546 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
4548 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
4549 gdb.t31/chillvars.exp, lib/gdb.exp:
4550 Tweak to run under either version of expect.
4551 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
4552 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
4553 * gdb.t11/list.exp: Remove extraneous whitespace.
4555 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4557 * gdb.t16/printcmds.exp (test_print_strings): Accept
4558 "(unsigned char *) " before the string.
4560 * TODO: Add notes about printing of fancy types and GDB expressions.
4562 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
4564 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
4565 * gdb.t06/configure.in: Don't try to compile signals test program
4566 if doing mips-idt-ecoff.
4568 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
4570 * Most .exp files: Tweak to run under either version of expect.
4572 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4574 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
4575 xfails; I'm not sure why they are failing, but not because of PR 1806.
4577 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
4579 * config/unix-gdb.exp: Remove gdb_unload cause it's already
4580 defined in lib/gdb.exp.
4582 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4584 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
4585 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
4586 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
4587 have to be typeless.
4589 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4591 * TODO: Add suggestion for copyright year test.
4593 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
4595 * configure.in (*-*-lynxos*): Add stabs tests.
4597 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4599 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
4600 so insert a tab before any assembler directive in column zero.
4602 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
4604 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
4606 (fpu_short_memory_tests): Likewise.
4608 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4610 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
4611 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
4612 .stabs directives in comments.
4614 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4616 * TODO: New file, describing tests we could write.
4617 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
4619 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4621 * gdb.t06/signals.exp: Add kludge to force re-sync.
4623 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
4624 to xgdb instead of gdb, get out of gdb.
4626 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
4628 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
4631 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4633 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
4634 * gdb.stabs/configure.in (hppa*-*-*): Use it.
4635 * gdb.stabs/hppa.sed: New sed script for the PA.
4637 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4639 * gdb.stabs: Re-write weird.def and configuration to use sed
4640 instead of cpp. sed is portable and POSIX; cpp is neither.
4642 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4644 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
4646 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4648 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
4650 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4652 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
4654 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
4655 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
4657 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4659 * lib/gdb.exp: Comment out code which depends on non-existent
4660 `transform' procedure.
4662 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
4664 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
4665 * lib/gdb.exp: Transform tool name.
4666 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
4667 1.1's new error handling system.
4669 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4671 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
4673 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4675 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
4676 They made pattern matching so slow that timeouts happened on
4677 heavily loaded systems. Now any output from "show print" which
4678 gets us back to the GDB prompt is a PASS.
4680 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
4682 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
4684 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4686 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
4688 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
4689 It is not from PR 3220.
4691 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4693 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
4694 just started failing because they depended on the order the
4695 subcommands are presented, or exact docstring text. This kind of
4696 test is a pain and has minimal benefit.
4698 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4700 * gdb.t09/corefile.exp: At end of test, use "core" command with
4703 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
4705 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
4706 17}/Makefile.in: Make it possible to run the testsuite with Sun
4707 make and CC = cross gcc by adding explicit build rules for .o
4710 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4712 * gdb.t15/funcargs.exp: Don't put comments on same line as
4713 setup_xfail (@#$*%& tcl braindamage!).
4715 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4717 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
4719 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
4721 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
4722 * gdb.t20/inherit.exp: remove three dumplicate entries.
4724 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4726 * gdb.t06/break.exp: For "next over recursive call", fail on any
4727 incorrect output, not just on "factorial (value=2)".
4729 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4731 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
4732 working now. Add an xfail if accesing a bss variable causes
4733 a memory error if the target is not yet run.
4735 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4737 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
4738 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
4739 name of __st* demangling (2 strings). Did Kung really get the
4740 more than 95 others right without testing them?
4742 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
4744 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
4746 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
4748 * configure.in (configdirs): Add gdb.disasm
4749 * gdb.disasm: New directory for GDB disassembler tests.
4750 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
4752 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4754 * gdb.t00/help.exp: Don't test "help set".
4756 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
4757 from within expect statements. None of these happen anymore and
4758 they cause regressions to be silently unnoticed.
4760 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
4761 messages) about known failures with gcc cygnus-2.4.5-930417.
4763 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
4764 comp-info.exp so it gets built if it doesn't exist.
4766 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
4767 it is no longer used.
4768 * gdb.t13/comp-info.c: Removed.
4770 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4772 * gdb.t06/signals.exp: Add xfail for sun3.
4774 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4776 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
4777 relevant because ^C doesn't get sent but failure can be reproduced
4780 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4782 * gdb.stabs/alpha.mt: New configuration file for alpha.
4783 * gdb.stabs/configure.in: Use it.
4784 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
4785 sharing with alpha.mt, redefine long to word via preprocessor.
4786 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
4788 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
4790 * gdb.t00/teststrategy.exp: Change expect string so that we
4791 consume the `(xgdb)' from the command echo and from the gdb prompt.
4792 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
4793 gdb currently compares all values as long, so this failure probably
4794 applies to any configuration where LONGEST is bigger than a target int.
4795 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
4797 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
4798 to handle opaque pointers, gcc is.
4799 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
4800 as first argument. Include <sys/types.h> and change all operator
4801 new definitions to use size_t.
4802 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
4803 now that we use size_t.
4805 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4807 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
4808 a long or float array cast all array members to the same type.
4809 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
4811 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
4813 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
4815 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4817 * gdb.t24 (demangle.exp): Constructors of templates have names like
4818 vector<int>::vector(int) not vector<int>::vector<int>(int). See
4819 section 14.6 of the ARM.
4821 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
4822 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
4823 accomplish little and slow down the testsuite.
4825 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
4826 Accept spaces various places.
4828 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4830 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
4831 with watchpoint enabled.
4833 * Makefile.in: Remove definition of CC and remove the second
4834 definition of CXX (the "CXX = gcc" one remains). These definitions
4835 were causing backquotes to be expanded within backquotes, which
4838 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
4840 * gdb.t17/callfuncs.exp: Add "return 0" to end.
4842 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4844 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
4845 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
4846 by mips cc and contains no stabs entries.
4848 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
4850 * config/vx-gdb.exp: Use fake device to load files rather than
4852 * lib/gdb.exp: New proc to do "file" command.
4853 * config/unix-gdb.exp: Use new "file" proc.
4855 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4857 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
4858 Rework board rebooting slightly.
4859 (gdb_exit): Don't exit from the remote shell; there isn't one.
4860 * gdb.stabs/weird.exp: If a program is being debugged already,
4862 * gdb.t04/setvar.exp: Stop and restart gdb.
4863 * gdb.t05/expr.exp: Likewise.
4864 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
4865 restart gdb and reload the program.
4866 * gdb.t08/opaque.exp: Likewise.
4867 * gdb.t12/scope.exp: Likewise.
4868 * gdb.t13/bitfields.exp: Likewise.
4869 * gdb.t15/funcargs.exp: Likewise.
4870 * gdb.t20/classes.exp: Likewise.
4871 * gdb.t03/ptype.exp: Increase timeout.
4872 * gdb.t16/printcmds.exp (test_print_string_constants,
4873 test_print_array_constants): Likewise.
4874 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
4875 * gdb.t20/classes.exp (do_tests): Likewise.
4876 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
4878 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
4880 * gdb.stabs: Renamed *wierd* to *weird*.
4882 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4884 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
4885 for timeout. Add "known gcc 2.4.5 bug" to failure message.
4887 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4889 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
4890 (do_tests): Remove xfail for whatis on one_var and two_var.
4892 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
4894 * Makefile.in: Made cross building work better by adding
4895 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
4897 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4899 * gdb.t15/{return.c,return.exp,Makefile.in}:
4900 New test, currently commented out.
4902 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
4904 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
4905 still running and removes the leftover named socket so GDb can do
4908 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
4910 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
4912 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
4913 cross testing works better with "make check"
4914 * config/unix-gdb: Use default procedures for exit and version.
4915 * config/vx-gdb.exp: Cleaned up and massaged back to working order
4916 with the newest VxWorks.
4918 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4920 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
4923 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4924 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4926 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4928 * config/unix-gdb.exp: Remove this version of gdb_exit
4929 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4930 Rob says he'll look at it when he gets back to testing boards.
4932 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
4934 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4935 an expected fail for certain ptype commands.
4937 * gdb.t20/classes.exp: Update expected results of "ptype class
4938 Base1" to account for the constructor that now appears in the type.
4940 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4942 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4943 disappeared from list.
4944 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4945 "alldone" proc with call to cleanup and exit.
4946 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4947 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4948 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4949 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4950 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4951 "alldone" proc with simple returns that suppress remaining
4952 tests. The alldone proc went away many months ago.
4954 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4956 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4958 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4960 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4962 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4963 as vax gdb will display them.
4965 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4967 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4970 * scope.exp: Change "bad value for localval" messages so each one
4973 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4974 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4976 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4978 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4980 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4981 doesn't exist (due to optimization).
4983 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4985 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4986 contains \r because the filename is long.
4988 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4989 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4991 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4993 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4994 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4996 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4998 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
5000 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
5002 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
5004 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
5005 to match does not match the passing case but still matches the
5008 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5010 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
5012 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
5014 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
5015 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
5016 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
5017 Remove various versions of gdb_exit.
5018 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
5020 * config/unix-gdb.exp: gdb_exit remains here, and should override
5021 the generic version, since it's doing a lot of wierd stuff that
5022 the other versions aren't. FIXME, fold it in, or abandon this
5025 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5027 * gdb.t24/demangle.exp: Add tests for PR 3220.
5029 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5031 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
5033 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
5035 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
5036 "i386-*-*". Works for i486 as well.
5038 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
5039 bug, and expand domain of xfail to all SVR4 systems, since the
5040 actual problem is likely to be in generic SVR4 /proc support.
5042 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5044 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
5046 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
5048 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
5049 xfails for other systems. Match a missing 'Continuing.' as an
5050 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
5052 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
5053 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
5054 Only issue warning for missing executables if -all option is used.
5056 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
5057 file if -all option is used. It's like an unpredictable XFAIL.
5059 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5061 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
5062 for dynamically linked binaries.
5064 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
5066 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5068 * gdb.t20/inherit.exp: Change message for "print tagless struct"
5069 to state that this is a known bug in old versions of g++.
5071 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5073 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
5074 while waiting for `Continuing'.
5076 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
5078 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
5079 in text, data, and bss.
5080 * gdb.t10/nodebug.c: Add local and global test variables for
5081 initialized and uninitialized data.
5083 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5085 * config/unix-gdb.exp (gdb_exit): Add "wait".
5087 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5089 * gdb.t06/signals.exp: xfail the continue from the handler for all
5092 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
5093 function with watchpoints enabled, the i386 call dummy starts with
5096 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
5097 386 bsd names its corefiles.
5099 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
5101 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
5102 compilers don't grok it.
5103 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
5104 with small octal ints rather than character constants, which
5105 are signed and might not fit if first promoted to int.
5107 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
5109 * gdb.t09/Makefile.in (clean): Remove corefile.
5111 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5113 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
5115 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5116 and Jim Kingdon (kingdon@cygnus.com)
5118 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
5119 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
5120 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
5122 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5124 * gdb.t17/interrupt.exp: Add xfail for hppa.
5126 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5128 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
5129 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
5130 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
5131 to determine signed-ness of bitfields and use the result to setup
5133 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
5134 * gdb.t15/funcargs.exp: Use them to step until the second indirect
5135 call line is reached if necessary.
5137 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5139 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
5141 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5143 * gdb.t06/break.exp: Also test `clear' command.
5145 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
5147 * gdb.t00/teststrategy.exp: Remove extra quote.
5149 * gdb.t07/watchpoint.exp: Change xfail for calling function with
5150 watchpoint enabled to be for all non-68k machines.
5152 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
5154 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5156 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
5157 targets use aout.mt instead of ecoff.mt as gas understands
5158 standard aout format.
5160 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
5162 * lib/gdb.exp (runto): Don't insist that function we are running to
5163 was compiled with -g.
5165 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
5167 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
5168 to get back into the read system call.
5169 Accept leading newline in case where we woke it up.
5171 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5173 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
5174 to make the stabs test work on ecoff systems using gcc and -with-stabs.
5175 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
5176 enable ecoff configuration.
5178 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5180 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
5182 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5184 * gdb.t16/printcmds.exp: Add another printf test.
5186 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
5188 * configure.in: If configured -with-stabs on any target, add
5189 stabsdirs to configdirs.
5191 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5193 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
5194 fun" so pattern does not match the command itself.
5196 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5198 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
5200 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5202 * gdb.t17/interrupt.exp: Test for more things.
5204 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5206 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
5207 compiler arranges the code and line numbers.
5209 * gdb.t17/interrupt.exp: Don't send \n after ^C.
5211 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5213 * gdb.t00/help.exp: Increase expect input buffer size.
5215 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5217 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
5219 * gdb.t07/watchpoint.exp: Add xfail for hppa.
5221 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
5223 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
5224 [0-9]*, not just [0-9].
5226 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5228 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
5230 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
5232 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5234 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
5236 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5238 * gdb.t06/signals.c: Add xfails for sun3.
5240 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
5242 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
5243 test_stepping tests.
5245 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5247 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
5249 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
5251 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
5252 rather than actually putting it through cpp twice.
5254 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
5256 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
5258 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
5261 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5263 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
5265 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
5266 C++ features prints as "struct", make it a pass, not an xfail.
5268 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5270 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
5271 Don't require VA to print as "class" rather than "struct".
5273 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
5275 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
5277 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5279 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
5281 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5283 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
5286 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5288 * gdb.t16/printcmds.exp: Add printf tests.
5290 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
5292 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
5294 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
5296 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
5297 pass counts, to counteract any existing or future setup_xfails.
5299 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5301 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
5302 {BEGIN,END}_COMMON for common block instead of STAB.
5303 * gdb.stabs/wierd.exp: Add xfail for rs6000.
5305 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
5306 intp_var should be N_GSYM not N_LSYM.
5307 wierd-aout.S: Use a label for the value of the N_SO.
5308 wierd.def: Remove all backslashes.
5309 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
5311 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5313 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
5314 get the expected next to inheritance3.
5316 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5318 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
5319 now that gcc-2.4 gets it right.
5321 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5323 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
5325 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
5326 generating comp-info.exp which works for cross-compilation.
5328 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
5330 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
5333 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
5335 * gdb.t01/run.exp: Start with a fresh gdb.
5336 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
5339 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
5341 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
5342 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
5343 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
5344 Makefile.in (distclean, realclean): Remove gdbme.c from list of
5347 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
5349 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
5350 test cases from bug reports.
5352 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
5354 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
5355 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
5356 avoid spurious xfails.
5357 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
5358 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
5359 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
5361 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
5363 * gdb.t00/teststrategy.exp: Rework to provide more useful
5364 description of each test, fix problem with systems that define
5365 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
5366 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
5367 results for "next over recursive call" so timeouts aren't taken
5370 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
5372 * gdb.t12/scope.exp: Test printing of variables before run.
5374 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
5375 printed in wrong order due to sorting.
5377 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
5379 * gdb.t00/teststrategy.exp: Fix expected results for printing
5380 user entered string constant. Is array of char, prints with no
5383 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
5385 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
5386 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
5387 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
5388 of struct of char arrays.
5389 * gdb.t00/radix.exp: New tests for radix commands.
5391 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
5393 * gdb.t16/printcmd.exp: Print a variable before running program
5394 (with xfail for AIX).
5396 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
5398 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
5400 * gdb.t16/printcmd.exp: Don't print variables before running program.
5402 * gdb.t06/break.exp: Don't require envp argument to main.
5404 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
5406 * gdb.t02/whatis.exp, gdb.t11/list.exp:
5407 Add xfails for rs6000.
5409 * gdb.t02/whatis.exp: Change other tests not to re-test something
5412 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
5413 each type used has a variable of that type.
5415 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
5417 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
5419 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5421 * configure.in: change srctrigger to be a file, not a directory
5423 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
5425 * configure.in (mips-idt-ecoff*): Added trailing '*'.
5427 * gdb.t11/list.exp: Fixed a couple of typos.
5429 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
5431 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
5432 is fixed and PR is closed.
5433 * gdb.t16 (gdbme.c): Add simple test string variable.
5434 * gdb.t16 (printcmds.exp): Add tests with simple test string
5435 variable, primarily for boundaries on "set print elements".
5437 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
5439 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
5440 Make leading 0's optional and don't expect a tab in the middle
5443 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
5445 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
5446 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
5447 don't end command passed to gdb_test with newline.
5449 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
5450 signed keyword away, don't expect signed bitfields to be signed.
5452 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
5453 printing with only as many 1's as are in the field as well as printing
5454 with 32 1's (see comment).
5456 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
5458 * gdb.t00/default.exp: Start with a fresh gdb.
5459 * configure.in (configdirs): Remove gdb.t31 until the chill
5460 compiler works again. It no longer is able to find chillrt0
5461 since it isn't in libchill.a anymore.
5462 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
5463 wierd.o, make more modular.
5464 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
5465 spurious newlines that caused problems.
5467 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5469 * Move test with enums and partial symbols from gdb.t03/ptype.exp
5470 to gdb.stabs/wierd.exp since GCC has worked around the bug.
5471 gdb.stabs/wierd.{exp,def}: Many new tests.
5473 * gdb.t00/default.exp: update info line for new message.
5475 * gdb.t02/{whatis.exp,gdbme.c}:
5476 Test that "char *" doesn't print as "caddr_t".
5478 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5480 * gdb.t00/help.exp: Use .* in place of some help messages which
5482 gdb.t00/default.exp: Update "info frame" test for new message.
5483 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
5486 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5488 * gdb.t03/{gdbme.c,ptype.exp}:
5489 Add tests for typedef'd struct and union without tags.
5490 Also check "whatis" on a variable of a typedef'd enum without a tag.
5492 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
5493 PRMS 1823; the bug still exists but isn't reproduced by this test
5494 anymore), and remove rs6000 XFAIL (the bug is fixed).
5496 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
5497 duplicated from whatis.exp. For those that are left, accept
5498 "long", "long int", or "int" for long variables (whatis.exp already
5499 has an XFAIL for "int", so no need to fail it here).
5501 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
5502 Deal with GCC's names for types now that GDB uses the compiler's names.
5504 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
5505 setup_xfail's for sunos4. If we #defined the signed keyword away,
5506 don't expect GDB to know that char it is signed.
5508 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
5510 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
5512 * configure.in (configdirs): Add gdb.t24 for C++ tests that
5513 should work on any system, regardless of debugging format.
5514 * gdb.t21/demangle.exp: Move to gdb.t24.
5515 * gdb.t24/demangle.exp: Move from gdb.t21.
5516 * gdb.t24/{Makefile.in, configure.in}: New files.
5518 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5520 * configure.in: Do gdb.stabs and C++ tests only for stabs.
5521 * gdb.stabs: New directory.
5523 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5525 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
5526 not just "Quit anyway?".
5528 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
5530 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
5531 that all setup_xfails are immediately followed by clear_xfails.
5533 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
5535 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
5536 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
5537 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
5538 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
5539 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
5540 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5541 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5542 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
5543 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
5544 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
5545 gdb.t31/chillvars.exp, lib/gdb.exp:
5546 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
5547 bug-gdb@prep.ai.mit.edu.
5549 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
5551 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
5552 with 0.0, not integer 0.
5554 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
5556 * gdb.t06/break.exp: Update for "Kill the program" message change.
5558 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
5560 * Makefile.in (GDBFLAGS): Set to -nx.
5561 * Makefile.in (site.exp): Use GDBFLAGS.
5563 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5565 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
5567 (check): depend on just-check.
5568 (just-check): added so that tests can be run without a noop
5571 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5573 Switch to using configure's configdirs.
5574 * Makefile.in (Makefile): add configure.in dependency.
5575 (SUBDIRS): removed redundant assignment.
5576 * configure.in: switch subdirs assignment to configdirs.
5577 * gdb.t*/configure.in: new files.
5579 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
5581 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
5584 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
5586 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
5587 in explicit rules. Apparently this is not supported by some makes.
5589 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
5591 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
5593 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5595 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
5598 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
5600 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
5602 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
5604 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
5605 watchpoint problem that is now fixed.
5606 * gdb.t30/chexp.exp: Remove setup_xfail for printing
5607 uninitialized convenience variables.
5608 * gdb.t31/chillvars.exp: Fix expected patterns for printing
5611 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5613 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
5614 which causes expect to get out of sync with gdb on long output
5616 * gdb.t09/corefile.exp: Make expected pattern for core file
5617 failing signal and frame output format less sun specific.
5619 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
5621 * gdb.t31/chillvars.exp: Add and remove initial dummy
5622 breakpoint, so that symbol table is forced in.
5623 (Needed at least on Sunos4, though it seems not SVR4.)
5624 * gdb.t31/chillvars.exp: Update for changed output format.
5626 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
5628 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
5630 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
5632 * Makefile.in: Added --srcdir when invoking runtest, removed the
5633 need for a local config file. (optional now)
5635 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
5637 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
5638 failure count used to force early termination. Add some more
5639 expected failures for gnu style demangling.
5641 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5643 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
5644 pmi variable from gdb.t20/gdbme to get optimized away.
5645 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
5646 Check for written corefile upon timeout _and_ eof.
5648 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5650 * config/unix-gdb.exp: Add missing return 0.
5652 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5654 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
5657 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
5659 * configure.in (subdirs): Put back gdb.t17 which mysteriously
5662 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
5664 * gdb.t10/crossload.exp: Disable the i860-elf test until such
5665 time as i860 support works.
5667 * gdb.t15/funcargs.exp: Fix expected outputs to include
5668 "backtrace 100\r" rather than just "backtrace\r", to match last
5671 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
5673 * config/udi-gdb.exp (gdb_exit): Remove close command.
5674 (gdb_target_udi): New procedure to set the UDI target.
5675 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
5676 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
5677 Added waits for prompts after several question responses. Added
5678 some more responses used by a29k-amd-udi-gdb.
5679 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
5680 pass different arguments, restart UDI connection after program
5682 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
5683 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5684 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
5685 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
5686 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
5687 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
5688 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5689 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
5690 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
5691 after program completion.
5692 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
5693 compiled with a SELECT_VECS setting.
5694 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
5697 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
5698 Added checks for COFF results, and made them expected failures for
5699 all targets. It would be better to make them expected failures
5700 for COFF targets only.
5702 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5704 * Makefile.in: add null dvi target, don't bother to recurse
5705 through test directories for info and install-info; rename
5706 $(datadir) to be dejagnu instead of deja-gnu
5708 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
5710 * gdb.t31/gdbme.ch: Re-enable code that previously caused
5711 compiler to coredump.
5712 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
5715 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
5717 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
5719 * gdb.t31/chillvars.exp: Comment out tests that depend on that
5722 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
5724 * gdb.t03/ptype.exp: tests for return code from gdb_test.
5725 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
5726 which in a shell. Deletes xgdb when done.
5727 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
5728 Tests the return from the "set height" or "set width" commands.
5729 Added a few return codes where needed.
5731 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
5733 * Makefile.in (SUBDIRS): Add gdb.t17.
5734 * configure.in (subdirs): Add gdb.t17.
5735 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
5736 files to test gdb's calling of functions in the inferior with
5737 the correct arguments and gdb's ability to retrieve any
5740 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
5742 * config/unix-gdb.exp (gdb_exit): Remove close commands that
5743 may be called after gdb goes away. Previous versions of expect
5744 needed these to avoid file descriptor leaks, but they cause
5745 errors with the current revision of expect.
5746 * gdb.t00/gdbvars.exp: Use -re on expected output after
5747 setting sevenbit-strings.
5748 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
5749 to set sevenbit-strings consistent across tests.
5750 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
5751 set sevenbit-strings consistent across tests.
5753 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
5755 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
5756 expected output to match current "expect" expectations.
5758 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
5760 * gdb.t00/default.exp: Change expected output for default "source"
5761 command, to match new gdb behavior which requires a filename to
5764 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
5766 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
5767 expected fail for i486-*-* that misses the marker2 function.
5768 * gdb.t10/crossload.exp (bfddefault): Allow successful
5769 recognition of a format to pass even if no symbols are found.
5770 Explicitly catch failures where the format is not recognized
5771 or is ambiguous, and add the reason to the fail message.
5772 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
5773 the cause is and invalid target and add reason to failure message.
5774 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
5775 elf32-i386, elf32-sparc, and elf32-i860.
5776 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
5777 Set up expected failure for 'filename'::variable scope resolution,
5778 which is now apparently broken on all targets.
5779 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
5780 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
5781 gdb.t23/templates.exp: Change failure for missing binfile into
5783 gdb.t21/demangle.exp: Change all cfront references to 'arm'
5786 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
5788 * gdb.t00/default.exp: Add expected output for default "source"
5789 command, to match new gdb behavior.
5790 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
5792 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
5794 * config/*-gdb.exp: returns an error, rather than exiting on
5797 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
5799 * gdb.t03/gdbme.c: Add pointer to struct variable.
5800 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
5801 referencing struct members.
5803 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
5805 * configure.in (mips-idt-ecoff): New target.
5806 * config/mips-gdb.exp: New file for remote board using MIPS remote
5809 * Redid configuration scheme. Removed gdb.t*/configure.in.
5810 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
5811 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
5812 distclean targets. Built executables via .o files. Adjusted
5813 tests to account for source files in $(srcdir) rather than
5815 * lib/gdb.exp (runto): Don't expect () after the function name,
5816 because it may have arguments.
5818 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
5820 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
5821 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
5822 expected failures for mips-idt-* and mips-sgi-*.
5823 * gdb.t00/default.exp (attach): Kill process if requested.
5824 * gdb.t00/help.exp (help target core, help target): Accept a gdb
5825 that does not read core files.
5826 * gdb.t01/run.exp: Removed checks for exit status code.
5827 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
5829 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
5830 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
5831 appropriate, rather than doing it by hand.
5832 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
5834 * gdb.t10/crossload.exp: Kill existing program if needed.
5835 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
5836 appropriate, rather than doing it by hand. Always increase
5837 timeout for this test, not just for VxWorks.
5839 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
5841 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
5842 of Chill STRUCT types and STRUCT values.
5843 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
5845 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
5846 struct2): New struct definitions and initializations to test
5847 simple Chill STRUCT types.
5849 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
5851 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
5852 the null byte at the end of strings.
5853 * gdb.t00/default.exp: Make show version insensitive to copyright
5855 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
5856 to avoid dependencies on target char signedness.
5857 * gdb.t16/printcmds.exp: Update expected results for explicitly
5859 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
5861 * gdb.t21/demangle.exp: Add many more patterns for template
5862 demangling, most of them being expected failures.
5863 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
5864 string we are matching for, to match on the whole string.
5865 * gdb.t21/demangle.exp: Add many new test strings to demangle,
5866 and fix a whole bunch that had incorrect expected output but were
5867 passing anyway because of the bug in "proc demangle".
5868 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
5870 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
5872 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
5874 * gdb/testsuite: made modifications to testcases, etc., to allow
5875 them to work properly given the reorganization of deja-gnu and the
5876 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5878 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
5880 * gdb/testsuite: Initial creation of gdb/testsuite.
5881 Migrated dejagnu testcases and support files for testing nm to
5882 gdb/testsuite from deja-gnu. These files were moved "as is"
5883 with no modifications. This migration is part of a major overhaul
5884 of dejagnu. The modifications to these testcases, etc., which
5885 will allow them to work with the new version of dejagnu will be
5886 made in a future update.
5892 version-control: never