1 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
3 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
5 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
7 * gdb.base/corefile.exp: Recognize "not found" as failure
8 when trying to determine if a core file was generated.
9 If no core file was generate the first time, try again without
10 the ulimit -c to work around braindamaged shells.
12 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
14 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
15 [] tests with "test" and enclose string in quotes.
16 * gdb.stabs/configure: Rebuild
18 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
20 Changes in sync with expect:
21 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
22 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
23 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
24 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
25 argument to AC_REQUIRE.
26 * configure: Regenerated.
28 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
30 * gdb.base/corefile.exp: When generating a core, discard any
31 error messages about ulimit not found and the "core dumped"
32 message from the shell that runs the coredumper.
34 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
36 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
38 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
39 which sed script to run. Expect failure for v_comb test
42 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
44 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
45 "print func2::coremaker_local" and for "backtrace in corefile.exp"
47 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
49 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
50 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
51 "sparc-sun-solaris*" xfails for "p v_comb".
52 * lib/gdb.exp (default_gdb_start): Fix typo.
53 * gdb.base/corefile.exp: Allow "Core was generated by ..."
54 messages to not include the full program name that caused
55 the core dump since some systems (such as solaris) apparently
56 truncate this path to about 80 characters.
57 When generating a core file first try increasing the core file
58 size limit to unlimited since some systems may default it to
59 zero, and it is harmless to try it. Move the test for failing
60 to generate a core file to where it will actually get executed.
61 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
62 new gdb result from g++ debug info improvements and make old
63 pattern obsolescent. Also account for size_t differences
65 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
66 initialization before function call is placed in the delay slot
67 and thus appears to be skipped over by commands such as "next".
69 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
71 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
73 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
75 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
76 input source file; fix code to compile test to deal with this
78 * gdb.c++/*.exp: Likewise.
80 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
82 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
85 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
87 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
88 "step over execarg initialization" and
89 "step over corearg initialization".
91 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
93 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
94 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
96 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
98 From Rob Savoye (rob@poseidon.cygnus.com)
99 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
100 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
101 configure.in}, gdb.disasm/{Makefile.in, configure.in},
102 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
103 configure.in}: Major reworking for autoconfig.
104 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
105 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
107 * config/unix-gdb.exp: Make GDB global.
108 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
109 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
110 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
111 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
112 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
113 term.exp, twice.exp, watchpoint.exp, whatis.exp},
114 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
115 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
116 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
117 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
118 pr-8136.exp, result.exp, string.exp, tuples.exp},
119 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
120 to returns as necessary, arrange for test to compile own testcase
122 * lib/gdb.exp: Changes for testsuite to compile own test cases.
124 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
126 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
127 clear_xfail at end of test which might not call either pass or fail.
128 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
129 "backtrace through signal handler".
131 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
133 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
134 continuing from a job control stop signal.
135 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
137 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
139 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
140 * gdb.base/corefile.exp: Likewise.
141 * gdb.base/funcargs.exp: Likewise.
143 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
145 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
146 * config/monitor.exp: Add support for setting baud rate.
148 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
150 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
151 i*86-*-linux* xfails for "backtrace through signal handler".
152 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
153 "print func2::coremaker_local".
154 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
155 alpha-dec-osf2* xfail for
156 "delete all breakpoints when none".
158 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
160 * gdb.base/break.exp: Change test that deletes all breakpoints
161 when no user breakpoints are installed. A post 4.15 change
162 causes gdb to no longer prompt in this case.
164 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
166 * gdb.base/return.exp (return_tests): Change xfail for test
167 "correct value returned double test" to stop xfailing at
168 Solaris 2.5. Apparently the bug has been fixed.
170 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
172 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
173 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
175 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
177 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
178 * gdb.disasm/hppa.s: Corresponding changes.
180 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
182 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
184 * config/mt-hpux: Deleted.
186 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
188 * Many files: When warning about suppressed tests due to a
189 nonexistant test binary, avoid incrementing the warning count.
191 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
193 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
195 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
197 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
200 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
202 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
203 Add global and local variables and initialize them.
204 * gdb.base/corefile.exp: Test correct mapping of corefile sections
205 by printing variables. Remove rs6000 and powerpc xfails, BFD now
206 extracts the file name and terminating signal from the core file.
207 * TODO: Remove note about tests for correct mapping of corefile.
208 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
209 from optimizing it away.
210 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
211 handles common blocks.
213 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
215 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
216 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
218 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
220 * Makefile.in (maintainer-clean): New target, synonym for
222 * gdb.base/Makefile.in (maintainer-clean): Likewise.
223 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
224 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
225 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
226 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
227 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
229 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
231 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
232 xfails when not gcc compiled for "print foo::funclocal".
233 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
234 "print foo::funclocal at foo",
235 "print 'scope1.c'::foo::funclocal at foo",
236 "print foo::funclocal_bss at foo",
237 "print 'scope1.c'::foo::funclocal_bss at foo",
238 "print foo::funclocal_ro at foo",
239 "print 'scope1.c'::foo::funclocal_ro at foo",
240 "print bar::funclocal at foo" and
241 "print 'scope1.c'::bar::funclocal at foo".
242 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
243 gcc compiled for "print foo::funclocal at bar".
244 Expand all messages to ensure that they identify that
245 the test is at bar().
246 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
248 "ptype on opaque struct pointer (statically)",
249 "ptype on opaque struct tagname (statically)",
250 "ptype on opaque struct pointer (dynamically) 1",
251 "ptype on opaque struct tagname (dynamically) 1",
252 "ptype on opaque struct pointer (dynamically) 2" and
253 "ptype on opaque struct tagname (dynamically) 2
254 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
260 "whatis bsslocal", and
262 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
263 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
264 when not gcc compiled.
265 * gdb.base/funcargs.exp (float_and_integral_args): Add
266 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
268 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
269 "backtrace from call6a" when not gcc compiled.
270 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
271 "backtrace from call7a" when not gcc compiled.
272 * gdb.base/callfuncs.exp (do_function_calls):
273 Add "hppa*-*-hpux*" xfail when not gcc compiled for
274 "p t_char_array_values(char_array_val2,char_array_val1)",
275 "p t_char_array_values(char_array_val1,char_array_val2)",
276 "p t_char_array_values("carray 1","carray 2")",
277 "p t_char_array_values("carray 1",char_array_val2)",
278 "p t_char_array_values(char_array_val1,"carray 2")",
280 "p sum_args(2,{2,3})",
281 "p sum_args(3,{2,3,4})",
282 "p sum_args(4,{2,3,4,5})"
283 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
284 "backtrace in corefile.exp" when not gcc compiled.
286 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
288 * gdb.base/signals.exp: Rewrite `handle all print' test as
289 a procedure. Accept blanks or TABs as whitespace, increase
290 timeout and expect input buffer size for the large output
291 from the command. Remove "i*86-*-bsdi2.0" xfail.
293 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
295 * gdb.base/setvar.exp: Add new testcases for truncation when
296 assigning invalid values to bitfields.
298 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
300 * gdb.base/callfuncs.exp (do_function_calls): Remove
301 mips-sgi-irix* xfail for
302 "call inferior func with struct - returns char *"
303 and fix test so that an optional (unsigned char *) cast is
304 accepted in the result.
306 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
308 * gdb.base/funcargs.exp (float_and_integral_args): Remove
309 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
310 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
311 * gdb.base/signals.exp: Remove duplicate "handle all print" test
312 that accidentally got checked in.
314 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
316 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
317 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
319 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
320 Add mips-sgi-irix5* xfail for not gcc compiled.
321 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
322 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
323 "p top", "whatis top", "p middle", and "whatis middle".
324 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
325 "whatis signed char" for not gcc compiled.
326 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
327 "set variable signed char=-1 (-1)" and
328 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
329 * gdb.base/funcargs.exp (float_and_integral_args):
330 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
331 Add mips-sgi-irix* xfail when not gcc compiled for
332 "continue to call2b".
333 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
334 "continue to call2g".
335 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
336 "backtrace from call6a"
337 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
338 "backtrace from call7k".
339 Add mips-sgi-irix5* xfail when not gcc compiled for
340 "backtrace from call7a".
341 (localvars_after_alloca): Fix gdb_test cmds for
342 "print * after runto ...".
343 Remove rs6000-*-* xfails for
344 "print i after runto localvars_after_alloca" and
345 "print l after runto localvars_after_alloca"
347 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
348 when not compiled with gcc, for:
349 "print signed char == (minus)",
350 "print signed char != (minus)",
351 "print signed char < (minus)",
352 "print signed char > (minus)".
353 * gdb.base/callfuncs.exp (do_function_calls):
354 Add mips-sgi-irix* xfail, when compiled with native compiler, for
355 "call inferior func with struct - returns char *".
356 * gdb.base/return.exp (return_tests): Change xfail for
357 "correct value returned double test" to include Solaris 2.4.
358 * gdb.base/funcargs.exp (float_and_integral_args):
359 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
361 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
363 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
364 enumeration bitfields if compiling with GNU C.
365 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
368 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
370 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
371 test for PRO targets.
373 * gdb.base/funcargs.exp: Avoid ever setting more than 8
374 breakpoints in the inferior at any given time by making
375 two groups of breakpoints for call2*, call6* and call7*
378 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
380 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
381 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
382 from optimizing it away.
383 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
384 "call inferior func with struct".
386 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
388 * configure.in: Only configure gdb.chill for particular targets.
390 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
392 * gdb.base/Makefile.in: Add action to .c.o transformation
393 rule that generates a .ci file for each .o file and remove
394 explicit .c.o rules except for callfuncs.o.
395 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
396 generates a .ci file for each .o file and remove explicit
398 (clean): Remove *.tmp *.ci files.
399 (EXECUTABLES): Remove templ-info.exp.
400 * gdb.base/compiler.c: New file.
401 * gdb.c++/compiler.cc: New file
402 * gdb.base/scope.exp: Source gdb.base/scope.ci.
403 Change rs6000-*-* xfail for
404 "print 'scope0.c'::filelocal_ro" and
405 "print 'scope1.c'::filelocal" and
406 "print 'scope1.c'::filelocal_bss" and
407 "print 'scope1.c'::filelocal_ro" and
408 "print 'scope1.c'::foo::funclocal" and
409 "print 'scope1.c'::foo::funclocal_ro" and
410 "print 'scope1.c'::bar::funclocal" and
411 "print 'scope0.c'::filelocal_ro" and
412 "print 'scope1.c'::filelocal at foo" and
413 "print 'scope1.c'::filelocal_bss at foo" and
414 "print 'scope1.c'::filelocal_ro at foo" and
415 "print 'scope1.c'::foo::funclocal at foo" and
416 "print 'scope1.c'::foo::funclocal_bss at foo" and
417 "print 'scope1.c'::foo::funclocal_ro at foo" and
418 "print 'scope1.c'::bar::funclocal at foo" and
419 "print 'scope0.c'::filelocal_ro" and
420 "print 'scope1.c'::filelocal" and
421 "print 'scope1.c'::filelocal_bss" and
422 "print 'scope1.c'::filelocal_ro" and
423 "print 'scope1.c'::foo::funclocal" and
424 "print 'scope1.c'::foo::funclocal_bss" and
425 "print 'scope1.c'::foo::funclocal_ro" and
426 "print 'scope1.c'::bar::funclocal" and
427 "print 'scope1.c'::bar::funclocal_bss"
428 to only be xfail'd when not compiled with gcc.
429 Add rs6000-*-* xfail for
430 "print 'scope0.c'::filelocal_bss before run"
431 when compiled with gcc.
432 (test_at_main): Add rs6000-*-* xfail for
433 "print filelocal_ro in test_at_main"
434 when compiled with gcc.
435 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
436 Add rs6000-*-aix* xfail for
437 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
438 "ptype t_char_array", not compiled with gcc.
439 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
440 xfail for "list foo (in include file)" when gcc compiled.
441 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
442 (integral_args): Add rs6000-*-* xfail for
443 "run to call0a" if not compiled with gcc.
444 (unsigned_integral_args): Add rs6000-*-* xfail for
445 "run to call1a" if not compiled with gcc.
446 (float_and_integral_args): Add rs6000-*-* xfail for
447 "run to call2a" if not compiled with gcc and for
448 "continue to call2b" for any compiler.
449 Add rs6000-*-* xfail to
450 "print f1 after run to call2a" for gcc compiled.
451 (discard_and_shuffle): Add rs6000-*-* xfail for
453 (shuffle_round_robin): Add rs6000-*-* xfail for
454 "backtrace from call7a" if not compiled with gcc.
455 Add rs6000-*-* xfail for
456 "backtrace from call7b" if compiled with gcc.
457 (call_after_alloca): Add rs6000-*-* xfail for
458 "print c in call_after_alloca" and
459 "print s in call_after_alloca" and
460 "backtrace from call_after_alloca_subr"
461 if not compiled with gcc.
462 (localvars_in_indirect_call): Add rs6000-*-* xfail for
463 "print c in localvars_in_indirect_call" and
464 "print c in localvars_in_indirect_call" and
465 "backtrace in indirectly called function" and
466 "stepping into indirectly called function"
467 if not compiled with gcc.
468 (localvars_after_alloca): Add rs6000-*-* xfail for
469 "print c after runto localvars_after_alloca" and
470 "print s after runto localvars_after_alloca" and
471 "print i after runto localvars_after_alloca" and
472 "print l after runto localvars_after_alloca"
474 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
475 than whatis-info.exp.
476 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
477 than opaque-info.exp.
478 Setup rs6000-*-* xfail for
479 "ptype on opaque struct pointer (statically)" and
480 "ptype on opaque struct pointer (dynamically)" when
481 not compiled with gcc.
482 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
483 rather than callf-info.exp.
484 (do_function_calls): Add clear_xfail for rs6000-*-* for
485 "p t_float_values2(3.14159,float_val2)". Seems to work
486 fine there, both with xlc and gcc. Need to find out what
487 it is doing right and fix other platforms.
488 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
489 "call inferior func with struct - returns int",
490 "call inferior func with struct - returns long",
491 "call inferior func with struct - returns float",
492 "call inferior func with struct - returns double",
493 "call inferior func with struct - returns char *",
494 but only if not gcc compiled (presumes xlc compiled).
495 Change rs6000-*-* xfails for
496 "call inferior func with struct - returns char" and
497 " call inferior func with struct - returns short" to only
498 xfail if not using gcc.
499 (clean mostlyclean): Remove *.ci and *.tmp files.
500 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
502 * gdb.base/langs.exp: Source gdb.base/langs.ci.
503 Add rs6000-*-* xfail for "up to foo in langs.exp"
504 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
505 when not gcc compiled.
507 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
509 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
510 * gdb.base/corefile.exp: Likewise.
511 * gdb.base/list.exp: Likewise.
512 * gdb.base/scope.exp: Likewise.
513 * gdb.base/siganls.exp: Likewise.
515 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
517 * gdb.base/whatis.exp: Likewise.
520 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
522 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
523 failure (opcode table has been fixed to match reality).
526 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
528 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
529 "call inferior func with struct - returns char",
530 "call inferior func with struct - returns short"
532 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
533 "print 'scope0.c'::filelocal at main",
534 "print 'scope0.c'::filelocal_bss in test_at_main",
535 "print 'scope0.c'::filelocal at foo",
536 "print 'scope0.c'::filelocal_bss in test_at_foo",
537 "print 'scope0.c'::filelocal at bar",
538 "print 'scope0.c'::filelocal_bss in test_at_bar"
540 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
541 in source file 1". This bug seems to have been fixed with both
542 gcc and native cc (was native assembler bug?).
544 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
546 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
547 "backtrace through signal handler" to "i*86-*-sysv4*".
548 * gdb.base/signals.exp: Add xfail for "'next' behaved as
549 continue" case. Add "known SVR4 bug" to fail message.
550 Add "i*86-*-bsdi2.0" xfail for "handle all print".
551 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
552 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
553 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
554 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
555 "up to foo in langs.exp", "show language at foo in
556 langs.exp", "up to cppsub_ in langs.exp", "show
557 language at cppsub_ in langs.exp", "up to fsub in
558 langs.exp", and "show language at fsub in langs.exp".
559 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
560 "bactrace in corefile.exp".
561 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
562 "call inferior function with struct - returns float" and
563 "call inferior function with struct - returns double".
566 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
568 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
569 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
570 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
571 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
574 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
576 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
577 (or overriden) "CHILL" macro rather then bare "gcc".
578 Also look for ../../gcc/xgcc since that is what we will
579 actually need, not "Makefile". Remove following assignment
580 of CHILL to CHILL_FOR_TARGET because that results in
581 recursive definition.
583 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
585 * gdb.base/corefile.exp: Change xfail for backtrace in
586 corefile.exp from linuxaout to all linux.
587 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
588 cases where we miss the breakpoint at the signal handler
589 for some reason. Setup xfail for linuxoldld/linuxaout and
590 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
591 hitting SIGURG breakpoint.
592 * gdb.base/signals.exp: Setup xfail for "next" acting like
593 continue to add linuxoldld. Setup xfail for all linux for
594 "next to handler in signals_tests_1", "backtrace in
595 signals_tests_1", "continue to func1", "pass SIGUSR1",
596 and continue to handler".
598 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
600 * Update all FSF addresses except those in COPYING* files.
602 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
604 * gdb.base/a2-run.exp: Change messages to be more explicit about
605 the status of args, and quote binfile in results.
607 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
609 * gdb.base/callfuncs.exp: Add tests for passing structs to
610 inferior functions and return various types.
611 * gdb.base/callfuncs.c: Add functions to receive a struct
612 and return a member of the struct, in various types.
614 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
616 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
618 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
620 * config/vxworks29k.exp: New file, sources vxworks.exp.
622 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
624 * config/gdbremote.exp: New file. Testing framework using
627 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
629 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
630 "call function when asleep" and "send end of file".
631 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
632 for "backtrace in corefile.exp".
633 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
634 for "backtrace through signal handler".
635 * gdb.base/corefile.exp: Make sure we actually generate a core file
636 before trying the core tests. Some systems allow the user to suppress
637 generation of core files and default to that (linux for example).
638 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
639 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
641 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
643 * gdb.threads: New directory with some crude multi-threaded
644 gdb tests (step.exp and step2.exp).
645 * config/mt-lynx (STEP_EXECUTABLE): Define.
646 (THREADFLAGS): Define.
648 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
650 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
652 * gdb.base/signals.exp: Disable whole file for lynx until
655 * gdb.base/signals.exp: xfail test where "next" acts like
658 * gdb.base/interrupt.exp: xfail test for calling function while
659 inferior is asleep for lynx.
661 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
662 than one cr-lf after each command.
664 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
666 * configure.in: Reinstate setting of stabsdirs variable, fix
667 typo in setting up configdirs for native builds.
669 * gdb.base/return.exp: Fix typo in return double test.
670 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
671 compiler from optimizing them away.
673 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
675 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
676 sequences to be echo'd by gdb when using gdb_test.
677 * gdb.chill/chexp.exp: Likewise.
678 * gdb.fortran/exprs.exp: Likewise
680 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
682 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
683 after the inferior gdb has started.
685 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
687 * gdb.base/funcargs.exp: Likewise.
688 * gdb.base/gdbvars.exp: Likewise.
689 * gdb.base/interrupt.exp: Likewise.
690 * gdb.base/list.exp: Likewise.
691 * gdb.base/watchpoint.exp: Likewise.
692 * gdb.c++/demangle.exp: Likewise.
693 * gdb.c++/inherit.exp: Likewise.
694 * gdb.chill/chexp.exp: Likewise.
695 * gdb.fortran/exprs.exp: Likewise.
697 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
698 test if we can't handle IO to/from the inferior.
700 * gdb.c++/misc.exp: Always check for a program already being
701 started after sending a "run" command to gdb.
703 * gdb.base/twice.exp: Start with a fresh gdb.
705 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
706 only depend on gdb's expression code, not the chill runtime.
708 * gdb.base/return.c: Put return values into variables so we
709 can have gdb print them rather than depending on the program
711 * gdb.base/return.exp: Corresponding changes.
713 * lib/gdb.exp: Provide default value for noinferiorio.
714 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
717 * gdb.base/break.exp: Always check for a program already being
718 started after sending a "run" command to gdb.
719 (text_next_with_recursion): Don't check the output from the
720 program's printf statement. Instead just make sure the program
723 * gdb.base/commands.exp: Protect tests which need arguments with
724 $noargs conditionals.
726 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
728 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
729 of structure member arrays to match gdb/valops.c:value_addr change.
731 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
733 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
736 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
738 * configure.in (configdirs): Remove gdb.chill from default list
739 of subdirs and then add it back in only if doing a native build.
740 The current chill compiler does not yet work in any cross build.
741 * Revert all signal changes from Jul 6.
742 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
743 for sh-hms targets, allowing these tests to link, with no other
744 changes. Testing is suppressed by setting "nosignals" in site.exp.
746 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
748 * configure.in (signaldirs): Define and add to configdirs for all
749 targets except some specific ones that are known to not support signals.
750 Also clean up formatting.
751 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
752 (signals, sigall): Remove rules to build.
753 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
754 Moved to new gdb.signals directory.
755 * gdb.signals: New test directory.
756 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
757 signals.c signals.exp}: New or moved files.
759 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
761 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
763 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
765 * gdb.base/return.exp: Xfail `return double' test failure
766 on at least Solaris 2.3 and handle future/past versions on
767 a case by case basis as appropriate. Also update message
768 to include i*86 failures.
770 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
772 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
774 * lib/gdb.exp: Fix comment which erroneously identified
775 gdb_file_cmd as gdb_load (the 19 May change was in fact to
776 gdb_file_cmd not gdb_load).
777 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
779 * gdb.base/setvar.exp: Make test names consistent between pass and
780 fail cases. Use gdb_test more.
782 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
784 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
786 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
788 * gdb.base/help.exp: Fix expected help string for `show commands'.
790 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
792 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
794 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
797 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
799 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
800 that loop eventually terminates. Fix Connection refused logic so
801 that testsuite will expire nicely.
803 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
805 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
806 config/rom68k.exp: New tcl glue for the appropriate monitors.
807 These all just end up calling monitor.exp.
808 * config/monitor.exp (gdb_target_monitor): Handle `Connection
809 refused' by retrying. Cleanup some timeout issues.
810 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
811 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
812 callers don't have to set/restore global timeout variable.
814 * The following set of changes centralizes management of the global
815 timeout variable. This way, it can be set in one target dependent
816 place instead of dozens of places scattered throughout the test suite.
817 If you need to lengthen a timeout, then you should either set timeout
818 in one of the config/{target}.exp files, or multiply it by a factor.
819 Setting it to an absolute value is always going to lose for some
821 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
822 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
823 * gdb.base/funcargs.exp: Don't set timeout.
824 * gdb.base/list.exp (test_forward_search): Only use local timeout.
825 * gdb.base/printcmds.exp (test_print_string_constants
826 test_print_array_constants): Don't set timeout.
827 * gdb.base/ptype.exp: Don't set timeout.
828 * gdb.base/recurse.exp: Don't set timeout.
829 * gdb.base/return.exp: Don't set timeout.
830 * gdb.base/watchpoint.exp: Don't set timeout.
831 * gdb.c++/classes.exp (do_tests): Don't set timeout.
832 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
834 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
836 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
838 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
840 * lib/gdb.exp: Disable chill tests for irix5.
842 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
844 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
845 each test pass or fail.
847 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
849 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
852 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
854 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
856 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
858 * config/est.exp: Fix copyright and comments. Remove dead code.
859 Use targetname, serialport and baud variables instead of fixed
861 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
862 * config/cpu32bug.exp: New file to support cpu32bug monitors.
864 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
866 * gdb.base/watchpoint.exp: Don't run
867 test_watchpoint_triggered_in_syscall for sunos.
869 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
871 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
872 they don't seem to exist. Do include stdio.h.
874 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
876 * gdb.base/a1-selftest.exp: Add alpha xfail.
878 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
880 * gdb.base/watchpoint.c (main): Prompt before calling read().
881 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
882 Revise accordingly. Remove cruft about sending "123" several
883 times, until it gets noticed. Clean up the "print buf[0]" stuff
884 so that it passes or fails, and waits for prompts in the usual way.
886 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
888 * gdb.base/recurse.exp: Fix comment.
890 * TODO: Remove item about printing variables in nodebug.exp. Add
891 item about enabling tests which are only run on some targets.
893 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
894 fail, make test names unique, use new gdb_test convention
895 regarding pattern, use gdb_test more, etc.).
897 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
898 fail, make test names unique, etc.).
900 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
902 * gdb.base/nodebug.c: Change return type of top and middle to
904 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
905 are fixed by the recent mdebugread.c changes. Allow `short ()'
906 as type for top and middle.
908 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
910 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
911 nearly as I can tell, the whole thing was an accident in Stu's
912 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
913 to replace a send/expect pair with gdb_test, but ended up only
914 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
915 of 30 Mar 1995 took care of it, but left this vestigial comment
916 which I am now nuking.
918 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
920 * gdb.base/break.exp: Look for different line number for
921 breakpoint at main depending on usestubs.
923 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
925 * gdb.base/list.exp: Adjust some alternate expect patterns to
926 match recent list0.c change. Add alternate expect pattern for
927 output from `list default lines around main' for optimizing
930 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
932 * lib/gdb.exp: If nosignals is not set, set it to 0.
934 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
936 * config/slite-gdb.exp: Responds to load symbol table prompt.
937 * gdb.base/break.exp: Adjust line number, fix rerun.
938 * gdb.base/langs0.c: Add #ifdef usestubs.
940 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
942 * gdb.base/list.exp: Adjust line contents after adding new lines in
943 list0.c. Also fix a syntax error.
945 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
946 * gdb.base/break.exp: ditto.
947 * gdb.base/list.exp: ditto.
948 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
949 * gdb.base/run.c: ditto.
950 * gdb.base/list0.c: ditto.
951 * gdb.base/funcargs.c: ditto.
953 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
955 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
956 $targetname, $serialport and $baud instead of hardwired variables.
957 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
958 target doesn't support signals.
960 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
962 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
964 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
966 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
967 Don't rely on the value of an auto variable before it has been
968 initialized. Use gdb_test more.
970 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
972 * lib/gdb.exp (default_gdb_version): A version number must start
973 with a digit, but other than that contains all characters up to
974 the first whitespace character.
976 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
978 * gdb.base/commands.exp (breakpoint_command_test): New tests.
980 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
982 * gdb.c++/*.exp: Warn if executable does not exist. The original
983 reason for skipping the warning was that configure.in sometimes
984 intentionally skipped building the executables but the tcl code
985 had no way of knowing. That (a) was always bogus with respect to
986 error handling, (b) is no longer true (right now there is no way
989 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
991 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
993 * gdb.base/list.exp: Add expect patterns for output from
994 SunPRO compiled executables.
995 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
998 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1000 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1001 number (we are already testing that the correct source line text
1004 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1005 that is what is intended, but something needed to be done to get
1006 sunos4 native working again.
1008 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1010 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
1011 apparently went with a (very) old xfail.
1013 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
1015 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
1016 runto_main is a proc in gdb.exp that will do 'step' for target use
1018 * gdb.base/exprs.exp: ditto.
1019 * gdb.base/interrupt.exp: ditto.
1020 * gdb.base/opaque.exp: ditto.
1021 * gdb.base/printcmds.exp: ditto.
1022 * gdb.base/ptype.exp: ditto.
1023 * gdb.base/scope.exp: ditto.
1024 * gdb.base/setvar.exp: ditto.
1025 * gdb.base/signals.exp: ditto.
1026 * gdb.base/twice.exp: ditto.
1027 * gdb.c++/classes.exp: ditto.
1028 * gdb.c++/inherit.exp: ditto.
1029 * gdb.c++/templates.exp: ditto.
1030 * gdb.base/break.exp: no run and hit main for stubs. Change line
1031 numbers for breakpoints and info breakpoint.
1032 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1034 * gdb.base/callfuncs.c: ditto.
1035 * gdb.base/exprs: ditto.
1036 * gdb.base/interrupt.c: ditto.
1037 * gdb.base/opaque0.c: ditto.
1038 * gdb.base/printcmds.c: ditto.
1039 * gdb.base/ptype.c: ditto.
1040 * gdb.base/scope0.c: ditto.
1041 * gdb.base/setvar.c: ditto.
1042 * gdb.base/signals.c: ditto.
1043 * gdb.base/twice.c: ditto.
1044 * gdb.c++/misc.cc: ditto.
1045 * gdb.c++/templates.cc: ditto.
1047 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1049 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1051 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1052 somewhere between `read' and `main.c'. I'm pretty sure the
1053 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1054 and it isn't particularly useful.
1056 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1058 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1060 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1062 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1064 * config/mt-slite: add LIBS and -nostdlib.
1065 * config/slite-gdb.exp: add this new file to support sparclite target.
1067 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1069 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1071 * gdb.base/a2-run.exp: Change argument to istarget from
1072 "*-*-vxworks" to "*-*-vxworks*".
1073 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1075 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1077 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1078 will not runto main but do a 'step' to step out of breakpoint().
1079 * config/mt-slite: add -Dusestubs.
1081 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1083 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1086 * gdb.base/signals.exp: Add test for "handle all print".
1087 * TODO: Remove "handle all print". Also remove item about
1088 checking copyright date (I don't like the idea of a spurious FAIL
1089 based on when we run the tests).
1091 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1092 for SunOS4 (reason for failure not investigated). Remove
1093 redundant test for $binfile.
1095 * gdb.base/nodebug.c (array_index): Call malloc.
1097 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
1099 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
1101 * gdb.base/recurse.exp: Update gdb_test invocation to use new
1102 conventions and slightly simplify the matching regexp.
1104 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1106 * gdb.base/break.exp: Update gdb_test invocation to use new
1109 * lib/gdb.exp: If noargs is not set, set it to 0.
1111 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
1114 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
1116 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1118 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
1119 one argument of type "<non-float parameter>".
1121 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
1123 * config/rom68k.exp: New file to support Motorola IDP board.
1124 * gdb.base/a2-run.exp: Skip this file if noargs is set.
1125 * gdb.base/break.c: Change things around so that this program
1126 doesn't depend upon args. This is necessary to make remote
1127 targets work (in general, they can't take args).
1128 * gdb.base/break.exp: Don't try to send args to program. Don't
1129 expect output. Also, replace lots of code with gdb_test.
1131 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1133 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
1134 printing of '\'' (which is what the comment says we are testing,
1135 even though we were not), not '''.
1136 (test_integer_literals_rejected): Test that printing ''' is an error.
1138 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1139 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
1140 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
1141 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
1142 Use gdb_test not test_print_accept.
1143 * lib/gdb.exp: Remove test_print_accept.
1145 * gdb.base/signals.exp (signal_tests_1): Make pass message
1146 consistent with fail message.
1148 * gdb.base/whatis.exp: Remove xfails for printing char vs.
1149 unsigned char; the bug (PR 1821) is fixed.
1151 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
1153 * gdb.base/scope.exp (test_at_localscopes): Call pass for
1154 successful tests--makes xfailing them work right.
1156 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1158 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
1159 only \r\n, not .*. The test can pass .* as the last thing in
1160 $pattern if that is what it wants. In addition to providing this
1161 flexibility, this change should speed up pattern matching in cases
1162 where the pattern already ended with .* (there were a number of
1163 them). This change also helps catch bad patterns--in the old
1164 scheme the typo "char \*" instead of "char \\*" would pass. Now
1166 * Many .exp files: Update callers.
1168 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
1169 clearer and does not spuriously match multiple ('s. Likewise for
1172 * gdb.base/nodebug.exp: Test ability to call a function and pass
1173 it a string (even with no debugging info).
1175 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
1176 "p '\'", which is the same as "p ''" once tcl gets done with
1177 quoting, to "p '\\'", which I suspect is what is intended (one
1178 backslash gets sent to GDB).
1180 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1182 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1184 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1185 1817) was fixed literally years ago.
1187 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1189 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
1190 test, it causes stepping out of call_after_alloca_subr with
1191 optimizing compilers.
1192 (localvars_in_indirect_call): Consume GDB prompt if `finish'
1195 * gdb.c++/templates.exp: Source templ-info.exp only if
1196 the templates executable exists.
1198 * gdb.c++/misc.cc (class Contains_static_instance,
1199 class Contains_nested_static_instance),
1200 gdb.c++/classes.exp (test_static_members): Test printing of
1201 a class that contains a static instance of the class.
1203 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1205 * gdb.base/langs2.c (cppsub_): Don't prototype.
1206 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
1209 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1211 * lib/gdb.exp (skip_chill_tests): New procedure.
1213 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
1215 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
1217 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
1218 each expect pattern. Cuts runtime from 12 to about 4 seconds.
1220 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1222 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
1224 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
1225 disassemble 8, not 16, instructions for part 4.
1227 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
1228 support the latter anymore.
1230 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
1232 * gdb.base/callfuncs.c: Control use of prototypes based on
1233 NO_PROTOTYPES, not __STDC__.
1234 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
1235 t_float_values2 tests if prototypes in use.
1237 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
1238 t_double_values): When checking differences against DELTA, check
1239 that difference is within the range (-DELTA,DELTA), not just
1242 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
1244 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
1245 'file' command firts, then 'target', then 'load', this is due to gdb
1247 * config/mips-gdb.exp: Fix a couple regular exp bugs.
1249 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
1251 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
1252 FP load/store variants.
1253 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
1255 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1257 * gdb.base/term.exp: Do not give a warning if not native, it is
1258 not an abnormal condition.
1260 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
1262 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
1265 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1267 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
1268 are getting the version number.
1270 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
1271 if not native, it is not an abnormal condition.
1273 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1275 * lib/gdb.exp: Just use "file exists", rather than undocumented
1276 dejagnu procedure "findfile".
1278 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1280 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
1281 (LDFLAGS): Set to -Xlinker -Ur.
1283 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
1284 Removed, these values are set by lib/gdb.exp.
1286 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1288 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1290 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
1291 of replicating gdb startup code.
1293 * config/mt-vxworks (LDFLAGS): Set to -r.
1294 (CFLAGS_FOR_TARGET): Removed.
1296 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
1297 (gdb) and gdb for vxworks uses (vxgdb).
1299 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
1300 executable is not in the tree and host != target, use sed and
1301 program_transform_name to determine the gdb name used by the
1304 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
1305 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1307 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1309 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
1310 floats, chars, and shorts where there are ANSI-style function
1313 * gdb.base/langs.exp, gdb.base/langs*: New test.
1314 * gdb.base/Makefile.in: Build it.
1315 * TODO: Remove item about checking that C names don't get C++
1316 demangling applied; this test tests it.
1318 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1320 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
1321 went with the const70 xfail. The xfail went away a year ago.
1323 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
1325 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
1328 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
1330 * gdb.base/a1-selftest.exp: Don't run on hp300.
1332 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1334 * Makefile.in (site.exp): Set host_alias and target_alias as well
1335 as host_triplet and target_triplet.
1337 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1339 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
1341 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
1342 places as other ecoff systems).
1344 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
1347 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1349 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
1351 * gdb.base/nodebug.exp: Accept "function" in addition to "text
1352 variable and "variable" in addition to "data variable".
1353 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1355 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
1357 * gdb.base/list1.c (long_line): Add additional statement at start
1359 * gdb.base/list.exp (test_forward_search): Update line number to
1360 reflect new statement.
1362 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1364 * gdb.base/signals.exp: Reinitialize searched source directories
1365 after gdb_start call.
1367 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
1369 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
1370 * gdb.stabs/Makefile.in: Likewise.
1372 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
1373 change. Instead split the tests into smaller pieces.
1374 * gdb.disasm/hppa.s: Corresponding changes.
1376 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1378 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1379 Quote ^C when passing it to stty. For some shells ^ is a pipe.
1381 * gdb.base/funcargs.exp: Modify many tests so that every test
1382 either passes or fails. Make some test names unique.
1384 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1386 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1387 Call stty to set interrupt character.
1389 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
1390 for HP assembler versus GNU assembler based on actual behavior of
1391 $(CC), rather than assuming that $(AS) is always the GNU assembler.
1393 * TODO: Suggest a few more stepping tests.
1395 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
1397 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
1398 restart GDB for h8300 after a continue.
1399 (return): Add pattern to match a29k-udi behavior.
1400 * gdb.base/nodebug.exp: Remove obsolete comment.
1401 * gdb.base/regs.exp: New file, testing of register displays.
1402 * gdb.base/return.exp: Fix typo in reference to $objdir.
1403 * gdb.base/whatis.exp: Always start with a fresh GDB.
1405 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1407 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
1408 higher, these tests generate a lot of output.
1410 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1412 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
1413 code following the catch silently ignored some errors; without the
1414 catch they should be thrown like any other tcl error. Also, the
1415 catch used "" instead of {} which meant all the callers who wanted
1416 to include one of the characters "[]$ had to quote it an extra time.
1417 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
1418 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
1419 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
1420 Remove extra quoting.
1422 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
1424 * gdb.base/commands.exp: Make test names unique; every test either
1425 passes or fails. Update some comments.
1427 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
1429 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1431 The following fixes a FAIL caused by the fact that the alpha stabs
1432 configuration didn't use the ".if alpha" code in weird.def.
1433 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
1434 bit pointer, so the 32 bit version works even on the alpha.
1435 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
1436 Remove the stuff which allowed us to have separate versions for
1437 alpha and everything else.
1439 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
1440 regexp which "info func operator\[\](" is supposed to match. Fix
1441 string to send to GDB. Note that GDB still doesn't work right. Add a
1442 new test for "info func .perator\[\](" which GDB does handle correctly.
1444 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
1446 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1448 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
1449 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
1450 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
1451 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
1452 it makes the tests harder to understand and confuses test-o-matic.
1453 The preferred style is that each test provides a PASS or a FAIL,
1454 and has a unique message (e.g. "continue #54" not just "continue")
1455 which is the same for the pass and the fail.
1456 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1457 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
1459 * gdb.base/printcmds.exp: Use test_print_accept. Remove
1460 prt_accept which was basically the same thing. Likewise for
1461 test_print_reject and prt_reject.
1462 * lib/gdb.exp (test_print_reject): Add some more error message
1463 patterns to match from the former printcmds.exp (prt_reject).
1464 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
1465 One defect of the passcount stuff is that some of it failed to
1466 report XPASS where appropriate.
1467 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
1468 stuff before and after arg in expected pattern.
1469 (test_paddr_operator_functions): Re-do test without print_addr_of;
1470 this is the only test which seems to want extra stuff there.
1472 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1474 * gdb.base/nodebug.exp: Update new tests to reflect improved
1475 wording of gdb output.
1477 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
1478 and "ptype" work on variables in files compiled without -g.
1479 Replaces commented out "maint print msymbol" tests.
1481 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1483 * gdb.base/setvar.c (dummy): Call malloc.
1485 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
1486 losing with the irix4 sed.
1488 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
1491 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1493 * TODO: Remove items about corefile.exp testing new exec-file and
1494 backtrace; both are now done. Add items about printing enums.
1496 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1498 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
1499 "get signal $thissig" test fails.
1501 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
1503 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1505 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
1506 compiler warning with dec alpha compiler.
1508 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
1509 extra \n from gdb_test call (this explains why the prompt test
1510 that I removed yesterday was there).
1511 (user_defined_command_test): Remove extra \n and prompt test.
1513 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
1514 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
1516 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
1517 Also remove alpha workaround, which turns out to be because
1520 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
1522 * gdb.base/help.exp: Don't test "help show".
1524 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1526 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
1527 "set print address" is on.
1528 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
1529 pass prompt to gdb_test; gdb_test already looks for the prompt.
1531 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
1533 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
1534 was a vestige of the manual TESTSTRATEGY, and the purpose of it
1535 was to make sure that gdb can read a core file. But (a) the "read
1536 the corefile" part didn't make it to a1-selftest.exp, we just
1537 delete the corefile after creating it, and (b) we test reading
1538 corefiles in corefile.exp anyway. Also, this test left around a
1539 xgdb process on Solaris.
1541 * gdb.base/corefile.exp: Also test backtrace.
1543 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
1545 * gdb.base/commands.exp: Test a simple user defined command with
1546 arguments and if/while statements; verify the full user command is
1547 printed by "show user".
1549 * gdb.base/commands.exp: Test if/while commands as part of a
1550 breakpoint command list; verify they appear in breakpoint
1553 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1555 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
1556 than by dividing by zero.
1558 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
1560 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
1561 performing an inferior call with watchpoints enabled.
1562 * gdb.base/watchpoint.c (main): Delete second unnecessary read
1565 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1567 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
1570 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
1571 Add additional pattern for when "int operator int(void);" appears
1572 in a different order.
1574 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1576 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
1578 * gdb.base/help.exp: Replace most of docstrings for "info signals"
1579 and "signal" with ".*".
1581 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1583 * TODO: Add note about "handle all nostop".
1585 * gdb.base/{sigall.c, sigall.exp}: New test.
1586 * gdb.base/Makefile.in: Add it.
1588 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1590 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
1591 when invoking GDB, suppresses any windowing interface.
1593 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
1595 * config/sim-gdb: New file, simulator testing support.
1597 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
1599 * gdb.base/interrupt.exp: Test calling func1 twice.
1601 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
1603 * gdb.base/list.exp (test_forward_search): Set timeout higher
1604 when we'll be getting lots of output from gdb.
1606 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
1607 "init_malloc" to after the expect statement. Run it if that
1608 regexp is taken, but also for two others which happen if source
1611 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1613 * gdb.base/printcmds.exp: New test, for printing register before
1616 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1618 * gdb.base/list.exp: Correct some alternate expect patterns
1619 to reflect changes in list1.c.
1621 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1623 * TODO: Add item regarding large frames.
1625 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
1627 * TODO: Remove item about enabling return.exp; it
1628 is enabled. Suggest a few more "return" tests.
1630 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1632 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
1635 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1637 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
1638 and pr-5646.o, so "make" is the same as "make all", not "make
1641 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
1643 * gdb.base/list.exp: Adjust expectations to reflect changes in
1645 (test_forward_search): New test proc.
1646 * gdb.base/list1.c (long_line): New function, has long source line.
1648 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
1650 * gdb.base/a1-selftest.exp: Change initial stepping to know about
1651 additional line of code that was added.
1653 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
1655 * gdb.disasm/hppa.s: Break the large branching tests into smaller
1656 tests so as not to overflow expect's input buffers.
1657 * gdb.disasm/hppa.exp: Corresponding changes.
1659 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1661 Beginnings of template debugging tests.
1662 * gdb.c++/templ-info.cc: New file to test for template
1663 debugging capability of the compiler.
1664 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
1666 * gdb.c++/templates.cc: Add explicit template instantiations
1667 to enable compiling with -fno-implicit-templates. Add destructor
1668 and 'value' method to T5 class for template tests.
1669 * gdb.c++/templates.exp: Add testcases for printing of template
1670 types, setting breakpoints on template methods and calling a
1673 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
1675 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
1676 branch target since some assemblers (gas-2.5) may emit a
1677 relocation for the branch instead of resolving it in the
1680 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1682 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
1683 through signal handler.
1685 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1687 * configure.in (*-*-netware): Use config/mt-netware.
1689 * config/mt-netware: New file.
1690 * config/mt-i386-netware: Removed, separate configs for different
1691 netware architectures are no longer needed now that we have
1694 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1696 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
1697 by the recent changes to use ANSI C arithmetic conversions.
1699 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1701 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
1702 bug involving using inferior_pid to figure out whether to select a
1705 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
1707 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
1708 match the current disassembler output.
1710 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
1712 * gdb.fortran/exprs.exp: Expect VOID instead of void.
1713 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
1714 types, expect "int" as type of integer values (for now).
1716 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
1718 * gdb.base/commands.exp: New tests for if/while commands.
1720 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
1722 * lib/gdb.exp (runto): Replace sub-pattern for hex value
1723 by .*, since hex values have different syntax in Chill mode.
1725 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1727 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
1728 linefeed from expect pattern for repeated types with indices > 9.
1730 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
1732 First part of Fortran test suite.
1733 * gdb.fortran: New directory.
1734 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1736 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1738 * gdb.base/default.exp: Update expect pattern for load command
1741 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1743 * configure.in: Change i386 to i[345]86.
1744 * gdb.base/configure.in: Likewise.
1745 * gdb.c++/configure.in: Likewise.
1746 * gdb.chill/configure.in: Likewise.
1748 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
1750 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
1751 patterns, since that is not a valid context for comments.
1753 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
1755 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
1756 repeated types and repeated types with indices > 9.
1758 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
1760 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
1761 2417; old bug has been fixed.
1763 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
1765 * gdb.base/interrupt.exp: When trying to wake up the inferior,
1766 send the newline ourselves instead of assuming gdb_test will do
1767 so when passed an empty input string.
1769 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
1772 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1774 * lib/gdb.exp (gdb_test): Don't send anything if the first
1775 argument is an empty string. This makes cases where we want to
1776 match output that is already in expect's buffers (for example,
1777 matching a breakpoint after gdb_run_cmd has been called) work
1780 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1782 * config/netware.exp: New file.
1784 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1786 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
1787 the -B and -L prefixes so we can find the debugging stub.
1789 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
1790 there and we are using the gcc from the tree.
1792 * gdb.base/types.c: Removed.
1794 * gdb.base/configure.in: Look for makefile fragments in ../config.
1795 Recognize i386-*-netware.
1796 * gdb.c++/configure.in: Likewise.
1798 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1800 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
1801 the correct TCL syntax.
1803 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1805 * gdb.base/opaque.exp: use runto instead of messing around with
1806 breakpoints. Simplify by using gdb_test.
1808 * gdb.base/bitfields.exp: restart between tests on netware targets
1809 because breakpoints aren't relocated after target death. Run
1810 processes to completion.
1812 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1814 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
1816 * Makefile.in: Remove extra tabs that confuse some versions
1817 of "make". Use the newly built gdb to test with by default,
1818 rather than the first one in the tester's search path.
1820 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
1822 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
1824 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
1827 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1829 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
1831 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
1833 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1834 * gdb.base/funcargs.exp: Likewise.
1836 * gdb.base/bitfields.exp: Simplify by using gdb_test.
1837 * gdb.base/funcargs.exp: Likewise.
1839 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
1842 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1844 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
1845 return,signals,twice}.exp: Handle non-existant binaries
1848 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
1849 * gdb.base/Makefile.in: Don't try to generate a core dump, we
1850 might testing a cross development system.
1852 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1854 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
1855 runtest script is relative to ${srcdir}, not ${rootdir}.
1857 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
1859 * gdb.base/signals.exp: Allow for optionality of breakpoint
1862 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1864 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
1866 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1868 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
1869 for size_t definition.
1870 * gdb.c++/templates.cc: Likewise
1872 * config/mt-i386-netware: New file.
1874 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
1877 * gdb.base/Makefile.in: Added support for systems that name core
1878 files by appending "core" to the program name.
1879 * gdb.base/a1-selftest.exp: Likewise.
1881 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1883 * gdb.base/return.exp: Add comment and message for `return double'
1884 test failure on Sparc Solaris.
1886 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
1888 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
1890 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1892 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
1893 from optimizing them away.
1894 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
1895 patterns to include default constructors and assignment operators,
1896 to match gcc versions beyond 2.5.8. Accept any cplus demangling
1897 character in the output of the virtual base pointer.
1899 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1901 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
1902 expression match in print_addr_of to avoid unintented matches.
1903 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
1904 versions up to 2.5.8.
1906 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1908 * gdb.base/list.exp: Tweak alternate pattern for listing of an
1909 included file to run under newer versions of expect.
1910 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
1911 consecutive >'s in templates to accomodate recent cplus-dem.c change.
1912 Remove xfail for the virtual table of BDDHookV.
1914 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
1916 * lib/gdb.exp (string_to_regexp): Set a default result.
1917 (default_gdb_start): Fix misleading message.
1919 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
1921 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
1922 Remove all CC, etc definitions.
1923 * config/mt-hpux: New file.
1924 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
1925 (CFLAGS, LDFLAGS): Define.
1926 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1928 * Makefile.in (site.exp): Don't insert host_os, etc.
1929 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
1930 (distclean): Check existence of subdir.
1931 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
1932 * gdb.base/Makefile.in: General cleanup and simplification.
1933 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1934 to build executables. Use default rule to build .o files.
1935 (EXPECT, RUNTEST, CC): Fix relative pathname.
1936 (site.exp): Don't insert host_os, etc.
1937 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
1938 and/or SIGUSR1 defined.
1939 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
1940 * gdb.c++/Makefile.in: General cleanup and simplification.
1941 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1943 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1945 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
1947 * gdb.base/recurse.exp: Misc changes to get tests running again
1948 after Kung's changes to the watchpoint code.
1949 * gdb.base/watchpoint.exp: Likewise.
1951 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
1953 * lib/gdb.exp (string_to_regexp): Convert {\} also.
1955 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
1957 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
1958 * lib/gdb.exp (default_gdb_start): Define.
1959 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
1960 gdb.base/funcargs.exp, gdb.base/opaque.exp,
1961 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
1962 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
1963 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
1964 Don't call gdb_target_udi in between tests.
1966 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1968 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
1969 (which was basically just a local version of the same thing). In
1970 addition to avoiding duplication, gdb_test_exact is faster.
1971 * lib/gdb.exp (gdb_test_exact): Fix typo.
1973 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
1974 don't give an error.
1976 * gdb.base/term.exp: Call delete_breakpoints before starting.
1978 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
1981 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1983 Reorganization of the GDB Test Suite.
1985 * gdb.base: New directory, contains all the basic tests.
1986 * gdb.c++: New directory, tests specific to C++.
1987 * gdb.chill: New directory, tests specific to Chill.
1988 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
1989 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
1990 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
1991 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
1992 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
1994 * */gdbme.*: Rename to match appropriate expect scripts.
1995 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
1996 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
1997 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
1998 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
1999 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2000 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2001 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2002 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2003 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2004 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2005 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2006 gdb.c++/virtfunc.cc: New names of C++ files.
2007 * gdb.chill/chillvars.ch: New name of Chill file.
2008 * gdb.base/configure.in, gdb.c++/configure.in,
2009 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
2010 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2011 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
2012 * configure.in (configdirs): Update to reflect directory changes.
2013 (target_abbrev): No longer define for any configuration.
2014 * Makefile.in: Cosmetic improvements to header comments.
2016 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
2018 Various changes to gdb.t31:
2020 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2021 * gdbme.ch: Make all key-words and predefineds be upper-case.
2022 * chillvars.exp: Expect key-words and predefinds in upper-case.
2024 * chillvars.exp: Use gdb_test_exact many places.
2025 Change expected output for arrays (which now includes index labels).
2027 * pr-5020.exp, gdme.ch (module PR_5020):
2028 New test, for PR-5020.
2030 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
2032 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2033 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2035 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
2037 * Makefile.in: Fix bit-rot in definitions of CHILL,
2038 CHILL_FOR_TARGET and Chill_LIB.
2039 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2040 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2041 CHILL, and CHILL_LIB.
2043 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
2045 * Revert the previous changes. Please see Rob's directory
2046 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2048 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2050 * Makefile.in, configure.in, config/mips-gdb.exp,
2051 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2052 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2053 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2054 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2055 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2056 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2057 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2058 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2059 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2060 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2061 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2062 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2063 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2064 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2065 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2068 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
2070 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2071 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2072 Rob's new testing fragments.
2074 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2076 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2077 lib/gdb.exp: Replace error proc calls with perror.
2079 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2081 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2082 version also, match on casted version strings, and match on
2083 gdb startup case where the line numbers might be messed up.
2085 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
2087 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2088 (CFLAGS): Delete it from here.
2090 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
2092 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2094 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2096 * Makefile.in (RUNTEST): Default to just "runtest".
2098 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2100 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
2101 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
2102 the code has been restructured.
2104 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2106 * gdb.t00/default.exp (set write): Allow any number of \r and/or
2107 \n, not just one of each.
2109 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
2110 /bin/cc gives a warning if you do.
2112 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
2114 * gdb.t24/demangle.exp: change expect pattern of
2115 __t10ListS_link1ZUiRCUiPT0
2117 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2119 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
2120 on local variables in recursive functions.
2122 * gdb.t07/Makefile.in: Build the new test.
2124 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2126 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
2127 directly. Instead compare the return values from actual calls.
2129 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
2131 * Makefile.in (check): Set TCL_LIBRARY for runtest.
2133 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2135 * From Peter Schauer with minor modifications.
2136 * gdb.t15/return.exp (return_tests): Handle targets where "return"
2137 stops in mid-line in the caller. Add xfail for returning a float
2138 value on X86 targets.
2140 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2142 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
2143 to avoid expect lossage.
2144 (fmem_LRbug_tests): Likewise.
2145 * gdb.disasm/hppa.s: Corresponding changes.
2147 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
2148 conditions to work with latest dejagnu/expect.
2150 * gdb.t15/funcargs.exp (finish from indirect call): No longer
2151 expected to fail on the PA.
2152 (backtrace in call with trampolines): Explicitly require main
2153 to be frame #1 (no trampolines should show up in backtrace).
2155 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
2157 * gdb.t06/break.exp: Likewise.
2158 * gdb.t07/watchpoint.exp: Likewise.
2159 * gdb.t13/bitfields.exp: Likewise.
2160 * gdb.t15/{funcargs,return}.exp: Likewise.
2161 * gdb.stabs/weird.exp: Likewise.
2162 * config/{mips,udi}-gdb.exp: Likewise.
2164 * hppa.sed: Enclose comments within a sed command to avoid
2165 losing with the old OSF1 sed.
2167 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2169 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
2171 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
2172 * gdb.t15/funcargs.exp: Conditionally step again to really
2173 finish from marker_call_with_trampolines. Handle the case where
2174 the first step from within call_with_trampolines already steps
2176 * gdb.t15/gdbme.c: Add comment to closing brace of
2177 call_with_trampolines for funcargs.exp.
2179 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2181 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2184 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2186 * gdb.t07/gdbme.c: More code for watchpoint testing.
2188 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
2189 "Hardware watchpoint" throughout file.
2190 (test_watchpoint_triggered_in_syscall): New test.
2191 (test_complex_watchpoint): New test.
2193 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2195 * gdbme.c (call_with_trampolines): New function to try and step
2196 into. Tests trampoline problems on the PA.
2198 * funcargs.exp (localvars_in_indirect_call): No longer expect
2199 stepping into indirect call to fail on PAs.
2200 (test_stepping_over_trampolines): New test.
2202 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2204 * TODO: Add suggestions for static member function tests, and
2207 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2209 * TODO: Add suggestions for "p/a" tests.
2211 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
2212 (default_gdb_exit): Replace all the hair with sending "quit" to
2213 the process with a simple close.
2215 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2217 * TODO: Add suggestions for shared library tests.
2219 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2221 * TODO: Add suggestions for x/s tests.
2223 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2225 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
2226 "enable once", and "enable breakpoints once" with ".*".
2228 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2230 * TODO: Add suggestions about structure passing tests.
2232 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2234 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
2235 the primary1 test, use work around if __GNUC__ < 2.
2236 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
2237 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
2238 Test for bad output rather than waiting for timeout. Issue
2239 second continue only if first continue failed.
2241 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2243 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
2244 operator[] test with gdb_test because the old code didn't seem to
2245 be getting the quoting right with the new dejagnu.
2247 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
2249 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
2251 * Makefile.in: Use a fresh expect if there is one, use runtest
2252 from the src tree if there is one.
2254 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2256 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
2257 next over recursive call. Revise the tests from that point on
2258 (which had been skipped) to match GDB's actual (correct) output.
2260 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
2261 with next over a breakpoint whose condition is false.
2263 * gdb.t00/help.exp: Comment out "help set print" tests just like
2264 (and for same reason as) "help set" test.
2266 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2268 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
2269 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
2271 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2273 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
2274 necessary gdb_target_udi.
2276 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
2278 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
2279 1838 and 2417; they are fixed.
2281 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
2282 gdb.t03/ptype.exp (ptype structure, ptype union):
2283 Remove xfails; the test is looser than when the xfails were added.
2285 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
2286 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
2288 * gdb.t01/run.exp: Only run shell test if isnative.
2290 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
2291 since "run" automatically loads if necessary. Call gdb_target_udi
2292 after the "file" since "file" kills any execution target.
2294 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
2295 GDB. GDB doesn't work that way (not anymore at least) on UDI.
2296 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
2299 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2301 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
2303 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
2305 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2307 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
2308 properly quoting regexps. This makes the second argument to
2309 demangle a fixed string, which matches the callers, instead of a
2310 shell-style pattern which is what the previous implementation
2311 used. Update some of the callers.
2313 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2315 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
2316 (comib_nullified_tests): Fix typo.
2317 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
2318 strings. No longer expected to fail.
2320 * gdb.disasm/hppa.s (addib_tests): Fix typo.
2321 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
2322 strings. No longer expected to fail.
2324 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
2325 string. No longer expected to fail.
2327 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2329 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
2330 No longer expected to fail.
2332 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
2333 string. No longer expected to fail.
2335 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2337 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
2338 only in the names (I probably got most of them). I was even
2339 generous with some which differed in underscores in names, and
2340 probably missed a few, and I *still* was able to remove almost a
2341 third of the file with almost no impact on testsuite coverage.
2343 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2345 * gdb.t00/default.exp: Match udi_attach error message as well as
2346 the one from child_attach.
2348 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
2350 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
2352 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
2353 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
2355 * Move test with enums and partial symbols back to
2356 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
2357 Reverts the change of 26 May 93. Per today's change to
2358 stabs.texinfo, the behavior that weird.exp was expecting was
2359 unreasonable; what is important is that the compiler+gdb get
2360 things right, which happens with a recent gcc. Also fix the test
2361 to deal with native compilers which put out the stab gdb can't
2364 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2366 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
2367 in the names. The main thing these accomplish is to slow things down.
2368 Many more such duplicates surely remain.
2370 * gdb.t00/help.exp: Comment out "help support" test just like
2371 (and for same reason as) "help set" test.
2373 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
2375 * gdb.t06/break.exp: Remove setup_xfails for
2376 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
2377 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
2378 about known bug in gcc to include up through 2.5.8.
2379 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
2381 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
2382 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
2383 with latest gcc and gdb.
2384 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
2387 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2389 * configure.in (hppa*-*-*): Also configure and build stabs-only
2392 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2394 * gdb.t10/hppa.mt: A makefile fragment for the PA.
2395 * gdb.t10/configure.in (hppa*-*-*): Use it.
2397 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2399 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
2401 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2403 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
2404 versions prior to 1.13.5.
2406 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2408 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
2409 the prompt is at the start of a line.
2411 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2413 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
2414 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
2415 in the copr tests now.
2416 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
2417 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
2420 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
2422 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
2423 gdb.t31/chillvars.exp, lib/gdb.exp:
2424 Tweak to run under either version of expect.
2425 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
2426 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
2427 * gdb.t11/list.exp: Remove extraneous whitespace.
2429 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2431 * gdb.t16/printcmds.exp (test_print_strings): Accept
2432 "(unsigned char *) " before the string.
2434 * TODO: Add notes about printing of fancy types and GDB expressions.
2436 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
2438 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
2439 * gdb.t06/configure.in: Don't try to compile signals test program
2440 if doing mips-idt-ecoff.
2442 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
2444 * Most .exp files: Tweak to run under either version of expect.
2446 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2448 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
2449 xfails; I'm not sure why they are failing, but not because of PR 1806.
2451 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
2453 * config/unix-gdb.exp: Remove gdb_unload cause it's already
2454 defined in lib/gdb.exp.
2456 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2458 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
2459 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
2460 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
2461 have to be typeless.
2463 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2465 * TODO: Add suggestion for copyright year test.
2467 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
2469 * configure.in (*-*-lynxos*): Add stabs tests.
2471 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2473 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
2474 so insert a tab before any assembler directive in column zero.
2476 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
2478 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
2480 (fpu_short_memory_tests): Likewise.
2482 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2484 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
2485 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
2486 .stabs directives in comments.
2488 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2490 * TODO: New file, describing tests we could write.
2491 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
2493 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2495 * gdb.t06/signals.exp: Add kludge to force re-sync.
2497 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
2498 to xgdb instead of gdb, get out of gdb.
2500 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
2502 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
2505 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2507 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
2508 * gdb.stabs/configure.in (hppa*-*-*): Use it.
2509 * gdb.stabs/hppa.sed: New sed script for the PA.
2511 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2513 * gdb.stabs: Re-write weird.def and configuration to use sed
2514 instead of cpp. sed is portable and POSIX; cpp is neither.
2516 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2518 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
2520 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2522 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
2524 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2526 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
2528 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
2529 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
2531 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2533 * lib/gdb.exp: Comment out code which depends on non-existent
2534 `transform' procedure.
2536 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
2538 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
2539 * lib/gdb.exp: Transform tool name.
2540 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
2541 1.1's new error handling system.
2543 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2545 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
2547 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2549 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
2550 They made pattern matching so slow that timeouts happened on
2551 heavily loaded systems. Now any output from "show print" which
2552 gets us back to the GDB prompt is a PASS.
2554 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
2556 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
2558 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2560 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
2562 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
2563 It is not from PR 3220.
2565 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2567 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
2568 just started failing because they depended on the order the
2569 subcommands are presented, or exact docstring text. This kind of
2570 test is a pain and has minimal benefit.
2572 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2574 * gdb.t09/corefile.exp: At end of test, use "core" command with
2577 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
2579 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
2580 17}/Makefile.in: Make it possible to run the testsuite with Sun
2581 make and CC = cross gcc by adding explicit build rules for .o
2584 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2586 * gdb.t15/funcargs.exp: Don't put comments on same line as
2587 setup_xfail (@#$*%& tcl braindamage!).
2589 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2591 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
2593 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
2595 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
2596 * gdb.t20/inherit.exp: remove three dumplicate entries.
2598 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2600 * gdb.t06/break.exp: For "next over recursive call", fail on any
2601 incorrect output, not just on "factorial (value=2)".
2603 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2605 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
2606 working now. Add an xfail if accesing a bss variable causes
2607 a memory error if the target is not yet run.
2609 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2611 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
2612 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
2613 name of __st* demangling (2 strings). Did Kung really get the
2614 more than 95 others right without testing them?
2616 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
2618 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
2620 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
2622 * configure.in (configdirs): Add gdb.disasm
2623 * gdb.disasm: New directory for GDB disassembler tests.
2624 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
2626 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2628 * gdb.t00/help.exp: Don't test "help set".
2630 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
2631 from within expect statements. None of these happen anymore and
2632 they cause regressions to be silently unnoticed.
2634 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
2635 messages) about known failures with gcc cygnus-2.4.5-930417.
2637 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
2638 comp-info.exp so it gets built if it doesn't exist.
2640 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
2641 it is no longer used.
2642 * gdb.t13/comp-info.c: Removed.
2644 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2646 * gdb.t06/signals.exp: Add xfail for sun3.
2648 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2650 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
2651 relevant because ^C doesn't get sent but failure can be reproduced
2654 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2656 * gdb.stabs/alpha.mt: New configuration file for alpha.
2657 * gdb.stabs/configure.in: Use it.
2658 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
2659 sharing with alpha.mt, redefine long to word via preprocessor.
2660 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
2662 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
2664 * gdb.t00/teststrategy.exp: Change expect string so that we
2665 consume the `(xgdb)' from the command echo and from the gdb prompt.
2666 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
2667 gdb currently compares all values as long, so this failure probably
2668 applies to any configuration where LONGEST is bigger than a target int.
2669 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
2671 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
2672 to handle opaque pointers, gcc is.
2673 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
2674 as first argument. Include <sys/types.h> and change all operator
2675 new definitions to use size_t.
2676 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
2677 now that we use size_t.
2679 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2681 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
2682 a long or float array cast all array members to the same type.
2683 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
2685 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
2687 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
2689 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2691 * gdb.t24 (demangle.exp): Constructors of templates have names like
2692 vector<int>::vector(int) not vector<int>::vector<int>(int). See
2693 section 14.6 of the ARM.
2695 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
2696 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
2697 accomplish little and slow down the testsuite.
2699 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
2700 Accept spaces various places.
2702 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2704 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
2705 with watchpoint enabled.
2707 * Makefile.in: Remove definition of CC and remove the second
2708 definition of CXX (the "CXX = gcc" one remains). These definitions
2709 were causing backquotes to be expanded within backquotes, which
2712 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
2714 * gdb.t17/callfuncs.exp: Add "return 0" to end.
2716 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2718 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
2719 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
2720 by mips cc and contains no stabs entries.
2722 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
2724 * config/vx-gdb.exp: Use fake device to load files rather than
2726 * lib/gdb.exp: New proc to do "file" command.
2727 * config/unix-gdb.exp: Use new "file" proc.
2729 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2731 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
2732 Rework board rebooting slightly.
2733 (gdb_exit): Don't exit from the remote shell; there isn't one.
2734 * gdb.stabs/weird.exp: If a program is being debugged already,
2736 * gdb.t04/setvar.exp: Stop and restart gdb.
2737 * gdb.t05/expr.exp: Likewise.
2738 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
2739 restart gdb and reload the program.
2740 * gdb.t08/opaque.exp: Likewise.
2741 * gdb.t12/scope.exp: Likewise.
2742 * gdb.t13/bitfields.exp: Likewise.
2743 * gdb.t15/funcargs.exp: Likewise.
2744 * gdb.t20/classes.exp: Likewise.
2745 * gdb.t03/ptype.exp: Increase timeout.
2746 * gdb.t16/printcmds.exp (test_print_string_constants,
2747 test_print_array_constants): Likewise.
2748 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
2749 * gdb.t20/classes.exp (do_tests): Likewise.
2750 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
2752 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
2754 * gdb.stabs: Renamed *wierd* to *weird*.
2756 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2758 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
2759 for timeout. Add "known gcc 2.4.5 bug" to failure message.
2761 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2763 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
2764 (do_tests): Remove xfail for whatis on one_var and two_var.
2766 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
2768 * Makefile.in: Made cross building work better by adding
2769 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
2771 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2773 * gdb.t15/{return.c,return.exp,Makefile.in}:
2774 New test, currently commented out.
2776 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
2778 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
2779 still running and removes the leftover named socket so GDb can do
2782 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
2784 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
2786 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
2787 cross testing works better with "make check"
2788 * config/unix-gdb: Use default procedures for exit and version.
2789 * config/vx-gdb.exp: Cleaned up and massaged back to working order
2790 with the newest VxWorks.
2792 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2794 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
2797 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
2798 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
2800 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
2802 * config/unix-gdb.exp: Remove this version of gdb_exit
2803 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
2804 Rob says he'll look at it when he gets back to testing boards.
2806 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
2808 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
2809 an expected fail for certain ptype commands.
2811 * gdb.t20/classes.exp: Update expected results of "ptype class
2812 Base1" to account for the constructor that now appears in the type.
2814 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
2816 * configure.in (configdirs): Restore gdb.t04, which mysteriously
2817 disappeared from list.
2818 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
2819 "alldone" proc with call to cleanup and exit.
2820 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
2821 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
2822 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
2823 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
2824 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
2825 "alldone" proc with simple returns that suppress remaining
2826 tests. The alldone proc went away many months ago.
2828 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2830 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
2832 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
2834 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2836 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
2837 as vax gdb will display them.
2839 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2841 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
2844 * scope.exp: Change "bad value for localval" messages so each one
2847 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
2848 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
2850 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
2852 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2854 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
2855 doesn't exist (due to optimization).
2857 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2859 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
2860 contains \r because the filename is long.
2862 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
2863 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
2865 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2867 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
2868 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
2870 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
2872 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
2874 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
2876 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
2878 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
2879 to match does not match the passing case but still matches the
2882 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2884 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
2886 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
2888 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
2889 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
2890 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
2891 Remove various versions of gdb_exit.
2892 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
2894 * config/unix-gdb.exp: gdb_exit remains here, and should override
2895 the generic version, since it's doing a lot of wierd stuff that
2896 the other versions aren't. FIXME, fold it in, or abandon this
2899 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2901 * gdb.t24/demangle.exp: Add tests for PR 3220.
2903 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2905 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
2907 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
2909 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
2910 "i386-*-*". Works for i486 as well.
2912 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
2913 bug, and expand domain of xfail to all SVR4 systems, since the
2914 actual problem is likely to be in generic SVR4 /proc support.
2916 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2918 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
2920 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
2922 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
2923 xfails for other systems. Match a missing 'Continuing.' as an
2924 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
2926 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
2927 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
2928 Only issue warning for missing executables if -all option is used.
2930 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
2931 file if -all option is used. It's like an unpredictable XFAIL.
2933 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2935 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
2936 for dynamically linked binaries.
2938 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
2940 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2942 * gdb.t20/inherit.exp: Change message for "print tagless struct"
2943 to state that this is a known bug in old versions of g++.
2945 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2947 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
2948 while waiting for `Continuing'.
2950 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
2952 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
2953 in text, data, and bss.
2954 * gdb.t10/nodebug.c: Add local and global test variables for
2955 initialized and uninitialized data.
2957 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2959 * config/unix-gdb.exp (gdb_exit): Add "wait".
2961 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2963 * gdb.t06/signals.exp: xfail the continue from the handler for all
2966 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
2967 function with watchpoints enabled, the i386 call dummy starts with
2970 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
2971 386 bsd names its corefiles.
2973 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
2975 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
2976 compilers don't grok it.
2977 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
2978 with small octal ints rather than character constants, which
2979 are signed and might not fit if first promoted to int.
2981 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
2983 * gdb.t09/Makefile.in (clean): Remove corefile.
2985 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2987 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
2989 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2990 and Jim Kingdon (kingdon@cygnus.com)
2992 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
2993 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
2994 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
2996 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2998 * gdb.t17/interrupt.exp: Add xfail for hppa.
3000 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3002 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3003 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3004 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3005 to determine signed-ness of bitfields and use the result to setup
3007 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
3008 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3009 call line is reached if necessary.
3011 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3013 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
3015 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3017 * gdb.t06/break.exp: Also test `clear' command.
3019 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3021 * gdb.t00/teststrategy.exp: Remove extra quote.
3023 * gdb.t07/watchpoint.exp: Change xfail for calling function with
3024 watchpoint enabled to be for all non-68k machines.
3026 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3028 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3030 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3031 targets use aout.mt instead of ecoff.mt as gas understands
3032 standard aout format.
3034 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3036 * lib/gdb.exp (runto): Don't insist that function we are running to
3037 was compiled with -g.
3039 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3041 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3042 to get back into the read system call.
3043 Accept leading newline in case where we woke it up.
3045 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3047 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3048 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3049 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3050 enable ecoff configuration.
3052 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3054 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3056 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3058 * gdb.t16/printcmds.exp: Add another printf test.
3060 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3062 * configure.in: If configured -with-stabs on any target, add
3063 stabsdirs to configdirs.
3065 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3067 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3068 fun" so pattern does not match the command itself.
3070 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3072 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3074 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3076 * gdb.t17/interrupt.exp: Test for more things.
3078 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3080 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3081 compiler arranges the code and line numbers.
3083 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3085 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3087 * gdb.t00/help.exp: Increase expect input buffer size.
3089 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3091 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3093 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3095 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3097 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
3098 [0-9]*, not just [0-9].
3100 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3102 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
3104 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
3106 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3108 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
3110 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3112 * gdb.t06/signals.c: Add xfails for sun3.
3114 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
3116 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
3117 test_stepping tests.
3119 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3121 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
3123 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
3125 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
3126 rather than actually putting it through cpp twice.
3128 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
3130 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
3132 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
3135 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3137 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
3139 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
3140 C++ features prints as "struct", make it a pass, not an xfail.
3142 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3144 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
3145 Don't require VA to print as "class" rather than "struct".
3147 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
3149 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
3151 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3153 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
3155 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3157 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
3160 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3162 * gdb.t16/printcmds.exp: Add printf tests.
3164 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
3166 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
3168 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
3170 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
3171 pass counts, to counteract any existing or future setup_xfails.
3173 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3175 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
3176 {BEGIN,END}_COMMON for common block instead of STAB.
3177 * gdb.stabs/wierd.exp: Add xfail for rs6000.
3179 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
3180 intp_var should be N_GSYM not N_LSYM.
3181 wierd-aout.S: Use a label for the value of the N_SO.
3182 wierd.def: Remove all backslashes.
3183 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
3185 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3187 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
3188 get the expected next to inheritance3.
3190 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3192 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
3193 now that gcc-2.4 gets it right.
3195 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3197 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
3199 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
3200 generating comp-info.exp which works for cross-compilation.
3202 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
3204 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
3207 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
3209 * gdb.t01/run.exp: Start with a fresh gdb.
3210 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
3213 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
3215 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
3216 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
3217 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
3218 Makefile.in (distclean, realclean): Remove gdbme.c from list of
3221 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
3223 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
3224 test cases from bug reports.
3226 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
3228 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
3229 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
3230 avoid spurious xfails.
3231 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
3232 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
3233 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
3235 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
3237 * gdb.t00/teststrategy.exp: Rework to provide more useful
3238 description of each test, fix problem with systems that define
3239 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
3240 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
3241 results for "next over recursive call" so timeouts aren't taken
3244 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
3246 * gdb.t12/scope.exp: Test printing of variables before run.
3248 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
3249 printed in wrong order due to sorting.
3251 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
3253 * gdb.t00/teststrategy.exp: Fix expected results for printing
3254 user entered string constant. Is array of char, prints with no
3257 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
3259 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
3260 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
3261 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
3262 of struct of char arrays.
3263 * gdb.t00/radix.exp: New tests for radix commands.
3265 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
3267 * gdb.t16/printcmd.exp: Print a variable before running program
3268 (with xfail for AIX).
3270 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
3272 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
3274 * gdb.t16/printcmd.exp: Don't print variables before running program.
3276 * gdb.t06/break.exp: Don't require envp argument to main.
3278 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
3280 * gdb.t02/whatis.exp, gdb.t11/list.exp:
3281 Add xfails for rs6000.
3283 * gdb.t02/whatis.exp: Change other tests not to re-test something
3286 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
3287 each type used has a variable of that type.
3289 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3291 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
3293 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3295 * configure.in: change srctrigger to be a file, not a directory
3297 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
3299 * configure.in (mips-idt-ecoff*): Added trailing '*'.
3301 * gdb.t11/list.exp: Fixed a couple of typos.
3303 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
3305 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
3306 is fixed and PR is closed.
3307 * gdb.t16 (gdbme.c): Add simple test string variable.
3308 * gdb.t16 (printcmds.exp): Add tests with simple test string
3309 variable, primarily for boundaries on "set print elements".
3311 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
3313 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
3314 Make leading 0's optional and don't expect a tab in the middle
3317 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
3319 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
3320 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
3321 don't end command passed to gdb_test with newline.
3323 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
3324 signed keyword away, don't expect signed bitfields to be signed.
3326 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
3327 printing with only as many 1's as are in the field as well as printing
3328 with 32 1's (see comment).
3330 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
3332 * gdb.t00/default.exp: Start with a fresh gdb.
3333 * configure.in (configdirs): Remove gdb.t31 until the chill
3334 compiler works again. It no longer is able to find chillrt0
3335 since it isn't in libchill.a anymore.
3336 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
3337 wierd.o, make more modular.
3338 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
3339 spurious newlines that caused problems.
3341 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3343 * Move test with enums and partial symbols from gdb.t03/ptype.exp
3344 to gdb.stabs/wierd.exp since GCC has worked around the bug.
3345 gdb.stabs/wierd.{exp,def}: Many new tests.
3347 * gdb.t00/default.exp: update info line for new message.
3349 * gdb.t02/{whatis.exp,gdbme.c}:
3350 Test that "char *" doesn't print as "caddr_t".
3352 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3354 * gdb.t00/help.exp: Use .* in place of some help messages which
3356 gdb.t00/default.exp: Update "info frame" test for new message.
3357 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
3360 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3362 * gdb.t03/{gdbme.c,ptype.exp}:
3363 Add tests for typedef'd struct and union without tags.
3364 Also check "whatis" on a variable of a typedef'd enum without a tag.
3366 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
3367 PRMS 1823; the bug still exists but isn't reproduced by this test
3368 anymore), and remove rs6000 XFAIL (the bug is fixed).
3370 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
3371 duplicated from whatis.exp. For those that are left, accept
3372 "long", "long int", or "int" for long variables (whatis.exp already
3373 has an XFAIL for "int", so no need to fail it here).
3375 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
3376 Deal with GCC's names for types now that GDB uses the compiler's names.
3378 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
3379 setup_xfail's for sunos4. If we #defined the signed keyword away,
3380 don't expect GDB to know that char it is signed.
3382 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
3384 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
3386 * configure.in (configdirs): Add gdb.t24 for C++ tests that
3387 should work on any system, regardless of debugging format.
3388 * gdb.t21/demangle.exp: Move to gdb.t24.
3389 * gdb.t24/demangle.exp: Move from gdb.t21.
3390 * gdb.t24/{Makefile.in, configure.in}: New files.
3392 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3394 * configure.in: Do gdb.stabs and C++ tests only for stabs.
3395 * gdb.stabs: New directory.
3397 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3399 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
3400 not just "Quit anyway?".
3402 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
3404 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
3405 that all setup_xfails are immediately followed by clear_xfails.
3407 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
3409 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
3410 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
3411 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
3412 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
3413 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
3414 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3415 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3416 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
3417 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
3418 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
3419 gdb.t31/chillvars.exp, lib/gdb.exp:
3420 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
3421 bug-gdb@prep.ai.mit.edu.
3423 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
3425 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
3426 with 0.0, not integer 0.
3428 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
3430 * gdb.t06/break.exp: Update for "Kill the program" message change.
3432 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
3434 * Makefile.in (GDBFLAGS): Set to -nx.
3435 * Makefile.in (site.exp): Use GDBFLAGS.
3437 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3439 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
3441 (check): depend on just-check.
3442 (just-check): added so that tests can be run without a noop
3445 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3447 Switch to using configure's configdirs.
3448 * Makefile.in (Makefile): add configure.in dependency.
3449 (SUBDIRS): removed redundant assignment.
3450 * configure.in: switch subdirs assignment to configdirs.
3451 * gdb.t*/configure.in: new files.
3453 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
3455 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
3458 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
3460 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
3461 in explicit rules. Apparently this is not supported by some makes.
3463 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
3465 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
3467 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3469 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
3472 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
3474 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
3476 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
3478 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
3479 watchpoint problem that is now fixed.
3480 * gdb.t30/chexp.exp: Remove setup_xfail for printing
3481 uninitialized convenience variables.
3482 * gdb.t31/chillvars.exp: Fix expected patterns for printing
3485 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3487 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
3488 which causes expect to get out of sync with gdb on long output
3490 * gdb.t09/corefile.exp: Make expected pattern for core file
3491 failing signal and frame output format less sun specific.
3493 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
3495 * gdb.t31/chillvars.exp: Add and remove initial dummy
3496 breakpoint, so that symbol table is forced in.
3497 (Needed at least on Sunos4, though it seems not SVR4.)
3498 * gdb.t31/chillvars.exp: Update for changed output format.
3500 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
3502 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
3504 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
3506 * Makefile.in: Added --srcdir when invoking runtest, removed the
3507 need for a local config file. (optional now)
3509 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
3511 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
3512 failure count used to force early termination. Add some more
3513 expected failures for gnu style demangling.
3515 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3517 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
3518 pmi variable from gdb.t20/gdbme to get optimized away.
3519 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
3520 Check for written corefile upon timeout _and_ eof.
3522 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3524 * config/unix-gdb.exp: Add missing return 0.
3526 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3528 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
3531 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
3533 * configure.in (subdirs): Put back gdb.t17 which mysteriously
3536 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
3538 * gdb.t10/crossload.exp: Disable the i860-elf test until such
3539 time as i860 support works.
3541 * gdb.t15/funcargs.exp: Fix expected outputs to include
3542 "backtrace 100\r" rather than just "backtrace\r", to match last
3545 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
3547 * config/udi-gdb.exp (gdb_exit): Remove close command.
3548 (gdb_target_udi): New procedure to set the UDI target.
3549 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
3550 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
3551 Added waits for prompts after several question responses. Added
3552 some more responses used by a29k-amd-udi-gdb.
3553 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
3554 pass different arguments, restart UDI connection after program
3556 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
3557 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3558 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
3559 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
3560 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
3561 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
3562 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3563 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
3564 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
3565 after program completion.
3566 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
3567 compiled with a SELECT_VECS setting.
3568 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
3571 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
3572 Added checks for COFF results, and made them expected failures for
3573 all targets. It would be better to make them expected failures
3574 for COFF targets only.
3576 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3578 * Makefile.in: add null dvi target, don't bother to recurse
3579 through test directories for info and install-info; rename
3580 $(datadir) to be dejagnu instead of deja-gnu
3582 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
3584 * gdb.t31/gdbme.ch: Re-enable code that previously caused
3585 compiler to coredump.
3586 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
3589 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
3591 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
3593 * gdb.t31/chillvars.exp: Comment out tests that depend on that
3596 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
3598 * gdb.t03/ptype.exp: tests for return code from gdb_test.
3599 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
3600 which in a shell. Deletes xgdb when done.
3601 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
3602 Tests the return from the "set height" or "set width" commands.
3603 Added a few return codes where needed.
3605 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
3607 * Makefile.in (SUBDIRS): Add gdb.t17.
3608 * configure.in (subdirs): Add gdb.t17.
3609 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
3610 files to test gdb's calling of functions in the inferior with
3611 the correct arguments and gdb's ability to retrieve any
3614 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
3616 * config/unix-gdb.exp (gdb_exit): Remove close commands that
3617 may be called after gdb goes away. Previous versions of expect
3618 needed these to avoid file descriptor leaks, but they cause
3619 errors with the current revision of expect.
3620 * gdb.t00/gdbvars.exp: Use -re on expected output after
3621 setting sevenbit-strings.
3622 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
3623 to set sevenbit-strings consistent across tests.
3624 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
3625 set sevenbit-strings consistent across tests.
3627 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
3629 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
3630 expected output to match current "expect" expectations.
3632 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
3634 * gdb.t00/default.exp: Change expected output for default "source"
3635 command, to match new gdb behavior which requires a filename to
3638 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
3640 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
3641 expected fail for i486-*-* that misses the marker2 function.
3642 * gdb.t10/crossload.exp (bfddefault): Allow successful
3643 recognition of a format to pass even if no symbols are found.
3644 Explicitly catch failures where the format is not recognized
3645 or is ambiguous, and add the reason to the fail message.
3646 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
3647 the cause is and invalid target and add reason to failure message.
3648 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
3649 elf32-i386, elf32-sparc, and elf32-i860.
3650 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
3651 Set up expected failure for 'filename'::variable scope resolution,
3652 which is now apparently broken on all targets.
3653 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
3654 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
3655 gdb.t23/templates.exp: Change failure for missing binfile into
3657 gdb.t21/demangle.exp: Change all cfront references to 'arm'
3660 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
3662 * gdb.t00/default.exp: Add expected output for default "source"
3663 command, to match new gdb behavior.
3664 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
3666 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
3668 * config/*-gdb.exp: returns an error, rather than exiting on
3671 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
3673 * gdb.t03/gdbme.c: Add pointer to struct variable.
3674 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
3675 referencing struct members.
3677 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
3679 * configure.in (mips-idt-ecoff): New target.
3680 * config/mips-gdb.exp: New file for remote board using MIPS remote
3683 * Redid configuration scheme. Removed gdb.t*/configure.in.
3684 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
3685 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
3686 distclean targets. Built executables via .o files. Adjusted
3687 tests to account for source files in $(srcdir) rather than
3689 * lib/gdb.exp (runto): Don't expect () after the function name,
3690 because it may have arguments.
3692 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
3694 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
3695 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
3696 expected failures for mips-idt-* and mips-sgi-*.
3697 * gdb.t00/default.exp (attach): Kill process if requested.
3698 * gdb.t00/help.exp (help target core, help target): Accept a gdb
3699 that does not read core files.
3700 * gdb.t01/run.exp: Removed checks for exit status code.
3701 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
3703 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
3704 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
3705 appropriate, rather than doing it by hand.
3706 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
3708 * gdb.t10/crossload.exp: Kill existing program if needed.
3709 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
3710 appropriate, rather than doing it by hand. Always increase
3711 timeout for this test, not just for VxWorks.
3713 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
3715 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
3716 of Chill STRUCT types and STRUCT values.
3717 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
3719 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
3720 struct2): New struct definitions and initializations to test
3721 simple Chill STRUCT types.
3723 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
3725 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
3726 the null byte at the end of strings.
3727 * gdb.t00/default.exp: Make show version insensitive to copyright
3729 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
3730 to avoid dependencies on target char signedness.
3731 * gdb.t16/printcmds.exp: Update expected results for explicitly
3733 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
3735 * gdb.t21/demangle.exp: Add many more patterns for template
3736 demangling, most of them being expected failures.
3737 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
3738 string we are matching for, to match on the whole string.
3739 * gdb.t21/demangle.exp: Add many new test strings to demangle,
3740 and fix a whole bunch that had incorrect expected output but were
3741 passing anyway because of the bug in "proc demangle".
3742 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
3744 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
3746 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3748 * gdb/testsuite: made modifications to testcases, etc., to allow
3749 them to work properly given the reorganization of deja-gnu and the
3750 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3752 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3754 * gdb/testsuite: Initial creation of gdb/testsuite.
3755 Migrated dejagnu testcases and support files for testing nm to
3756 gdb/testsuite from deja-gnu. These files were moved "as is"
3757 with no modifications. This migration is part of a major overhaul
3758 of dejagnu. The modifications to these testcases, etc., which
3759 will allow them to work with the new version of dejagnu will be
3760 made in a future update.
3766 version-control: never