1 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
3 * gdb.base/return.exp (return_tests): Differentiate between
4 two tests of continuing.
6 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
8 * */Makefile.in (maintainer-clean): Remove config.log.
9 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
10 * gdb.c++/Makefile.in (PROGS): Add inherit.
13 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
15 * gdb.c++/misc.cc: Add test code from Mike Stump.
16 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
18 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
20 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
21 to "alpha-*-osf2*" and add comment.
22 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
23 setup_xfail for "step over execarg initialization" and
24 "step over corearg initialization".
25 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
26 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
27 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
28 gcc compiled for "print coremaker_bss", "print coremaker_ro",
29 "print func2::coremaker_local", and "backtrace in corefile.exp".
30 * gdb.base/signals.exp: Build and source signals.ci.
31 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
33 * lib/gdb.exp: Move verbose statements outside conditionals.
35 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
37 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
38 Feb 3 procfs.c change.
40 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
42 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
44 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
46 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
47 from dejagnu's apparent default of 10 seconds, which gives random
48 results when running the tests over NFS on moderately loaded systems.
49 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
51 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
53 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
54 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
57 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
59 * configure.in (CY_AC_PATH_TCLH): Remove.
60 * configure: Regenerate.
62 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
64 * gdb.c++/Makefile.in (clean): Add missing '{'.
66 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
68 * lib/gdb.exp: Provide a default value for noinferior.
70 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
73 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
75 * gdb.disasm/hppa.exp: Compile directly into an executable, use
76 the executable, not the .o to run the tests from.
78 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
80 * gdb.base/break.exp: Don't test for program exit or exit status
81 if $noresults if nonzero.
82 * gdb.base/langs.exp: Likewise.
83 * gdb.base/watchpoint.exp: Likewise.
85 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
86 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
87 trying to compile the testcase.
89 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
91 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
92 * gdb.base/signals.exp (continue to handler): Likewise.
94 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
96 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
98 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
100 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
102 * gdb.base/corefile.exp: Recognize "not found" as failure
103 when trying to determine if a core file was generated.
104 If no core file was generate the first time, try again without
105 the ulimit -c to work around braindamaged shells.
107 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
109 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
110 [] tests with "test" and enclose string in quotes.
111 * gdb.stabs/configure: Rebuild
113 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
115 Changes in sync with expect:
116 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
117 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
118 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
119 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
120 argument to AC_REQUIRE.
121 * configure: Regenerated.
123 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
125 * gdb.base/corefile.exp: When generating a core, discard any
126 error messages about ulimit not found and the "core dumped"
127 message from the shell that runs the coredumper.
129 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
131 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
133 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
134 which sed script to run. Expect failure for v_comb test
137 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
139 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
140 "print func2::coremaker_local" and for "backtrace in corefile.exp"
142 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
144 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
145 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
146 "sparc-sun-solaris*" xfails for "p v_comb".
147 * lib/gdb.exp (default_gdb_start): Fix typo.
148 * gdb.base/corefile.exp: Allow "Core was generated by ..."
149 messages to not include the full program name that caused
150 the core dump since some systems (such as solaris) apparently
151 truncate this path to about 80 characters.
152 When generating a core file first try increasing the core file
153 size limit to unlimited since some systems may default it to
154 zero, and it is harmless to try it. Move the test for failing
155 to generate a core file to where it will actually get executed.
156 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
157 new gdb result from g++ debug info improvements and make old
158 pattern obsolescent. Also account for size_t differences
159 (may be int or long).
160 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
161 initialization before function call is placed in the delay slot
162 and thus appears to be skipped over by commands such as "next".
164 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
166 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
168 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
170 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
171 input source file; fix code to compile test to deal with this
173 * gdb.c++/*.exp: Likewise.
175 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
177 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
180 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
182 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
183 "step over execarg initialization" and
184 "step over corearg initialization".
186 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
188 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
189 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
191 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
193 From Rob Savoye (rob@poseidon.cygnus.com)
194 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
195 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
196 configure.in}, gdb.disasm/{Makefile.in, configure.in},
197 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
198 configure.in}: Major reworking for autoconfig.
199 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
200 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
202 * config/unix-gdb.exp: Make GDB global.
203 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
204 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
205 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
206 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
207 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
208 term.exp, twice.exp, watchpoint.exp, whatis.exp},
209 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
210 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
211 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
212 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
213 pr-8136.exp, result.exp, string.exp, tuples.exp},
214 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
215 to returns as necessary, arrange for test to compile own testcase
217 * lib/gdb.exp: Changes for testsuite to compile own test cases.
219 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
221 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
222 clear_xfail at end of test which might not call either pass or fail.
223 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
224 "backtrace through signal handler".
226 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
228 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
229 continuing from a job control stop signal.
230 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
232 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
234 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
235 * gdb.base/corefile.exp: Likewise.
236 * gdb.base/funcargs.exp: Likewise.
238 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
240 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
241 * config/monitor.exp: Add support for setting baud rate.
243 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
245 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
246 i*86-*-linux* xfails for "backtrace through signal handler".
247 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
248 "print func2::coremaker_local".
249 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
250 alpha-dec-osf2* xfail for
251 "delete all breakpoints when none".
253 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
255 * gdb.base/break.exp: Change test that deletes all breakpoints
256 when no user breakpoints are installed. A post 4.15 change
257 causes gdb to no longer prompt in this case.
259 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
261 * gdb.base/return.exp (return_tests): Change xfail for test
262 "correct value returned double test" to stop xfailing at
263 Solaris 2.5. Apparently the bug has been fixed.
265 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
267 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
268 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
270 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
272 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
273 * gdb.disasm/hppa.s: Corresponding changes.
275 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
277 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
279 * config/mt-hpux: Deleted.
281 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
283 * Many files: When warning about suppressed tests due to a
284 nonexistant test binary, avoid incrementing the warning count.
286 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
288 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
290 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
292 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
295 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
297 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
298 Add global and local variables and initialize them.
299 * gdb.base/corefile.exp: Test correct mapping of corefile sections
300 by printing variables. Remove rs6000 and powerpc xfails, BFD now
301 extracts the file name and terminating signal from the core file.
302 * TODO: Remove note about tests for correct mapping of corefile.
303 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
304 from optimizing it away.
305 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
306 handles common blocks.
308 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
310 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
311 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
313 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
315 * Makefile.in (maintainer-clean): New target, synonym for
317 * gdb.base/Makefile.in (maintainer-clean): Likewise.
318 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
319 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
320 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
321 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
322 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
324 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
326 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
327 xfails when not gcc compiled for "print foo::funclocal".
328 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
329 "print foo::funclocal at foo",
330 "print 'scope1.c'::foo::funclocal at foo",
331 "print foo::funclocal_bss at foo",
332 "print 'scope1.c'::foo::funclocal_bss at foo",
333 "print foo::funclocal_ro at foo",
334 "print 'scope1.c'::foo::funclocal_ro at foo",
335 "print bar::funclocal at foo" and
336 "print 'scope1.c'::bar::funclocal at foo".
337 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
338 gcc compiled for "print foo::funclocal at bar".
339 Expand all messages to ensure that they identify that
340 the test is at bar().
341 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
343 "ptype on opaque struct pointer (statically)",
344 "ptype on opaque struct tagname (statically)",
345 "ptype on opaque struct pointer (dynamically) 1",
346 "ptype on opaque struct tagname (dynamically) 1",
347 "ptype on opaque struct pointer (dynamically) 2" and
348 "ptype on opaque struct tagname (dynamically) 2
349 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
355 "whatis bsslocal", and
357 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
358 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
359 when not gcc compiled.
360 * gdb.base/funcargs.exp (float_and_integral_args): Add
361 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
363 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
364 "backtrace from call6a" when not gcc compiled.
365 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
366 "backtrace from call7a" when not gcc compiled.
367 * gdb.base/callfuncs.exp (do_function_calls):
368 Add "hppa*-*-hpux*" xfail when not gcc compiled for
369 "p t_char_array_values(char_array_val2,char_array_val1)",
370 "p t_char_array_values(char_array_val1,char_array_val2)",
371 "p t_char_array_values("carray 1","carray 2")",
372 "p t_char_array_values("carray 1",char_array_val2)",
373 "p t_char_array_values(char_array_val1,"carray 2")",
375 "p sum_args(2,{2,3})",
376 "p sum_args(3,{2,3,4})",
377 "p sum_args(4,{2,3,4,5})"
378 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
379 "backtrace in corefile.exp" when not gcc compiled.
381 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
383 * gdb.base/signals.exp: Rewrite `handle all print' test as
384 a procedure. Accept blanks or TABs as whitespace, increase
385 timeout and expect input buffer size for the large output
386 from the command. Remove "i*86-*-bsdi2.0" xfail.
388 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
390 * gdb.base/setvar.exp: Add new testcases for truncation when
391 assigning invalid values to bitfields.
393 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
395 * gdb.base/callfuncs.exp (do_function_calls): Remove
396 mips-sgi-irix* xfail for
397 "call inferior func with struct - returns char *"
398 and fix test so that an optional (unsigned char *) cast is
399 accepted in the result.
401 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
403 * gdb.base/funcargs.exp (float_and_integral_args): Remove
404 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
405 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
406 * gdb.base/signals.exp: Remove duplicate "handle all print" test
407 that accidentally got checked in.
409 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
411 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
412 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
414 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
415 Add mips-sgi-irix5* xfail for not gcc compiled.
416 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
417 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
418 "p top", "whatis top", "p middle", and "whatis middle".
419 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
420 "whatis signed char" for not gcc compiled.
421 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
422 "set variable signed char=-1 (-1)" and
423 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
424 * gdb.base/funcargs.exp (float_and_integral_args):
425 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
426 Add mips-sgi-irix* xfail when not gcc compiled for
427 "continue to call2b".
428 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
429 "continue to call2g".
430 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
431 "backtrace from call6a"
432 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
433 "backtrace from call7k".
434 Add mips-sgi-irix5* xfail when not gcc compiled for
435 "backtrace from call7a".
436 (localvars_after_alloca): Fix gdb_test cmds for
437 "print * after runto ...".
438 Remove rs6000-*-* xfails for
439 "print i after runto localvars_after_alloca" and
440 "print l after runto localvars_after_alloca"
442 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
443 when not compiled with gcc, for:
444 "print signed char == (minus)",
445 "print signed char != (minus)",
446 "print signed char < (minus)",
447 "print signed char > (minus)".
448 * gdb.base/callfuncs.exp (do_function_calls):
449 Add mips-sgi-irix* xfail, when compiled with native compiler, for
450 "call inferior func with struct - returns char *".
451 * gdb.base/return.exp (return_tests): Change xfail for
452 "correct value returned double test" to include Solaris 2.4.
453 * gdb.base/funcargs.exp (float_and_integral_args):
454 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
456 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
458 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
459 enumeration bitfields if compiling with GNU C.
460 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
463 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
465 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
466 test for PRO targets.
468 * gdb.base/funcargs.exp: Avoid ever setting more than 8
469 breakpoints in the inferior at any given time by making
470 two groups of breakpoints for call2*, call6* and call7*
473 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
475 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
476 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
477 from optimizing it away.
478 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
479 "call inferior func with struct".
481 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
483 * configure.in: Only configure gdb.chill for particular targets.
485 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
487 * gdb.base/Makefile.in: Add action to .c.o transformation
488 rule that generates a .ci file for each .o file and remove
489 explicit .c.o rules except for callfuncs.o.
490 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
491 generates a .ci file for each .o file and remove explicit
493 (clean): Remove *.tmp *.ci files.
494 (EXECUTABLES): Remove templ-info.exp.
495 * gdb.base/compiler.c: New file.
496 * gdb.c++/compiler.cc: New file
497 * gdb.base/scope.exp: Source gdb.base/scope.ci.
498 Change rs6000-*-* xfail for
499 "print 'scope0.c'::filelocal_ro" and
500 "print 'scope1.c'::filelocal" and
501 "print 'scope1.c'::filelocal_bss" and
502 "print 'scope1.c'::filelocal_ro" and
503 "print 'scope1.c'::foo::funclocal" and
504 "print 'scope1.c'::foo::funclocal_ro" and
505 "print 'scope1.c'::bar::funclocal" and
506 "print 'scope0.c'::filelocal_ro" and
507 "print 'scope1.c'::filelocal at foo" and
508 "print 'scope1.c'::filelocal_bss at foo" and
509 "print 'scope1.c'::filelocal_ro at foo" and
510 "print 'scope1.c'::foo::funclocal at foo" and
511 "print 'scope1.c'::foo::funclocal_bss at foo" and
512 "print 'scope1.c'::foo::funclocal_ro at foo" and
513 "print 'scope1.c'::bar::funclocal at foo" and
514 "print 'scope0.c'::filelocal_ro" and
515 "print 'scope1.c'::filelocal" and
516 "print 'scope1.c'::filelocal_bss" and
517 "print 'scope1.c'::filelocal_ro" and
518 "print 'scope1.c'::foo::funclocal" and
519 "print 'scope1.c'::foo::funclocal_bss" and
520 "print 'scope1.c'::foo::funclocal_ro" and
521 "print 'scope1.c'::bar::funclocal" and
522 "print 'scope1.c'::bar::funclocal_bss"
523 to only be xfail'd when not compiled with gcc.
524 Add rs6000-*-* xfail for
525 "print 'scope0.c'::filelocal_bss before run"
526 when compiled with gcc.
527 (test_at_main): Add rs6000-*-* xfail for
528 "print filelocal_ro in test_at_main"
529 when compiled with gcc.
530 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
531 Add rs6000-*-aix* xfail for
532 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
533 "ptype t_char_array", not compiled with gcc.
534 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
535 xfail for "list foo (in include file)" when gcc compiled.
536 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
537 (integral_args): Add rs6000-*-* xfail for
538 "run to call0a" if not compiled with gcc.
539 (unsigned_integral_args): Add rs6000-*-* xfail for
540 "run to call1a" if not compiled with gcc.
541 (float_and_integral_args): Add rs6000-*-* xfail for
542 "run to call2a" if not compiled with gcc and for
543 "continue to call2b" for any compiler.
544 Add rs6000-*-* xfail to
545 "print f1 after run to call2a" for gcc compiled.
546 (discard_and_shuffle): Add rs6000-*-* xfail for
548 (shuffle_round_robin): Add rs6000-*-* xfail for
549 "backtrace from call7a" if not compiled with gcc.
550 Add rs6000-*-* xfail for
551 "backtrace from call7b" if compiled with gcc.
552 (call_after_alloca): Add rs6000-*-* xfail for
553 "print c in call_after_alloca" and
554 "print s in call_after_alloca" and
555 "backtrace from call_after_alloca_subr"
556 if not compiled with gcc.
557 (localvars_in_indirect_call): Add rs6000-*-* xfail for
558 "print c in localvars_in_indirect_call" and
559 "print c in localvars_in_indirect_call" and
560 "backtrace in indirectly called function" and
561 "stepping into indirectly called function"
562 if not compiled with gcc.
563 (localvars_after_alloca): Add rs6000-*-* xfail for
564 "print c after runto localvars_after_alloca" and
565 "print s after runto localvars_after_alloca" and
566 "print i after runto localvars_after_alloca" and
567 "print l after runto localvars_after_alloca"
569 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
570 than whatis-info.exp.
571 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
572 than opaque-info.exp.
573 Setup rs6000-*-* xfail for
574 "ptype on opaque struct pointer (statically)" and
575 "ptype on opaque struct pointer (dynamically)" when
576 not compiled with gcc.
577 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
578 rather than callf-info.exp.
579 (do_function_calls): Add clear_xfail for rs6000-*-* for
580 "p t_float_values2(3.14159,float_val2)". Seems to work
581 fine there, both with xlc and gcc. Need to find out what
582 it is doing right and fix other platforms.
583 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
584 "call inferior func with struct - returns int",
585 "call inferior func with struct - returns long",
586 "call inferior func with struct - returns float",
587 "call inferior func with struct - returns double",
588 "call inferior func with struct - returns char *",
589 but only if not gcc compiled (presumes xlc compiled).
590 Change rs6000-*-* xfails for
591 "call inferior func with struct - returns char" and
592 " call inferior func with struct - returns short" to only
593 xfail if not using gcc.
594 (clean mostlyclean): Remove *.ci and *.tmp files.
595 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
597 * gdb.base/langs.exp: Source gdb.base/langs.ci.
598 Add rs6000-*-* xfail for "up to foo in langs.exp"
599 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
600 when not gcc compiled.
602 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
604 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
605 * gdb.base/corefile.exp: Likewise.
606 * gdb.base/list.exp: Likewise.
607 * gdb.base/scope.exp: Likewise.
608 * gdb.base/siganls.exp: Likewise.
610 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
612 * gdb.base/whatis.exp: Likewise.
615 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
617 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
618 failure (opcode table has been fixed to match reality).
621 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
623 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
624 "call inferior func with struct - returns char",
625 "call inferior func with struct - returns short"
627 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
628 "print 'scope0.c'::filelocal at main",
629 "print 'scope0.c'::filelocal_bss in test_at_main",
630 "print 'scope0.c'::filelocal at foo",
631 "print 'scope0.c'::filelocal_bss in test_at_foo",
632 "print 'scope0.c'::filelocal at bar",
633 "print 'scope0.c'::filelocal_bss in test_at_bar"
635 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
636 in source file 1". This bug seems to have been fixed with both
637 gcc and native cc (was native assembler bug?).
639 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
641 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
642 "backtrace through signal handler" to "i*86-*-sysv4*".
643 * gdb.base/signals.exp: Add xfail for "'next' behaved as
644 continue" case. Add "known SVR4 bug" to fail message.
645 Add "i*86-*-bsdi2.0" xfail for "handle all print".
646 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
647 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
648 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
649 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
650 "up to foo in langs.exp", "show language at foo in
651 langs.exp", "up to cppsub_ in langs.exp", "show
652 language at cppsub_ in langs.exp", "up to fsub in
653 langs.exp", and "show language at fsub in langs.exp".
654 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
655 "bactrace in corefile.exp".
656 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
657 "call inferior function with struct - returns float" and
658 "call inferior function with struct - returns double".
661 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
663 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
664 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
665 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
666 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
669 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
671 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
672 (or overriden) "CHILL" macro rather then bare "gcc".
673 Also look for ../../gcc/xgcc since that is what we will
674 actually need, not "Makefile". Remove following assignment
675 of CHILL to CHILL_FOR_TARGET because that results in
676 recursive definition.
678 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
680 * gdb.base/corefile.exp: Change xfail for backtrace in
681 corefile.exp from linuxaout to all linux.
682 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
683 cases where we miss the breakpoint at the signal handler
684 for some reason. Setup xfail for linuxoldld/linuxaout and
685 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
686 hitting SIGURG breakpoint.
687 * gdb.base/signals.exp: Setup xfail for "next" acting like
688 continue to add linuxoldld. Setup xfail for all linux for
689 "next to handler in signals_tests_1", "backtrace in
690 signals_tests_1", "continue to func1", "pass SIGUSR1",
691 and continue to handler".
693 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
695 * Update all FSF addresses except those in COPYING* files.
697 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
699 * gdb.base/a2-run.exp: Change messages to be more explicit about
700 the status of args, and quote binfile in results.
702 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
704 * gdb.base/callfuncs.exp: Add tests for passing structs to
705 inferior functions and return various types.
706 * gdb.base/callfuncs.c: Add functions to receive a struct
707 and return a member of the struct, in various types.
709 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
711 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
713 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
715 * config/vxworks29k.exp: New file, sources vxworks.exp.
717 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
719 * config/gdbremote.exp: New file. Testing framework using
722 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
724 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
725 "call function when asleep" and "send end of file".
726 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
727 for "backtrace in corefile.exp".
728 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
729 for "backtrace through signal handler".
730 * gdb.base/corefile.exp: Make sure we actually generate a core file
731 before trying the core tests. Some systems allow the user to suppress
732 generation of core files and default to that (linux for example).
733 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
734 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
736 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
738 * gdb.threads: New directory with some crude multi-threaded
739 gdb tests (step.exp and step2.exp).
740 * config/mt-lynx (STEP_EXECUTABLE): Define.
741 (THREADFLAGS): Define.
743 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
745 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
747 * gdb.base/signals.exp: Disable whole file for lynx until
750 * gdb.base/signals.exp: xfail test where "next" acts like
753 * gdb.base/interrupt.exp: xfail test for calling function while
754 inferior is asleep for lynx.
756 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
757 than one cr-lf after each command.
759 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
761 * configure.in: Reinstate setting of stabsdirs variable, fix
762 typo in setting up configdirs for native builds.
764 * gdb.base/return.exp: Fix typo in return double test.
765 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
766 compiler from optimizing them away.
768 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
770 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
771 sequences to be echo'd by gdb when using gdb_test.
772 * gdb.chill/chexp.exp: Likewise.
773 * gdb.fortran/exprs.exp: Likewise
775 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
777 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
778 after the inferior gdb has started.
780 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
782 * gdb.base/funcargs.exp: Likewise.
783 * gdb.base/gdbvars.exp: Likewise.
784 * gdb.base/interrupt.exp: Likewise.
785 * gdb.base/list.exp: Likewise.
786 * gdb.base/watchpoint.exp: Likewise.
787 * gdb.c++/demangle.exp: Likewise.
788 * gdb.c++/inherit.exp: Likewise.
789 * gdb.chill/chexp.exp: Likewise.
790 * gdb.fortran/exprs.exp: Likewise.
792 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
793 test if we can't handle IO to/from the inferior.
795 * gdb.c++/misc.exp: Always check for a program already being
796 started after sending a "run" command to gdb.
798 * gdb.base/twice.exp: Start with a fresh gdb.
800 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
801 only depend on gdb's expression code, not the chill runtime.
803 * gdb.base/return.c: Put return values into variables so we
804 can have gdb print them rather than depending on the program
806 * gdb.base/return.exp: Corresponding changes.
808 * lib/gdb.exp: Provide default value for noinferiorio.
809 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
812 * gdb.base/break.exp: Always check for a program already being
813 started after sending a "run" command to gdb.
814 (text_next_with_recursion): Don't check the output from the
815 program's printf statement. Instead just make sure the program
818 * gdb.base/commands.exp: Protect tests which need arguments with
819 $noargs conditionals.
821 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
823 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
824 of structure member arrays to match gdb/valops.c:value_addr change.
826 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
828 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
831 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
833 * configure.in (configdirs): Remove gdb.chill from default list
834 of subdirs and then add it back in only if doing a native build.
835 The current chill compiler does not yet work in any cross build.
836 * Revert all signal changes from Jul 6.
837 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
838 for sh-hms targets, allowing these tests to link, with no other
839 changes. Testing is suppressed by setting "nosignals" in site.exp.
841 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
843 * configure.in (signaldirs): Define and add to configdirs for all
844 targets except some specific ones that are known to not support signals.
845 Also clean up formatting.
846 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
847 (signals, sigall): Remove rules to build.
848 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
849 Moved to new gdb.signals directory.
850 * gdb.signals: New test directory.
851 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
852 signals.c signals.exp}: New or moved files.
854 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
856 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
858 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
860 * gdb.base/return.exp: Xfail `return double' test failure
861 on at least Solaris 2.3 and handle future/past versions on
862 a case by case basis as appropriate. Also update message
863 to include i*86 failures.
865 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
867 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
869 * lib/gdb.exp: Fix comment which erroneously identified
870 gdb_file_cmd as gdb_load (the 19 May change was in fact to
871 gdb_file_cmd not gdb_load).
872 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
874 * gdb.base/setvar.exp: Make test names consistent between pass and
875 fail cases. Use gdb_test more.
877 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
879 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
881 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
883 * gdb.base/help.exp: Fix expected help string for `show commands'.
885 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
887 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
889 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
892 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
894 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
895 that loop eventually terminates. Fix Connection refused logic so
896 that testsuite will expire nicely.
898 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
900 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
901 config/rom68k.exp: New tcl glue for the appropriate monitors.
902 These all just end up calling monitor.exp.
903 * config/monitor.exp (gdb_target_monitor): Handle `Connection
904 refused' by retrying. Cleanup some timeout issues.
905 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
906 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
907 callers don't have to set/restore global timeout variable.
909 * The following set of changes centralizes management of the global
910 timeout variable. This way, it can be set in one target dependent
911 place instead of dozens of places scattered throughout the test suite.
912 If you need to lengthen a timeout, then you should either set timeout
913 in one of the config/{target}.exp files, or multiply it by a factor.
914 Setting it to an absolute value is always going to lose for some
916 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
917 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
918 * gdb.base/funcargs.exp: Don't set timeout.
919 * gdb.base/list.exp (test_forward_search): Only use local timeout.
920 * gdb.base/printcmds.exp (test_print_string_constants
921 test_print_array_constants): Don't set timeout.
922 * gdb.base/ptype.exp: Don't set timeout.
923 * gdb.base/recurse.exp: Don't set timeout.
924 * gdb.base/return.exp: Don't set timeout.
925 * gdb.base/watchpoint.exp: Don't set timeout.
926 * gdb.c++/classes.exp (do_tests): Don't set timeout.
927 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
929 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
931 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
933 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
935 * lib/gdb.exp: Disable chill tests for irix5.
937 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
939 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
940 each test pass or fail.
942 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
944 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
947 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
949 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
951 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
953 * config/est.exp: Fix copyright and comments. Remove dead code.
954 Use targetname, serialport and baud variables instead of fixed
956 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
957 * config/cpu32bug.exp: New file to support cpu32bug monitors.
959 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
961 * gdb.base/watchpoint.exp: Don't run
962 test_watchpoint_triggered_in_syscall for sunos.
964 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
966 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
967 they don't seem to exist. Do include stdio.h.
969 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
971 * gdb.base/a1-selftest.exp: Add alpha xfail.
973 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
975 * gdb.base/watchpoint.c (main): Prompt before calling read().
976 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
977 Revise accordingly. Remove cruft about sending "123" several
978 times, until it gets noticed. Clean up the "print buf[0]" stuff
979 so that it passes or fails, and waits for prompts in the usual way.
981 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
983 * gdb.base/recurse.exp: Fix comment.
985 * TODO: Remove item about printing variables in nodebug.exp. Add
986 item about enabling tests which are only run on some targets.
988 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
989 fail, make test names unique, use new gdb_test convention
990 regarding pattern, use gdb_test more, etc.).
992 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
993 fail, make test names unique, etc.).
995 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
997 * gdb.base/nodebug.c: Change return type of top and middle to
999 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1000 are fixed by the recent mdebugread.c changes. Allow `short ()'
1001 as type for top and middle.
1003 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1005 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1006 nearly as I can tell, the whole thing was an accident in Stu's
1007 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1008 to replace a send/expect pair with gdb_test, but ended up only
1009 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1010 of 30 Mar 1995 took care of it, but left this vestigial comment
1011 which I am now nuking.
1013 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1015 * gdb.base/break.exp: Look for different line number for
1016 breakpoint at main depending on usestubs.
1018 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1020 * gdb.base/list.exp: Adjust some alternate expect patterns to
1021 match recent list0.c change. Add alternate expect pattern for
1022 output from `list default lines around main' for optimizing
1025 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1027 * lib/gdb.exp: If nosignals is not set, set it to 0.
1029 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
1031 * config/slite-gdb.exp: Responds to load symbol table prompt.
1032 * gdb.base/break.exp: Adjust line number, fix rerun.
1033 * gdb.base/langs0.c: Add #ifdef usestubs.
1035 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
1037 * gdb.base/list.exp: Adjust line contents after adding new lines in
1038 list0.c. Also fix a syntax error.
1040 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1041 * gdb.base/break.exp: ditto.
1042 * gdb.base/list.exp: ditto.
1043 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1044 * gdb.base/run.c: ditto.
1045 * gdb.base/list0.c: ditto.
1046 * gdb.base/funcargs.c: ditto.
1048 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1050 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1051 $targetname, $serialport and $baud instead of hardwired variables.
1052 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1053 target doesn't support signals.
1055 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
1057 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
1059 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1061 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
1062 Don't rely on the value of an auto variable before it has been
1063 initialized. Use gdb_test more.
1065 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1067 * lib/gdb.exp (default_gdb_version): A version number must start
1068 with a digit, but other than that contains all characters up to
1069 the first whitespace character.
1071 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1073 * gdb.base/commands.exp (breakpoint_command_test): New tests.
1075 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1077 * gdb.c++/*.exp: Warn if executable does not exist. The original
1078 reason for skipping the warning was that configure.in sometimes
1079 intentionally skipped building the executables but the tcl code
1080 had no way of knowing. That (a) was always bogus with respect to
1081 error handling, (b) is no longer true (right now there is no way
1084 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1086 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1088 * gdb.base/list.exp: Add expect patterns for output from
1089 SunPRO compiled executables.
1090 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
1093 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1095 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1096 number (we are already testing that the correct source line text
1099 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1100 that is what is intended, but something needed to be done to get
1101 sunos4 native working again.
1103 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1105 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
1106 apparently went with a (very) old xfail.
1108 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
1110 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
1111 runto_main is a proc in gdb.exp that will do 'step' for target use
1113 * gdb.base/exprs.exp: ditto.
1114 * gdb.base/interrupt.exp: ditto.
1115 * gdb.base/opaque.exp: ditto.
1116 * gdb.base/printcmds.exp: ditto.
1117 * gdb.base/ptype.exp: ditto.
1118 * gdb.base/scope.exp: ditto.
1119 * gdb.base/setvar.exp: ditto.
1120 * gdb.base/signals.exp: ditto.
1121 * gdb.base/twice.exp: ditto.
1122 * gdb.c++/classes.exp: ditto.
1123 * gdb.c++/inherit.exp: ditto.
1124 * gdb.c++/templates.exp: ditto.
1125 * gdb.base/break.exp: no run and hit main for stubs. Change line
1126 numbers for breakpoints and info breakpoint.
1127 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1129 * gdb.base/callfuncs.c: ditto.
1130 * gdb.base/exprs: ditto.
1131 * gdb.base/interrupt.c: ditto.
1132 * gdb.base/opaque0.c: ditto.
1133 * gdb.base/printcmds.c: ditto.
1134 * gdb.base/ptype.c: ditto.
1135 * gdb.base/scope0.c: ditto.
1136 * gdb.base/setvar.c: ditto.
1137 * gdb.base/signals.c: ditto.
1138 * gdb.base/twice.c: ditto.
1139 * gdb.c++/misc.cc: ditto.
1140 * gdb.c++/templates.cc: ditto.
1142 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1144 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1146 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1147 somewhere between `read' and `main.c'. I'm pretty sure the
1148 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1149 and it isn't particularly useful.
1151 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1153 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1155 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1157 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1159 * config/mt-slite: add LIBS and -nostdlib.
1160 * config/slite-gdb.exp: add this new file to support sparclite target.
1162 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1164 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1166 * gdb.base/a2-run.exp: Change argument to istarget from
1167 "*-*-vxworks" to "*-*-vxworks*".
1168 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1170 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1172 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1173 will not runto main but do a 'step' to step out of breakpoint().
1174 * config/mt-slite: add -Dusestubs.
1176 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1178 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1181 * gdb.base/signals.exp: Add test for "handle all print".
1182 * TODO: Remove "handle all print". Also remove item about
1183 checking copyright date (I don't like the idea of a spurious FAIL
1184 based on when we run the tests).
1186 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1187 for SunOS4 (reason for failure not investigated). Remove
1188 redundant test for $binfile.
1190 * gdb.base/nodebug.c (array_index): Call malloc.
1192 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
1194 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
1196 * gdb.base/recurse.exp: Update gdb_test invocation to use new
1197 conventions and slightly simplify the matching regexp.
1199 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1201 * gdb.base/break.exp: Update gdb_test invocation to use new
1204 * lib/gdb.exp: If noargs is not set, set it to 0.
1206 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
1209 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
1211 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1213 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
1214 one argument of type "<non-float parameter>".
1216 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
1218 * config/rom68k.exp: New file to support Motorola IDP board.
1219 * gdb.base/a2-run.exp: Skip this file if noargs is set.
1220 * gdb.base/break.c: Change things around so that this program
1221 doesn't depend upon args. This is necessary to make remote
1222 targets work (in general, they can't take args).
1223 * gdb.base/break.exp: Don't try to send args to program. Don't
1224 expect output. Also, replace lots of code with gdb_test.
1226 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1228 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
1229 printing of '\'' (which is what the comment says we are testing,
1230 even though we were not), not '''.
1231 (test_integer_literals_rejected): Test that printing ''' is an error.
1233 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1234 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
1235 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
1236 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
1237 Use gdb_test not test_print_accept.
1238 * lib/gdb.exp: Remove test_print_accept.
1240 * gdb.base/signals.exp (signal_tests_1): Make pass message
1241 consistent with fail message.
1243 * gdb.base/whatis.exp: Remove xfails for printing char vs.
1244 unsigned char; the bug (PR 1821) is fixed.
1246 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
1248 * gdb.base/scope.exp (test_at_localscopes): Call pass for
1249 successful tests--makes xfailing them work right.
1251 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1253 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
1254 only \r\n, not .*. The test can pass .* as the last thing in
1255 $pattern if that is what it wants. In addition to providing this
1256 flexibility, this change should speed up pattern matching in cases
1257 where the pattern already ended with .* (there were a number of
1258 them). This change also helps catch bad patterns--in the old
1259 scheme the typo "char \*" instead of "char \\*" would pass. Now
1261 * Many .exp files: Update callers.
1263 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
1264 clearer and does not spuriously match multiple ('s. Likewise for
1267 * gdb.base/nodebug.exp: Test ability to call a function and pass
1268 it a string (even with no debugging info).
1270 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
1271 "p '\'", which is the same as "p ''" once tcl gets done with
1272 quoting, to "p '\\'", which I suspect is what is intended (one
1273 backslash gets sent to GDB).
1275 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1277 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1279 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1280 1817) was fixed literally years ago.
1282 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1284 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
1285 test, it causes stepping out of call_after_alloca_subr with
1286 optimizing compilers.
1287 (localvars_in_indirect_call): Consume GDB prompt if `finish'
1290 * gdb.c++/templates.exp: Source templ-info.exp only if
1291 the templates executable exists.
1293 * gdb.c++/misc.cc (class Contains_static_instance,
1294 class Contains_nested_static_instance),
1295 gdb.c++/classes.exp (test_static_members): Test printing of
1296 a class that contains a static instance of the class.
1298 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1300 * gdb.base/langs2.c (cppsub_): Don't prototype.
1301 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
1304 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1306 * lib/gdb.exp (skip_chill_tests): New procedure.
1308 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
1310 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
1312 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
1313 each expect pattern. Cuts runtime from 12 to about 4 seconds.
1315 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1317 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
1319 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
1320 disassemble 8, not 16, instructions for part 4.
1322 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
1323 support the latter anymore.
1325 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
1327 * gdb.base/callfuncs.c: Control use of prototypes based on
1328 NO_PROTOTYPES, not __STDC__.
1329 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
1330 t_float_values2 tests if prototypes in use.
1332 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
1333 t_double_values): When checking differences against DELTA, check
1334 that difference is within the range (-DELTA,DELTA), not just
1337 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
1339 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
1340 'file' command firts, then 'target', then 'load', this is due to gdb
1342 * config/mips-gdb.exp: Fix a couple regular exp bugs.
1344 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
1346 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
1347 FP load/store variants.
1348 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
1350 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1352 * gdb.base/term.exp: Do not give a warning if not native, it is
1353 not an abnormal condition.
1355 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
1357 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
1360 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1362 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
1363 are getting the version number.
1365 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
1366 if not native, it is not an abnormal condition.
1368 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1370 * lib/gdb.exp: Just use "file exists", rather than undocumented
1371 dejagnu procedure "findfile".
1373 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1375 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
1376 (LDFLAGS): Set to -Xlinker -Ur.
1378 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
1379 Removed, these values are set by lib/gdb.exp.
1381 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1383 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1385 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
1386 of replicating gdb startup code.
1388 * config/mt-vxworks (LDFLAGS): Set to -r.
1389 (CFLAGS_FOR_TARGET): Removed.
1391 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
1392 (gdb) and gdb for vxworks uses (vxgdb).
1394 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
1395 executable is not in the tree and host != target, use sed and
1396 program_transform_name to determine the gdb name used by the
1399 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
1400 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1402 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1404 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
1405 floats, chars, and shorts where there are ANSI-style function
1408 * gdb.base/langs.exp, gdb.base/langs*: New test.
1409 * gdb.base/Makefile.in: Build it.
1410 * TODO: Remove item about checking that C names don't get C++
1411 demangling applied; this test tests it.
1413 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1415 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
1416 went with the const70 xfail. The xfail went away a year ago.
1418 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
1420 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
1423 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
1425 * gdb.base/a1-selftest.exp: Don't run on hp300.
1427 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1429 * Makefile.in (site.exp): Set host_alias and target_alias as well
1430 as host_triplet and target_triplet.
1432 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1434 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
1436 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
1437 places as other ecoff systems).
1439 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
1442 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1444 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
1446 * gdb.base/nodebug.exp: Accept "function" in addition to "text
1447 variable and "variable" in addition to "data variable".
1448 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1450 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
1452 * gdb.base/list1.c (long_line): Add additional statement at start
1454 * gdb.base/list.exp (test_forward_search): Update line number to
1455 reflect new statement.
1457 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1459 * gdb.base/signals.exp: Reinitialize searched source directories
1460 after gdb_start call.
1462 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
1464 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
1465 * gdb.stabs/Makefile.in: Likewise.
1467 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
1468 change. Instead split the tests into smaller pieces.
1469 * gdb.disasm/hppa.s: Corresponding changes.
1471 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1473 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1474 Quote ^C when passing it to stty. For some shells ^ is a pipe.
1476 * gdb.base/funcargs.exp: Modify many tests so that every test
1477 either passes or fails. Make some test names unique.
1479 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1481 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1482 Call stty to set interrupt character.
1484 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
1485 for HP assembler versus GNU assembler based on actual behavior of
1486 $(CC), rather than assuming that $(AS) is always the GNU assembler.
1488 * TODO: Suggest a few more stepping tests.
1490 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
1492 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
1493 restart GDB for h8300 after a continue.
1494 (return): Add pattern to match a29k-udi behavior.
1495 * gdb.base/nodebug.exp: Remove obsolete comment.
1496 * gdb.base/regs.exp: New file, testing of register displays.
1497 * gdb.base/return.exp: Fix typo in reference to $objdir.
1498 * gdb.base/whatis.exp: Always start with a fresh GDB.
1500 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1502 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
1503 higher, these tests generate a lot of output.
1505 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1507 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
1508 code following the catch silently ignored some errors; without the
1509 catch they should be thrown like any other tcl error. Also, the
1510 catch used "" instead of {} which meant all the callers who wanted
1511 to include one of the characters "[]$ had to quote it an extra time.
1512 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
1513 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
1514 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
1515 Remove extra quoting.
1517 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
1519 * gdb.base/commands.exp: Make test names unique; every test either
1520 passes or fails. Update some comments.
1522 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
1524 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1526 The following fixes a FAIL caused by the fact that the alpha stabs
1527 configuration didn't use the ".if alpha" code in weird.def.
1528 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
1529 bit pointer, so the 32 bit version works even on the alpha.
1530 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
1531 Remove the stuff which allowed us to have separate versions for
1532 alpha and everything else.
1534 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
1535 regexp which "info func operator\[\](" is supposed to match. Fix
1536 string to send to GDB. Note that GDB still doesn't work right. Add a
1537 new test for "info func .perator\[\](" which GDB does handle correctly.
1539 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
1541 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1543 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
1544 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
1545 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
1546 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
1547 it makes the tests harder to understand and confuses test-o-matic.
1548 The preferred style is that each test provides a PASS or a FAIL,
1549 and has a unique message (e.g. "continue #54" not just "continue")
1550 which is the same for the pass and the fail.
1551 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1552 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
1554 * gdb.base/printcmds.exp: Use test_print_accept. Remove
1555 prt_accept which was basically the same thing. Likewise for
1556 test_print_reject and prt_reject.
1557 * lib/gdb.exp (test_print_reject): Add some more error message
1558 patterns to match from the former printcmds.exp (prt_reject).
1559 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
1560 One defect of the passcount stuff is that some of it failed to
1561 report XPASS where appropriate.
1562 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
1563 stuff before and after arg in expected pattern.
1564 (test_paddr_operator_functions): Re-do test without print_addr_of;
1565 this is the only test which seems to want extra stuff there.
1567 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1569 * gdb.base/nodebug.exp: Update new tests to reflect improved
1570 wording of gdb output.
1572 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
1573 and "ptype" work on variables in files compiled without -g.
1574 Replaces commented out "maint print msymbol" tests.
1576 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1578 * gdb.base/setvar.c (dummy): Call malloc.
1580 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
1581 losing with the irix4 sed.
1583 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
1586 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1588 * TODO: Remove items about corefile.exp testing new exec-file and
1589 backtrace; both are now done. Add items about printing enums.
1591 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1593 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
1594 "get signal $thissig" test fails.
1596 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
1598 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1600 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
1601 compiler warning with dec alpha compiler.
1603 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
1604 extra \n from gdb_test call (this explains why the prompt test
1605 that I removed yesterday was there).
1606 (user_defined_command_test): Remove extra \n and prompt test.
1608 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
1609 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
1611 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
1612 Also remove alpha workaround, which turns out to be because
1615 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
1617 * gdb.base/help.exp: Don't test "help show".
1619 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1621 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
1622 "set print address" is on.
1623 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
1624 pass prompt to gdb_test; gdb_test already looks for the prompt.
1626 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
1628 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
1629 was a vestige of the manual TESTSTRATEGY, and the purpose of it
1630 was to make sure that gdb can read a core file. But (a) the "read
1631 the corefile" part didn't make it to a1-selftest.exp, we just
1632 delete the corefile after creating it, and (b) we test reading
1633 corefiles in corefile.exp anyway. Also, this test left around a
1634 xgdb process on Solaris.
1636 * gdb.base/corefile.exp: Also test backtrace.
1638 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
1640 * gdb.base/commands.exp: Test a simple user defined command with
1641 arguments and if/while statements; verify the full user command is
1642 printed by "show user".
1644 * gdb.base/commands.exp: Test if/while commands as part of a
1645 breakpoint command list; verify they appear in breakpoint
1648 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1650 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
1651 than by dividing by zero.
1653 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
1655 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
1656 performing an inferior call with watchpoints enabled.
1657 * gdb.base/watchpoint.c (main): Delete second unnecessary read
1660 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1662 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
1665 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
1666 Add additional pattern for when "int operator int(void);" appears
1667 in a different order.
1669 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1671 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
1673 * gdb.base/help.exp: Replace most of docstrings for "info signals"
1674 and "signal" with ".*".
1676 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1678 * TODO: Add note about "handle all nostop".
1680 * gdb.base/{sigall.c, sigall.exp}: New test.
1681 * gdb.base/Makefile.in: Add it.
1683 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1685 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
1686 when invoking GDB, suppresses any windowing interface.
1688 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
1690 * config/sim-gdb: New file, simulator testing support.
1692 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
1694 * gdb.base/interrupt.exp: Test calling func1 twice.
1696 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
1698 * gdb.base/list.exp (test_forward_search): Set timeout higher
1699 when we'll be getting lots of output from gdb.
1701 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
1702 "init_malloc" to after the expect statement. Run it if that
1703 regexp is taken, but also for two others which happen if source
1706 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1708 * gdb.base/printcmds.exp: New test, for printing register before
1711 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1713 * gdb.base/list.exp: Correct some alternate expect patterns
1714 to reflect changes in list1.c.
1716 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1718 * TODO: Add item regarding large frames.
1720 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
1722 * TODO: Remove item about enabling return.exp; it
1723 is enabled. Suggest a few more "return" tests.
1725 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1727 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
1730 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1732 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
1733 and pr-5646.o, so "make" is the same as "make all", not "make
1736 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
1738 * gdb.base/list.exp: Adjust expectations to reflect changes in
1740 (test_forward_search): New test proc.
1741 * gdb.base/list1.c (long_line): New function, has long source line.
1743 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
1745 * gdb.base/a1-selftest.exp: Change initial stepping to know about
1746 additional line of code that was added.
1748 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
1750 * gdb.disasm/hppa.s: Break the large branching tests into smaller
1751 tests so as not to overflow expect's input buffers.
1752 * gdb.disasm/hppa.exp: Corresponding changes.
1754 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1756 Beginnings of template debugging tests.
1757 * gdb.c++/templ-info.cc: New file to test for template
1758 debugging capability of the compiler.
1759 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
1761 * gdb.c++/templates.cc: Add explicit template instantiations
1762 to enable compiling with -fno-implicit-templates. Add destructor
1763 and 'value' method to T5 class for template tests.
1764 * gdb.c++/templates.exp: Add testcases for printing of template
1765 types, setting breakpoints on template methods and calling a
1768 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
1770 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
1771 branch target since some assemblers (gas-2.5) may emit a
1772 relocation for the branch instead of resolving it in the
1775 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1777 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
1778 through signal handler.
1780 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1782 * configure.in (*-*-netware): Use config/mt-netware.
1784 * config/mt-netware: New file.
1785 * config/mt-i386-netware: Removed, separate configs for different
1786 netware architectures are no longer needed now that we have
1789 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1791 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
1792 by the recent changes to use ANSI C arithmetic conversions.
1794 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1796 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
1797 bug involving using inferior_pid to figure out whether to select a
1800 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
1802 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
1803 match the current disassembler output.
1805 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
1807 * gdb.fortran/exprs.exp: Expect VOID instead of void.
1808 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
1809 types, expect "int" as type of integer values (for now).
1811 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
1813 * gdb.base/commands.exp: New tests for if/while commands.
1815 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
1817 * lib/gdb.exp (runto): Replace sub-pattern for hex value
1818 by .*, since hex values have different syntax in Chill mode.
1820 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1822 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
1823 linefeed from expect pattern for repeated types with indices > 9.
1825 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
1827 First part of Fortran test suite.
1828 * gdb.fortran: New directory.
1829 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1831 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1833 * gdb.base/default.exp: Update expect pattern for load command
1836 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1838 * configure.in: Change i386 to i[345]86.
1839 * gdb.base/configure.in: Likewise.
1840 * gdb.c++/configure.in: Likewise.
1841 * gdb.chill/configure.in: Likewise.
1843 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
1845 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
1846 patterns, since that is not a valid context for comments.
1848 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
1850 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
1851 repeated types and repeated types with indices > 9.
1853 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
1855 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
1856 2417; old bug has been fixed.
1858 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
1860 * gdb.base/interrupt.exp: When trying to wake up the inferior,
1861 send the newline ourselves instead of assuming gdb_test will do
1862 so when passed an empty input string.
1864 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
1867 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1869 * lib/gdb.exp (gdb_test): Don't send anything if the first
1870 argument is an empty string. This makes cases where we want to
1871 match output that is already in expect's buffers (for example,
1872 matching a breakpoint after gdb_run_cmd has been called) work
1875 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1877 * config/netware.exp: New file.
1879 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1881 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
1882 the -B and -L prefixes so we can find the debugging stub.
1884 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
1885 there and we are using the gcc from the tree.
1887 * gdb.base/types.c: Removed.
1889 * gdb.base/configure.in: Look for makefile fragments in ../config.
1890 Recognize i386-*-netware.
1891 * gdb.c++/configure.in: Likewise.
1893 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1895 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
1896 the correct TCL syntax.
1898 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1900 * gdb.base/opaque.exp: use runto instead of messing around with
1901 breakpoints. Simplify by using gdb_test.
1903 * gdb.base/bitfields.exp: restart between tests on netware targets
1904 because breakpoints aren't relocated after target death. Run
1905 processes to completion.
1907 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1909 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
1911 * Makefile.in: Remove extra tabs that confuse some versions
1912 of "make". Use the newly built gdb to test with by default,
1913 rather than the first one in the tester's search path.
1915 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
1917 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
1919 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
1922 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1924 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
1926 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
1928 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1929 * gdb.base/funcargs.exp: Likewise.
1931 * gdb.base/bitfields.exp: Simplify by using gdb_test.
1932 * gdb.base/funcargs.exp: Likewise.
1934 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
1937 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1939 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
1940 return,signals,twice}.exp: Handle non-existant binaries
1943 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
1944 * gdb.base/Makefile.in: Don't try to generate a core dump, we
1945 might testing a cross development system.
1947 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1949 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
1950 runtest script is relative to ${srcdir}, not ${rootdir}.
1952 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
1954 * gdb.base/signals.exp: Allow for optionality of breakpoint
1957 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1959 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
1961 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1963 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
1964 for size_t definition.
1965 * gdb.c++/templates.cc: Likewise
1967 * config/mt-i386-netware: New file.
1969 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
1972 * gdb.base/Makefile.in: Added support for systems that name core
1973 files by appending "core" to the program name.
1974 * gdb.base/a1-selftest.exp: Likewise.
1976 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1978 * gdb.base/return.exp: Add comment and message for `return double'
1979 test failure on Sparc Solaris.
1981 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
1983 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
1985 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1987 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
1988 from optimizing them away.
1989 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
1990 patterns to include default constructors and assignment operators,
1991 to match gcc versions beyond 2.5.8. Accept any cplus demangling
1992 character in the output of the virtual base pointer.
1994 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1996 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
1997 expression match in print_addr_of to avoid unintented matches.
1998 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
1999 versions up to 2.5.8.
2001 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2003 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2004 included file to run under newer versions of expect.
2005 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2006 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2007 Remove xfail for the virtual table of BDDHookV.
2009 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2011 * lib/gdb.exp (string_to_regexp): Set a default result.
2012 (default_gdb_start): Fix misleading message.
2014 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2016 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2017 Remove all CC, etc definitions.
2018 * config/mt-hpux: New file.
2019 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2020 (CFLAGS, LDFLAGS): Define.
2021 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2023 * Makefile.in (site.exp): Don't insert host_os, etc.
2024 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2025 (distclean): Check existence of subdir.
2026 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2027 * gdb.base/Makefile.in: General cleanup and simplification.
2028 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2029 to build executables. Use default rule to build .o files.
2030 (EXPECT, RUNTEST, CC): Fix relative pathname.
2031 (site.exp): Don't insert host_os, etc.
2032 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2033 and/or SIGUSR1 defined.
2034 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2035 * gdb.c++/Makefile.in: General cleanup and simplification.
2036 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2038 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2040 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
2042 * gdb.base/recurse.exp: Misc changes to get tests running again
2043 after Kung's changes to the watchpoint code.
2044 * gdb.base/watchpoint.exp: Likewise.
2046 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
2048 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2050 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
2052 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2053 * lib/gdb.exp (default_gdb_start): Define.
2054 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
2055 gdb.base/funcargs.exp, gdb.base/opaque.exp,
2056 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
2057 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
2058 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
2059 Don't call gdb_target_udi in between tests.
2061 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2063 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
2064 (which was basically just a local version of the same thing). In
2065 addition to avoiding duplication, gdb_test_exact is faster.
2066 * lib/gdb.exp (gdb_test_exact): Fix typo.
2068 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
2069 don't give an error.
2071 * gdb.base/term.exp: Call delete_breakpoints before starting.
2073 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
2076 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2078 Reorganization of the GDB Test Suite.
2080 * gdb.base: New directory, contains all the basic tests.
2081 * gdb.c++: New directory, tests specific to C++.
2082 * gdb.chill: New directory, tests specific to Chill.
2083 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
2084 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
2085 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
2086 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
2087 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
2089 * */gdbme.*: Rename to match appropriate expect scripts.
2090 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
2091 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
2092 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
2093 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
2094 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2095 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2096 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2097 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2098 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2099 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2100 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2101 gdb.c++/virtfunc.cc: New names of C++ files.
2102 * gdb.chill/chillvars.ch: New name of Chill file.
2103 * gdb.base/configure.in, gdb.c++/configure.in,
2104 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
2105 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2106 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
2107 * configure.in (configdirs): Update to reflect directory changes.
2108 (target_abbrev): No longer define for any configuration.
2109 * Makefile.in: Cosmetic improvements to header comments.
2111 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
2113 Various changes to gdb.t31:
2115 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2116 * gdbme.ch: Make all key-words and predefineds be upper-case.
2117 * chillvars.exp: Expect key-words and predefinds in upper-case.
2119 * chillvars.exp: Use gdb_test_exact many places.
2120 Change expected output for arrays (which now includes index labels).
2122 * pr-5020.exp, gdme.ch (module PR_5020):
2123 New test, for PR-5020.
2125 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
2127 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2128 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2130 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
2132 * Makefile.in: Fix bit-rot in definitions of CHILL,
2133 CHILL_FOR_TARGET and Chill_LIB.
2134 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2135 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2136 CHILL, and CHILL_LIB.
2138 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
2140 * Revert the previous changes. Please see Rob's directory
2141 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2143 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2145 * Makefile.in, configure.in, config/mips-gdb.exp,
2146 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2147 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2148 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2149 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2150 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2151 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2152 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2153 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2154 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2155 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2156 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2157 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2158 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2159 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2160 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2163 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
2165 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2166 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2167 Rob's new testing fragments.
2169 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2171 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2172 lib/gdb.exp: Replace error proc calls with perror.
2174 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2176 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2177 version also, match on casted version strings, and match on
2178 gdb startup case where the line numbers might be messed up.
2180 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
2182 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2183 (CFLAGS): Delete it from here.
2185 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
2187 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2189 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2191 * Makefile.in (RUNTEST): Default to just "runtest".
2193 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2195 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
2196 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
2197 the code has been restructured.
2199 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2201 * gdb.t00/default.exp (set write): Allow any number of \r and/or
2202 \n, not just one of each.
2204 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
2205 /bin/cc gives a warning if you do.
2207 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
2209 * gdb.t24/demangle.exp: change expect pattern of
2210 __t10ListS_link1ZUiRCUiPT0
2212 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2214 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
2215 on local variables in recursive functions.
2217 * gdb.t07/Makefile.in: Build the new test.
2219 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2221 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
2222 directly. Instead compare the return values from actual calls.
2224 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
2226 * Makefile.in (check): Set TCL_LIBRARY for runtest.
2228 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2230 * From Peter Schauer with minor modifications.
2231 * gdb.t15/return.exp (return_tests): Handle targets where "return"
2232 stops in mid-line in the caller. Add xfail for returning a float
2233 value on X86 targets.
2235 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2237 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
2238 to avoid expect lossage.
2239 (fmem_LRbug_tests): Likewise.
2240 * gdb.disasm/hppa.s: Corresponding changes.
2242 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
2243 conditions to work with latest dejagnu/expect.
2245 * gdb.t15/funcargs.exp (finish from indirect call): No longer
2246 expected to fail on the PA.
2247 (backtrace in call with trampolines): Explicitly require main
2248 to be frame #1 (no trampolines should show up in backtrace).
2250 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
2252 * gdb.t06/break.exp: Likewise.
2253 * gdb.t07/watchpoint.exp: Likewise.
2254 * gdb.t13/bitfields.exp: Likewise.
2255 * gdb.t15/{funcargs,return}.exp: Likewise.
2256 * gdb.stabs/weird.exp: Likewise.
2257 * config/{mips,udi}-gdb.exp: Likewise.
2259 * hppa.sed: Enclose comments within a sed command to avoid
2260 losing with the old OSF1 sed.
2262 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2264 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
2266 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
2267 * gdb.t15/funcargs.exp: Conditionally step again to really
2268 finish from marker_call_with_trampolines. Handle the case where
2269 the first step from within call_with_trampolines already steps
2271 * gdb.t15/gdbme.c: Add comment to closing brace of
2272 call_with_trampolines for funcargs.exp.
2274 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2276 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2279 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2281 * gdb.t07/gdbme.c: More code for watchpoint testing.
2283 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
2284 "Hardware watchpoint" throughout file.
2285 (test_watchpoint_triggered_in_syscall): New test.
2286 (test_complex_watchpoint): New test.
2288 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2290 * gdbme.c (call_with_trampolines): New function to try and step
2291 into. Tests trampoline problems on the PA.
2293 * funcargs.exp (localvars_in_indirect_call): No longer expect
2294 stepping into indirect call to fail on PAs.
2295 (test_stepping_over_trampolines): New test.
2297 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2299 * TODO: Add suggestions for static member function tests, and
2302 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2304 * TODO: Add suggestions for "p/a" tests.
2306 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
2307 (default_gdb_exit): Replace all the hair with sending "quit" to
2308 the process with a simple close.
2310 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2312 * TODO: Add suggestions for shared library tests.
2314 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2316 * TODO: Add suggestions for x/s tests.
2318 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2320 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
2321 "enable once", and "enable breakpoints once" with ".*".
2323 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2325 * TODO: Add suggestions about structure passing tests.
2327 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2329 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
2330 the primary1 test, use work around if __GNUC__ < 2.
2331 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
2332 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
2333 Test for bad output rather than waiting for timeout. Issue
2334 second continue only if first continue failed.
2336 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2338 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
2339 operator[] test with gdb_test because the old code didn't seem to
2340 be getting the quoting right with the new dejagnu.
2342 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
2344 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
2346 * Makefile.in: Use a fresh expect if there is one, use runtest
2347 from the src tree if there is one.
2349 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2351 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
2352 next over recursive call. Revise the tests from that point on
2353 (which had been skipped) to match GDB's actual (correct) output.
2355 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
2356 with next over a breakpoint whose condition is false.
2358 * gdb.t00/help.exp: Comment out "help set print" tests just like
2359 (and for same reason as) "help set" test.
2361 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2363 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
2364 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
2366 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2368 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
2369 necessary gdb_target_udi.
2371 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
2373 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
2374 1838 and 2417; they are fixed.
2376 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
2377 gdb.t03/ptype.exp (ptype structure, ptype union):
2378 Remove xfails; the test is looser than when the xfails were added.
2380 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
2381 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
2383 * gdb.t01/run.exp: Only run shell test if isnative.
2385 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
2386 since "run" automatically loads if necessary. Call gdb_target_udi
2387 after the "file" since "file" kills any execution target.
2389 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
2390 GDB. GDB doesn't work that way (not anymore at least) on UDI.
2391 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
2394 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2396 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
2398 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
2400 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2402 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
2403 properly quoting regexps. This makes the second argument to
2404 demangle a fixed string, which matches the callers, instead of a
2405 shell-style pattern which is what the previous implementation
2406 used. Update some of the callers.
2408 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2410 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
2411 (comib_nullified_tests): Fix typo.
2412 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
2413 strings. No longer expected to fail.
2415 * gdb.disasm/hppa.s (addib_tests): Fix typo.
2416 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
2417 strings. No longer expected to fail.
2419 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
2420 string. No longer expected to fail.
2422 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2424 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
2425 No longer expected to fail.
2427 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
2428 string. No longer expected to fail.
2430 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2432 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
2433 only in the names (I probably got most of them). I was even
2434 generous with some which differed in underscores in names, and
2435 probably missed a few, and I *still* was able to remove almost a
2436 third of the file with almost no impact on testsuite coverage.
2438 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2440 * gdb.t00/default.exp: Match udi_attach error message as well as
2441 the one from child_attach.
2443 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
2445 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
2447 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
2448 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
2450 * Move test with enums and partial symbols back to
2451 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
2452 Reverts the change of 26 May 93. Per today's change to
2453 stabs.texinfo, the behavior that weird.exp was expecting was
2454 unreasonable; what is important is that the compiler+gdb get
2455 things right, which happens with a recent gcc. Also fix the test
2456 to deal with native compilers which put out the stab gdb can't
2459 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2461 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
2462 in the names. The main thing these accomplish is to slow things down.
2463 Many more such duplicates surely remain.
2465 * gdb.t00/help.exp: Comment out "help support" test just like
2466 (and for same reason as) "help set" test.
2468 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
2470 * gdb.t06/break.exp: Remove setup_xfails for
2471 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
2472 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
2473 about known bug in gcc to include up through 2.5.8.
2474 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
2476 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
2477 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
2478 with latest gcc and gdb.
2479 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
2482 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2484 * configure.in (hppa*-*-*): Also configure and build stabs-only
2487 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2489 * gdb.t10/hppa.mt: A makefile fragment for the PA.
2490 * gdb.t10/configure.in (hppa*-*-*): Use it.
2492 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2494 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
2496 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2498 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
2499 versions prior to 1.13.5.
2501 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2503 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
2504 the prompt is at the start of a line.
2506 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2508 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
2509 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
2510 in the copr tests now.
2511 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
2512 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
2515 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
2517 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
2518 gdb.t31/chillvars.exp, lib/gdb.exp:
2519 Tweak to run under either version of expect.
2520 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
2521 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
2522 * gdb.t11/list.exp: Remove extraneous whitespace.
2524 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2526 * gdb.t16/printcmds.exp (test_print_strings): Accept
2527 "(unsigned char *) " before the string.
2529 * TODO: Add notes about printing of fancy types and GDB expressions.
2531 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
2533 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
2534 * gdb.t06/configure.in: Don't try to compile signals test program
2535 if doing mips-idt-ecoff.
2537 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
2539 * Most .exp files: Tweak to run under either version of expect.
2541 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2543 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
2544 xfails; I'm not sure why they are failing, but not because of PR 1806.
2546 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
2548 * config/unix-gdb.exp: Remove gdb_unload cause it's already
2549 defined in lib/gdb.exp.
2551 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2553 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
2554 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
2555 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
2556 have to be typeless.
2558 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2560 * TODO: Add suggestion for copyright year test.
2562 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
2564 * configure.in (*-*-lynxos*): Add stabs tests.
2566 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2568 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
2569 so insert a tab before any assembler directive in column zero.
2571 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
2573 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
2575 (fpu_short_memory_tests): Likewise.
2577 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2579 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
2580 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
2581 .stabs directives in comments.
2583 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2585 * TODO: New file, describing tests we could write.
2586 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
2588 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2590 * gdb.t06/signals.exp: Add kludge to force re-sync.
2592 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
2593 to xgdb instead of gdb, get out of gdb.
2595 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
2597 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
2600 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2602 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
2603 * gdb.stabs/configure.in (hppa*-*-*): Use it.
2604 * gdb.stabs/hppa.sed: New sed script for the PA.
2606 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2608 * gdb.stabs: Re-write weird.def and configuration to use sed
2609 instead of cpp. sed is portable and POSIX; cpp is neither.
2611 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2613 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
2615 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2617 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
2619 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2621 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
2623 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
2624 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
2626 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2628 * lib/gdb.exp: Comment out code which depends on non-existent
2629 `transform' procedure.
2631 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
2633 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
2634 * lib/gdb.exp: Transform tool name.
2635 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
2636 1.1's new error handling system.
2638 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2640 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
2642 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2644 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
2645 They made pattern matching so slow that timeouts happened on
2646 heavily loaded systems. Now any output from "show print" which
2647 gets us back to the GDB prompt is a PASS.
2649 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
2651 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
2653 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2655 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
2657 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
2658 It is not from PR 3220.
2660 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2662 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
2663 just started failing because they depended on the order the
2664 subcommands are presented, or exact docstring text. This kind of
2665 test is a pain and has minimal benefit.
2667 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2669 * gdb.t09/corefile.exp: At end of test, use "core" command with
2672 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
2674 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
2675 17}/Makefile.in: Make it possible to run the testsuite with Sun
2676 make and CC = cross gcc by adding explicit build rules for .o
2679 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2681 * gdb.t15/funcargs.exp: Don't put comments on same line as
2682 setup_xfail (@#$*%& tcl braindamage!).
2684 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2686 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
2688 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
2690 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
2691 * gdb.t20/inherit.exp: remove three dumplicate entries.
2693 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2695 * gdb.t06/break.exp: For "next over recursive call", fail on any
2696 incorrect output, not just on "factorial (value=2)".
2698 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2700 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
2701 working now. Add an xfail if accesing a bss variable causes
2702 a memory error if the target is not yet run.
2704 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2706 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
2707 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
2708 name of __st* demangling (2 strings). Did Kung really get the
2709 more than 95 others right without testing them?
2711 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
2713 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
2715 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
2717 * configure.in (configdirs): Add gdb.disasm
2718 * gdb.disasm: New directory for GDB disassembler tests.
2719 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
2721 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2723 * gdb.t00/help.exp: Don't test "help set".
2725 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
2726 from within expect statements. None of these happen anymore and
2727 they cause regressions to be silently unnoticed.
2729 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
2730 messages) about known failures with gcc cygnus-2.4.5-930417.
2732 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
2733 comp-info.exp so it gets built if it doesn't exist.
2735 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
2736 it is no longer used.
2737 * gdb.t13/comp-info.c: Removed.
2739 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2741 * gdb.t06/signals.exp: Add xfail for sun3.
2743 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2745 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
2746 relevant because ^C doesn't get sent but failure can be reproduced
2749 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2751 * gdb.stabs/alpha.mt: New configuration file for alpha.
2752 * gdb.stabs/configure.in: Use it.
2753 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
2754 sharing with alpha.mt, redefine long to word via preprocessor.
2755 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
2757 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
2759 * gdb.t00/teststrategy.exp: Change expect string so that we
2760 consume the `(xgdb)' from the command echo and from the gdb prompt.
2761 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
2762 gdb currently compares all values as long, so this failure probably
2763 applies to any configuration where LONGEST is bigger than a target int.
2764 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
2766 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
2767 to handle opaque pointers, gcc is.
2768 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
2769 as first argument. Include <sys/types.h> and change all operator
2770 new definitions to use size_t.
2771 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
2772 now that we use size_t.
2774 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2776 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
2777 a long or float array cast all array members to the same type.
2778 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
2780 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
2782 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
2784 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2786 * gdb.t24 (demangle.exp): Constructors of templates have names like
2787 vector<int>::vector(int) not vector<int>::vector<int>(int). See
2788 section 14.6 of the ARM.
2790 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
2791 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
2792 accomplish little and slow down the testsuite.
2794 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
2795 Accept spaces various places.
2797 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2799 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
2800 with watchpoint enabled.
2802 * Makefile.in: Remove definition of CC and remove the second
2803 definition of CXX (the "CXX = gcc" one remains). These definitions
2804 were causing backquotes to be expanded within backquotes, which
2807 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
2809 * gdb.t17/callfuncs.exp: Add "return 0" to end.
2811 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2813 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
2814 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
2815 by mips cc and contains no stabs entries.
2817 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
2819 * config/vx-gdb.exp: Use fake device to load files rather than
2821 * lib/gdb.exp: New proc to do "file" command.
2822 * config/unix-gdb.exp: Use new "file" proc.
2824 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2826 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
2827 Rework board rebooting slightly.
2828 (gdb_exit): Don't exit from the remote shell; there isn't one.
2829 * gdb.stabs/weird.exp: If a program is being debugged already,
2831 * gdb.t04/setvar.exp: Stop and restart gdb.
2832 * gdb.t05/expr.exp: Likewise.
2833 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
2834 restart gdb and reload the program.
2835 * gdb.t08/opaque.exp: Likewise.
2836 * gdb.t12/scope.exp: Likewise.
2837 * gdb.t13/bitfields.exp: Likewise.
2838 * gdb.t15/funcargs.exp: Likewise.
2839 * gdb.t20/classes.exp: Likewise.
2840 * gdb.t03/ptype.exp: Increase timeout.
2841 * gdb.t16/printcmds.exp (test_print_string_constants,
2842 test_print_array_constants): Likewise.
2843 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
2844 * gdb.t20/classes.exp (do_tests): Likewise.
2845 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
2847 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
2849 * gdb.stabs: Renamed *wierd* to *weird*.
2851 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2853 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
2854 for timeout. Add "known gcc 2.4.5 bug" to failure message.
2856 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2858 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
2859 (do_tests): Remove xfail for whatis on one_var and two_var.
2861 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
2863 * Makefile.in: Made cross building work better by adding
2864 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
2866 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2868 * gdb.t15/{return.c,return.exp,Makefile.in}:
2869 New test, currently commented out.
2871 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
2873 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
2874 still running and removes the leftover named socket so GDb can do
2877 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
2879 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
2881 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
2882 cross testing works better with "make check"
2883 * config/unix-gdb: Use default procedures for exit and version.
2884 * config/vx-gdb.exp: Cleaned up and massaged back to working order
2885 with the newest VxWorks.
2887 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2889 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
2892 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
2893 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
2895 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
2897 * config/unix-gdb.exp: Remove this version of gdb_exit
2898 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
2899 Rob says he'll look at it when he gets back to testing boards.
2901 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
2903 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
2904 an expected fail for certain ptype commands.
2906 * gdb.t20/classes.exp: Update expected results of "ptype class
2907 Base1" to account for the constructor that now appears in the type.
2909 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
2911 * configure.in (configdirs): Restore gdb.t04, which mysteriously
2912 disappeared from list.
2913 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
2914 "alldone" proc with call to cleanup and exit.
2915 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
2916 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
2917 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
2918 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
2919 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
2920 "alldone" proc with simple returns that suppress remaining
2921 tests. The alldone proc went away many months ago.
2923 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2925 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
2927 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
2929 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2931 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
2932 as vax gdb will display them.
2934 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2936 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
2939 * scope.exp: Change "bad value for localval" messages so each one
2942 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
2943 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
2945 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
2947 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2949 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
2950 doesn't exist (due to optimization).
2952 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2954 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
2955 contains \r because the filename is long.
2957 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
2958 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
2960 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2962 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
2963 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
2965 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
2967 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
2969 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
2971 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
2973 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
2974 to match does not match the passing case but still matches the
2977 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2979 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
2981 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
2983 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
2984 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
2985 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
2986 Remove various versions of gdb_exit.
2987 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
2989 * config/unix-gdb.exp: gdb_exit remains here, and should override
2990 the generic version, since it's doing a lot of wierd stuff that
2991 the other versions aren't. FIXME, fold it in, or abandon this
2994 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2996 * gdb.t24/demangle.exp: Add tests for PR 3220.
2998 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3000 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3002 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3004 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3005 "i386-*-*". Works for i486 as well.
3007 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3008 bug, and expand domain of xfail to all SVR4 systems, since the
3009 actual problem is likely to be in generic SVR4 /proc support.
3011 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3013 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3015 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3017 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3018 xfails for other systems. Match a missing 'Continuing.' as an
3019 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3021 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3022 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3023 Only issue warning for missing executables if -all option is used.
3025 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3026 file if -all option is used. It's like an unpredictable XFAIL.
3028 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3030 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3031 for dynamically linked binaries.
3033 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3035 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3037 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3038 to state that this is a known bug in old versions of g++.
3040 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3042 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3043 while waiting for `Continuing'.
3045 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
3047 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3048 in text, data, and bss.
3049 * gdb.t10/nodebug.c: Add local and global test variables for
3050 initialized and uninitialized data.
3052 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3054 * config/unix-gdb.exp (gdb_exit): Add "wait".
3056 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3058 * gdb.t06/signals.exp: xfail the continue from the handler for all
3061 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
3062 function with watchpoints enabled, the i386 call dummy starts with
3065 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
3066 386 bsd names its corefiles.
3068 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
3070 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
3071 compilers don't grok it.
3072 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
3073 with small octal ints rather than character constants, which
3074 are signed and might not fit if first promoted to int.
3076 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
3078 * gdb.t09/Makefile.in (clean): Remove corefile.
3080 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3082 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
3084 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3085 and Jim Kingdon (kingdon@cygnus.com)
3087 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
3088 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
3089 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
3091 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3093 * gdb.t17/interrupt.exp: Add xfail for hppa.
3095 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3097 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3098 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3099 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3100 to determine signed-ness of bitfields and use the result to setup
3102 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
3103 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3104 call line is reached if necessary.
3106 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3108 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
3110 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3112 * gdb.t06/break.exp: Also test `clear' command.
3114 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3116 * gdb.t00/teststrategy.exp: Remove extra quote.
3118 * gdb.t07/watchpoint.exp: Change xfail for calling function with
3119 watchpoint enabled to be for all non-68k machines.
3121 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3123 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3125 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3126 targets use aout.mt instead of ecoff.mt as gas understands
3127 standard aout format.
3129 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3131 * lib/gdb.exp (runto): Don't insist that function we are running to
3132 was compiled with -g.
3134 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3136 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3137 to get back into the read system call.
3138 Accept leading newline in case where we woke it up.
3140 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3142 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3143 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3144 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3145 enable ecoff configuration.
3147 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3149 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3151 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3153 * gdb.t16/printcmds.exp: Add another printf test.
3155 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3157 * configure.in: If configured -with-stabs on any target, add
3158 stabsdirs to configdirs.
3160 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3162 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3163 fun" so pattern does not match the command itself.
3165 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3167 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3169 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3171 * gdb.t17/interrupt.exp: Test for more things.
3173 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3175 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3176 compiler arranges the code and line numbers.
3178 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3180 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3182 * gdb.t00/help.exp: Increase expect input buffer size.
3184 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3186 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3188 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3190 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3192 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
3193 [0-9]*, not just [0-9].
3195 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3197 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
3199 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
3201 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3203 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
3205 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3207 * gdb.t06/signals.c: Add xfails for sun3.
3209 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
3211 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
3212 test_stepping tests.
3214 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3216 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
3218 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
3220 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
3221 rather than actually putting it through cpp twice.
3223 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
3225 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
3227 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
3230 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3232 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
3234 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
3235 C++ features prints as "struct", make it a pass, not an xfail.
3237 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3239 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
3240 Don't require VA to print as "class" rather than "struct".
3242 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
3244 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
3246 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3248 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
3250 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3252 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
3255 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3257 * gdb.t16/printcmds.exp: Add printf tests.
3259 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
3261 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
3263 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
3265 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
3266 pass counts, to counteract any existing or future setup_xfails.
3268 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3270 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
3271 {BEGIN,END}_COMMON for common block instead of STAB.
3272 * gdb.stabs/wierd.exp: Add xfail for rs6000.
3274 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
3275 intp_var should be N_GSYM not N_LSYM.
3276 wierd-aout.S: Use a label for the value of the N_SO.
3277 wierd.def: Remove all backslashes.
3278 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
3280 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3282 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
3283 get the expected next to inheritance3.
3285 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3287 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
3288 now that gcc-2.4 gets it right.
3290 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3292 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
3294 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
3295 generating comp-info.exp which works for cross-compilation.
3297 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
3299 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
3302 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
3304 * gdb.t01/run.exp: Start with a fresh gdb.
3305 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
3308 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
3310 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
3311 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
3312 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
3313 Makefile.in (distclean, realclean): Remove gdbme.c from list of
3316 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
3318 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
3319 test cases from bug reports.
3321 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
3323 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
3324 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
3325 avoid spurious xfails.
3326 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
3327 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
3328 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
3330 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
3332 * gdb.t00/teststrategy.exp: Rework to provide more useful
3333 description of each test, fix problem with systems that define
3334 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
3335 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
3336 results for "next over recursive call" so timeouts aren't taken
3339 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
3341 * gdb.t12/scope.exp: Test printing of variables before run.
3343 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
3344 printed in wrong order due to sorting.
3346 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
3348 * gdb.t00/teststrategy.exp: Fix expected results for printing
3349 user entered string constant. Is array of char, prints with no
3352 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
3354 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
3355 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
3356 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
3357 of struct of char arrays.
3358 * gdb.t00/radix.exp: New tests for radix commands.
3360 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
3362 * gdb.t16/printcmd.exp: Print a variable before running program
3363 (with xfail for AIX).
3365 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
3367 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
3369 * gdb.t16/printcmd.exp: Don't print variables before running program.
3371 * gdb.t06/break.exp: Don't require envp argument to main.
3373 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
3375 * gdb.t02/whatis.exp, gdb.t11/list.exp:
3376 Add xfails for rs6000.
3378 * gdb.t02/whatis.exp: Change other tests not to re-test something
3381 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
3382 each type used has a variable of that type.
3384 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3386 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
3388 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3390 * configure.in: change srctrigger to be a file, not a directory
3392 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
3394 * configure.in (mips-idt-ecoff*): Added trailing '*'.
3396 * gdb.t11/list.exp: Fixed a couple of typos.
3398 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
3400 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
3401 is fixed and PR is closed.
3402 * gdb.t16 (gdbme.c): Add simple test string variable.
3403 * gdb.t16 (printcmds.exp): Add tests with simple test string
3404 variable, primarily for boundaries on "set print elements".
3406 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
3408 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
3409 Make leading 0's optional and don't expect a tab in the middle
3412 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
3414 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
3415 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
3416 don't end command passed to gdb_test with newline.
3418 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
3419 signed keyword away, don't expect signed bitfields to be signed.
3421 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
3422 printing with only as many 1's as are in the field as well as printing
3423 with 32 1's (see comment).
3425 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
3427 * gdb.t00/default.exp: Start with a fresh gdb.
3428 * configure.in (configdirs): Remove gdb.t31 until the chill
3429 compiler works again. It no longer is able to find chillrt0
3430 since it isn't in libchill.a anymore.
3431 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
3432 wierd.o, make more modular.
3433 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
3434 spurious newlines that caused problems.
3436 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3438 * Move test with enums and partial symbols from gdb.t03/ptype.exp
3439 to gdb.stabs/wierd.exp since GCC has worked around the bug.
3440 gdb.stabs/wierd.{exp,def}: Many new tests.
3442 * gdb.t00/default.exp: update info line for new message.
3444 * gdb.t02/{whatis.exp,gdbme.c}:
3445 Test that "char *" doesn't print as "caddr_t".
3447 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3449 * gdb.t00/help.exp: Use .* in place of some help messages which
3451 gdb.t00/default.exp: Update "info frame" test for new message.
3452 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
3455 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3457 * gdb.t03/{gdbme.c,ptype.exp}:
3458 Add tests for typedef'd struct and union without tags.
3459 Also check "whatis" on a variable of a typedef'd enum without a tag.
3461 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
3462 PRMS 1823; the bug still exists but isn't reproduced by this test
3463 anymore), and remove rs6000 XFAIL (the bug is fixed).
3465 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
3466 duplicated from whatis.exp. For those that are left, accept
3467 "long", "long int", or "int" for long variables (whatis.exp already
3468 has an XFAIL for "int", so no need to fail it here).
3470 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
3471 Deal with GCC's names for types now that GDB uses the compiler's names.
3473 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
3474 setup_xfail's for sunos4. If we #defined the signed keyword away,
3475 don't expect GDB to know that char it is signed.
3477 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
3479 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
3481 * configure.in (configdirs): Add gdb.t24 for C++ tests that
3482 should work on any system, regardless of debugging format.
3483 * gdb.t21/demangle.exp: Move to gdb.t24.
3484 * gdb.t24/demangle.exp: Move from gdb.t21.
3485 * gdb.t24/{Makefile.in, configure.in}: New files.
3487 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3489 * configure.in: Do gdb.stabs and C++ tests only for stabs.
3490 * gdb.stabs: New directory.
3492 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3494 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
3495 not just "Quit anyway?".
3497 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
3499 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
3500 that all setup_xfails are immediately followed by clear_xfails.
3502 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
3504 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
3505 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
3506 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
3507 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
3508 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
3509 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3510 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3511 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
3512 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
3513 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
3514 gdb.t31/chillvars.exp, lib/gdb.exp:
3515 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
3516 bug-gdb@prep.ai.mit.edu.
3518 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
3520 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
3521 with 0.0, not integer 0.
3523 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
3525 * gdb.t06/break.exp: Update for "Kill the program" message change.
3527 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
3529 * Makefile.in (GDBFLAGS): Set to -nx.
3530 * Makefile.in (site.exp): Use GDBFLAGS.
3532 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3534 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
3536 (check): depend on just-check.
3537 (just-check): added so that tests can be run without a noop
3540 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3542 Switch to using configure's configdirs.
3543 * Makefile.in (Makefile): add configure.in dependency.
3544 (SUBDIRS): removed redundant assignment.
3545 * configure.in: switch subdirs assignment to configdirs.
3546 * gdb.t*/configure.in: new files.
3548 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
3550 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
3553 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
3555 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
3556 in explicit rules. Apparently this is not supported by some makes.
3558 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
3560 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
3562 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3564 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
3567 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
3569 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
3571 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
3573 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
3574 watchpoint problem that is now fixed.
3575 * gdb.t30/chexp.exp: Remove setup_xfail for printing
3576 uninitialized convenience variables.
3577 * gdb.t31/chillvars.exp: Fix expected patterns for printing
3580 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3582 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
3583 which causes expect to get out of sync with gdb on long output
3585 * gdb.t09/corefile.exp: Make expected pattern for core file
3586 failing signal and frame output format less sun specific.
3588 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
3590 * gdb.t31/chillvars.exp: Add and remove initial dummy
3591 breakpoint, so that symbol table is forced in.
3592 (Needed at least on Sunos4, though it seems not SVR4.)
3593 * gdb.t31/chillvars.exp: Update for changed output format.
3595 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
3597 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
3599 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
3601 * Makefile.in: Added --srcdir when invoking runtest, removed the
3602 need for a local config file. (optional now)
3604 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
3606 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
3607 failure count used to force early termination. Add some more
3608 expected failures for gnu style demangling.
3610 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3612 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
3613 pmi variable from gdb.t20/gdbme to get optimized away.
3614 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
3615 Check for written corefile upon timeout _and_ eof.
3617 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3619 * config/unix-gdb.exp: Add missing return 0.
3621 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3623 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
3626 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
3628 * configure.in (subdirs): Put back gdb.t17 which mysteriously
3631 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
3633 * gdb.t10/crossload.exp: Disable the i860-elf test until such
3634 time as i860 support works.
3636 * gdb.t15/funcargs.exp: Fix expected outputs to include
3637 "backtrace 100\r" rather than just "backtrace\r", to match last
3640 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
3642 * config/udi-gdb.exp (gdb_exit): Remove close command.
3643 (gdb_target_udi): New procedure to set the UDI target.
3644 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
3645 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
3646 Added waits for prompts after several question responses. Added
3647 some more responses used by a29k-amd-udi-gdb.
3648 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
3649 pass different arguments, restart UDI connection after program
3651 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
3652 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3653 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
3654 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
3655 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
3656 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
3657 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3658 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
3659 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
3660 after program completion.
3661 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
3662 compiled with a SELECT_VECS setting.
3663 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
3666 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
3667 Added checks for COFF results, and made them expected failures for
3668 all targets. It would be better to make them expected failures
3669 for COFF targets only.
3671 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3673 * Makefile.in: add null dvi target, don't bother to recurse
3674 through test directories for info and install-info; rename
3675 $(datadir) to be dejagnu instead of deja-gnu
3677 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
3679 * gdb.t31/gdbme.ch: Re-enable code that previously caused
3680 compiler to coredump.
3681 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
3684 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
3686 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
3688 * gdb.t31/chillvars.exp: Comment out tests that depend on that
3691 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
3693 * gdb.t03/ptype.exp: tests for return code from gdb_test.
3694 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
3695 which in a shell. Deletes xgdb when done.
3696 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
3697 Tests the return from the "set height" or "set width" commands.
3698 Added a few return codes where needed.
3700 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
3702 * Makefile.in (SUBDIRS): Add gdb.t17.
3703 * configure.in (subdirs): Add gdb.t17.
3704 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
3705 files to test gdb's calling of functions in the inferior with
3706 the correct arguments and gdb's ability to retrieve any
3709 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
3711 * config/unix-gdb.exp (gdb_exit): Remove close commands that
3712 may be called after gdb goes away. Previous versions of expect
3713 needed these to avoid file descriptor leaks, but they cause
3714 errors with the current revision of expect.
3715 * gdb.t00/gdbvars.exp: Use -re on expected output after
3716 setting sevenbit-strings.
3717 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
3718 to set sevenbit-strings consistent across tests.
3719 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
3720 set sevenbit-strings consistent across tests.
3722 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
3724 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
3725 expected output to match current "expect" expectations.
3727 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
3729 * gdb.t00/default.exp: Change expected output for default "source"
3730 command, to match new gdb behavior which requires a filename to
3733 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
3735 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
3736 expected fail for i486-*-* that misses the marker2 function.
3737 * gdb.t10/crossload.exp (bfddefault): Allow successful
3738 recognition of a format to pass even if no symbols are found.
3739 Explicitly catch failures where the format is not recognized
3740 or is ambiguous, and add the reason to the fail message.
3741 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
3742 the cause is and invalid target and add reason to failure message.
3743 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
3744 elf32-i386, elf32-sparc, and elf32-i860.
3745 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
3746 Set up expected failure for 'filename'::variable scope resolution,
3747 which is now apparently broken on all targets.
3748 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
3749 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
3750 gdb.t23/templates.exp: Change failure for missing binfile into
3752 gdb.t21/demangle.exp: Change all cfront references to 'arm'
3755 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
3757 * gdb.t00/default.exp: Add expected output for default "source"
3758 command, to match new gdb behavior.
3759 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
3761 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
3763 * config/*-gdb.exp: returns an error, rather than exiting on
3766 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
3768 * gdb.t03/gdbme.c: Add pointer to struct variable.
3769 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
3770 referencing struct members.
3772 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
3774 * configure.in (mips-idt-ecoff): New target.
3775 * config/mips-gdb.exp: New file for remote board using MIPS remote
3778 * Redid configuration scheme. Removed gdb.t*/configure.in.
3779 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
3780 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
3781 distclean targets. Built executables via .o files. Adjusted
3782 tests to account for source files in $(srcdir) rather than
3784 * lib/gdb.exp (runto): Don't expect () after the function name,
3785 because it may have arguments.
3787 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
3789 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
3790 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
3791 expected failures for mips-idt-* and mips-sgi-*.
3792 * gdb.t00/default.exp (attach): Kill process if requested.
3793 * gdb.t00/help.exp (help target core, help target): Accept a gdb
3794 that does not read core files.
3795 * gdb.t01/run.exp: Removed checks for exit status code.
3796 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
3798 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
3799 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
3800 appropriate, rather than doing it by hand.
3801 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
3803 * gdb.t10/crossload.exp: Kill existing program if needed.
3804 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
3805 appropriate, rather than doing it by hand. Always increase
3806 timeout for this test, not just for VxWorks.
3808 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
3810 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
3811 of Chill STRUCT types and STRUCT values.
3812 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
3814 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
3815 struct2): New struct definitions and initializations to test
3816 simple Chill STRUCT types.
3818 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
3820 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
3821 the null byte at the end of strings.
3822 * gdb.t00/default.exp: Make show version insensitive to copyright
3824 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
3825 to avoid dependencies on target char signedness.
3826 * gdb.t16/printcmds.exp: Update expected results for explicitly
3828 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
3830 * gdb.t21/demangle.exp: Add many more patterns for template
3831 demangling, most of them being expected failures.
3832 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
3833 string we are matching for, to match on the whole string.
3834 * gdb.t21/demangle.exp: Add many new test strings to demangle,
3835 and fix a whole bunch that had incorrect expected output but were
3836 passing anyway because of the bug in "proc demangle".
3837 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
3839 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
3841 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3843 * gdb/testsuite: made modifications to testcases, etc., to allow
3844 them to work properly given the reorganization of deja-gnu and the
3845 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3847 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3849 * gdb/testsuite: Initial creation of gdb/testsuite.
3850 Migrated dejagnu testcases and support files for testing nm to
3851 gdb/testsuite from deja-gnu. These files were moved "as is"
3852 with no modifications. This migration is part of a major overhaul
3853 of dejagnu. The modifications to these testcases, etc., which
3854 will allow them to work with the new version of dejagnu will be
3855 made in a future update.
3861 version-control: never