1 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
3 * gdb.base/funcargs.exp (float_and_integral_args): Remove
4 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6 * gdb.base/signals.exp: Remove duplicate "handle all print" test
7 that accidentally got checked in.
9 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
11 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
12 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
14 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
15 Add mips-sgi-irix5* xfail for not gcc compiled.
16 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
17 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
18 "p top", "whatis top", "p middle", and "whatis middle".
19 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
20 "whatis signed char" for not gcc compiled.
21 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
22 "set variable signed char=-1 (-1)" and
23 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
24 * gdb.base/funcargs.exp (float_and_integral_args):
25 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
26 Add mips-sgi-irix* xfail when not gcc compiled for
28 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
30 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
31 "backtrace from call6a"
32 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
33 "backtrace from call7k".
34 Add mips-sgi-irix5* xfail when not gcc compiled for
35 "backtrace from call7a".
36 (localvars_after_alloca): Fix gdb_test cmds for
37 "print * after runto ...".
38 Remove rs6000-*-* xfails for
39 "print i after runto localvars_after_alloca" and
40 "print l after runto localvars_after_alloca"
42 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
43 when not compiled with gcc, for:
44 "print signed char == (minus)",
45 "print signed char != (minus)",
46 "print signed char < (minus)",
47 "print signed char > (minus)".
48 * gdb.base/callfuncs.exp (do_function_calls):
49 Add mips-sgi-irix* xfail, when compiled with native compiler, for
50 "call inferior func with struct - returns char *".
51 * gdb.base/return.exp (return_tests): Change xfail for
52 "correct value returned double test" to include Solaris 2.4.
53 * gdb.base/funcargs.exp (float_and_integral_args):
54 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
56 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
58 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
59 enumeration bitfields if compiling with GNU C.
60 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
63 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
65 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
68 * gdb.base/funcargs.exp: Avoid ever setting more than 8
69 breakpoints in the inferior at any given time by making
70 two groups of breakpoints for call2*, call6* and call7*
73 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
75 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
76 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
77 from optimizing it away.
78 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
79 "call inferior func with struct".
81 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
83 * configure.in: Only configure gdb.chill for particular targets.
85 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
87 * gdb.base/Makefile.in: Add action to .c.o transformation
88 rule that generates a .ci file for each .o file and remove
89 explicit .c.o rules except for callfuncs.o.
90 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
91 generates a .ci file for each .o file and remove explicit
93 (clean): Remove *.tmp *.ci files.
94 (EXECUTABLES): Remove templ-info.exp.
95 * gdb.base/compiler.c: New file.
96 * gdb.c++/compiler.cc: New file
97 * gdb.base/scope.exp: Source gdb.base/scope.ci.
98 Change rs6000-*-* xfail for
99 "print 'scope0.c'::filelocal_ro" and
100 "print 'scope1.c'::filelocal" and
101 "print 'scope1.c'::filelocal_bss" and
102 "print 'scope1.c'::filelocal_ro" and
103 "print 'scope1.c'::foo::funclocal" and
104 "print 'scope1.c'::foo::funclocal_ro" and
105 "print 'scope1.c'::bar::funclocal" and
106 "print 'scope0.c'::filelocal_ro" and
107 "print 'scope1.c'::filelocal at foo" and
108 "print 'scope1.c'::filelocal_bss at foo" and
109 "print 'scope1.c'::filelocal_ro at foo" and
110 "print 'scope1.c'::foo::funclocal at foo" and
111 "print 'scope1.c'::foo::funclocal_bss at foo" and
112 "print 'scope1.c'::foo::funclocal_ro at foo" and
113 "print 'scope1.c'::bar::funclocal at foo" and
114 "print 'scope0.c'::filelocal_ro" and
115 "print 'scope1.c'::filelocal" and
116 "print 'scope1.c'::filelocal_bss" and
117 "print 'scope1.c'::filelocal_ro" and
118 "print 'scope1.c'::foo::funclocal" and
119 "print 'scope1.c'::foo::funclocal_bss" and
120 "print 'scope1.c'::foo::funclocal_ro" and
121 "print 'scope1.c'::bar::funclocal" and
122 "print 'scope1.c'::bar::funclocal_bss"
123 to only be xfail'd when not compiled with gcc.
124 Add rs6000-*-* xfail for
125 "print 'scope0.c'::filelocal_bss before run"
126 when compiled with gcc.
127 (test_at_main): Add rs6000-*-* xfail for
128 "print filelocal_ro in test_at_main"
129 when compiled with gcc.
130 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
131 Add rs6000-*-aix* xfail for
132 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
133 "ptype t_char_array", not compiled with gcc.
134 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
135 xfail for "list foo (in include file)" when gcc compiled.
136 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
137 (integral_args): Add rs6000-*-* xfail for
138 "run to call0a" if not compiled with gcc.
139 (unsigned_integral_args): Add rs6000-*-* xfail for
140 "run to call1a" if not compiled with gcc.
141 (float_and_integral_args): Add rs6000-*-* xfail for
142 "run to call2a" if not compiled with gcc and for
143 "continue to call2b" for any compiler.
144 Add rs6000-*-* xfail to
145 "print f1 after run to call2a" for gcc compiled.
146 (discard_and_shuffle): Add rs6000-*-* xfail for
148 (shuffle_round_robin): Add rs6000-*-* xfail for
149 "backtrace from call7a" if not compiled with gcc.
150 Add rs6000-*-* xfail for
151 "backtrace from call7b" if compiled with gcc.
152 (call_after_alloca): Add rs6000-*-* xfail for
153 "print c in call_after_alloca" and
154 "print s in call_after_alloca" and
155 "backtrace from call_after_alloca_subr"
156 if not compiled with gcc.
157 (localvars_in_indirect_call): Add rs6000-*-* xfail for
158 "print c in localvars_in_indirect_call" and
159 "print c in localvars_in_indirect_call" and
160 "backtrace in indirectly called function" and
161 "stepping into indirectly called function"
162 if not compiled with gcc.
163 (localvars_after_alloca): Add rs6000-*-* xfail for
164 "print c after runto localvars_after_alloca" and
165 "print s after runto localvars_after_alloca" and
166 "print i after runto localvars_after_alloca" and
167 "print l after runto localvars_after_alloca"
169 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
170 than whatis-info.exp.
171 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
172 than opaque-info.exp.
173 Setup rs6000-*-* xfail for
174 "ptype on opaque struct pointer (statically)" and
175 "ptype on opaque struct pointer (dynamically)" when
176 not compiled with gcc.
177 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
178 rather than callf-info.exp.
179 (do_function_calls): Add clear_xfail for rs6000-*-* for
180 "p t_float_values2(3.14159,float_val2)". Seems to work
181 fine there, both with xlc and gcc. Need to find out what
182 it is doing right and fix other platforms.
183 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
184 "call inferior func with struct - returns int",
185 "call inferior func with struct - returns long",
186 "call inferior func with struct - returns float",
187 "call inferior func with struct - returns double",
188 "call inferior func with struct - returns char *",
189 but only if not gcc compiled (presumes xlc compiled).
190 Change rs6000-*-* xfails for
191 "call inferior func with struct - returns char" and
192 " call inferior func with struct - returns short" to only
193 xfail if not using gcc.
194 (clean mostlyclean): Remove *.ci and *.tmp files.
195 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
197 * gdb.base/langs.exp: Source gdb.base/langs.ci.
198 Add rs6000-*-* xfail for "up to foo in langs.exp"
199 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
200 when not gcc compiled.
202 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
204 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
205 * gdb.base/corefile.exp: Likewise.
206 * gdb.base/list.exp: Likewise.
207 * gdb.base/scope.exp: Likewise.
208 * gdb.base/siganls.exp: Likewise.
210 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
212 * gdb.base/whatis.exp: Likewise.
215 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
217 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
218 failure (opcode table has been fixed to match reality).
221 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
223 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
224 "call inferior func with struct - returns char",
225 "call inferior func with struct - returns short"
227 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
228 "print 'scope0.c'::filelocal at main",
229 "print 'scope0.c'::filelocal_bss in test_at_main",
230 "print 'scope0.c'::filelocal at foo",
231 "print 'scope0.c'::filelocal_bss in test_at_foo",
232 "print 'scope0.c'::filelocal at bar",
233 "print 'scope0.c'::filelocal_bss in test_at_bar"
235 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
236 in source file 1". This bug seems to have been fixed with both
237 gcc and native cc (was native assembler bug?).
239 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
241 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
242 "backtrace through signal handler" to "i*86-*-sysv4*".
243 * gdb.base/signals.exp: Add xfail for "'next' behaved as
244 continue" case. Add "known SVR4 bug" to fail message.
245 Add "i*86-*-bsdi2.0" xfail for "handle all print".
246 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
247 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
248 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
249 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
250 "up to foo in langs.exp", "show language at foo in
251 langs.exp", "up to cppsub_ in langs.exp", "show
252 language at cppsub_ in langs.exp", "up to fsub in
253 langs.exp", and "show language at fsub in langs.exp".
254 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
255 "bactrace in corefile.exp".
256 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
257 "call inferior function with struct - returns float" and
258 "call inferior function with struct - returns double".
261 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
263 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
264 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
265 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
266 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
269 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
271 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
272 (or overriden) "CHILL" macro rather then bare "gcc".
273 Also look for ../../gcc/xgcc since that is what we will
274 actually need, not "Makefile". Remove following assignment
275 of CHILL to CHILL_FOR_TARGET because that results in
276 recursive definition.
278 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
280 * gdb.base/corefile.exp: Change xfail for backtrace in
281 corefile.exp from linuxaout to all linux.
282 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
283 cases where we miss the breakpoint at the signal handler
284 for some reason. Setup xfail for linuxoldld/linuxaout and
285 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
286 hitting SIGURG breakpoint.
287 * gdb.base/signals.exp: Setup xfail for "next" acting like
288 continue to add linuxoldld. Setup xfail for all linux for
289 "next to handler in signals_tests_1", "backtrace in
290 signals_tests_1", "continue to func1", "pass SIGUSR1",
291 and continue to handler".
293 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
295 * Update all FSF addresses except those in COPYING* files.
297 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
299 * gdb.base/a2-run.exp: Change messages to be more explicit about
300 the status of args, and quote binfile in results.
302 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
304 * gdb.base/callfuncs.exp: Add tests for passing structs to
305 inferior functions and return various types.
306 * gdb.base/callfuncs.c: Add functions to receive a struct
307 and return a member of the struct, in various types.
309 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
311 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
313 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
315 * config/vxworks29k.exp: New file, sources vxworks.exp.
317 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
319 * config/gdbremote.exp: New file. Testing framework using
322 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
324 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
325 "call function when asleep" and "send end of file".
326 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
327 for "backtrace in corefile.exp".
328 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
329 for "backtrace through signal handler".
330 * gdb.base/corefile.exp: Make sure we actually generate a core file
331 before trying the core tests. Some systems allow the user to suppress
332 generation of core files and default to that (linux for example).
333 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
334 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
336 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
338 * gdb.threads: New directory with some crude multi-threaded
339 gdb tests (step.exp and step2.exp).
340 * config/mt-lynx (STEP_EXECUTABLE): Define.
341 (THREADFLAGS): Define.
343 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
345 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
347 * gdb.base/signals.exp: Disable whole file for lynx until
350 * gdb.base/signals.exp: xfail test where "next" acts like
353 * gdb.base/interrupt.exp: xfail test for calling function while
354 inferior is asleep for lynx.
356 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
357 than one cr-lf after each command.
359 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
361 * configure.in: Reinstate setting of stabsdirs variable, fix
362 typo in setting up configdirs for native builds.
364 * gdb.base/return.exp: Fix typo in return double test.
365 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
366 compiler from optimizing them away.
368 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
370 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
371 sequences to be echo'd by gdb when using gdb_test.
372 * gdb.chill/chexp.exp: Likewise.
373 * gdb.fortran/exprs.exp: Likewise
375 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
377 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
378 after the inferior gdb has started.
380 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
382 * gdb.base/funcargs.exp: Likewise.
383 * gdb.base/gdbvars.exp: Likewise.
384 * gdb.base/interrupt.exp: Likewise.
385 * gdb.base/list.exp: Likewise.
386 * gdb.base/watchpoint.exp: Likewise.
387 * gdb.c++/demangle.exp: Likewise.
388 * gdb.c++/inherit.exp: Likewise.
389 * gdb.chill/chexp.exp: Likewise.
390 * gdb.fortran/exprs.exp: Likewise.
392 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
393 test if we can't handle IO to/from the inferior.
395 * gdb.c++/misc.exp: Always check for a program already being
396 started after sending a "run" command to gdb.
398 * gdb.base/twice.exp: Start with a fresh gdb.
400 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
401 only depend on gdb's expression code, not the chill runtime.
403 * gdb.base/return.c: Put return values into variables so we
404 can have gdb print them rather than depending on the program
406 * gdb.base/return.exp: Corresponding changes.
408 * lib/gdb.exp: Provide default value for noinferiorio.
409 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
412 * gdb.base/break.exp: Always check for a program already being
413 started after sending a "run" command to gdb.
414 (text_next_with_recursion): Don't check the output from the
415 program's printf statement. Instead just make sure the program
418 * gdb.base/commands.exp: Protect tests which need arguments with
419 $noargs conditionals.
421 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
423 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
424 of structure member arrays to match gdb/valops.c:value_addr change.
426 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
428 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
431 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
433 * configure.in (configdirs): Remove gdb.chill from default list
434 of subdirs and then add it back in only if doing a native build.
435 The current chill compiler does not yet work in any cross build.
436 * Revert all signal changes from Jul 6.
437 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
438 for sh-hms targets, allowing these tests to link, with no other
439 changes. Testing is suppressed by setting "nosignals" in site.exp.
441 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
443 * configure.in (signaldirs): Define and add to configdirs for all
444 targets except some specific ones that are known to not support signals.
445 Also clean up formatting.
446 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
447 (signals, sigall): Remove rules to build.
448 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
449 Moved to new gdb.signals directory.
450 * gdb.signals: New test directory.
451 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
452 signals.c signals.exp}: New or moved files.
454 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
456 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
458 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
460 * gdb.base/return.exp: Xfail `return double' test failure
461 on at least Solaris 2.3 and handle future/past versions on
462 a case by case basis as appropriate. Also update message
463 to include i*86 failures.
465 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
467 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
469 * lib/gdb.exp: Fix comment which erroneously identified
470 gdb_file_cmd as gdb_load (the 19 May change was in fact to
471 gdb_file_cmd not gdb_load).
472 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
474 * gdb.base/setvar.exp: Make test names consistent between pass and
475 fail cases. Use gdb_test more.
477 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
479 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
481 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
483 * gdb.base/help.exp: Fix expected help string for `show commands'.
485 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
487 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
489 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
492 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
494 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
495 that loop eventually terminates. Fix Connection refused logic so
496 that testsuite will expire nicely.
498 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
500 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
501 config/rom68k.exp: New tcl glue for the appropriate monitors.
502 These all just end up calling monitor.exp.
503 * config/monitor.exp (gdb_target_monitor): Handle `Connection
504 refused' by retrying. Cleanup some timeout issues.
505 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
506 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
507 callers don't have to set/restore global timeout variable.
509 * The following set of changes centralizes management of the global
510 timeout variable. This way, it can be set in one target dependent
511 place instead of dozens of places scattered throughout the test suite.
512 If you need to lengthen a timeout, then you should either set timeout
513 in one of the config/{target}.exp files, or multiply it by a factor.
514 Setting it to an absolute value is always going to lose for some
516 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
517 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
518 * gdb.base/funcargs.exp: Don't set timeout.
519 * gdb.base/list.exp (test_forward_search): Only use local timeout.
520 * gdb.base/printcmds.exp (test_print_string_constants
521 test_print_array_constants): Don't set timeout.
522 * gdb.base/ptype.exp: Don't set timeout.
523 * gdb.base/recurse.exp: Don't set timeout.
524 * gdb.base/return.exp: Don't set timeout.
525 * gdb.base/watchpoint.exp: Don't set timeout.
526 * gdb.c++/classes.exp (do_tests): Don't set timeout.
527 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
529 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
531 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
533 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
535 * lib/gdb.exp: Disable chill tests for irix5.
537 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
539 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
540 each test pass or fail.
542 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
544 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
547 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
549 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
551 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
553 * config/est.exp: Fix copyright and comments. Remove dead code.
554 Use targetname, serialport and baud variables instead of fixed
556 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
557 * config/cpu32bug.exp: New file to support cpu32bug monitors.
559 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
561 * gdb.base/watchpoint.exp: Don't run
562 test_watchpoint_triggered_in_syscall for sunos.
564 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
566 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
567 they don't seem to exist. Do include stdio.h.
569 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
571 * gdb.base/a1-selftest.exp: Add alpha xfail.
573 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
575 * gdb.base/watchpoint.c (main): Prompt before calling read().
576 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
577 Revise accordingly. Remove cruft about sending "123" several
578 times, until it gets noticed. Clean up the "print buf[0]" stuff
579 so that it passes or fails, and waits for prompts in the usual way.
581 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
583 * gdb.base/recurse.exp: Fix comment.
585 * TODO: Remove item about printing variables in nodebug.exp. Add
586 item about enabling tests which are only run on some targets.
588 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
589 fail, make test names unique, use new gdb_test convention
590 regarding pattern, use gdb_test more, etc.).
592 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
593 fail, make test names unique, etc.).
595 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
597 * gdb.base/nodebug.c: Change return type of top and middle to
599 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
600 are fixed by the recent mdebugread.c changes. Allow `short ()'
601 as type for top and middle.
603 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
605 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
606 nearly as I can tell, the whole thing was an accident in Stu's
607 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
608 to replace a send/expect pair with gdb_test, but ended up only
609 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
610 of 30 Mar 1995 took care of it, but left this vestigial comment
611 which I am now nuking.
613 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
615 * gdb.base/break.exp: Look for different line number for
616 breakpoint at main depending on usestubs.
618 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
620 * gdb.base/list.exp: Adjust some alternate expect patterns to
621 match recent list0.c change. Add alternate expect pattern for
622 output from `list default lines around main' for optimizing
625 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
627 * lib/gdb.exp: If nosignals is not set, set it to 0.
629 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
631 * config/slite-gdb.exp: Responds to load symbol table prompt.
632 * gdb.base/break.exp: Adjust line number, fix rerun.
633 * gdb.base/langs0.c: Add #ifdef usestubs.
635 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
637 * gdb.base/list.exp: Adjust line contents after adding new lines in
638 list0.c. Also fix a syntax error.
640 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
641 * gdb.base/break.exp: ditto.
642 * gdb.base/list.exp: ditto.
643 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
644 * gdb.base/run.c: ditto.
645 * gdb.base/list0.c: ditto.
646 * gdb.base/funcargs.c: ditto.
648 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
650 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
651 $targetname, $serialport and $baud instead of hardwired variables.
652 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
653 target doesn't support signals.
655 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
657 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
659 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
661 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
662 Don't rely on the value of an auto variable before it has been
663 initialized. Use gdb_test more.
665 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
667 * lib/gdb.exp (default_gdb_version): A version number must start
668 with a digit, but other than that contains all characters up to
669 the first whitespace character.
671 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
673 * gdb.base/commands.exp (breakpoint_command_test): New tests.
675 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
677 * gdb.c++/*.exp: Warn if executable does not exist. The original
678 reason for skipping the warning was that configure.in sometimes
679 intentionally skipped building the executables but the tcl code
680 had no way of knowing. That (a) was always bogus with respect to
681 error handling, (b) is no longer true (right now there is no way
684 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
686 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
688 * gdb.base/list.exp: Add expect patterns for output from
689 SunPRO compiled executables.
690 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
693 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
695 * gdb.base/break.exp (test_next_with_recursion): Accept any line
696 number (we are already testing that the correct source line text
699 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
700 that is what is intended, but something needed to be done to get
701 sunos4 native working again.
703 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
705 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
706 apparently went with a (very) old xfail.
708 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
710 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
711 runto_main is a proc in gdb.exp that will do 'step' for target use
713 * gdb.base/exprs.exp: ditto.
714 * gdb.base/interrupt.exp: ditto.
715 * gdb.base/opaque.exp: ditto.
716 * gdb.base/printcmds.exp: ditto.
717 * gdb.base/ptype.exp: ditto.
718 * gdb.base/scope.exp: ditto.
719 * gdb.base/setvar.exp: ditto.
720 * gdb.base/signals.exp: ditto.
721 * gdb.base/twice.exp: ditto.
722 * gdb.c++/classes.exp: ditto.
723 * gdb.c++/inherit.exp: ditto.
724 * gdb.c++/templates.exp: ditto.
725 * gdb.base/break.exp: no run and hit main for stubs. Change line
726 numbers for breakpoints and info breakpoint.
727 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
729 * gdb.base/callfuncs.c: ditto.
730 * gdb.base/exprs: ditto.
731 * gdb.base/interrupt.c: ditto.
732 * gdb.base/opaque0.c: ditto.
733 * gdb.base/printcmds.c: ditto.
734 * gdb.base/ptype.c: ditto.
735 * gdb.base/scope0.c: ditto.
736 * gdb.base/setvar.c: ditto.
737 * gdb.base/signals.c: ditto.
738 * gdb.base/twice.c: ditto.
739 * gdb.c++/misc.cc: ditto.
740 * gdb.c++/templates.cc: ditto.
742 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
744 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
746 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
747 somewhere between `read' and `main.c'. I'm pretty sure the
748 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
749 and it isn't particularly useful.
751 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
753 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
755 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
757 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
759 * config/mt-slite: add LIBS and -nostdlib.
760 * config/slite-gdb.exp: add this new file to support sparclite target.
762 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
764 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
766 * gdb.base/a2-run.exp: Change argument to istarget from
767 "*-*-vxworks" to "*-*-vxworks*".
768 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
770 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
772 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
773 will not runto main but do a 'step' to step out of breakpoint().
774 * config/mt-slite: add -Dusestubs.
776 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
778 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
781 * gdb.base/signals.exp: Add test for "handle all print".
782 * TODO: Remove "handle all print". Also remove item about
783 checking copyright date (I don't like the idea of a spurious FAIL
784 based on when we run the tests).
786 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
787 for SunOS4 (reason for failure not investigated). Remove
788 redundant test for $binfile.
790 * gdb.base/nodebug.c (array_index): Call malloc.
792 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
794 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
796 * gdb.base/recurse.exp: Update gdb_test invocation to use new
797 conventions and slightly simplify the matching regexp.
799 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
801 * gdb.base/break.exp: Update gdb_test invocation to use new
804 * lib/gdb.exp: If noargs is not set, set it to 0.
806 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
809 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
811 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
813 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
814 one argument of type "<non-float parameter>".
816 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
818 * config/rom68k.exp: New file to support Motorola IDP board.
819 * gdb.base/a2-run.exp: Skip this file if noargs is set.
820 * gdb.base/break.c: Change things around so that this program
821 doesn't depend upon args. This is necessary to make remote
822 targets work (in general, they can't take args).
823 * gdb.base/break.exp: Don't try to send args to program. Don't
824 expect output. Also, replace lots of code with gdb_test.
826 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
828 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
829 printing of '\'' (which is what the comment says we are testing,
830 even though we were not), not '''.
831 (test_integer_literals_rejected): Test that printing ''' is an error.
833 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
834 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
835 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
836 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
837 Use gdb_test not test_print_accept.
838 * lib/gdb.exp: Remove test_print_accept.
840 * gdb.base/signals.exp (signal_tests_1): Make pass message
841 consistent with fail message.
843 * gdb.base/whatis.exp: Remove xfails for printing char vs.
844 unsigned char; the bug (PR 1821) is fixed.
846 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
848 * gdb.base/scope.exp (test_at_localscopes): Call pass for
849 successful tests--makes xfailing them work right.
851 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
853 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
854 only \r\n, not .*. The test can pass .* as the last thing in
855 $pattern if that is what it wants. In addition to providing this
856 flexibility, this change should speed up pattern matching in cases
857 where the pattern already ended with .* (there were a number of
858 them). This change also helps catch bad patterns--in the old
859 scheme the typo "char \*" instead of "char \\*" would pass. Now
861 * Many .exp files: Update callers.
863 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
864 clearer and does not spuriously match multiple ('s. Likewise for
867 * gdb.base/nodebug.exp: Test ability to call a function and pass
868 it a string (even with no debugging info).
870 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
871 "p '\'", which is the same as "p ''" once tcl gets done with
872 quoting, to "p '\\'", which I suspect is what is intended (one
873 backslash gets sent to GDB).
875 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
877 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
879 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
880 1817) was fixed literally years ago.
882 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
884 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
885 test, it causes stepping out of call_after_alloca_subr with
886 optimizing compilers.
887 (localvars_in_indirect_call): Consume GDB prompt if `finish'
890 * gdb.c++/templates.exp: Source templ-info.exp only if
891 the templates executable exists.
893 * gdb.c++/misc.cc (class Contains_static_instance,
894 class Contains_nested_static_instance),
895 gdb.c++/classes.exp (test_static_members): Test printing of
896 a class that contains a static instance of the class.
898 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
900 * gdb.base/langs2.c (cppsub_): Don't prototype.
901 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
904 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
906 * lib/gdb.exp (skip_chill_tests): New procedure.
908 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
910 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
912 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
913 each expect pattern. Cuts runtime from 12 to about 4 seconds.
915 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
917 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
919 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
920 disassemble 8, not 16, instructions for part 4.
922 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
923 support the latter anymore.
925 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
927 * gdb.base/callfuncs.c: Control use of prototypes based on
928 NO_PROTOTYPES, not __STDC__.
929 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
930 t_float_values2 tests if prototypes in use.
932 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
933 t_double_values): When checking differences against DELTA, check
934 that difference is within the range (-DELTA,DELTA), not just
937 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
939 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
940 'file' command firts, then 'target', then 'load', this is due to gdb
942 * config/mips-gdb.exp: Fix a couple regular exp bugs.
944 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
946 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
947 FP load/store variants.
948 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
950 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
952 * gdb.base/term.exp: Do not give a warning if not native, it is
953 not an abnormal condition.
955 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
957 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
960 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
962 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
963 are getting the version number.
965 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
966 if not native, it is not an abnormal condition.
968 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
970 * lib/gdb.exp: Just use "file exists", rather than undocumented
971 dejagnu procedure "findfile".
973 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
975 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
976 (LDFLAGS): Set to -Xlinker -Ur.
978 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
979 Removed, these values are set by lib/gdb.exp.
981 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
983 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
985 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
986 of replicating gdb startup code.
988 * config/mt-vxworks (LDFLAGS): Set to -r.
989 (CFLAGS_FOR_TARGET): Removed.
991 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
992 (gdb) and gdb for vxworks uses (vxgdb).
994 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
995 executable is not in the tree and host != target, use sed and
996 program_transform_name to determine the gdb name used by the
999 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
1000 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1002 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1004 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
1005 floats, chars, and shorts where there are ANSI-style function
1008 * gdb.base/langs.exp, gdb.base/langs*: New test.
1009 * gdb.base/Makefile.in: Build it.
1010 * TODO: Remove item about checking that C names don't get C++
1011 demangling applied; this test tests it.
1013 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1015 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
1016 went with the const70 xfail. The xfail went away a year ago.
1018 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
1020 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
1023 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
1025 * gdb.base/a1-selftest.exp: Don't run on hp300.
1027 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1029 * Makefile.in (site.exp): Set host_alias and target_alias as well
1030 as host_triplet and target_triplet.
1032 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1034 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
1036 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
1037 places as other ecoff systems).
1039 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
1042 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1044 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
1046 * gdb.base/nodebug.exp: Accept "function" in addition to "text
1047 variable and "variable" in addition to "data variable".
1048 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1050 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
1052 * gdb.base/list1.c (long_line): Add additional statement at start
1054 * gdb.base/list.exp (test_forward_search): Update line number to
1055 reflect new statement.
1057 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1059 * gdb.base/signals.exp: Reinitialize searched source directories
1060 after gdb_start call.
1062 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
1064 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
1065 * gdb.stabs/Makefile.in: Likewise.
1067 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
1068 change. Instead split the tests into smaller pieces.
1069 * gdb.disasm/hppa.s: Corresponding changes.
1071 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1073 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1074 Quote ^C when passing it to stty. For some shells ^ is a pipe.
1076 * gdb.base/funcargs.exp: Modify many tests so that every test
1077 either passes or fails. Make some test names unique.
1079 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1081 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1082 Call stty to set interrupt character.
1084 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
1085 for HP assembler versus GNU assembler based on actual behavior of
1086 $(CC), rather than assuming that $(AS) is always the GNU assembler.
1088 * TODO: Suggest a few more stepping tests.
1090 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
1092 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
1093 restart GDB for h8300 after a continue.
1094 (return): Add pattern to match a29k-udi behavior.
1095 * gdb.base/nodebug.exp: Remove obsolete comment.
1096 * gdb.base/regs.exp: New file, testing of register displays.
1097 * gdb.base/return.exp: Fix typo in reference to $objdir.
1098 * gdb.base/whatis.exp: Always start with a fresh GDB.
1100 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1102 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
1103 higher, these tests generate a lot of output.
1105 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1107 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
1108 code following the catch silently ignored some errors; without the
1109 catch they should be thrown like any other tcl error. Also, the
1110 catch used "" instead of {} which meant all the callers who wanted
1111 to include one of the characters "[]$ had to quote it an extra time.
1112 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
1113 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
1114 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
1115 Remove extra quoting.
1117 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
1119 * gdb.base/commands.exp: Make test names unique; every test either
1120 passes or fails. Update some comments.
1122 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
1124 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1126 The following fixes a FAIL caused by the fact that the alpha stabs
1127 configuration didn't use the ".if alpha" code in weird.def.
1128 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
1129 bit pointer, so the 32 bit version works even on the alpha.
1130 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
1131 Remove the stuff which allowed us to have separate versions for
1132 alpha and everything else.
1134 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
1135 regexp which "info func operator\[\](" is supposed to match. Fix
1136 string to send to GDB. Note that GDB still doesn't work right. Add a
1137 new test for "info func .perator\[\](" which GDB does handle correctly.
1139 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
1141 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1143 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
1144 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
1145 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
1146 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
1147 it makes the tests harder to understand and confuses test-o-matic.
1148 The preferred style is that each test provides a PASS or a FAIL,
1149 and has a unique message (e.g. "continue #54" not just "continue")
1150 which is the same for the pass and the fail.
1151 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1152 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
1154 * gdb.base/printcmds.exp: Use test_print_accept. Remove
1155 prt_accept which was basically the same thing. Likewise for
1156 test_print_reject and prt_reject.
1157 * lib/gdb.exp (test_print_reject): Add some more error message
1158 patterns to match from the former printcmds.exp (prt_reject).
1159 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
1160 One defect of the passcount stuff is that some of it failed to
1161 report XPASS where appropriate.
1162 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
1163 stuff before and after arg in expected pattern.
1164 (test_paddr_operator_functions): Re-do test without print_addr_of;
1165 this is the only test which seems to want extra stuff there.
1167 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1169 * gdb.base/nodebug.exp: Update new tests to reflect improved
1170 wording of gdb output.
1172 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
1173 and "ptype" work on variables in files compiled without -g.
1174 Replaces commented out "maint print msymbol" tests.
1176 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1178 * gdb.base/setvar.c (dummy): Call malloc.
1180 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
1181 losing with the irix4 sed.
1183 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
1186 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1188 * TODO: Remove items about corefile.exp testing new exec-file and
1189 backtrace; both are now done. Add items about printing enums.
1191 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1193 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
1194 "get signal $thissig" test fails.
1196 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
1198 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1200 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
1201 compiler warning with dec alpha compiler.
1203 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
1204 extra \n from gdb_test call (this explains why the prompt test
1205 that I removed yesterday was there).
1206 (user_defined_command_test): Remove extra \n and prompt test.
1208 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
1209 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
1211 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
1212 Also remove alpha workaround, which turns out to be because
1215 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
1217 * gdb.base/help.exp: Don't test "help show".
1219 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1221 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
1222 "set print address" is on.
1223 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
1224 pass prompt to gdb_test; gdb_test already looks for the prompt.
1226 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
1228 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
1229 was a vestige of the manual TESTSTRATEGY, and the purpose of it
1230 was to make sure that gdb can read a core file. But (a) the "read
1231 the corefile" part didn't make it to a1-selftest.exp, we just
1232 delete the corefile after creating it, and (b) we test reading
1233 corefiles in corefile.exp anyway. Also, this test left around a
1234 xgdb process on Solaris.
1236 * gdb.base/corefile.exp: Also test backtrace.
1238 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
1240 * gdb.base/commands.exp: Test a simple user defined command with
1241 arguments and if/while statements; verify the full user command is
1242 printed by "show user".
1244 * gdb.base/commands.exp: Test if/while commands as part of a
1245 breakpoint command list; verify they appear in breakpoint
1248 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1250 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
1251 than by dividing by zero.
1253 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
1255 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
1256 performing an inferior call with watchpoints enabled.
1257 * gdb.base/watchpoint.c (main): Delete second unnecessary read
1260 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1262 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
1265 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
1266 Add additional pattern for when "int operator int(void);" appears
1267 in a different order.
1269 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1271 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
1273 * gdb.base/help.exp: Replace most of docstrings for "info signals"
1274 and "signal" with ".*".
1276 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1278 * TODO: Add note about "handle all nostop".
1280 * gdb.base/{sigall.c, sigall.exp}: New test.
1281 * gdb.base/Makefile.in: Add it.
1283 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1285 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
1286 when invoking GDB, suppresses any windowing interface.
1288 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
1290 * config/sim-gdb: New file, simulator testing support.
1292 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
1294 * gdb.base/interrupt.exp: Test calling func1 twice.
1296 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
1298 * gdb.base/list.exp (test_forward_search): Set timeout higher
1299 when we'll be getting lots of output from gdb.
1301 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
1302 "init_malloc" to after the expect statement. Run it if that
1303 regexp is taken, but also for two others which happen if source
1306 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1308 * gdb.base/printcmds.exp: New test, for printing register before
1311 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1313 * gdb.base/list.exp: Correct some alternate expect patterns
1314 to reflect changes in list1.c.
1316 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1318 * TODO: Add item regarding large frames.
1320 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
1322 * TODO: Remove item about enabling return.exp; it
1323 is enabled. Suggest a few more "return" tests.
1325 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1327 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
1330 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1332 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
1333 and pr-5646.o, so "make" is the same as "make all", not "make
1336 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
1338 * gdb.base/list.exp: Adjust expectations to reflect changes in
1340 (test_forward_search): New test proc.
1341 * gdb.base/list1.c (long_line): New function, has long source line.
1343 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
1345 * gdb.base/a1-selftest.exp: Change initial stepping to know about
1346 additional line of code that was added.
1348 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
1350 * gdb.disasm/hppa.s: Break the large branching tests into smaller
1351 tests so as not to overflow expect's input buffers.
1352 * gdb.disasm/hppa.exp: Corresponding changes.
1354 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1356 Beginnings of template debugging tests.
1357 * gdb.c++/templ-info.cc: New file to test for template
1358 debugging capability of the compiler.
1359 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
1361 * gdb.c++/templates.cc: Add explicit template instantiations
1362 to enable compiling with -fno-implicit-templates. Add destructor
1363 and 'value' method to T5 class for template tests.
1364 * gdb.c++/templates.exp: Add testcases for printing of template
1365 types, setting breakpoints on template methods and calling a
1368 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
1370 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
1371 branch target since some assemblers (gas-2.5) may emit a
1372 relocation for the branch instead of resolving it in the
1375 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1377 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
1378 through signal handler.
1380 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1382 * configure.in (*-*-netware): Use config/mt-netware.
1384 * config/mt-netware: New file.
1385 * config/mt-i386-netware: Removed, separate configs for different
1386 netware architectures are no longer needed now that we have
1389 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1391 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
1392 by the recent changes to use ANSI C arithmetic conversions.
1394 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1396 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
1397 bug involving using inferior_pid to figure out whether to select a
1400 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
1402 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
1403 match the current disassembler output.
1405 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
1407 * gdb.fortran/exprs.exp: Expect VOID instead of void.
1408 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
1409 types, expect "int" as type of integer values (for now).
1411 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
1413 * gdb.base/commands.exp: New tests for if/while commands.
1415 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
1417 * lib/gdb.exp (runto): Replace sub-pattern for hex value
1418 by .*, since hex values have different syntax in Chill mode.
1420 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1422 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
1423 linefeed from expect pattern for repeated types with indices > 9.
1425 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
1427 First part of Fortran test suite.
1428 * gdb.fortran: New directory.
1429 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1431 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1433 * gdb.base/default.exp: Update expect pattern for load command
1436 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1438 * configure.in: Change i386 to i[345]86.
1439 * gdb.base/configure.in: Likewise.
1440 * gdb.c++/configure.in: Likewise.
1441 * gdb.chill/configure.in: Likewise.
1443 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
1445 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
1446 patterns, since that is not a valid context for comments.
1448 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
1450 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
1451 repeated types and repeated types with indices > 9.
1453 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
1455 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
1456 2417; old bug has been fixed.
1458 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
1460 * gdb.base/interrupt.exp: When trying to wake up the inferior,
1461 send the newline ourselves instead of assuming gdb_test will do
1462 so when passed an empty input string.
1464 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
1467 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1469 * lib/gdb.exp (gdb_test): Don't send anything if the first
1470 argument is an empty string. This makes cases where we want to
1471 match output that is already in expect's buffers (for example,
1472 matching a breakpoint after gdb_run_cmd has been called) work
1475 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1477 * config/netware.exp: New file.
1479 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1481 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
1482 the -B and -L prefixes so we can find the debugging stub.
1484 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
1485 there and we are using the gcc from the tree.
1487 * gdb.base/types.c: Removed.
1489 * gdb.base/configure.in: Look for makefile fragments in ../config.
1490 Recognize i386-*-netware.
1491 * gdb.c++/configure.in: Likewise.
1493 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1495 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
1496 the correct TCL syntax.
1498 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1500 * gdb.base/opaque.exp: use runto instead of messing around with
1501 breakpoints. Simplify by using gdb_test.
1503 * gdb.base/bitfields.exp: restart between tests on netware targets
1504 because breakpoints aren't relocated after target death. Run
1505 processes to completion.
1507 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1509 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
1511 * Makefile.in: Remove extra tabs that confuse some versions
1512 of "make". Use the newly built gdb to test with by default,
1513 rather than the first one in the tester's search path.
1515 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
1517 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
1519 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
1522 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1524 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
1526 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
1528 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1529 * gdb.base/funcargs.exp: Likewise.
1531 * gdb.base/bitfields.exp: Simplify by using gdb_test.
1532 * gdb.base/funcargs.exp: Likewise.
1534 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
1537 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1539 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
1540 return,signals,twice}.exp: Handle non-existant binaries
1543 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
1544 * gdb.base/Makefile.in: Don't try to generate a core dump, we
1545 might testing a cross development system.
1547 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1549 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
1550 runtest script is relative to ${srcdir}, not ${rootdir}.
1552 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
1554 * gdb.base/signals.exp: Allow for optionality of breakpoint
1557 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1559 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
1561 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1563 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
1564 for size_t definition.
1565 * gdb.c++/templates.cc: Likewise
1567 * config/mt-i386-netware: New file.
1569 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
1572 * gdb.base/Makefile.in: Added support for systems that name core
1573 files by appending "core" to the program name.
1574 * gdb.base/a1-selftest.exp: Likewise.
1576 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1578 * gdb.base/return.exp: Add comment and message for `return double'
1579 test failure on Sparc Solaris.
1581 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
1583 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
1585 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1587 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
1588 from optimizing them away.
1589 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
1590 patterns to include default constructors and assignment operators,
1591 to match gcc versions beyond 2.5.8. Accept any cplus demangling
1592 character in the output of the virtual base pointer.
1594 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1596 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
1597 expression match in print_addr_of to avoid unintented matches.
1598 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
1599 versions up to 2.5.8.
1601 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1603 * gdb.base/list.exp: Tweak alternate pattern for listing of an
1604 included file to run under newer versions of expect.
1605 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
1606 consecutive >'s in templates to accomodate recent cplus-dem.c change.
1607 Remove xfail for the virtual table of BDDHookV.
1609 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
1611 * lib/gdb.exp (string_to_regexp): Set a default result.
1612 (default_gdb_start): Fix misleading message.
1614 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
1616 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
1617 Remove all CC, etc definitions.
1618 * config/mt-hpux: New file.
1619 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
1620 (CFLAGS, LDFLAGS): Define.
1621 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1623 * Makefile.in (site.exp): Don't insert host_os, etc.
1624 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
1625 (distclean): Check existence of subdir.
1626 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
1627 * gdb.base/Makefile.in: General cleanup and simplification.
1628 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1629 to build executables. Use default rule to build .o files.
1630 (EXPECT, RUNTEST, CC): Fix relative pathname.
1631 (site.exp): Don't insert host_os, etc.
1632 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
1633 and/or SIGUSR1 defined.
1634 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
1635 * gdb.c++/Makefile.in: General cleanup and simplification.
1636 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1638 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1640 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
1642 * gdb.base/recurse.exp: Misc changes to get tests running again
1643 after Kung's changes to the watchpoint code.
1644 * gdb.base/watchpoint.exp: Likewise.
1646 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
1648 * lib/gdb.exp (string_to_regexp): Convert {\} also.
1650 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
1652 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
1653 * lib/gdb.exp (default_gdb_start): Define.
1654 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
1655 gdb.base/funcargs.exp, gdb.base/opaque.exp,
1656 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
1657 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
1658 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
1659 Don't call gdb_target_udi in between tests.
1661 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1663 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
1664 (which was basically just a local version of the same thing). In
1665 addition to avoiding duplication, gdb_test_exact is faster.
1666 * lib/gdb.exp (gdb_test_exact): Fix typo.
1668 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
1669 don't give an error.
1671 * gdb.base/term.exp: Call delete_breakpoints before starting.
1673 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
1676 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1678 Reorganization of the GDB Test Suite.
1680 * gdb.base: New directory, contains all the basic tests.
1681 * gdb.c++: New directory, tests specific to C++.
1682 * gdb.chill: New directory, tests specific to Chill.
1683 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
1684 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
1685 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
1686 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
1687 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
1689 * */gdbme.*: Rename to match appropriate expect scripts.
1690 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
1691 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
1692 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
1693 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
1694 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
1695 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
1696 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
1697 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
1698 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
1699 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
1700 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
1701 gdb.c++/virtfunc.cc: New names of C++ files.
1702 * gdb.chill/chillvars.ch: New name of Chill file.
1703 * gdb.base/configure.in, gdb.c++/configure.in,
1704 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
1705 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
1706 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
1707 * configure.in (configdirs): Update to reflect directory changes.
1708 (target_abbrev): No longer define for any configuration.
1709 * Makefile.in: Cosmetic improvements to header comments.
1711 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
1713 Various changes to gdb.t31:
1715 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
1716 * gdbme.ch: Make all key-words and predefineds be upper-case.
1717 * chillvars.exp: Expect key-words and predefinds in upper-case.
1719 * chillvars.exp: Use gdb_test_exact many places.
1720 Change expected output for arrays (which now includes index labels).
1722 * pr-5020.exp, gdme.ch (module PR_5020):
1723 New test, for PR-5020.
1725 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
1727 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
1728 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
1730 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
1732 * Makefile.in: Fix bit-rot in definitions of CHILL,
1733 CHILL_FOR_TARGET and Chill_LIB.
1734 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
1735 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
1736 CHILL, and CHILL_LIB.
1738 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
1740 * Revert the previous changes. Please see Rob's directory
1741 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
1743 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
1745 * Makefile.in, configure.in, config/mips-gdb.exp,
1746 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
1747 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
1748 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
1749 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
1750 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
1751 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
1752 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
1753 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
1754 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
1755 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
1756 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
1757 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
1758 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
1759 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
1760 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
1763 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
1765 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
1766 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
1767 Rob's new testing fragments.
1769 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
1771 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
1772 lib/gdb.exp: Replace error proc calls with perror.
1774 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1776 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
1777 version also, match on casted version strings, and match on
1778 gdb startup case where the line numbers might be messed up.
1780 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
1782 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
1783 (CFLAGS): Delete it from here.
1785 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
1787 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
1789 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
1791 * Makefile.in (RUNTEST): Default to just "runtest".
1793 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1795 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
1796 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
1797 the code has been restructured.
1799 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1801 * gdb.t00/default.exp (set write): Allow any number of \r and/or
1802 \n, not just one of each.
1804 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
1805 /bin/cc gives a warning if you do.
1807 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
1809 * gdb.t24/demangle.exp: change expect pattern of
1810 __t10ListS_link1ZUiRCUiPT0
1812 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1814 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
1815 on local variables in recursive functions.
1817 * gdb.t07/Makefile.in: Build the new test.
1819 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1821 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
1822 directly. Instead compare the return values from actual calls.
1824 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
1826 * Makefile.in (check): Set TCL_LIBRARY for runtest.
1828 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1830 * From Peter Schauer with minor modifications.
1831 * gdb.t15/return.exp (return_tests): Handle targets where "return"
1832 stops in mid-line in the caller. Add xfail for returning a float
1833 value on X86 targets.
1835 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1837 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
1838 to avoid expect lossage.
1839 (fmem_LRbug_tests): Likewise.
1840 * gdb.disasm/hppa.s: Corresponding changes.
1842 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
1843 conditions to work with latest dejagnu/expect.
1845 * gdb.t15/funcargs.exp (finish from indirect call): No longer
1846 expected to fail on the PA.
1847 (backtrace in call with trampolines): Explicitly require main
1848 to be frame #1 (no trampolines should show up in backtrace).
1850 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
1852 * gdb.t06/break.exp: Likewise.
1853 * gdb.t07/watchpoint.exp: Likewise.
1854 * gdb.t13/bitfields.exp: Likewise.
1855 * gdb.t15/{funcargs,return}.exp: Likewise.
1856 * gdb.stabs/weird.exp: Likewise.
1857 * config/{mips,udi}-gdb.exp: Likewise.
1859 * hppa.sed: Enclose comments within a sed command to avoid
1860 losing with the old OSF1 sed.
1862 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1864 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
1866 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
1867 * gdb.t15/funcargs.exp: Conditionally step again to really
1868 finish from marker_call_with_trampolines. Handle the case where
1869 the first step from within call_with_trampolines already steps
1871 * gdb.t15/gdbme.c: Add comment to closing brace of
1872 call_with_trampolines for funcargs.exp.
1874 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1876 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1879 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1881 * gdb.t07/gdbme.c: More code for watchpoint testing.
1883 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
1884 "Hardware watchpoint" throughout file.
1885 (test_watchpoint_triggered_in_syscall): New test.
1886 (test_complex_watchpoint): New test.
1888 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1890 * gdbme.c (call_with_trampolines): New function to try and step
1891 into. Tests trampoline problems on the PA.
1893 * funcargs.exp (localvars_in_indirect_call): No longer expect
1894 stepping into indirect call to fail on PAs.
1895 (test_stepping_over_trampolines): New test.
1897 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1899 * TODO: Add suggestions for static member function tests, and
1902 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1904 * TODO: Add suggestions for "p/a" tests.
1906 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
1907 (default_gdb_exit): Replace all the hair with sending "quit" to
1908 the process with a simple close.
1910 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1912 * TODO: Add suggestions for shared library tests.
1914 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1916 * TODO: Add suggestions for x/s tests.
1918 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1920 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
1921 "enable once", and "enable breakpoints once" with ".*".
1923 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1925 * TODO: Add suggestions about structure passing tests.
1927 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1929 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
1930 the primary1 test, use work around if __GNUC__ < 2.
1931 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
1932 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
1933 Test for bad output rather than waiting for timeout. Issue
1934 second continue only if first continue failed.
1936 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1938 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
1939 operator[] test with gdb_test because the old code didn't seem to
1940 be getting the quoting right with the new dejagnu.
1942 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
1944 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
1946 * Makefile.in: Use a fresh expect if there is one, use runtest
1947 from the src tree if there is one.
1949 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1951 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
1952 next over recursive call. Revise the tests from that point on
1953 (which had been skipped) to match GDB's actual (correct) output.
1955 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
1956 with next over a breakpoint whose condition is false.
1958 * gdb.t00/help.exp: Comment out "help set print" tests just like
1959 (and for same reason as) "help set" test.
1961 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1963 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
1964 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
1966 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1968 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
1969 necessary gdb_target_udi.
1971 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
1973 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
1974 1838 and 2417; they are fixed.
1976 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
1977 gdb.t03/ptype.exp (ptype structure, ptype union):
1978 Remove xfails; the test is looser than when the xfails were added.
1980 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
1981 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1983 * gdb.t01/run.exp: Only run shell test if isnative.
1985 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
1986 since "run" automatically loads if necessary. Call gdb_target_udi
1987 after the "file" since "file" kills any execution target.
1989 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
1990 GDB. GDB doesn't work that way (not anymore at least) on UDI.
1991 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
1994 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1996 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
1998 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
2000 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2002 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
2003 properly quoting regexps. This makes the second argument to
2004 demangle a fixed string, which matches the callers, instead of a
2005 shell-style pattern which is what the previous implementation
2006 used. Update some of the callers.
2008 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2010 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
2011 (comib_nullified_tests): Fix typo.
2012 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
2013 strings. No longer expected to fail.
2015 * gdb.disasm/hppa.s (addib_tests): Fix typo.
2016 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
2017 strings. No longer expected to fail.
2019 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
2020 string. No longer expected to fail.
2022 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2024 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
2025 No longer expected to fail.
2027 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
2028 string. No longer expected to fail.
2030 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2032 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
2033 only in the names (I probably got most of them). I was even
2034 generous with some which differed in underscores in names, and
2035 probably missed a few, and I *still* was able to remove almost a
2036 third of the file with almost no impact on testsuite coverage.
2038 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2040 * gdb.t00/default.exp: Match udi_attach error message as well as
2041 the one from child_attach.
2043 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
2045 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
2047 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
2048 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
2050 * Move test with enums and partial symbols back to
2051 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
2052 Reverts the change of 26 May 93. Per today's change to
2053 stabs.texinfo, the behavior that weird.exp was expecting was
2054 unreasonable; what is important is that the compiler+gdb get
2055 things right, which happens with a recent gcc. Also fix the test
2056 to deal with native compilers which put out the stab gdb can't
2059 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2061 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
2062 in the names. The main thing these accomplish is to slow things down.
2063 Many more such duplicates surely remain.
2065 * gdb.t00/help.exp: Comment out "help support" test just like
2066 (and for same reason as) "help set" test.
2068 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
2070 * gdb.t06/break.exp: Remove setup_xfails for
2071 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
2072 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
2073 about known bug in gcc to include up through 2.5.8.
2074 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
2076 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
2077 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
2078 with latest gcc and gdb.
2079 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
2082 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2084 * configure.in (hppa*-*-*): Also configure and build stabs-only
2087 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2089 * gdb.t10/hppa.mt: A makefile fragment for the PA.
2090 * gdb.t10/configure.in (hppa*-*-*): Use it.
2092 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2094 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
2096 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2098 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
2099 versions prior to 1.13.5.
2101 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2103 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
2104 the prompt is at the start of a line.
2106 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2108 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
2109 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
2110 in the copr tests now.
2111 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
2112 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
2115 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
2117 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
2118 gdb.t31/chillvars.exp, lib/gdb.exp:
2119 Tweak to run under either version of expect.
2120 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
2121 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
2122 * gdb.t11/list.exp: Remove extraneous whitespace.
2124 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2126 * gdb.t16/printcmds.exp (test_print_strings): Accept
2127 "(unsigned char *) " before the string.
2129 * TODO: Add notes about printing of fancy types and GDB expressions.
2131 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
2133 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
2134 * gdb.t06/configure.in: Don't try to compile signals test program
2135 if doing mips-idt-ecoff.
2137 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
2139 * Most .exp files: Tweak to run under either version of expect.
2141 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2143 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
2144 xfails; I'm not sure why they are failing, but not because of PR 1806.
2146 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
2148 * config/unix-gdb.exp: Remove gdb_unload cause it's already
2149 defined in lib/gdb.exp.
2151 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2153 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
2154 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
2155 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
2156 have to be typeless.
2158 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2160 * TODO: Add suggestion for copyright year test.
2162 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
2164 * configure.in (*-*-lynxos*): Add stabs tests.
2166 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2168 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
2169 so insert a tab before any assembler directive in column zero.
2171 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
2173 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
2175 (fpu_short_memory_tests): Likewise.
2177 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2179 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
2180 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
2181 .stabs directives in comments.
2183 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2185 * TODO: New file, describing tests we could write.
2186 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
2188 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2190 * gdb.t06/signals.exp: Add kludge to force re-sync.
2192 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
2193 to xgdb instead of gdb, get out of gdb.
2195 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
2197 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
2200 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2202 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
2203 * gdb.stabs/configure.in (hppa*-*-*): Use it.
2204 * gdb.stabs/hppa.sed: New sed script for the PA.
2206 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2208 * gdb.stabs: Re-write weird.def and configuration to use sed
2209 instead of cpp. sed is portable and POSIX; cpp is neither.
2211 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2213 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
2215 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2217 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
2219 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2221 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
2223 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
2224 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
2226 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2228 * lib/gdb.exp: Comment out code which depends on non-existent
2229 `transform' procedure.
2231 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
2233 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
2234 * lib/gdb.exp: Transform tool name.
2235 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
2236 1.1's new error handling system.
2238 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2240 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
2242 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2244 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
2245 They made pattern matching so slow that timeouts happened on
2246 heavily loaded systems. Now any output from "show print" which
2247 gets us back to the GDB prompt is a PASS.
2249 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
2251 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
2253 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2255 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
2257 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
2258 It is not from PR 3220.
2260 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2262 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
2263 just started failing because they depended on the order the
2264 subcommands are presented, or exact docstring text. This kind of
2265 test is a pain and has minimal benefit.
2267 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2269 * gdb.t09/corefile.exp: At end of test, use "core" command with
2272 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
2274 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
2275 17}/Makefile.in: Make it possible to run the testsuite with Sun
2276 make and CC = cross gcc by adding explicit build rules for .o
2279 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2281 * gdb.t15/funcargs.exp: Don't put comments on same line as
2282 setup_xfail (@#$*%& tcl braindamage!).
2284 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2286 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
2288 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
2290 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
2291 * gdb.t20/inherit.exp: remove three dumplicate entries.
2293 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2295 * gdb.t06/break.exp: For "next over recursive call", fail on any
2296 incorrect output, not just on "factorial (value=2)".
2298 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2300 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
2301 working now. Add an xfail if accesing a bss variable causes
2302 a memory error if the target is not yet run.
2304 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2306 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
2307 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
2308 name of __st* demangling (2 strings). Did Kung really get the
2309 more than 95 others right without testing them?
2311 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
2313 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
2315 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
2317 * configure.in (configdirs): Add gdb.disasm
2318 * gdb.disasm: New directory for GDB disassembler tests.
2319 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
2321 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2323 * gdb.t00/help.exp: Don't test "help set".
2325 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
2326 from within expect statements. None of these happen anymore and
2327 they cause regressions to be silently unnoticed.
2329 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
2330 messages) about known failures with gcc cygnus-2.4.5-930417.
2332 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
2333 comp-info.exp so it gets built if it doesn't exist.
2335 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
2336 it is no longer used.
2337 * gdb.t13/comp-info.c: Removed.
2339 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2341 * gdb.t06/signals.exp: Add xfail for sun3.
2343 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2345 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
2346 relevant because ^C doesn't get sent but failure can be reproduced
2349 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2351 * gdb.stabs/alpha.mt: New configuration file for alpha.
2352 * gdb.stabs/configure.in: Use it.
2353 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
2354 sharing with alpha.mt, redefine long to word via preprocessor.
2355 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
2357 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
2359 * gdb.t00/teststrategy.exp: Change expect string so that we
2360 consume the `(xgdb)' from the command echo and from the gdb prompt.
2361 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
2362 gdb currently compares all values as long, so this failure probably
2363 applies to any configuration where LONGEST is bigger than a target int.
2364 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
2366 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
2367 to handle opaque pointers, gcc is.
2368 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
2369 as first argument. Include <sys/types.h> and change all operator
2370 new definitions to use size_t.
2371 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
2372 now that we use size_t.
2374 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2376 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
2377 a long or float array cast all array members to the same type.
2378 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
2380 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
2382 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
2384 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2386 * gdb.t24 (demangle.exp): Constructors of templates have names like
2387 vector<int>::vector(int) not vector<int>::vector<int>(int). See
2388 section 14.6 of the ARM.
2390 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
2391 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
2392 accomplish little and slow down the testsuite.
2394 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
2395 Accept spaces various places.
2397 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2399 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
2400 with watchpoint enabled.
2402 * Makefile.in: Remove definition of CC and remove the second
2403 definition of CXX (the "CXX = gcc" one remains). These definitions
2404 were causing backquotes to be expanded within backquotes, which
2407 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
2409 * gdb.t17/callfuncs.exp: Add "return 0" to end.
2411 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2413 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
2414 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
2415 by mips cc and contains no stabs entries.
2417 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
2419 * config/vx-gdb.exp: Use fake device to load files rather than
2421 * lib/gdb.exp: New proc to do "file" command.
2422 * config/unix-gdb.exp: Use new "file" proc.
2424 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2426 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
2427 Rework board rebooting slightly.
2428 (gdb_exit): Don't exit from the remote shell; there isn't one.
2429 * gdb.stabs/weird.exp: If a program is being debugged already,
2431 * gdb.t04/setvar.exp: Stop and restart gdb.
2432 * gdb.t05/expr.exp: Likewise.
2433 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
2434 restart gdb and reload the program.
2435 * gdb.t08/opaque.exp: Likewise.
2436 * gdb.t12/scope.exp: Likewise.
2437 * gdb.t13/bitfields.exp: Likewise.
2438 * gdb.t15/funcargs.exp: Likewise.
2439 * gdb.t20/classes.exp: Likewise.
2440 * gdb.t03/ptype.exp: Increase timeout.
2441 * gdb.t16/printcmds.exp (test_print_string_constants,
2442 test_print_array_constants): Likewise.
2443 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
2444 * gdb.t20/classes.exp (do_tests): Likewise.
2445 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
2447 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
2449 * gdb.stabs: Renamed *wierd* to *weird*.
2451 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2453 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
2454 for timeout. Add "known gcc 2.4.5 bug" to failure message.
2456 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2458 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
2459 (do_tests): Remove xfail for whatis on one_var and two_var.
2461 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
2463 * Makefile.in: Made cross building work better by adding
2464 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
2466 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2468 * gdb.t15/{return.c,return.exp,Makefile.in}:
2469 New test, currently commented out.
2471 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
2473 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
2474 still running and removes the leftover named socket so GDb can do
2477 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
2479 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
2481 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
2482 cross testing works better with "make check"
2483 * config/unix-gdb: Use default procedures for exit and version.
2484 * config/vx-gdb.exp: Cleaned up and massaged back to working order
2485 with the newest VxWorks.
2487 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2489 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
2492 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
2493 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
2495 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
2497 * config/unix-gdb.exp: Remove this version of gdb_exit
2498 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
2499 Rob says he'll look at it when he gets back to testing boards.
2501 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
2503 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
2504 an expected fail for certain ptype commands.
2506 * gdb.t20/classes.exp: Update expected results of "ptype class
2507 Base1" to account for the constructor that now appears in the type.
2509 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
2511 * configure.in (configdirs): Restore gdb.t04, which mysteriously
2512 disappeared from list.
2513 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
2514 "alldone" proc with call to cleanup and exit.
2515 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
2516 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
2517 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
2518 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
2519 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
2520 "alldone" proc with simple returns that suppress remaining
2521 tests. The alldone proc went away many months ago.
2523 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2525 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
2527 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
2529 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2531 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
2532 as vax gdb will display them.
2534 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2536 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
2539 * scope.exp: Change "bad value for localval" messages so each one
2542 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
2543 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
2545 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
2547 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2549 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
2550 doesn't exist (due to optimization).
2552 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2554 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
2555 contains \r because the filename is long.
2557 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
2558 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
2560 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2562 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
2563 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
2565 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
2567 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
2569 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
2571 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
2573 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
2574 to match does not match the passing case but still matches the
2577 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2579 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
2581 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
2583 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
2584 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
2585 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
2586 Remove various versions of gdb_exit.
2587 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
2589 * config/unix-gdb.exp: gdb_exit remains here, and should override
2590 the generic version, since it's doing a lot of wierd stuff that
2591 the other versions aren't. FIXME, fold it in, or abandon this
2594 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2596 * gdb.t24/demangle.exp: Add tests for PR 3220.
2598 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2600 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
2602 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
2604 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
2605 "i386-*-*". Works for i486 as well.
2607 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
2608 bug, and expand domain of xfail to all SVR4 systems, since the
2609 actual problem is likely to be in generic SVR4 /proc support.
2611 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2613 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
2615 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
2617 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
2618 xfails for other systems. Match a missing 'Continuing.' as an
2619 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
2621 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
2622 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
2623 Only issue warning for missing executables if -all option is used.
2625 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
2626 file if -all option is used. It's like an unpredictable XFAIL.
2628 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2630 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
2631 for dynamically linked binaries.
2633 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
2635 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2637 * gdb.t20/inherit.exp: Change message for "print tagless struct"
2638 to state that this is a known bug in old versions of g++.
2640 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2642 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
2643 while waiting for `Continuing'.
2645 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
2647 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
2648 in text, data, and bss.
2649 * gdb.t10/nodebug.c: Add local and global test variables for
2650 initialized and uninitialized data.
2652 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2654 * config/unix-gdb.exp (gdb_exit): Add "wait".
2656 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2658 * gdb.t06/signals.exp: xfail the continue from the handler for all
2661 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
2662 function with watchpoints enabled, the i386 call dummy starts with
2665 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
2666 386 bsd names its corefiles.
2668 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
2670 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
2671 compilers don't grok it.
2672 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
2673 with small octal ints rather than character constants, which
2674 are signed and might not fit if first promoted to int.
2676 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
2678 * gdb.t09/Makefile.in (clean): Remove corefile.
2680 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2682 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
2684 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2685 and Jim Kingdon (kingdon@cygnus.com)
2687 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
2688 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
2689 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
2691 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2693 * gdb.t17/interrupt.exp: Add xfail for hppa.
2695 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2697 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
2698 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
2699 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
2700 to determine signed-ness of bitfields and use the result to setup
2702 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
2703 * gdb.t15/funcargs.exp: Use them to step until the second indirect
2704 call line is reached if necessary.
2706 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2708 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
2710 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2712 * gdb.t06/break.exp: Also test `clear' command.
2714 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2716 * gdb.t00/teststrategy.exp: Remove extra quote.
2718 * gdb.t07/watchpoint.exp: Change xfail for calling function with
2719 watchpoint enabled to be for all non-68k machines.
2721 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
2723 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2725 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
2726 targets use aout.mt instead of ecoff.mt as gas understands
2727 standard aout format.
2729 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2731 * lib/gdb.exp (runto): Don't insist that function we are running to
2732 was compiled with -g.
2734 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
2736 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
2737 to get back into the read system call.
2738 Accept leading newline in case where we woke it up.
2740 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2742 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
2743 to make the stabs test work on ecoff systems using gcc and -with-stabs.
2744 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
2745 enable ecoff configuration.
2747 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2749 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
2751 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2753 * gdb.t16/printcmds.exp: Add another printf test.
2755 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
2757 * configure.in: If configured -with-stabs on any target, add
2758 stabsdirs to configdirs.
2760 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2762 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
2763 fun" so pattern does not match the command itself.
2765 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2767 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
2769 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2771 * gdb.t17/interrupt.exp: Test for more things.
2773 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2775 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
2776 compiler arranges the code and line numbers.
2778 * gdb.t17/interrupt.exp: Don't send \n after ^C.
2780 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2782 * gdb.t00/help.exp: Increase expect input buffer size.
2784 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2786 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
2788 * gdb.t07/watchpoint.exp: Add xfail for hppa.
2790 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
2792 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
2793 [0-9]*, not just [0-9].
2795 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2797 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
2799 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
2801 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2803 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
2805 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2807 * gdb.t06/signals.c: Add xfails for sun3.
2809 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
2811 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
2812 test_stepping tests.
2814 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2816 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
2818 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
2820 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
2821 rather than actually putting it through cpp twice.
2823 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
2825 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
2827 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
2830 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2832 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
2834 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
2835 C++ features prints as "struct", make it a pass, not an xfail.
2837 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2839 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
2840 Don't require VA to print as "class" rather than "struct".
2842 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
2844 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
2846 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2848 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
2850 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2852 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
2855 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2857 * gdb.t16/printcmds.exp: Add printf tests.
2859 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
2861 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
2863 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
2865 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
2866 pass counts, to counteract any existing or future setup_xfails.
2868 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2870 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
2871 {BEGIN,END}_COMMON for common block instead of STAB.
2872 * gdb.stabs/wierd.exp: Add xfail for rs6000.
2874 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
2875 intp_var should be N_GSYM not N_LSYM.
2876 wierd-aout.S: Use a label for the value of the N_SO.
2877 wierd.def: Remove all backslashes.
2878 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
2880 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2882 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
2883 get the expected next to inheritance3.
2885 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2887 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
2888 now that gcc-2.4 gets it right.
2890 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2892 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
2894 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
2895 generating comp-info.exp which works for cross-compilation.
2897 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
2899 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
2902 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
2904 * gdb.t01/run.exp: Start with a fresh gdb.
2905 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
2908 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
2910 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
2911 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
2912 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
2913 Makefile.in (distclean, realclean): Remove gdbme.c from list of
2916 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
2918 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
2919 test cases from bug reports.
2921 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
2923 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
2924 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
2925 avoid spurious xfails.
2926 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
2927 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
2928 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
2930 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
2932 * gdb.t00/teststrategy.exp: Rework to provide more useful
2933 description of each test, fix problem with systems that define
2934 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
2935 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
2936 results for "next over recursive call" so timeouts aren't taken
2939 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
2941 * gdb.t12/scope.exp: Test printing of variables before run.
2943 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
2944 printed in wrong order due to sorting.
2946 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
2948 * gdb.t00/teststrategy.exp: Fix expected results for printing
2949 user entered string constant. Is array of char, prints with no
2952 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
2954 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
2955 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
2956 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
2957 of struct of char arrays.
2958 * gdb.t00/radix.exp: New tests for radix commands.
2960 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
2962 * gdb.t16/printcmd.exp: Print a variable before running program
2963 (with xfail for AIX).
2965 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
2967 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
2969 * gdb.t16/printcmd.exp: Don't print variables before running program.
2971 * gdb.t06/break.exp: Don't require envp argument to main.
2973 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
2975 * gdb.t02/whatis.exp, gdb.t11/list.exp:
2976 Add xfails for rs6000.
2978 * gdb.t02/whatis.exp: Change other tests not to re-test something
2981 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
2982 each type used has a variable of that type.
2984 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2986 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
2988 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2990 * configure.in: change srctrigger to be a file, not a directory
2992 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
2994 * configure.in (mips-idt-ecoff*): Added trailing '*'.
2996 * gdb.t11/list.exp: Fixed a couple of typos.
2998 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
3000 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
3001 is fixed and PR is closed.
3002 * gdb.t16 (gdbme.c): Add simple test string variable.
3003 * gdb.t16 (printcmds.exp): Add tests with simple test string
3004 variable, primarily for boundaries on "set print elements".
3006 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
3008 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
3009 Make leading 0's optional and don't expect a tab in the middle
3012 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
3014 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
3015 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
3016 don't end command passed to gdb_test with newline.
3018 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
3019 signed keyword away, don't expect signed bitfields to be signed.
3021 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
3022 printing with only as many 1's as are in the field as well as printing
3023 with 32 1's (see comment).
3025 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
3027 * gdb.t00/default.exp: Start with a fresh gdb.
3028 * configure.in (configdirs): Remove gdb.t31 until the chill
3029 compiler works again. It no longer is able to find chillrt0
3030 since it isn't in libchill.a anymore.
3031 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
3032 wierd.o, make more modular.
3033 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
3034 spurious newlines that caused problems.
3036 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3038 * Move test with enums and partial symbols from gdb.t03/ptype.exp
3039 to gdb.stabs/wierd.exp since GCC has worked around the bug.
3040 gdb.stabs/wierd.{exp,def}: Many new tests.
3042 * gdb.t00/default.exp: update info line for new message.
3044 * gdb.t02/{whatis.exp,gdbme.c}:
3045 Test that "char *" doesn't print as "caddr_t".
3047 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3049 * gdb.t00/help.exp: Use .* in place of some help messages which
3051 gdb.t00/default.exp: Update "info frame" test for new message.
3052 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
3055 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3057 * gdb.t03/{gdbme.c,ptype.exp}:
3058 Add tests for typedef'd struct and union without tags.
3059 Also check "whatis" on a variable of a typedef'd enum without a tag.
3061 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
3062 PRMS 1823; the bug still exists but isn't reproduced by this test
3063 anymore), and remove rs6000 XFAIL (the bug is fixed).
3065 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
3066 duplicated from whatis.exp. For those that are left, accept
3067 "long", "long int", or "int" for long variables (whatis.exp already
3068 has an XFAIL for "int", so no need to fail it here).
3070 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
3071 Deal with GCC's names for types now that GDB uses the compiler's names.
3073 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
3074 setup_xfail's for sunos4. If we #defined the signed keyword away,
3075 don't expect GDB to know that char it is signed.
3077 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
3079 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
3081 * configure.in (configdirs): Add gdb.t24 for C++ tests that
3082 should work on any system, regardless of debugging format.
3083 * gdb.t21/demangle.exp: Move to gdb.t24.
3084 * gdb.t24/demangle.exp: Move from gdb.t21.
3085 * gdb.t24/{Makefile.in, configure.in}: New files.
3087 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3089 * configure.in: Do gdb.stabs and C++ tests only for stabs.
3090 * gdb.stabs: New directory.
3092 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3094 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
3095 not just "Quit anyway?".
3097 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
3099 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
3100 that all setup_xfails are immediately followed by clear_xfails.
3102 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
3104 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
3105 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
3106 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
3107 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
3108 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
3109 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3110 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3111 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
3112 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
3113 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
3114 gdb.t31/chillvars.exp, lib/gdb.exp:
3115 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
3116 bug-gdb@prep.ai.mit.edu.
3118 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
3120 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
3121 with 0.0, not integer 0.
3123 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
3125 * gdb.t06/break.exp: Update for "Kill the program" message change.
3127 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
3129 * Makefile.in (GDBFLAGS): Set to -nx.
3130 * Makefile.in (site.exp): Use GDBFLAGS.
3132 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3134 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
3136 (check): depend on just-check.
3137 (just-check): added so that tests can be run without a noop
3140 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3142 Switch to using configure's configdirs.
3143 * Makefile.in (Makefile): add configure.in dependency.
3144 (SUBDIRS): removed redundant assignment.
3145 * configure.in: switch subdirs assignment to configdirs.
3146 * gdb.t*/configure.in: new files.
3148 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
3150 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
3153 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
3155 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
3156 in explicit rules. Apparently this is not supported by some makes.
3158 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
3160 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
3162 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3164 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
3167 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
3169 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
3171 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
3173 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
3174 watchpoint problem that is now fixed.
3175 * gdb.t30/chexp.exp: Remove setup_xfail for printing
3176 uninitialized convenience variables.
3177 * gdb.t31/chillvars.exp: Fix expected patterns for printing
3180 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3182 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
3183 which causes expect to get out of sync with gdb on long output
3185 * gdb.t09/corefile.exp: Make expected pattern for core file
3186 failing signal and frame output format less sun specific.
3188 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
3190 * gdb.t31/chillvars.exp: Add and remove initial dummy
3191 breakpoint, so that symbol table is forced in.
3192 (Needed at least on Sunos4, though it seems not SVR4.)
3193 * gdb.t31/chillvars.exp: Update for changed output format.
3195 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
3197 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
3199 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
3201 * Makefile.in: Added --srcdir when invoking runtest, removed the
3202 need for a local config file. (optional now)
3204 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
3206 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
3207 failure count used to force early termination. Add some more
3208 expected failures for gnu style demangling.
3210 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3212 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
3213 pmi variable from gdb.t20/gdbme to get optimized away.
3214 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
3215 Check for written corefile upon timeout _and_ eof.
3217 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3219 * config/unix-gdb.exp: Add missing return 0.
3221 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3223 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
3226 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
3228 * configure.in (subdirs): Put back gdb.t17 which mysteriously
3231 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
3233 * gdb.t10/crossload.exp: Disable the i860-elf test until such
3234 time as i860 support works.
3236 * gdb.t15/funcargs.exp: Fix expected outputs to include
3237 "backtrace 100\r" rather than just "backtrace\r", to match last
3240 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
3242 * config/udi-gdb.exp (gdb_exit): Remove close command.
3243 (gdb_target_udi): New procedure to set the UDI target.
3244 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
3245 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
3246 Added waits for prompts after several question responses. Added
3247 some more responses used by a29k-amd-udi-gdb.
3248 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
3249 pass different arguments, restart UDI connection after program
3251 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
3252 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3253 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
3254 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
3255 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
3256 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
3257 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3258 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
3259 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
3260 after program completion.
3261 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
3262 compiled with a SELECT_VECS setting.
3263 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
3266 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
3267 Added checks for COFF results, and made them expected failures for
3268 all targets. It would be better to make them expected failures
3269 for COFF targets only.
3271 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3273 * Makefile.in: add null dvi target, don't bother to recurse
3274 through test directories for info and install-info; rename
3275 $(datadir) to be dejagnu instead of deja-gnu
3277 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
3279 * gdb.t31/gdbme.ch: Re-enable code that previously caused
3280 compiler to coredump.
3281 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
3284 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
3286 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
3288 * gdb.t31/chillvars.exp: Comment out tests that depend on that
3291 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
3293 * gdb.t03/ptype.exp: tests for return code from gdb_test.
3294 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
3295 which in a shell. Deletes xgdb when done.
3296 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
3297 Tests the return from the "set height" or "set width" commands.
3298 Added a few return codes where needed.
3300 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
3302 * Makefile.in (SUBDIRS): Add gdb.t17.
3303 * configure.in (subdirs): Add gdb.t17.
3304 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
3305 files to test gdb's calling of functions in the inferior with
3306 the correct arguments and gdb's ability to retrieve any
3309 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
3311 * config/unix-gdb.exp (gdb_exit): Remove close commands that
3312 may be called after gdb goes away. Previous versions of expect
3313 needed these to avoid file descriptor leaks, but they cause
3314 errors with the current revision of expect.
3315 * gdb.t00/gdbvars.exp: Use -re on expected output after
3316 setting sevenbit-strings.
3317 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
3318 to set sevenbit-strings consistent across tests.
3319 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
3320 set sevenbit-strings consistent across tests.
3322 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
3324 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
3325 expected output to match current "expect" expectations.
3327 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
3329 * gdb.t00/default.exp: Change expected output for default "source"
3330 command, to match new gdb behavior which requires a filename to
3333 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
3335 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
3336 expected fail for i486-*-* that misses the marker2 function.
3337 * gdb.t10/crossload.exp (bfddefault): Allow successful
3338 recognition of a format to pass even if no symbols are found.
3339 Explicitly catch failures where the format is not recognized
3340 or is ambiguous, and add the reason to the fail message.
3341 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
3342 the cause is and invalid target and add reason to failure message.
3343 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
3344 elf32-i386, elf32-sparc, and elf32-i860.
3345 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
3346 Set up expected failure for 'filename'::variable scope resolution,
3347 which is now apparently broken on all targets.
3348 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
3349 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
3350 gdb.t23/templates.exp: Change failure for missing binfile into
3352 gdb.t21/demangle.exp: Change all cfront references to 'arm'
3355 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
3357 * gdb.t00/default.exp: Add expected output for default "source"
3358 command, to match new gdb behavior.
3359 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
3361 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
3363 * config/*-gdb.exp: returns an error, rather than exiting on
3366 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
3368 * gdb.t03/gdbme.c: Add pointer to struct variable.
3369 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
3370 referencing struct members.
3372 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
3374 * configure.in (mips-idt-ecoff): New target.
3375 * config/mips-gdb.exp: New file for remote board using MIPS remote
3378 * Redid configuration scheme. Removed gdb.t*/configure.in.
3379 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
3380 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
3381 distclean targets. Built executables via .o files. Adjusted
3382 tests to account for source files in $(srcdir) rather than
3384 * lib/gdb.exp (runto): Don't expect () after the function name,
3385 because it may have arguments.
3387 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
3389 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
3390 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
3391 expected failures for mips-idt-* and mips-sgi-*.
3392 * gdb.t00/default.exp (attach): Kill process if requested.
3393 * gdb.t00/help.exp (help target core, help target): Accept a gdb
3394 that does not read core files.
3395 * gdb.t01/run.exp: Removed checks for exit status code.
3396 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
3398 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
3399 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
3400 appropriate, rather than doing it by hand.
3401 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
3403 * gdb.t10/crossload.exp: Kill existing program if needed.
3404 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
3405 appropriate, rather than doing it by hand. Always increase
3406 timeout for this test, not just for VxWorks.
3408 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
3410 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
3411 of Chill STRUCT types and STRUCT values.
3412 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
3414 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
3415 struct2): New struct definitions and initializations to test
3416 simple Chill STRUCT types.
3418 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
3420 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
3421 the null byte at the end of strings.
3422 * gdb.t00/default.exp: Make show version insensitive to copyright
3424 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
3425 to avoid dependencies on target char signedness.
3426 * gdb.t16/printcmds.exp: Update expected results for explicitly
3428 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
3430 * gdb.t21/demangle.exp: Add many more patterns for template
3431 demangling, most of them being expected failures.
3432 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
3433 string we are matching for, to match on the whole string.
3434 * gdb.t21/demangle.exp: Add many new test strings to demangle,
3435 and fix a whole bunch that had incorrect expected output but were
3436 passing anyway because of the bug in "proc demangle".
3437 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
3439 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
3441 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3443 * gdb/testsuite: made modifications to testcases, etc., to allow
3444 them to work properly given the reorganization of deja-gnu and the
3445 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3447 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3449 * gdb/testsuite: Initial creation of gdb/testsuite.
3450 Migrated dejagnu testcases and support files for testing nm to
3451 gdb/testsuite from deja-gnu. These files were moved "as is"
3452 with no modifications. This migration is part of a major overhaul
3453 of dejagnu. The modifications to these testcases, etc., which
3454 will allow them to work with the new version of dejagnu will be
3455 made in a future update.
3461 version-control: never