c69a7b37e0a613a13ae274b608348308c7b4e557
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
2
3 * lib/gdb.exp (default_gdb_start): Fix typo.
4 * gdb.base/corefile.exp: Allow "Core was generated by ..."
5 messages to not include the full program name that caused
6 the core dump since some systems (such as solaris) apparently
7 truncate this path to about 80 characters.
8 When generating a core file first try increasing the core file
9 size limit to unlimited since some systems may default it to
10 zero, and it is harmless to try it. Move the test for failing
11 to generate a core file to where it will actually get executed.
12 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
13 new gdb result from g++ debug info improvements and make old
14 pattern obsolescent. Also account for size_t differences
15 (may be int or long).
16 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
17 initialization before function call is placed in the delay slot
18 and thus appears to be skipped over by commands such as "next".
19
20 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
21
22 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
23
24 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
25
26 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
27 input source file; fix code to compile test to deal with this
28 convention.
29 * gdb.c++/*.exp: Likewise.
30
31 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
32
33 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
34 "bt in signals.exp".
35
36 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
37
38 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
39 "step over execarg initialization" and
40 "step over corearg initialization".
41
42 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
43
44 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
45 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
46
47 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
48
49 From Rob Savoye (rob@poseidon.cygnus.com)
50 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
51 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
52 configure.in}, gdb.disasm/{Makefile.in, configure.in},
53 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
54 configure.in}: Major reworking for autoconfig.
55 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
56 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
57 New files.
58 * config/unix-gdb.exp: Make GDB global.
59 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
60 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
61 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
62 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
63 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
64 term.exp, twice.exp, watchpoint.exp, whatis.exp},
65 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
66 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
67 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
68 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
69 pr-8136.exp, result.exp, string.exp, tuples.exp},
70 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
71 to returns as necessary, arrange for test to compile own testcase
72 executable.
73 * lib/gdb.exp: Changes for testsuite to compile own test cases.
74
75 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
76
77 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
78 clear_xfail at end of test which might not call either pass or fail.
79 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
80 "backtrace through signal handler".
81
82 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
83
84 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
85 continuing from a job control stop signal.
86 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
87
88 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
89
90 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
91 * gdb.base/corefile.exp: Likewise.
92 * gdb.base/funcargs.exp: Likewise.
93
94 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
95
96 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
97 * config/monitor.exp: Add support for setting baud rate.
98
99 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
100
101 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
102 i*86-*-linux* xfails for "backtrace through signal handler".
103 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
104 "print func2::coremaker_local".
105 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
106 alpha-dec-osf2* xfail for
107 "delete all breakpoints when none".
108
109 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
110
111 * gdb.base/break.exp: Change test that deletes all breakpoints
112 when no user breakpoints are installed. A post 4.15 change
113 causes gdb to no longer prompt in this case.
114
115 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
116
117 * gdb.base/return.exp (return_tests): Change xfail for test
118 "correct value returned double test" to stop xfailing at
119 Solaris 2.5. Apparently the bug has been fixed.
120
121 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
122
123 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
124 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
125
126 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
127
128 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
129 * gdb.disasm/hppa.s: Corresponding changes.
130
131 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
132
133 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
134 makefile fragment.
135 * config/mt-hpux: Deleted.
136
137 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
138
139 * Many files: When warning about suppressed tests due to a
140 nonexistant test binary, avoid incrementing the warning count.
141
142 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
143
144 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
145
146 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
147
148 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
149 "sparc-*-solaris2*".
150
151 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
152
153 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
154 Add global and local variables and initialize them.
155 * gdb.base/corefile.exp: Test correct mapping of corefile sections
156 by printing variables. Remove rs6000 and powerpc xfails, BFD now
157 extracts the file name and terminating signal from the core file.
158 * TODO: Remove note about tests for correct mapping of corefile.
159 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
160 from optimizing it away.
161 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
162 handles common blocks.
163
164 start-sanitize-sh3e
165 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
166
167 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
168 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
169
170 end-sanitize-sh3e
171 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
172
173 * Makefile.in (maintainer-clean): New target, synonym for
174 realclean.
175 * gdb.base/Makefile.in (maintainer-clean): Likewise.
176 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
177 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
178 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
179 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
180 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
181
182 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
183
184 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
185 xfails when not gcc compiled for "print foo::funclocal".
186 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
187 "print foo::funclocal at foo",
188 "print 'scope1.c'::foo::funclocal at foo",
189 "print foo::funclocal_bss at foo",
190 "print 'scope1.c'::foo::funclocal_bss at foo",
191 "print foo::funclocal_ro at foo",
192 "print 'scope1.c'::foo::funclocal_ro at foo",
193 "print bar::funclocal at foo" and
194 "print 'scope1.c'::bar::funclocal at foo".
195 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
196 gcc compiled for "print foo::funclocal at bar".
197 Expand all messages to ensure that they identify that
198 the test is at bar().
199 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
200 gcc compiled for:
201 "ptype on opaque struct pointer (statically)",
202 "ptype on opaque struct tagname (statically)",
203 "ptype on opaque struct pointer (dynamically) 1",
204 "ptype on opaque struct tagname (dynamically) 1",
205 "ptype on opaque struct pointer (dynamically) 2" and
206 "ptype on opaque struct tagname (dynamically) 2
207 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
208 gcc compiled for:
209 "p datalocal"
210 "whatis datalocal",
211 "ptype datalocal",
212 "p bsslocal",
213 "whatis bsslocal", and
214 "ptype bsslocal".
215 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
216 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
217 when not gcc compiled.
218 * gdb.base/funcargs.exp (float_and_integral_args): Add
219 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
220 compiled.
221 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
222 "backtrace from call6a" when not gcc compiled.
223 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
224 "backtrace from call7a" when not gcc compiled.
225 * gdb.base/callfuncs.exp (do_function_calls):
226 Add "hppa*-*-hpux*" xfail when not gcc compiled for
227 "p t_char_array_values(char_array_val2,char_array_val1)",
228 "p t_char_array_values(char_array_val1,char_array_val2)",
229 "p t_char_array_values("carray 1","carray 2")",
230 "p t_char_array_values("carray 1",char_array_val2)",
231 "p t_char_array_values(char_array_val1,"carray 2")",
232 "p sum_args(1,{2})",
233 "p sum_args(2,{2,3})",
234 "p sum_args(3,{2,3,4})",
235 "p sum_args(4,{2,3,4,5})"
236 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
237 "backtrace in corefile.exp" when not gcc compiled.
238
239 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
240
241 * gdb.base/signals.exp: Rewrite `handle all print' test as
242 a procedure. Accept blanks or TABs as whitespace, increase
243 timeout and expect input buffer size for the large output
244 from the command. Remove "i*86-*-bsdi2.0" xfail.
245
246 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
247
248 * gdb.base/setvar.exp: Add new testcases for truncation when
249 assigning invalid values to bitfields.
250
251 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
252
253 * gdb.base/callfuncs.exp (do_function_calls): Remove
254 mips-sgi-irix* xfail for
255 "call inferior func with struct - returns char *"
256 and fix test so that an optional (unsigned char *) cast is
257 accepted in the result.
258
259 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
260
261 * gdb.base/funcargs.exp (float_and_integral_args): Remove
262 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
263 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
264 * gdb.base/signals.exp: Remove duplicate "handle all print" test
265 that accidentally got checked in.
266
267 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
268
269 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
270 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
271 compiled test.
272 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
273 Add mips-sgi-irix5* xfail for not gcc compiled.
274 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
275 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
276 "p top", "whatis top", "p middle", and "whatis middle".
277 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
278 "whatis signed char" for not gcc compiled.
279 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
280 "set variable signed char=-1 (-1)" and
281 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
282 * gdb.base/funcargs.exp (float_and_integral_args):
283 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
284 Add mips-sgi-irix* xfail when not gcc compiled for
285 "continue to call2b".
286 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
287 "continue to call2g".
288 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
289 "backtrace from call6a"
290 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
291 "backtrace from call7k".
292 Add mips-sgi-irix5* xfail when not gcc compiled for
293 "backtrace from call7a".
294 (localvars_after_alloca): Fix gdb_test cmds for
295 "print * after runto ...".
296 Remove rs6000-*-* xfails for
297 "print i after runto localvars_after_alloca" and
298 "print l after runto localvars_after_alloca"
299 for all compilers.
300 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
301 when not compiled with gcc, for:
302 "print signed char == (minus)",
303 "print signed char != (minus)",
304 "print signed char < (minus)",
305 "print signed char > (minus)".
306 * gdb.base/callfuncs.exp (do_function_calls):
307 Add mips-sgi-irix* xfail, when compiled with native compiler, for
308 "call inferior func with struct - returns char *".
309 * gdb.base/return.exp (return_tests): Change xfail for
310 "correct value returned double test" to include Solaris 2.4.
311 * gdb.base/funcargs.exp (float_and_integral_args):
312 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
313
314 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
315
316 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
317 enumeration bitfields if compiling with GNU C.
318 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
319 to empty' prompt.
320
321 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
322
323 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
324 test for PRO targets.
325
326 * gdb.base/funcargs.exp: Avoid ever setting more than 8
327 breakpoints in the inferior at any given time by making
328 two groups of breakpoints for call2*, call6* and call7*
329 tests.
330
331 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
332
333 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
334 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
335 from optimizing it away.
336 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
337 "call inferior func with struct".
338
339 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
340
341 * configure.in: Only configure gdb.chill for particular targets.
342
343 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
344
345 * gdb.base/Makefile.in: Add action to .c.o transformation
346 rule that generates a .ci file for each .o file and remove
347 explicit .c.o rules except for callfuncs.o.
348 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
349 generates a .ci file for each .o file and remove explicit
350 .cc.o rules.
351 (clean): Remove *.tmp *.ci files.
352 (EXECUTABLES): Remove templ-info.exp.
353 * gdb.base/compiler.c: New file.
354 * gdb.c++/compiler.cc: New file
355 * gdb.base/scope.exp: Source gdb.base/scope.ci.
356 Change rs6000-*-* xfail for
357 "print 'scope0.c'::filelocal_ro" and
358 "print 'scope1.c'::filelocal" and
359 "print 'scope1.c'::filelocal_bss" and
360 "print 'scope1.c'::filelocal_ro" and
361 "print 'scope1.c'::foo::funclocal" and
362 "print 'scope1.c'::foo::funclocal_ro" and
363 "print 'scope1.c'::bar::funclocal" and
364 "print 'scope0.c'::filelocal_ro" and
365 "print 'scope1.c'::filelocal at foo" and
366 "print 'scope1.c'::filelocal_bss at foo" and
367 "print 'scope1.c'::filelocal_ro at foo" and
368 "print 'scope1.c'::foo::funclocal at foo" and
369 "print 'scope1.c'::foo::funclocal_bss at foo" and
370 "print 'scope1.c'::foo::funclocal_ro at foo" and
371 "print 'scope1.c'::bar::funclocal at foo" and
372 "print 'scope0.c'::filelocal_ro" and
373 "print 'scope1.c'::filelocal" and
374 "print 'scope1.c'::filelocal_bss" and
375 "print 'scope1.c'::filelocal_ro" and
376 "print 'scope1.c'::foo::funclocal" and
377 "print 'scope1.c'::foo::funclocal_bss" and
378 "print 'scope1.c'::foo::funclocal_ro" and
379 "print 'scope1.c'::bar::funclocal" and
380 "print 'scope1.c'::bar::funclocal_bss"
381 to only be xfail'd when not compiled with gcc.
382 Add rs6000-*-* xfail for
383 "print 'scope0.c'::filelocal_bss before run"
384 when compiled with gcc.
385 (test_at_main): Add rs6000-*-* xfail for
386 "print filelocal_ro in test_at_main"
387 when compiled with gcc.
388 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
389 Add rs6000-*-aix* xfail for
390 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
391 "ptype t_char_array", not compiled with gcc.
392 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
393 xfail for "list foo (in include file)" when gcc compiled.
394 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
395 (integral_args): Add rs6000-*-* xfail for
396 "run to call0a" if not compiled with gcc.
397 (unsigned_integral_args): Add rs6000-*-* xfail for
398 "run to call1a" if not compiled with gcc.
399 (float_and_integral_args): Add rs6000-*-* xfail for
400 "run to call2a" if not compiled with gcc and for
401 "continue to call2b" for any compiler.
402 Add rs6000-*-* xfail to
403 "print f1 after run to call2a" for gcc compiled.
404 (discard_and_shuffle): Add rs6000-*-* xfail for
405 "run to call6a".
406 (shuffle_round_robin): Add rs6000-*-* xfail for
407 "backtrace from call7a" if not compiled with gcc.
408 Add rs6000-*-* xfail for
409 "backtrace from call7b" if compiled with gcc.
410 (call_after_alloca): Add rs6000-*-* xfail for
411 "print c in call_after_alloca" and
412 "print s in call_after_alloca" and
413 "backtrace from call_after_alloca_subr"
414 if not compiled with gcc.
415 (localvars_in_indirect_call): Add rs6000-*-* xfail for
416 "print c in localvars_in_indirect_call" and
417 "print c in localvars_in_indirect_call" and
418 "backtrace in indirectly called function" and
419 "stepping into indirectly called function"
420 if not compiled with gcc.
421 (localvars_after_alloca): Add rs6000-*-* xfail for
422 "print c after runto localvars_after_alloca" and
423 "print s after runto localvars_after_alloca" and
424 "print i after runto localvars_after_alloca" and
425 "print l after runto localvars_after_alloca"
426 for all compilers.
427 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
428 than whatis-info.exp.
429 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
430 than opaque-info.exp.
431 Setup rs6000-*-* xfail for
432 "ptype on opaque struct pointer (statically)" and
433 "ptype on opaque struct pointer (dynamically)" when
434 not compiled with gcc.
435 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
436 rather than callf-info.exp.
437 (do_function_calls): Add clear_xfail for rs6000-*-* for
438 "p t_float_values2(3.14159,float_val2)". Seems to work
439 fine there, both with xlc and gcc. Need to find out what
440 it is doing right and fix other platforms.
441 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
442 "call inferior func with struct - returns int",
443 "call inferior func with struct - returns long",
444 "call inferior func with struct - returns float",
445 "call inferior func with struct - returns double",
446 "call inferior func with struct - returns char *",
447 but only if not gcc compiled (presumes xlc compiled).
448 Change rs6000-*-* xfails for
449 "call inferior func with struct - returns char" and
450 " call inferior func with struct - returns short" to only
451 xfail if not using gcc.
452 (clean mostlyclean): Remove *.ci and *.tmp files.
453 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
454 than templ-info.exp.
455 * gdb.base/langs.exp: Source gdb.base/langs.ci.
456 Add rs6000-*-* xfail for "up to foo in langs.exp"
457 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
458 when not gcc compiled.
459
460 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
461
462 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
463 * gdb.base/corefile.exp: Likewise.
464 * gdb.base/list.exp: Likewise.
465 * gdb.base/scope.exp: Likewise.
466 * gdb.base/siganls.exp: Likewise.
467
468 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
469 compiler output.
470 * gdb.base/whatis.exp: Likewise.
471
472 start-sanitize-sh3e
473 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
474
475 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
476 failure (opcode table has been fixed to match reality).
477
478 end-sanitize-sh3e
479 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
480
481 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
482 "call inferior func with struct - returns char",
483 "call inferior func with struct - returns short"
484
485 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
486 "print 'scope0.c'::filelocal at main",
487 "print 'scope0.c'::filelocal_bss in test_at_main",
488 "print 'scope0.c'::filelocal at foo",
489 "print 'scope0.c'::filelocal_bss in test_at_foo",
490 "print 'scope0.c'::filelocal at bar",
491 "print 'scope0.c'::filelocal_bss in test_at_bar"
492
493 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
494 in source file 1". This bug seems to have been fixed with both
495 gcc and native cc (was native assembler bug?).
496
497 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
498
499 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
500 "backtrace through signal handler" to "i*86-*-sysv4*".
501 * gdb.base/signals.exp: Add xfail for "'next' behaved as
502 continue" case. Add "known SVR4 bug" to fail message.
503 Add "i*86-*-bsdi2.0" xfail for "handle all print".
504 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
505 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
506 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
507 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
508 "up to foo in langs.exp", "show language at foo in
509 langs.exp", "up to cppsub_ in langs.exp", "show
510 language at cppsub_ in langs.exp", "up to fsub in
511 langs.exp", and "show language at fsub in langs.exp".
512 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
513 "bactrace in corefile.exp".
514 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
515 "call inferior function with struct - returns float" and
516 "call inferior function with struct - returns double".
517
518 start-sanitize-sh3e
519 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
520
521 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
522 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
523 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
524 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
525
526 end-sanitize-sh3e
527 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
528
529 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
530 (or overriden) "CHILL" macro rather then bare "gcc".
531 Also look for ../../gcc/xgcc since that is what we will
532 actually need, not "Makefile". Remove following assignment
533 of CHILL to CHILL_FOR_TARGET because that results in
534 recursive definition.
535
536 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
537
538 * gdb.base/corefile.exp: Change xfail for backtrace in
539 corefile.exp from linuxaout to all linux.
540 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
541 cases where we miss the breakpoint at the signal handler
542 for some reason. Setup xfail for linuxoldld/linuxaout and
543 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
544 hitting SIGURG breakpoint.
545 * gdb.base/signals.exp: Setup xfail for "next" acting like
546 continue to add linuxoldld. Setup xfail for all linux for
547 "next to handler in signals_tests_1", "backtrace in
548 signals_tests_1", "continue to func1", "pass SIGUSR1",
549 and continue to handler".
550
551 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
552
553 * Update all FSF addresses except those in COPYING* files.
554
555 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
556
557 * gdb.base/a2-run.exp: Change messages to be more explicit about
558 the status of args, and quote binfile in results.
559
560 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
561
562 * gdb.base/callfuncs.exp: Add tests for passing structs to
563 inferior functions and return various types.
564 * gdb.base/callfuncs.c: Add functions to receive a struct
565 and return a member of the struct, in various types.
566
567 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
568
569 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
570
571 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
572
573 * config/vxworks29k.exp: New file, sources vxworks.exp.
574
575 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
576
577 * config/gdbremote.exp: New file. Testing framework using
578 gdbserver.
579
580 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
581
582 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
583 "call function when asleep" and "send end of file".
584 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
585 for "backtrace in corefile.exp".
586 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
587 for "backtrace through signal handler".
588 * gdb.base/corefile.exp: Make sure we actually generate a core file
589 before trying the core tests. Some systems allow the user to suppress
590 generation of core files and default to that (linux for example).
591 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
592 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
593
594 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
595
596 * gdb.threads: New directory with some crude multi-threaded
597 gdb tests (step.exp and step2.exp).
598 * config/mt-lynx (STEP_EXECUTABLE): Define.
599 (THREADFLAGS): Define.
600
601 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
602
603 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
604
605 * gdb.base/signals.exp: Disable whole file for lynx until
606 further notice.
607
608 * gdb.base/signals.exp: xfail test where "next" acts like
609 "continue" for lynx.
610
611 * gdb.base/interrupt.exp: xfail test for calling function while
612 inferior is asleep for lynx.
613
614 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
615 than one cr-lf after each command.
616
617 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
618
619 * configure.in: Reinstate setting of stabsdirs variable, fix
620 typo in setting up configdirs for native builds.
621
622 * gdb.base/return.exp: Fix typo in return double test.
623 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
624 compiler from optimizing them away.
625
626 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
627
628 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
629 sequences to be echo'd by gdb when using gdb_test.
630 * gdb.chill/chexp.exp: Likewise.
631 * gdb.fortran/exprs.exp: Likewise
632
633 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
634
635 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
636 after the inferior gdb has started.
637
638 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
639 after each command.
640 * gdb.base/funcargs.exp: Likewise.
641 * gdb.base/gdbvars.exp: Likewise.
642 * gdb.base/interrupt.exp: Likewise.
643 * gdb.base/list.exp: Likewise.
644 * gdb.base/watchpoint.exp: Likewise.
645 * gdb.c++/demangle.exp: Likewise.
646 * gdb.c++/inherit.exp: Likewise.
647 * gdb.chill/chexp.exp: Likewise.
648 * gdb.fortran/exprs.exp: Likewise.
649
650 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
651 test if we can't handle IO to/from the inferior.
652
653 * gdb.c++/misc.exp: Always check for a program already being
654 started after sending a "run" command to gdb.
655
656 * gdb.base/twice.exp: Start with a fresh gdb.
657
658 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
659 only depend on gdb's expression code, not the chill runtime.
660
661 * gdb.base/return.c: Put return values into variables so we
662 can have gdb print them rather than depending on the program
663 to print them.
664 * gdb.base/return.exp: Corresponding changes.
665
666 * lib/gdb.exp: Provide default value for noinferiorio.
667 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
668 the inferior.
669
670 * gdb.base/break.exp: Always check for a program already being
671 started after sending a "run" command to gdb.
672 (text_next_with_recursion): Don't check the output from the
673 program's printf statement. Instead just make sure the program
674 exited.
675
676 * gdb.base/commands.exp: Protect tests which need arguments with
677 $noargs conditionals.
678
679 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
680
681 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
682 of structure member arrays to match gdb/valops.c:value_addr change.
683
684 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
685
686 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
687 cases.
688
689 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
690
691 * configure.in (configdirs): Remove gdb.chill from default list
692 of subdirs and then add it back in only if doing a native build.
693 The current chill compiler does not yet work in any cross build.
694 * Revert all signal changes from Jul 6.
695 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
696 for sh-hms targets, allowing these tests to link, with no other
697 changes. Testing is suppressed by setting "nosignals" in site.exp.
698
699 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
700
701 * configure.in (signaldirs): Define and add to configdirs for all
702 targets except some specific ones that are known to not support signals.
703 Also clean up formatting.
704 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
705 (signals, sigall): Remove rules to build.
706 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
707 Moved to new gdb.signals directory.
708 * gdb.signals: New test directory.
709 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
710 signals.c signals.exp}: New or moved files.
711
712 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
713
714 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
715
716 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
717
718 * gdb.base/return.exp: Xfail `return double' test failure
719 on at least Solaris 2.3 and handle future/past versions on
720 a case by case basis as appropriate. Also update message
721 to include i*86 failures.
722
723 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
724
725 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
726
727 * lib/gdb.exp: Fix comment which erroneously identified
728 gdb_file_cmd as gdb_load (the 19 May change was in fact to
729 gdb_file_cmd not gdb_load).
730 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
731
732 * gdb.base/setvar.exp: Make test names consistent between pass and
733 fail cases. Use gdb_test more.
734
735 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
736
737 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
738
739 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
740
741 * gdb.base/help.exp: Fix expected help string for `show commands'.
742
743 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
744
745 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
746
747 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
748 of a text section.
749
750 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
751
752 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
753 that loop eventually terminates. Fix Connection refused logic so
754 that testsuite will expire nicely.
755
756 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
757
758 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
759 config/rom68k.exp: New tcl glue for the appropriate monitors.
760 These all just end up calling monitor.exp.
761 * config/monitor.exp (gdb_target_monitor): Handle `Connection
762 refused' by retrying. Cleanup some timeout issues.
763 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
764 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
765 callers don't have to set/restore global timeout variable.
766
767 * The following set of changes centralizes management of the global
768 timeout variable. This way, it can be set in one target dependent
769 place instead of dozens of places scattered throughout the test suite.
770 If you need to lengthen a timeout, then you should either set timeout
771 in one of the config/{target}.exp files, or multiply it by a factor.
772 Setting it to an absolute value is always going to lose for some
773 targets.
774 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
775 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
776 * gdb.base/funcargs.exp: Don't set timeout.
777 * gdb.base/list.exp (test_forward_search): Only use local timeout.
778 * gdb.base/printcmds.exp (test_print_string_constants
779 test_print_array_constants): Don't set timeout.
780 * gdb.base/ptype.exp: Don't set timeout.
781 * gdb.base/recurse.exp: Don't set timeout.
782 * gdb.base/return.exp: Don't set timeout.
783 * gdb.base/watchpoint.exp: Don't set timeout.
784 * gdb.c++/classes.exp (do_tests): Don't set timeout.
785 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
786
787 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
788
789 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
790
791 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
792
793 * lib/gdb.exp: Disable chill tests for irix5.
794
795 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
796
797 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
798 each test pass or fail.
799
800 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
801
802 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
803 xlc not gcc.
804
805 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
806
807 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
808
809 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
810
811 * config/est.exp: Fix copyright and comments. Remove dead code.
812 Use targetname, serialport and baud variables instead of fixed
813 constants.
814 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
815 * config/cpu32bug.exp: New file to support cpu32bug monitors.
816
817 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
818
819 * gdb.base/watchpoint.exp: Don't run
820 test_watchpoint_triggered_in_syscall for sunos.
821
822 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
823
824 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
825 they don't seem to exist. Do include stdio.h.
826
827 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
828
829 * gdb.base/a1-selftest.exp: Add alpha xfail.
830
831 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
832
833 * gdb.base/watchpoint.c (main): Prompt before calling read().
834 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
835 Revise accordingly. Remove cruft about sending "123" several
836 times, until it gets noticed. Clean up the "print buf[0]" stuff
837 so that it passes or fails, and waits for prompts in the usual way.
838
839 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
840
841 * gdb.base/recurse.exp: Fix comment.
842
843 * TODO: Remove item about printing variables in nodebug.exp. Add
844 item about enabling tests which are only run on some targets.
845
846 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
847 fail, make test names unique, use new gdb_test convention
848 regarding pattern, use gdb_test more, etc.).
849
850 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
851 fail, make test names unique, etc.).
852
853 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
854
855 * gdb.base/nodebug.c: Change return type of top and middle to
856 short.
857 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
858 are fixed by the recent mdebugread.c changes. Allow `short ()'
859 as type for top and middle.
860
861 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
862
863 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
864 nearly as I can tell, the whole thing was an accident in Stu's
865 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
866 to replace a send/expect pair with gdb_test, but ended up only
867 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
868 of 30 Mar 1995 took care of it, but left this vestigial comment
869 which I am now nuking.
870
871 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
872
873 * gdb.base/break.exp: Look for different line number for
874 breakpoint at main depending on usestubs.
875
876 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
877
878 * gdb.base/list.exp: Adjust some alternate expect patterns to
879 match recent list0.c change. Add alternate expect pattern for
880 output from `list default lines around main' for optimizing
881 compilers.
882
883 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
884
885 * lib/gdb.exp: If nosignals is not set, set it to 0.
886
887 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
888
889 * config/slite-gdb.exp: Responds to load symbol table prompt.
890 * gdb.base/break.exp: Adjust line number, fix rerun.
891 * gdb.base/langs0.c: Add #ifdef usestubs.
892
893 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
894
895 * gdb.base/list.exp: Adjust line contents after adding new lines in
896 list0.c. Also fix a syntax error.
897
898 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
899 * gdb.base/break.exp: ditto.
900 * gdb.base/list.exp: ditto.
901 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
902 * gdb.base/run.c: ditto.
903 * gdb.base/list0.c: ditto.
904 * gdb.base/funcargs.c: ditto.
905
906 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
907
908 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
909 $targetname, $serialport and $baud instead of hardwired variables.
910 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
911 target doesn't support signals.
912
913 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
914
915 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
916
917 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
918
919 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
920 Don't rely on the value of an auto variable before it has been
921 initialized. Use gdb_test more.
922
923 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
924
925 * lib/gdb.exp (default_gdb_version): A version number must start
926 with a digit, but other than that contains all characters up to
927 the first whitespace character.
928
929 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
930
931 * gdb.base/commands.exp (breakpoint_command_test): New tests.
932
933 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
934
935 * gdb.c++/*.exp: Warn if executable does not exist. The original
936 reason for skipping the warning was that configure.in sometimes
937 intentionally skipped building the executables but the tcl code
938 had no way of knowing. That (a) was always bogus with respect to
939 error handling, (b) is no longer true (right now there is no way
940 to skip C++ tests).
941
942 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
943
944 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
945
946 * gdb.base/list.exp: Add expect patterns for output from
947 SunPRO compiled executables.
948 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
949 types.
950
951 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
952
953 * gdb.base/break.exp (test_next_with_recursion): Accept any line
954 number (we are already testing that the correct source line text
955 gets printed).
956
957 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
958 that is what is intended, but something needed to be done to get
959 sunos4 native working again.
960
961 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
962
963 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
964 apparently went with a (very) old xfail.
965
966 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
967
968 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
969 runto_main is a proc in gdb.exp that will do 'step' for target use
970 stubs.
971 * gdb.base/exprs.exp: ditto.
972 * gdb.base/interrupt.exp: ditto.
973 * gdb.base/opaque.exp: ditto.
974 * gdb.base/printcmds.exp: ditto.
975 * gdb.base/ptype.exp: ditto.
976 * gdb.base/scope.exp: ditto.
977 * gdb.base/setvar.exp: ditto.
978 * gdb.base/signals.exp: ditto.
979 * gdb.base/twice.exp: ditto.
980 * gdb.c++/classes.exp: ditto.
981 * gdb.c++/inherit.exp: ditto.
982 * gdb.c++/templates.exp: ditto.
983 * gdb.base/break.exp: no run and hit main for stubs. Change line
984 numbers for breakpoints and info breakpoint.
985 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
986 breakpoint().
987 * gdb.base/callfuncs.c: ditto.
988 * gdb.base/exprs: ditto.
989 * gdb.base/interrupt.c: ditto.
990 * gdb.base/opaque0.c: ditto.
991 * gdb.base/printcmds.c: ditto.
992 * gdb.base/ptype.c: ditto.
993 * gdb.base/scope0.c: ditto.
994 * gdb.base/setvar.c: ditto.
995 * gdb.base/signals.c: ditto.
996 * gdb.base/twice.c: ditto.
997 * gdb.c++/misc.cc: ditto.
998 * gdb.c++/templates.cc: ditto.
999
1000 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1001
1002 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1003
1004 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1005 somewhere between `read' and `main.c'. I'm pretty sure the
1006 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1007 and it isn't particularly useful.
1008
1009 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1010
1011 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1012
1013 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1014
1015 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1016
1017 * config/mt-slite: add LIBS and -nostdlib.
1018 * config/slite-gdb.exp: add this new file to support sparclite target.
1019
1020 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1021
1022 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1023
1024 * gdb.base/a2-run.exp: Change argument to istarget from
1025 "*-*-vxworks" to "*-*-vxworks*".
1026 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1027
1028 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1029
1030 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1031 will not runto main but do a 'step' to step out of breakpoint().
1032 * config/mt-slite: add -Dusestubs.
1033
1034 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1035
1036 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1037 instead of just @.
1038
1039 * gdb.base/signals.exp: Add test for "handle all print".
1040 * TODO: Remove "handle all print". Also remove item about
1041 checking copyright date (I don't like the idea of a spurious FAIL
1042 based on when we run the tests).
1043
1044 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1045 for SunOS4 (reason for failure not investigated). Remove
1046 redundant test for $binfile.
1047
1048 * gdb.base/nodebug.c (array_index): Call malloc.
1049
1050 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
1051
1052 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
1053
1054 * gdb.base/recurse.exp: Update gdb_test invocation to use new
1055 conventions and slightly simplify the matching regexp.
1056
1057 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1058
1059 * gdb.base/break.exp: Update gdb_test invocation to use new
1060 convention.
1061
1062 * lib/gdb.exp: If noargs is not set, set it to 0.
1063
1064 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
1065 tests unique.
1066
1067 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
1068
1069 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1070
1071 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
1072 one argument of type "<non-float parameter>".
1073
1074 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
1075
1076 * config/rom68k.exp: New file to support Motorola IDP board.
1077 * gdb.base/a2-run.exp: Skip this file if noargs is set.
1078 * gdb.base/break.c: Change things around so that this program
1079 doesn't depend upon args. This is necessary to make remote
1080 targets work (in general, they can't take args).
1081 * gdb.base/break.exp: Don't try to send args to program. Don't
1082 expect output. Also, replace lots of code with gdb_test.
1083
1084 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1085
1086 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
1087 printing of '\'' (which is what the comment says we are testing,
1088 even though we were not), not '''.
1089 (test_integer_literals_rejected): Test that printing ''' is an error.
1090
1091 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1092 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
1093 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
1094 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
1095 Use gdb_test not test_print_accept.
1096 * lib/gdb.exp: Remove test_print_accept.
1097
1098 * gdb.base/signals.exp (signal_tests_1): Make pass message
1099 consistent with fail message.
1100
1101 * gdb.base/whatis.exp: Remove xfails for printing char vs.
1102 unsigned char; the bug (PR 1821) is fixed.
1103
1104 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
1105
1106 * gdb.base/scope.exp (test_at_localscopes): Call pass for
1107 successful tests--makes xfailing them work right.
1108
1109 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1110
1111 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
1112 only \r\n, not .*. The test can pass .* as the last thing in
1113 $pattern if that is what it wants. In addition to providing this
1114 flexibility, this change should speed up pattern matching in cases
1115 where the pattern already ended with .* (there were a number of
1116 them). This change also helps catch bad patterns--in the old
1117 scheme the typo "char \*" instead of "char \\*" would pass. Now
1118 it is caught.
1119 * Many .exp files: Update callers.
1120
1121 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
1122 clearer and does not spuriously match multiple ('s. Likewise for
1123 ) and *.
1124
1125 * gdb.base/nodebug.exp: Test ability to call a function and pass
1126 it a string (even with no debugging info).
1127
1128 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
1129 "p '\'", which is the same as "p ''" once tcl gets done with
1130 quoting, to "p '\\'", which I suspect is what is intended (one
1131 backslash gets sent to GDB).
1132
1133 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1134
1135 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1136
1137 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1138 1817) was fixed literally years ago.
1139
1140 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1141
1142 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
1143 test, it causes stepping out of call_after_alloca_subr with
1144 optimizing compilers.
1145 (localvars_in_indirect_call): Consume GDB prompt if `finish'
1146 fails.
1147
1148 * gdb.c++/templates.exp: Source templ-info.exp only if
1149 the templates executable exists.
1150
1151 * gdb.c++/misc.cc (class Contains_static_instance,
1152 class Contains_nested_static_instance),
1153 gdb.c++/classes.exp (test_static_members): Test printing of
1154 a class that contains a static instance of the class.
1155
1156 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1157
1158 * gdb.base/langs2.c (cppsub_): Don't prototype.
1159 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
1160 only, I believe).
1161
1162 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1163
1164 * lib/gdb.exp (skip_chill_tests): New procedure.
1165
1166 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
1167
1168 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
1169
1170 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
1171 each expect pattern. Cuts runtime from 12 to about 4 seconds.
1172
1173 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1174
1175 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
1176
1177 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
1178 disassemble 8, not 16, instructions for part 4.
1179
1180 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
1181 support the latter anymore.
1182
1183 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
1184 -DNO_PROTOTYPES.
1185 * gdb.base/callfuncs.c: Control use of prototypes based on
1186 NO_PROTOTYPES, not __STDC__.
1187 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
1188 t_float_values2 tests if prototypes in use.
1189
1190 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
1191 t_double_values): When checking differences against DELTA, check
1192 that difference is within the range (-DELTA,DELTA), not just
1193 (-infinity,DELTA).
1194
1195 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
1196
1197 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
1198 'file' command firts, then 'target', then 'load', this is due to gdb
1199 target set up.
1200 * config/mips-gdb.exp: Fix a couple regular exp bugs.
1201
1202 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
1203
1204 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
1205 FP load/store variants.
1206 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
1207
1208 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1209
1210 * gdb.base/term.exp: Do not give a warning if not native, it is
1211 not an abnormal condition.
1212
1213 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
1214
1215 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
1216 t_char_array".
1217
1218 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1219
1220 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
1221 are getting the version number.
1222
1223 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
1224 if not native, it is not an abnormal condition.
1225
1226 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1227
1228 * lib/gdb.exp: Just use "file exists", rather than undocumented
1229 dejagnu procedure "findfile".
1230
1231 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1232
1233 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
1234 (LDFLAGS): Set to -Xlinker -Ur.
1235
1236 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
1237 Removed, these values are set by lib/gdb.exp.
1238
1239 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1240
1241 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1242
1243 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
1244 of replicating gdb startup code.
1245
1246 * config/mt-vxworks (LDFLAGS): Set to -r.
1247 (CFLAGS_FOR_TARGET): Removed.
1248
1249 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
1250 (gdb) and gdb for vxworks uses (vxgdb).
1251
1252 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
1253 executable is not in the tree and host != target, use sed and
1254 program_transform_name to determine the gdb name used by the
1255 target.
1256
1257 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
1258 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1259
1260 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1261
1262 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
1263 floats, chars, and shorts where there are ANSI-style function
1264 definitions.
1265
1266 * gdb.base/langs.exp, gdb.base/langs*: New test.
1267 * gdb.base/Makefile.in: Build it.
1268 * TODO: Remove item about checking that C names don't get C++
1269 demangling applied; this test tests it.
1270
1271 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1272
1273 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
1274 went with the const70 xfail. The xfail went away a year ago.
1275
1276 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
1277
1278 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
1279 for hp300.
1280
1281 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
1282
1283 * gdb.base/a1-selftest.exp: Don't run on hp300.
1284
1285 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1286
1287 * Makefile.in (site.exp): Set host_alias and target_alias as well
1288 as host_triplet and target_triplet.
1289
1290 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1291
1292 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
1293
1294 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
1295 places as other ecoff systems).
1296
1297 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
1298 ultrix.
1299
1300 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1301
1302 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
1303 remove them.
1304 * gdb.base/nodebug.exp: Accept "function" in addition to "text
1305 variable and "variable" in addition to "data variable".
1306 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1307
1308 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
1309 2.
1310 * gdb.base/list1.c (long_line): Add additional statement at start
1311 of function.
1312 * gdb.base/list.exp (test_forward_search): Update line number to
1313 reflect new statement.
1314
1315 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1316
1317 * gdb.base/signals.exp: Reinitialize searched source directories
1318 after gdb_start call.
1319
1320 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
1321
1322 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
1323 * gdb.stabs/Makefile.in: Likewise.
1324
1325 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
1326 change. Instead split the tests into smaller pieces.
1327 * gdb.disasm/hppa.s: Corresponding changes.
1328
1329 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1330
1331 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1332 Quote ^C when passing it to stty. For some shells ^ is a pipe.
1333
1334 * gdb.base/funcargs.exp: Modify many tests so that every test
1335 either passes or fails. Make some test names unique.
1336
1337 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1338
1339 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1340 Call stty to set interrupt character.
1341
1342 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
1343 for HP assembler versus GNU assembler based on actual behavior of
1344 $(CC), rather than assuming that $(AS) is always the GNU assembler.
1345
1346 * TODO: Suggest a few more stepping tests.
1347
1348 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
1349
1350 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
1351 restart GDB for h8300 after a continue.
1352 (return): Add pattern to match a29k-udi behavior.
1353 * gdb.base/nodebug.exp: Remove obsolete comment.
1354 * gdb.base/regs.exp: New file, testing of register displays.
1355 * gdb.base/return.exp: Fix typo in reference to $objdir.
1356 * gdb.base/whatis.exp: Always start with a fresh GDB.
1357
1358 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1359
1360 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
1361 higher, these tests generate a lot of output.
1362
1363 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1364
1365 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
1366 code following the catch silently ignored some errors; without the
1367 catch they should be thrown like any other tcl error. Also, the
1368 catch used "" instead of {} which meant all the callers who wanted
1369 to include one of the characters "[]$ had to quote it an extra time.
1370 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
1371 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
1372 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
1373 Remove extra quoting.
1374
1375 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
1376
1377 * gdb.base/commands.exp: Make test names unique; every test either
1378 passes or fails. Update some comments.
1379
1380 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
1381
1382 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1383
1384 The following fixes a FAIL caused by the fact that the alpha stabs
1385 configuration didn't use the ".if alpha" code in weird.def.
1386 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
1387 bit pointer, so the 32 bit version works even on the alpha.
1388 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
1389 Remove the stuff which allowed us to have separate versions for
1390 alpha and everything else.
1391
1392 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
1393 regexp which "info func operator\[\](" is supposed to match. Fix
1394 string to send to GDB. Note that GDB still doesn't work right. Add a
1395 new test for "info func .perator\[\](" which GDB does handle correctly.
1396
1397 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
1398
1399 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1400
1401 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
1402 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
1403 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
1404 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
1405 it makes the tests harder to understand and confuses test-o-matic.
1406 The preferred style is that each test provides a PASS or a FAIL,
1407 and has a unique message (e.g. "continue #54" not just "continue")
1408 which is the same for the pass and the fail.
1409 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1410 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
1411 to lib/gdb.exp.
1412 * gdb.base/printcmds.exp: Use test_print_accept. Remove
1413 prt_accept which was basically the same thing. Likewise for
1414 test_print_reject and prt_reject.
1415 * lib/gdb.exp (test_print_reject): Add some more error message
1416 patterns to match from the former printcmds.exp (prt_reject).
1417 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
1418 One defect of the passcount stuff is that some of it failed to
1419 report XPASS where appropriate.
1420 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
1421 stuff before and after arg in expected pattern.
1422 (test_paddr_operator_functions): Re-do test without print_addr_of;
1423 this is the only test which seems to want extra stuff there.
1424
1425 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1426
1427 * gdb.base/nodebug.exp: Update new tests to reflect improved
1428 wording of gdb output.
1429
1430 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
1431 and "ptype" work on variables in files compiled without -g.
1432 Replaces commented out "maint print msymbol" tests.
1433
1434 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1435
1436 * gdb.base/setvar.c (dummy): Call malloc.
1437
1438 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
1439 losing with the irix4 sed.
1440
1441 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
1442 ALRM" on irix4.
1443
1444 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1445
1446 * TODO: Remove items about corefile.exp testing new exec-file and
1447 backtrace; both are now done. Add items about printing enums.
1448
1449 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1450
1451 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
1452 "get signal $thissig" test fails.
1453
1454 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
1455
1456 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1457
1458 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
1459 compiler warning with dec alpha compiler.
1460
1461 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
1462 extra \n from gdb_test call (this explains why the prompt test
1463 that I removed yesterday was there).
1464 (user_defined_command_test): Remove extra \n and prompt test.
1465
1466 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
1467 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
1468 doesn't exist.
1469 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
1470 Also remove alpha workaround, which turns out to be because
1471 SIGABRT == SIGLOST.
1472
1473 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
1474
1475 * gdb.base/help.exp: Don't test "help show".
1476
1477 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1478
1479 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
1480 "set print address" is on.
1481 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
1482 pass prompt to gdb_test; gdb_test already looks for the prompt.
1483
1484 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
1485
1486 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
1487 was a vestige of the manual TESTSTRATEGY, and the purpose of it
1488 was to make sure that gdb can read a core file. But (a) the "read
1489 the corefile" part didn't make it to a1-selftest.exp, we just
1490 delete the corefile after creating it, and (b) we test reading
1491 corefiles in corefile.exp anyway. Also, this test left around a
1492 xgdb process on Solaris.
1493
1494 * gdb.base/corefile.exp: Also test backtrace.
1495
1496 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
1497
1498 * gdb.base/commands.exp: Test a simple user defined command with
1499 arguments and if/while statements; verify the full user command is
1500 printed by "show user".
1501
1502 * gdb.base/commands.exp: Test if/while commands as part of a
1503 breakpoint command list; verify they appear in breakpoint
1504 information.
1505
1506 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1507
1508 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
1509 than by dividing by zero.
1510
1511 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
1512
1513 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
1514 performing an inferior call with watchpoints enabled.
1515 * gdb.base/watchpoint.c (main): Delete second unnecessary read
1516 call.
1517
1518 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1519
1520 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
1521 of "file" command.
1522
1523 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
1524 Add additional pattern for when "int operator int(void);" appears
1525 in a different order.
1526
1527 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1528
1529 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
1530
1531 * gdb.base/help.exp: Replace most of docstrings for "info signals"
1532 and "signal" with ".*".
1533
1534 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1535
1536 * TODO: Add note about "handle all nostop".
1537
1538 * gdb.base/{sigall.c, sigall.exp}: New test.
1539 * gdb.base/Makefile.in: Add it.
1540
1541 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
1542
1543 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
1544 when invoking GDB, suppresses any windowing interface.
1545
1546 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
1547
1548 * config/sim-gdb: New file, simulator testing support.
1549
1550 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
1551
1552 * gdb.base/interrupt.exp: Test calling func1 twice.
1553
1554 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
1555
1556 * gdb.base/list.exp (test_forward_search): Set timeout higher
1557 when we'll be getting lots of output from gdb.
1558
1559 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
1560 "init_malloc" to after the expect statement. Run it if that
1561 regexp is taken, but also for two others which happen if source
1562 cannot be found.
1563
1564 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1565
1566 * gdb.base/printcmds.exp: New test, for printing register before
1567 program is running.
1568
1569 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1570
1571 * gdb.base/list.exp: Correct some alternate expect patterns
1572 to reflect changes in list1.c.
1573
1574 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1575
1576 * TODO: Add item regarding large frames.
1577
1578 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
1579
1580 * TODO: Remove item about enabling return.exp; it
1581 is enabled. Suggest a few more "return" tests.
1582
1583 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1584
1585 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
1586 anonymous unions.
1587
1588 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1589
1590 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
1591 and pr-5646.o, so "make" is the same as "make all", not "make
1592 pr-4975.o".
1593
1594 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
1595
1596 * gdb.base/list.exp: Adjust expectations to reflect changes in
1597 list1.c.
1598 (test_forward_search): New test proc.
1599 * gdb.base/list1.c (long_line): New function, has long source line.
1600
1601 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
1602
1603 * gdb.base/a1-selftest.exp: Change initial stepping to know about
1604 additional line of code that was added.
1605
1606 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
1607
1608 * gdb.disasm/hppa.s: Break the large branching tests into smaller
1609 tests so as not to overflow expect's input buffers.
1610 * gdb.disasm/hppa.exp: Corresponding changes.
1611
1612 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1613
1614 Beginnings of template debugging tests.
1615 * gdb.c++/templ-info.cc: New file to test for template
1616 debugging capability of the compiler.
1617 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
1618 templ-info.cc.
1619 * gdb.c++/templates.cc: Add explicit template instantiations
1620 to enable compiling with -fno-implicit-templates. Add destructor
1621 and 'value' method to T5 class for template tests.
1622 * gdb.c++/templates.exp: Add testcases for printing of template
1623 types, setting breakpoints on template methods and calling a
1624 template method.
1625
1626 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
1627
1628 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
1629 branch target since some assemblers (gas-2.5) may emit a
1630 relocation for the branch instead of resolving it in the
1631 assembler.
1632
1633 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1634
1635 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
1636 through signal handler.
1637
1638 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1639
1640 * configure.in (*-*-netware): Use config/mt-netware.
1641
1642 * config/mt-netware: New file.
1643 * config/mt-i386-netware: Removed, separate configs for different
1644 netware architectures are no longer needed now that we have
1645 --with-headers.
1646
1647 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1648
1649 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
1650 by the recent changes to use ANSI C arithmetic conversions.
1651
1652 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1653
1654 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
1655 bug involving using inferior_pid to figure out whether to select a
1656 frame.
1657
1658 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
1659
1660 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
1661 match the current disassembler output.
1662
1663 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
1664
1665 * gdb.fortran/exprs.exp: Expect VOID instead of void.
1666 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
1667 types, expect "int" as type of integer values (for now).
1668
1669 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
1670
1671 * gdb.base/commands.exp: New tests for if/while commands.
1672
1673 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
1674
1675 * lib/gdb.exp (runto): Replace sub-pattern for hex value
1676 by .*, since hex values have different syntax in Chill mode.
1677
1678 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1679
1680 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
1681 linefeed from expect pattern for repeated types with indices > 9.
1682
1683 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
1684
1685 First part of Fortran test suite.
1686 * gdb.fortran: New directory.
1687 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1688
1689 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1690
1691 * gdb.base/default.exp: Update expect pattern for load command
1692 without arguments.
1693
1694 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1695
1696 * configure.in: Change i386 to i[345]86.
1697 * gdb.base/configure.in: Likewise.
1698 * gdb.c++/configure.in: Likewise.
1699 * gdb.chill/configure.in: Likewise.
1700
1701 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
1702
1703 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
1704 patterns, since that is not a valid context for comments.
1705
1706 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
1707
1708 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
1709 repeated types and repeated types with indices > 9.
1710
1711 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
1712
1713 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
1714 2417; old bug has been fixed.
1715
1716 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
1717
1718 * gdb.base/interrupt.exp: When trying to wake up the inferior,
1719 send the newline ourselves instead of assuming gdb_test will do
1720 so when passed an empty input string.
1721
1722 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
1723 stabs testcode.
1724
1725 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1726
1727 * lib/gdb.exp (gdb_test): Don't send anything if the first
1728 argument is an empty string. This makes cases where we want to
1729 match output that is already in expect's buffers (for example,
1730 matching a breakpoint after gdb_run_cmd has been called) work
1731 reliably.
1732
1733 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1734
1735 * config/netware.exp: New file.
1736
1737 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1738
1739 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
1740 the -B and -L prefixes so we can find the debugging stub.
1741
1742 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
1743 there and we are using the gcc from the tree.
1744
1745 * gdb.base/types.c: Removed.
1746
1747 * gdb.base/configure.in: Look for makefile fragments in ../config.
1748 Recognize i386-*-netware.
1749 * gdb.c++/configure.in: Likewise.
1750
1751 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1752
1753 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
1754 the correct TCL syntax.
1755
1756 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1757
1758 * gdb.base/opaque.exp: use runto instead of messing around with
1759 breakpoints. Simplify by using gdb_test.
1760
1761 * gdb.base/bitfields.exp: restart between tests on netware targets
1762 because breakpoints aren't relocated after target death. Run
1763 processes to completion.
1764
1765 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1766
1767 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
1768
1769 * Makefile.in: Remove extra tabs that confuse some versions
1770 of "make". Use the newly built gdb to test with by default,
1771 rather than the first one in the tester's search path.
1772
1773 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
1774
1775 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
1776
1777 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
1778 condition help.
1779
1780 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1781
1782 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
1783
1784 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
1785 running.
1786 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1787 * gdb.base/funcargs.exp: Likewise.
1788
1789 * gdb.base/bitfields.exp: Simplify by using gdb_test.
1790 * gdb.base/funcargs.exp: Likewise.
1791
1792 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
1793 message is "".
1794
1795 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1796
1797 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
1798 return,signals,twice}.exp: Handle non-existant binaries
1799 consistantly.
1800
1801 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
1802 * gdb.base/Makefile.in: Don't try to generate a core dump, we
1803 might testing a cross development system.
1804
1805 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1806
1807 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
1808 runtest script is relative to ${srcdir}, not ${rootdir}.
1809
1810 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
1811
1812 * gdb.base/signals.exp: Allow for optionality of breakpoint
1813 address.
1814
1815 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1816
1817 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
1818
1819 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1820
1821 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
1822 for size_t definition.
1823 * gdb.c++/templates.cc: Likewise
1824
1825 * config/mt-i386-netware: New file.
1826
1827 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
1828 defined.
1829
1830 * gdb.base/Makefile.in: Added support for systems that name core
1831 files by appending "core" to the program name.
1832 * gdb.base/a1-selftest.exp: Likewise.
1833
1834 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1835
1836 * gdb.base/return.exp: Add comment and message for `return double'
1837 test failure on Sparc Solaris.
1838
1839 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
1840
1841 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
1842
1843 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1844
1845 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
1846 from optimizing them away.
1847 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
1848 patterns to include default constructors and assignment operators,
1849 to match gcc versions beyond 2.5.8. Accept any cplus demangling
1850 character in the output of the virtual base pointer.
1851
1852 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1853
1854 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
1855 expression match in print_addr_of to avoid unintented matches.
1856 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
1857 versions up to 2.5.8.
1858
1859 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1860
1861 * gdb.base/list.exp: Tweak alternate pattern for listing of an
1862 included file to run under newer versions of expect.
1863 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
1864 consecutive >'s in templates to accomodate recent cplus-dem.c change.
1865 Remove xfail for the virtual table of BDDHookV.
1866
1867 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
1868
1869 * lib/gdb.exp (string_to_regexp): Set a default result.
1870 (default_gdb_start): Fix misleading message.
1871
1872 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
1873
1874 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
1875 Remove all CC, etc definitions.
1876 * config/mt-hpux: New file.
1877 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
1878 (CFLAGS, LDFLAGS): Define.
1879 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1880
1881 * Makefile.in (site.exp): Don't insert host_os, etc.
1882 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
1883 (distclean): Check existence of subdir.
1884 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
1885 * gdb.base/Makefile.in: General cleanup and simplification.
1886 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1887 to build executables. Use default rule to build .o files.
1888 (EXPECT, RUNTEST, CC): Fix relative pathname.
1889 (site.exp): Don't insert host_os, etc.
1890 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
1891 and/or SIGUSR1 defined.
1892 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
1893 * gdb.c++/Makefile.in: General cleanup and simplification.
1894 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1895 (CFLAGS): Remove.
1896 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1897
1898 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
1899
1900 * gdb.base/recurse.exp: Misc changes to get tests running again
1901 after Kung's changes to the watchpoint code.
1902 * gdb.base/watchpoint.exp: Likewise.
1903
1904 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
1905
1906 * lib/gdb.exp (string_to_regexp): Convert {\} also.
1907
1908 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
1909
1910 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
1911 * lib/gdb.exp (default_gdb_start): Define.
1912 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
1913 gdb.base/funcargs.exp, gdb.base/opaque.exp,
1914 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
1915 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
1916 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
1917 Don't call gdb_target_udi in between tests.
1918
1919 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1920
1921 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
1922 (which was basically just a local version of the same thing). In
1923 addition to avoiding duplication, gdb_test_exact is faster.
1924 * lib/gdb.exp (gdb_test_exact): Fix typo.
1925
1926 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
1927 don't give an error.
1928
1929 * gdb.base/term.exp: Call delete_breakpoints before starting.
1930
1931 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
1932 (t10): Add comment.
1933
1934 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1935
1936 Reorganization of the GDB Test Suite.
1937
1938 * gdb.base: New directory, contains all the basic tests.
1939 * gdb.c++: New directory, tests specific to C++.
1940 * gdb.chill: New directory, tests specific to Chill.
1941 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
1942 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
1943 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
1944 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
1945 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
1946 t30-31 to chill).
1947 * */gdbme.*: Rename to match appropriate expect scripts.
1948 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
1949 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
1950 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
1951 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
1952 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
1953 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
1954 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
1955 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
1956 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
1957 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
1958 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
1959 gdb.c++/virtfunc.cc: New names of C++ files.
1960 * gdb.chill/chillvars.ch: New name of Chill file.
1961 * gdb.base/configure.in, gdb.c++/configure.in,
1962 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
1963 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
1964 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
1965 * configure.in (configdirs): Update to reflect directory changes.
1966 (target_abbrev): No longer define for any configuration.
1967 * Makefile.in: Cosmetic improvements to header comments.
1968
1969 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
1970
1971 Various changes to gdb.t31:
1972
1973 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
1974 * gdbme.ch: Make all key-words and predefineds be upper-case.
1975 * chillvars.exp: Expect key-words and predefinds in upper-case.
1976
1977 * chillvars.exp: Use gdb_test_exact many places.
1978 Change expected output for arrays (which now includes index labels).
1979
1980 * pr-5020.exp, gdme.ch (module PR_5020):
1981 New test, for PR-5020.
1982
1983 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
1984
1985 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
1986 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
1987
1988 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
1989
1990 * Makefile.in: Fix bit-rot in definitions of CHILL,
1991 CHILL_FOR_TARGET and Chill_LIB.
1992 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
1993 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
1994 CHILL, and CHILL_LIB.
1995
1996 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
1997
1998 * Revert the previous changes. Please see Rob's directory
1999 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2000
2001 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2002
2003 * Makefile.in, configure.in, config/mips-gdb.exp,
2004 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2005 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2006 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2007 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2008 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2009 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2010 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2011 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2012 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2013 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2014 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2015 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2016 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2017 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2018 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2019 changes from 94Q1.
2020
2021 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
2022
2023 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2024 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2025 Rob's new testing fragments.
2026
2027 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2028
2029 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2030 lib/gdb.exp: Replace error proc calls with perror.
2031
2032 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2033
2034 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2035 version also, match on casted version strings, and match on
2036 gdb startup case where the line numbers might be messed up.
2037
2038 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
2039
2040 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2041 (CFLAGS): Delete it from here.
2042
2043 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
2044
2045 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2046
2047 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2048
2049 * Makefile.in (RUNTEST): Default to just "runtest".
2050
2051 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2052
2053 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
2054 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
2055 the code has been restructured.
2056
2057 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2058
2059 * gdb.t00/default.exp (set write): Allow any number of \r and/or
2060 \n, not just one of each.
2061
2062 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
2063 /bin/cc gives a warning if you do.
2064
2065 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
2066
2067 * gdb.t24/demangle.exp: change expect pattern of
2068 __t10ListS_link1ZUiRCUiPT0
2069
2070 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2071
2072 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
2073 on local variables in recursive functions.
2074
2075 * gdb.t07/Makefile.in: Build the new test.
2076
2077 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2078
2079 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
2080 directly. Instead compare the return values from actual calls.
2081
2082 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
2083
2084 * Makefile.in (check): Set TCL_LIBRARY for runtest.
2085
2086 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2087
2088 * From Peter Schauer with minor modifications.
2089 * gdb.t15/return.exp (return_tests): Handle targets where "return"
2090 stops in mid-line in the caller. Add xfail for returning a float
2091 value on X86 targets.
2092
2093 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2094
2095 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
2096 to avoid expect lossage.
2097 (fmem_LRbug_tests): Likewise.
2098 * gdb.disasm/hppa.s: Corresponding changes.
2099
2100 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
2101 conditions to work with latest dejagnu/expect.
2102
2103 * gdb.t15/funcargs.exp (finish from indirect call): No longer
2104 expected to fail on the PA.
2105 (backtrace in call with trampolines): Explicitly require main
2106 to be frame #1 (no trampolines should show up in backtrace).
2107
2108 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
2109 "continue -expect".
2110 * gdb.t06/break.exp: Likewise.
2111 * gdb.t07/watchpoint.exp: Likewise.
2112 * gdb.t13/bitfields.exp: Likewise.
2113 * gdb.t15/{funcargs,return}.exp: Likewise.
2114 * gdb.stabs/weird.exp: Likewise.
2115 * config/{mips,udi}-gdb.exp: Likewise.
2116
2117 * hppa.sed: Enclose comments within a sed command to avoid
2118 losing with the old OSF1 sed.
2119
2120 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2121
2122 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
2123 sequent dynix.
2124 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
2125 * gdb.t15/funcargs.exp: Conditionally step again to really
2126 finish from marker_call_with_trampolines. Handle the case where
2127 the first step from within call_with_trampolines already steps
2128 us back to main.
2129 * gdb.t15/gdbme.c: Add comment to closing brace of
2130 call_with_trampolines for funcargs.exp.
2131
2132 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2133
2134 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2135 Fix typo(s).
2136
2137 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2138
2139 * gdb.t07/gdbme.c: More code for watchpoint testing.
2140
2141 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
2142 "Hardware watchpoint" throughout file.
2143 (test_watchpoint_triggered_in_syscall): New test.
2144 (test_complex_watchpoint): New test.
2145
2146 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2147
2148 * gdbme.c (call_with_trampolines): New function to try and step
2149 into. Tests trampoline problems on the PA.
2150
2151 * funcargs.exp (localvars_in_indirect_call): No longer expect
2152 stepping into indirect call to fail on PAs.
2153 (test_stepping_over_trampolines): New test.
2154
2155 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2156
2157 * TODO: Add suggestions for static member function tests, and
2158 completion tests.
2159
2160 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2161
2162 * TODO: Add suggestions for "p/a" tests.
2163
2164 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
2165 (default_gdb_exit): Replace all the hair with sending "quit" to
2166 the process with a simple close.
2167
2168 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2169
2170 * TODO: Add suggestions for shared library tests.
2171
2172 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2173
2174 * TODO: Add suggestions for x/s tests.
2175
2176 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2177
2178 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
2179 "enable once", and "enable breakpoints once" with ".*".
2180
2181 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2182
2183 * TODO: Add suggestions about structure passing tests.
2184
2185 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2186
2187 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
2188 the primary1 test, use work around if __GNUC__ < 2.
2189 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
2190 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
2191 Test for bad output rather than waiting for timeout. Issue
2192 second continue only if first continue failed.
2193
2194 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2195
2196 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
2197 operator[] test with gdb_test because the old code didn't seem to
2198 be getting the quoting right with the new dejagnu.
2199
2200 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
2201
2202 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
2203 one from the path.
2204 * Makefile.in: Use a fresh expect if there is one, use runtest
2205 from the src tree if there is one.
2206
2207 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2208
2209 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
2210 next over recursive call. Revise the tests from that point on
2211 (which had been skipped) to match GDB's actual (correct) output.
2212
2213 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
2214 with next over a breakpoint whose condition is false.
2215
2216 * gdb.t00/help.exp: Comment out "help set print" tests just like
2217 (and for same reason as) "help set" test.
2218
2219 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2220
2221 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
2222 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
2223
2224 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2225
2226 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
2227 necessary gdb_target_udi.
2228
2229 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
2230
2231 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
2232 1838 and 2417; they are fixed.
2233
2234 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
2235 gdb.t03/ptype.exp (ptype structure, ptype union):
2236 Remove xfails; the test is looser than when the xfails were added.
2237
2238 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
2239 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
2240
2241 * gdb.t01/run.exp: Only run shell test if isnative.
2242
2243 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
2244 since "run" automatically loads if necessary. Call gdb_target_udi
2245 after the "file" since "file" kills any execution target.
2246
2247 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
2248 GDB. GDB doesn't work that way (not anymore at least) on UDI.
2249 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
2250 argument for UDI.
2251
2252 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2253
2254 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
2255
2256 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
2257
2258 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2259
2260 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
2261 properly quoting regexps. This makes the second argument to
2262 demangle a fixed string, which matches the callers, instead of a
2263 shell-style pattern which is what the previous implementation
2264 used. Update some of the callers.
2265
2266 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2267
2268 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
2269 (comib_nullified_tests): Fix typo.
2270 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
2271 strings. No longer expected to fail.
2272
2273 * gdb.disasm/hppa.s (addib_tests): Fix typo.
2274 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
2275 strings. No longer expected to fail.
2276
2277 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
2278 string. No longer expected to fail.
2279
2280 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2281
2282 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
2283 No longer expected to fail.
2284
2285 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
2286 string. No longer expected to fail.
2287
2288 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2289
2290 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
2291 only in the names (I probably got most of them). I was even
2292 generous with some which differed in underscores in names, and
2293 probably missed a few, and I *still* was able to remove almost a
2294 third of the file with almost no impact on testsuite coverage.
2295
2296 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2297
2298 * gdb.t00/default.exp: Match udi_attach error message as well as
2299 the one from child_attach.
2300
2301 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
2302
2303 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
2304
2305 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
2306 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
2307
2308 * Move test with enums and partial symbols back to
2309 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
2310 Reverts the change of 26 May 93. Per today's change to
2311 stabs.texinfo, the behavior that weird.exp was expecting was
2312 unreasonable; what is important is that the compiler+gdb get
2313 things right, which happens with a recent gcc. Also fix the test
2314 to deal with native compilers which put out the stab gdb can't
2315 deal with.
2316
2317 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2318
2319 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
2320 in the names. The main thing these accomplish is to slow things down.
2321 Many more such duplicates surely remain.
2322
2323 * gdb.t00/help.exp: Comment out "help support" test just like
2324 (and for same reason as) "help set" test.
2325
2326 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
2327
2328 * gdb.t06/break.exp: Remove setup_xfails for
2329 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
2330 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
2331 about known bug in gcc to include up through 2.5.8.
2332 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
2333 well as "_vb$".
2334 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
2335 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
2336 with latest gcc and gdb.
2337 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
2338 well as "_vb$".
2339
2340 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2341
2342 * configure.in (hppa*-*-*): Also configure and build stabs-only
2343 tests.
2344
2345 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2346
2347 * gdb.t10/hppa.mt: A makefile fragment for the PA.
2348 * gdb.t10/configure.in (hppa*-*-*): Use it.
2349
2350 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2351
2352 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
2353
2354 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2355
2356 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
2357 versions prior to 1.13.5.
2358
2359 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2360
2361 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
2362 the prompt is at the start of a line.
2363
2364 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2365
2366 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
2367 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
2368 in the copr tests now.
2369 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
2370 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
2371 expected to fail.
2372
2373 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
2374
2375 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
2376 gdb.t31/chillvars.exp, lib/gdb.exp:
2377 Tweak to run under either version of expect.
2378 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
2379 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
2380 * gdb.t11/list.exp: Remove extraneous whitespace.
2381
2382 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2383
2384 * gdb.t16/printcmds.exp (test_print_strings): Accept
2385 "(unsigned char *) " before the string.
2386
2387 * TODO: Add notes about printing of fancy types and GDB expressions.
2388
2389 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
2390
2391 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
2392 * gdb.t06/configure.in: Don't try to compile signals test program
2393 if doing mips-idt-ecoff.
2394
2395 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
2396
2397 * Most .exp files: Tweak to run under either version of expect.
2398
2399 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2400
2401 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
2402 xfails; I'm not sure why they are failing, but not because of PR 1806.
2403
2404 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
2405
2406 * config/unix-gdb.exp: Remove gdb_unload cause it's already
2407 defined in lib/gdb.exp.
2408
2409 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2410
2411 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
2412 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
2413 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
2414 have to be typeless.
2415
2416 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2417
2418 * TODO: Add suggestion for copyright year test.
2419
2420 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
2421
2422 * configure.in (*-*-lynxos*): Add stabs tests.
2423
2424 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2425
2426 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
2427 so insert a tab before any assembler directive in column zero.
2428
2429 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
2430 stores.
2431 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
2432 stores.
2433 (fpu_short_memory_tests): Likewise.
2434
2435 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2436
2437 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
2438 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
2439 .stabs directives in comments.
2440
2441 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2442
2443 * TODO: New file, describing tests we could write.
2444 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
2445
2446 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2447
2448 * gdb.t06/signals.exp: Add kludge to force re-sync.
2449
2450 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
2451 to xgdb instead of gdb, get out of gdb.
2452
2453 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
2454
2455 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
2456 for info.
2457
2458 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2459
2460 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
2461 * gdb.stabs/configure.in (hppa*-*-*): Use it.
2462 * gdb.stabs/hppa.sed: New sed script for the PA.
2463
2464 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2465
2466 * gdb.stabs: Re-write weird.def and configuration to use sed
2467 instead of cpp. sed is portable and POSIX; cpp is neither.
2468
2469 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2470
2471 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
2472
2473 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2474
2475 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
2476
2477 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2478
2479 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
2480 "_vb$".
2481 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
2482 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
2483
2484 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2485
2486 * lib/gdb.exp: Comment out code which depends on non-existent
2487 `transform' procedure.
2488
2489 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
2490
2491 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
2492 * lib/gdb.exp: Transform tool name.
2493 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
2494 1.1's new error handling system.
2495
2496 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2497
2498 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
2499
2500 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2501
2502 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
2503 They made pattern matching so slow that timeouts happened on
2504 heavily loaded systems. Now any output from "show print" which
2505 gets us back to the GDB prompt is a PASS.
2506
2507 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
2508
2509 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
2510
2511 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2512
2513 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
2514
2515 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
2516 It is not from PR 3220.
2517
2518 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2519
2520 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
2521 just started failing because they depended on the order the
2522 subcommands are presented, or exact docstring text. This kind of
2523 test is a pain and has minimal benefit.
2524
2525 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2526
2527 * gdb.t09/corefile.exp: At end of test, use "core" command with
2528 no arguments.
2529
2530 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
2531
2532 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
2533 17}/Makefile.in: Make it possible to run the testsuite with Sun
2534 make and CC = cross gcc by adding explicit build rules for .o
2535 files.
2536
2537 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2538
2539 * gdb.t15/funcargs.exp: Don't put comments on same line as
2540 setup_xfail (@#$*%& tcl braindamage!).
2541
2542 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2543
2544 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
2545
2546 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
2547
2548 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
2549 * gdb.t20/inherit.exp: remove three dumplicate entries.
2550
2551 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2552
2553 * gdb.t06/break.exp: For "next over recursive call", fail on any
2554 incorrect output, not just on "factorial (value=2)".
2555
2556 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2557
2558 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
2559 working now. Add an xfail if accesing a bss variable causes
2560 a memory error if the target is not yet run.
2561
2562 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2563
2564 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
2565 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
2566 name of __st* demangling (2 strings). Did Kung really get the
2567 more than 95 others right without testing them?
2568
2569 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
2570
2571 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
2572
2573 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
2574
2575 * configure.in (configdirs): Add gdb.disasm
2576 * gdb.disasm: New directory for GDB disassembler tests.
2577 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
2578
2579 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2580
2581 * gdb.t00/help.exp: Don't test "help set".
2582
2583 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
2584 from within expect statements. None of these happen anymore and
2585 they cause regressions to be silently unnoticed.
2586
2587 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
2588 messages) about known failures with gcc cygnus-2.4.5-930417.
2589
2590 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
2591 comp-info.exp so it gets built if it doesn't exist.
2592
2593 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
2594 it is no longer used.
2595 * gdb.t13/comp-info.c: Removed.
2596
2597 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2598
2599 * gdb.t06/signals.exp: Add xfail for sun3.
2600
2601 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2602
2603 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
2604 relevant because ^C doesn't get sent but failure can be reproduced
2605 interactively).
2606
2607 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2608
2609 * gdb.stabs/alpha.mt: New configuration file for alpha.
2610 * gdb.stabs/configure.in: Use it.
2611 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
2612 sharing with alpha.mt, redefine long to word via preprocessor.
2613 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
2614 for alpha.
2615 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
2616 native cc.
2617 * gdb.t00/teststrategy.exp: Change expect string so that we
2618 consume the `(xgdb)' from the command echo and from the gdb prompt.
2619 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
2620 gdb currently compares all values as long, so this failure probably
2621 applies to any configuration where LONGEST is bigger than a target int.
2622 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
2623 with gcc.
2624 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
2625 to handle opaque pointers, gcc is.
2626 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
2627 as first argument. Include <sys/types.h> and change all operator
2628 new definitions to use size_t.
2629 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
2630 now that we use size_t.
2631
2632 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2633
2634 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
2635 a long or float array cast all array members to the same type.
2636 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
2637 with 64 bit longs.
2638 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
2639 on alpha.
2640 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
2641
2642 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2643
2644 * gdb.t24 (demangle.exp): Constructors of templates have names like
2645 vector<int>::vector(int) not vector<int>::vector<int>(int). See
2646 section 14.6 of the ARM.
2647
2648 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
2649 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
2650 accomplish little and slow down the testsuite.
2651
2652 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
2653 Accept spaces various places.
2654
2655 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2656
2657 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
2658 with watchpoint enabled.
2659
2660 * Makefile.in: Remove definition of CC and remove the second
2661 definition of CXX (the "CXX = gcc" one remains). These definitions
2662 were causing backquotes to be expanded within backquotes, which
2663 doesn't work.
2664
2665 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
2666
2667 * gdb.t17/callfuncs.exp: Add "return 0" to end.
2668
2669 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2670
2671 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
2672 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
2673 by mips cc and contains no stabs entries.
2674
2675 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
2676
2677 * config/vx-gdb.exp: Use fake device to load files rather than
2678 NFS.
2679 * lib/gdb.exp: New proc to do "file" command.
2680 * config/unix-gdb.exp: Use new "file" proc.
2681
2682 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2683
2684 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
2685 Rework board rebooting slightly.
2686 (gdb_exit): Don't exit from the remote shell; there isn't one.
2687 * gdb.stabs/weird.exp: If a program is being debugged already,
2688 kill it.
2689 * gdb.t04/setvar.exp: Stop and restart gdb.
2690 * gdb.t05/expr.exp: Likewise.
2691 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
2692 restart gdb and reload the program.
2693 * gdb.t08/opaque.exp: Likewise.
2694 * gdb.t12/scope.exp: Likewise.
2695 * gdb.t13/bitfields.exp: Likewise.
2696 * gdb.t15/funcargs.exp: Likewise.
2697 * gdb.t20/classes.exp: Likewise.
2698 * gdb.t03/ptype.exp: Increase timeout.
2699 * gdb.t16/printcmds.exp (test_print_string_constants,
2700 test_print_array_constants): Likewise.
2701 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
2702 * gdb.t20/classes.exp (do_tests): Likewise.
2703 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
2704
2705 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
2706
2707 * gdb.stabs: Renamed *wierd* to *weird*.
2708
2709 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2710
2711 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
2712 for timeout. Add "known gcc 2.4.5 bug" to failure message.
2713
2714 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2715
2716 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
2717 (do_tests): Remove xfail for whatis on one_var and two_var.
2718
2719 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
2720
2721 * Makefile.in: Made cross building work better by adding
2722 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
2723
2724 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2725
2726 * gdb.t15/{return.c,return.exp,Makefile.in}:
2727 New test, currently commented out.
2728
2729 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
2730
2731 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
2732 still running and removes the leftover named socket so GDb can do
2733 clean restarts.
2734
2735 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
2736
2737 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
2738 console, not GDB.
2739 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
2740 cross testing works better with "make check"
2741 * config/unix-gdb: Use default procedures for exit and version.
2742 * config/vx-gdb.exp: Cleaned up and massaged back to working order
2743 with the newest VxWorks.
2744
2745 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2746
2747 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
2748 old form.
2749
2750 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
2751 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
2752
2753 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
2754
2755 * config/unix-gdb.exp: Remove this version of gdb_exit
2756 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
2757 Rob says he'll look at it when he gets back to testing boards.
2758
2759 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
2760
2761 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
2762 an expected fail for certain ptype commands.
2763
2764 * gdb.t20/classes.exp: Update expected results of "ptype class
2765 Base1" to account for the constructor that now appears in the type.
2766
2767 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
2768
2769 * configure.in (configdirs): Restore gdb.t04, which mysteriously
2770 disappeared from list.
2771 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
2772 "alldone" proc with call to cleanup and exit.
2773 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
2774 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
2775 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
2776 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
2777 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
2778 "alldone" proc with simple returns that suppress remaining
2779 tests. The alldone proc went away many months ago.
2780
2781 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2782
2783 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
2784
2785 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
2786
2787 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2788
2789 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
2790 as vax gdb will display them.
2791
2792 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2793
2794 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
2795 optimizers.
2796
2797 * scope.exp: Change "bad value for localval" messages so each one
2798 is unique.
2799
2800 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
2801 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
2802
2803 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
2804
2805 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2806
2807 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
2808 doesn't exist (due to optimization).
2809
2810 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2811
2812 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
2813 contains \r because the filename is long.
2814
2815 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
2816 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
2817
2818 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2819
2820 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
2821 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
2822 Ultrix.
2823 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
2824 int tests.
2825 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
2826
2827 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
2828
2829 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
2830
2831 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
2832 to match does not match the passing case but still matches the
2833 failing case.
2834
2835 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2836
2837 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
2838
2839 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
2840
2841 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
2842 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
2843 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
2844 Remove various versions of gdb_exit.
2845 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
2846 gdb_exit.
2847 * config/unix-gdb.exp: gdb_exit remains here, and should override
2848 the generic version, since it's doing a lot of wierd stuff that
2849 the other versions aren't. FIXME, fold it in, or abandon this
2850 version.
2851
2852 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2853
2854 * gdb.t24/demangle.exp: Add tests for PR 3220.
2855
2856 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2857
2858 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
2859
2860 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
2861
2862 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
2863 "i386-*-*". Works for i486 as well.
2864
2865 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
2866 bug, and expand domain of xfail to all SVR4 systems, since the
2867 actual problem is likely to be in generic SVR4 /proc support.
2868
2869 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2870
2871 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
2872
2873 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
2874
2875 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
2876 xfails for other systems. Match a missing 'Continuing.' as an
2877 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
2878
2879 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
2880 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
2881 Only issue warning for missing executables if -all option is used.
2882
2883 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
2884 file if -all option is used. It's like an unpredictable XFAIL.
2885
2886 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2887
2888 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
2889 for dynamically linked binaries.
2890
2891 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
2892
2893 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2894
2895 * gdb.t20/inherit.exp: Change message for "print tagless struct"
2896 to state that this is a known bug in old versions of g++.
2897
2898 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2899
2900 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
2901 while waiting for `Continuing'.
2902
2903 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
2904
2905 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
2906 in text, data, and bss.
2907 * gdb.t10/nodebug.c: Add local and global test variables for
2908 initialized and uninitialized data.
2909
2910 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2911
2912 * config/unix-gdb.exp (gdb_exit): Add "wait".
2913
2914 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2915
2916 * gdb.t06/signals.exp: xfail the continue from the handler for all
2917 targets.
2918
2919 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
2920 function with watchpoints enabled, the i386 call dummy starts with
2921 a call.
2922
2923 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
2924 386 bsd names its corefiles.
2925
2926 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
2927
2928 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
2929 compilers don't grok it.
2930 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
2931 with small octal ints rather than character constants, which
2932 are signed and might not fit if first promoted to int.
2933
2934 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
2935
2936 * gdb.t09/Makefile.in (clean): Remove corefile.
2937
2938 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2939
2940 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
2941
2942 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2943 and Jim Kingdon (kingdon@cygnus.com)
2944
2945 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
2946 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
2947 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
2948
2949 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2950
2951 * gdb.t17/interrupt.exp: Add xfail for hppa.
2952
2953 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2954
2955 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
2956 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
2957 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
2958 to determine signed-ness of bitfields and use the result to setup
2959 the xfail.
2960 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
2961 * gdb.t15/funcargs.exp: Use them to step until the second indirect
2962 call line is reached if necessary.
2963
2964 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2965
2966 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
2967
2968 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2969
2970 * gdb.t06/break.exp: Also test `clear' command.
2971
2972 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2973
2974 * gdb.t00/teststrategy.exp: Remove extra quote.
2975
2976 * gdb.t07/watchpoint.exp: Change xfail for calling function with
2977 watchpoint enabled to be for all non-68k machines.
2978
2979 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
2980
2981 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2982
2983 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
2984 targets use aout.mt instead of ecoff.mt as gas understands
2985 standard aout format.
2986
2987 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2988
2989 * lib/gdb.exp (runto): Don't insist that function we are running to
2990 was compiled with -g.
2991
2992 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
2993
2994 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
2995 to get back into the read system call.
2996 Accept leading newline in case where we woke it up.
2997
2998 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2999
3000 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3001 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3002 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3003 enable ecoff configuration.
3004
3005 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3006
3007 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3008
3009 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3010
3011 * gdb.t16/printcmds.exp: Add another printf test.
3012
3013 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3014
3015 * configure.in: If configured -with-stabs on any target, add
3016 stabsdirs to configdirs.
3017
3018 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3019
3020 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3021 fun" so pattern does not match the command itself.
3022
3023 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3024
3025 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3026
3027 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3028
3029 * gdb.t17/interrupt.exp: Test for more things.
3030
3031 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3032
3033 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3034 compiler arranges the code and line numbers.
3035
3036 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3037
3038 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3039
3040 * gdb.t00/help.exp: Increase expect input buffer size.
3041
3042 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3043
3044 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3045
3046 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3047
3048 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3049
3050 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
3051 [0-9]*, not just [0-9].
3052
3053 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3054
3055 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
3056
3057 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
3058
3059 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3060
3061 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
3062
3063 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3064
3065 * gdb.t06/signals.c: Add xfails for sun3.
3066
3067 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
3068
3069 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
3070 test_stepping tests.
3071
3072 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3073
3074 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
3075
3076 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
3077
3078 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
3079 rather than actually putting it through cpp twice.
3080
3081 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
3082
3083 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
3084
3085 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
3086 no longer needed.
3087
3088 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3089
3090 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
3091
3092 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
3093 C++ features prints as "struct", make it a pass, not an xfail.
3094
3095 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3096
3097 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
3098 Don't require VA to print as "class" rather than "struct".
3099
3100 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
3101
3102 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
3103
3104 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3105
3106 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
3107
3108 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3109
3110 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
3111 order.
3112
3113 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3114
3115 * gdb.t16/printcmds.exp: Add printf tests.
3116
3117 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
3118
3119 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
3120
3121 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
3122
3123 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
3124 pass counts, to counteract any existing or future setup_xfails.
3125
3126 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3127
3128 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
3129 {BEGIN,END}_COMMON for common block instead of STAB.
3130 * gdb.stabs/wierd.exp: Add xfail for rs6000.
3131
3132 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
3133 intp_var should be N_GSYM not N_LSYM.
3134 wierd-aout.S: Use a label for the value of the N_SO.
3135 wierd.def: Remove all backslashes.
3136 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
3137
3138 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3139
3140 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
3141 get the expected next to inheritance3.
3142
3143 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3144
3145 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
3146 now that gcc-2.4 gets it right.
3147
3148 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3149
3150 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
3151
3152 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
3153 generating comp-info.exp which works for cross-compilation.
3154
3155 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
3156
3157 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
3158 "*-*-sysv4.*".
3159
3160 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
3161
3162 * gdb.t01/run.exp: Start with a fresh gdb.
3163 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
3164 SVR4.x.
3165
3166 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
3167
3168 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
3169 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
3170 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
3171 Makefile.in (distclean, realclean): Remove gdbme.c from list of
3172 things to remove.
3173
3174 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
3175
3176 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
3177 test cases from bug reports.
3178
3179 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
3180
3181 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
3182 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
3183 avoid spurious xfails.
3184 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
3185 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
3186 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
3187
3188 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
3189
3190 * gdb.t00/teststrategy.exp: Rework to provide more useful
3191 description of each test, fix problem with systems that define
3192 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
3193 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
3194 results for "next over recursive call" so timeouts aren't taken
3195 by error.
3196
3197 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
3198
3199 * gdb.t12/scope.exp: Test printing of variables before run.
3200
3201 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
3202 printed in wrong order due to sorting.
3203
3204 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
3205
3206 * gdb.t00/teststrategy.exp: Fix expected results for printing
3207 user entered string constant. Is array of char, prints with no
3208 address.
3209
3210 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
3211 commands.
3212 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
3213 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
3214 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
3215 of struct of char arrays.
3216 * gdb.t00/radix.exp: New tests for radix commands.
3217
3218 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
3219
3220 * gdb.t16/printcmd.exp: Print a variable before running program
3221 (with xfail for AIX).
3222
3223 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
3224
3225 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
3226
3227 * gdb.t16/printcmd.exp: Don't print variables before running program.
3228
3229 * gdb.t06/break.exp: Don't require envp argument to main.
3230
3231 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
3232
3233 * gdb.t02/whatis.exp, gdb.t11/list.exp:
3234 Add xfails for rs6000.
3235
3236 * gdb.t02/whatis.exp: Change other tests not to re-test something
3237 we already tested.
3238
3239 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
3240 each type used has a variable of that type.
3241
3242 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3243
3244 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
3245
3246 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3247
3248 * configure.in: change srctrigger to be a file, not a directory
3249
3250 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
3251
3252 * configure.in (mips-idt-ecoff*): Added trailing '*'.
3253
3254 * gdb.t11/list.exp: Fixed a couple of typos.
3255
3256 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
3257
3258 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
3259 is fixed and PR is closed.
3260 * gdb.t16 (gdbme.c): Add simple test string variable.
3261 * gdb.t16 (printcmds.exp): Add tests with simple test string
3262 variable, primarily for boundaries on "set print elements".
3263
3264 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
3265
3266 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
3267 Make leading 0's optional and don't expect a tab in the middle
3268 of the number.
3269
3270 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
3271
3272 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
3273 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
3274 don't end command passed to gdb_test with newline.
3275
3276 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
3277 signed keyword away, don't expect signed bitfields to be signed.
3278
3279 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
3280 printing with only as many 1's as are in the field as well as printing
3281 with 32 1's (see comment).
3282
3283 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
3284
3285 * gdb.t00/default.exp: Start with a fresh gdb.
3286 * configure.in (configdirs): Remove gdb.t31 until the chill
3287 compiler works again. It no longer is able to find chillrt0
3288 since it isn't in libchill.a anymore.
3289 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
3290 wierd.o, make more modular.
3291 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
3292 spurious newlines that caused problems.
3293
3294 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3295
3296 * Move test with enums and partial symbols from gdb.t03/ptype.exp
3297 to gdb.stabs/wierd.exp since GCC has worked around the bug.
3298 gdb.stabs/wierd.{exp,def}: Many new tests.
3299
3300 * gdb.t00/default.exp: update info line for new message.
3301
3302 * gdb.t02/{whatis.exp,gdbme.c}:
3303 Test that "char *" doesn't print as "caddr_t".
3304
3305 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3306
3307 * gdb.t00/help.exp: Use .* in place of some help messages which
3308 just changed.
3309 gdb.t00/default.exp: Update "info frame" test for new message.
3310 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
3311 Remove some xfails
3312
3313 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3314
3315 * gdb.t03/{gdbme.c,ptype.exp}:
3316 Add tests for typedef'd struct and union without tags.
3317 Also check "whatis" on a variable of a typedef'd enum without a tag.
3318
3319 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
3320 PRMS 1823; the bug still exists but isn't reproduced by this test
3321 anymore), and remove rs6000 XFAIL (the bug is fixed).
3322
3323 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
3324 duplicated from whatis.exp. For those that are left, accept
3325 "long", "long int", or "int" for long variables (whatis.exp already
3326 has an XFAIL for "int", so no need to fail it here).
3327
3328 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
3329 Deal with GCC's names for types now that GDB uses the compiler's names.
3330
3331 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
3332 setup_xfail's for sunos4. If we #defined the signed keyword away,
3333 don't expect GDB to know that char it is signed.
3334
3335 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
3336
3337 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
3338
3339 * configure.in (configdirs): Add gdb.t24 for C++ tests that
3340 should work on any system, regardless of debugging format.
3341 * gdb.t21/demangle.exp: Move to gdb.t24.
3342 * gdb.t24/demangle.exp: Move from gdb.t21.
3343 * gdb.t24/{Makefile.in, configure.in}: New files.
3344
3345 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3346
3347 * configure.in: Do gdb.stabs and C++ tests only for stabs.
3348 * gdb.stabs: New directory.
3349
3350 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3351
3352 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
3353 not just "Quit anyway?".
3354
3355 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
3356
3357 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
3358 that all setup_xfails are immediately followed by clear_xfails.
3359
3360 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
3361
3362 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
3363 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
3364 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
3365 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
3366 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
3367 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3368 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3369 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
3370 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
3371 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
3372 gdb.t31/chillvars.exp, lib/gdb.exp:
3373 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
3374 bug-gdb@prep.ai.mit.edu.
3375
3376 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
3377
3378 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
3379 with 0.0, not integer 0.
3380
3381 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
3382
3383 * gdb.t06/break.exp: Update for "Kill the program" message change.
3384
3385 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
3386
3387 * Makefile.in (GDBFLAGS): Set to -nx.
3388 * Makefile.in (site.exp): Use GDBFLAGS.
3389
3390 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3391
3392 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
3393 Makefiles.
3394 (check): depend on just-check.
3395 (just-check): added so that tests can be run without a noop
3396 build pass.
3397
3398 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3399
3400 Switch to using configure's configdirs.
3401 * Makefile.in (Makefile): add configure.in dependency.
3402 (SUBDIRS): removed redundant assignment.
3403 * configure.in: switch subdirs assignment to configdirs.
3404 * gdb.t*/configure.in: new files.
3405
3406 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
3407
3408 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
3409 works.
3410
3411 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
3412
3413 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
3414 in explicit rules. Apparently this is not supported by some makes.
3415
3416 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
3417
3418 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
3419
3420 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3421
3422 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
3423 disappeared.
3424
3425 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
3426
3427 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
3428
3429 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
3430
3431 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
3432 watchpoint problem that is now fixed.
3433 * gdb.t30/chexp.exp: Remove setup_xfail for printing
3434 uninitialized convenience variables.
3435 * gdb.t31/chillvars.exp: Fix expected patterns for printing
3436 structures.
3437
3438 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3439
3440 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
3441 which causes expect to get out of sync with gdb on long output
3442 from help set.
3443 * gdb.t09/corefile.exp: Make expected pattern for core file
3444 failing signal and frame output format less sun specific.
3445
3446 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
3447
3448 * gdb.t31/chillvars.exp: Add and remove initial dummy
3449 breakpoint, so that symbol table is forced in.
3450 (Needed at least on Sunos4, though it seems not SVR4.)
3451 * gdb.t31/chillvars.exp: Update for changed output format.
3452
3453 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
3454
3455 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
3456
3457 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
3458
3459 * Makefile.in: Added --srcdir when invoking runtest, removed the
3460 need for a local config file. (optional now)
3461
3462 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
3463
3464 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
3465 failure count used to force early termination. Add some more
3466 expected failures for gnu style demangling.
3467
3468 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3469
3470 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
3471 pmi variable from gdb.t20/gdbme to get optimized away.
3472 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
3473 Check for written corefile upon timeout _and_ eof.
3474
3475 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3476
3477 * config/unix-gdb.exp: Add missing return 0.
3478
3479 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3480
3481 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
3482 test termination.
3483
3484 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
3485
3486 * configure.in (subdirs): Put back gdb.t17 which mysteriously
3487 disappeared.
3488
3489 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
3490
3491 * gdb.t10/crossload.exp: Disable the i860-elf test until such
3492 time as i860 support works.
3493
3494 * gdb.t15/funcargs.exp: Fix expected outputs to include
3495 "backtrace 100\r" rather than just "backtrace\r", to match last
3496 change.
3497
3498 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
3499
3500 * config/udi-gdb.exp (gdb_exit): Remove close command.
3501 (gdb_target_udi): New procedure to set the UDI target.
3502 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
3503 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
3504 Added waits for prompts after several question responses. Added
3505 some more responses used by a29k-amd-udi-gdb.
3506 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
3507 pass different arguments, restart UDI connection after program
3508 completion.
3509 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
3510 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3511 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
3512 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
3513 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
3514 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
3515 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3516 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
3517 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
3518 after program completion.
3519 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
3520 compiled with a SELECT_VECS setting.
3521 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
3522 infinite recursion.
3523
3524 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
3525 Added checks for COFF results, and made them expected failures for
3526 all targets. It would be better to make them expected failures
3527 for COFF targets only.
3528
3529 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
3530
3531 * Makefile.in: add null dvi target, don't bother to recurse
3532 through test directories for info and install-info; rename
3533 $(datadir) to be dejagnu instead of deja-gnu
3534
3535 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
3536
3537 * gdb.t31/gdbme.ch: Re-enable code that previously caused
3538 compiler to coredump.
3539 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
3540 code.
3541
3542 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
3543
3544 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
3545 coredump.
3546 * gdb.t31/chillvars.exp: Comment out tests that depend on that
3547 code.
3548
3549 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
3550
3551 * gdb.t03/ptype.exp: tests for return code from gdb_test.
3552 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
3553 which in a shell. Deletes xgdb when done.
3554 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
3555 Tests the return from the "set height" or "set width" commands.
3556 Added a few return codes where needed.
3557
3558 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
3559
3560 * Makefile.in (SUBDIRS): Add gdb.t17.
3561 * configure.in (subdirs): Add gdb.t17.
3562 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
3563 files to test gdb's calling of functions in the inferior with
3564 the correct arguments and gdb's ability to retrieve any
3565 result returned.
3566
3567 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
3568
3569 * config/unix-gdb.exp (gdb_exit): Remove close commands that
3570 may be called after gdb goes away. Previous versions of expect
3571 needed these to avoid file descriptor leaks, but they cause
3572 errors with the current revision of expect.
3573 * gdb.t00/gdbvars.exp: Use -re on expected output after
3574 setting sevenbit-strings.
3575 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
3576 to set sevenbit-strings consistent across tests.
3577 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
3578 set sevenbit-strings consistent across tests.
3579
3580 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
3581
3582 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
3583 expected output to match current "expect" expectations.
3584
3585 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
3586
3587 * gdb.t00/default.exp: Change expected output for default "source"
3588 command, to match new gdb behavior which requires a filename to
3589 source.
3590
3591 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
3592
3593 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
3594 expected fail for i486-*-* that misses the marker2 function.
3595 * gdb.t10/crossload.exp (bfddefault): Allow successful
3596 recognition of a format to pass even if no symbols are found.
3597 Explicitly catch failures where the format is not recognized
3598 or is ambiguous, and add the reason to the fail message.
3599 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
3600 the cause is and invalid target and add reason to failure message.
3601 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
3602 elf32-i386, elf32-sparc, and elf32-i860.
3603 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
3604 Set up expected failure for 'filename'::variable scope resolution,
3605 which is now apparently broken on all targets.
3606 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
3607 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
3608 gdb.t23/templates.exp: Change failure for missing binfile into
3609 just a warning.
3610 gdb.t21/demangle.exp: Change all cfront references to 'arm'
3611 references.
3612
3613 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
3614
3615 * gdb.t00/default.exp: Add expected output for default "source"
3616 command, to match new gdb behavior.
3617 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
3618
3619 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
3620
3621 * config/*-gdb.exp: returns an error, rather than exiting on
3622 internal errors.
3623
3624 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
3625
3626 * gdb.t03/gdbme.c: Add pointer to struct variable.
3627 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
3628 referencing struct members.
3629
3630 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
3631
3632 * configure.in (mips-idt-ecoff): New target.
3633 * config/mips-gdb.exp: New file for remote board using MIPS remote
3634 debugging protocol.
3635
3636 * Redid configuration scheme. Removed gdb.t*/configure.in.
3637 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
3638 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
3639 distclean targets. Built executables via .o files. Adjusted
3640 tests to account for source files in $(srcdir) rather than
3641 $(objdir).
3642 * lib/gdb.exp (runto): Don't expect () after the function name,
3643 because it may have arguments.
3644
3645 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
3646
3647 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
3648 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
3649 expected failures for mips-idt-* and mips-sgi-*.
3650 * gdb.t00/default.exp (attach): Kill process if requested.
3651 * gdb.t00/help.exp (help target core, help target): Accept a gdb
3652 that does not read core files.
3653 * gdb.t01/run.exp: Removed checks for exit status code.
3654 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
3655 it is linked in.
3656 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
3657 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
3658 appropriate, rather than doing it by hand.
3659 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
3660 execution.
3661 * gdb.t10/crossload.exp: Kill existing program if needed.
3662 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
3663 appropriate, rather than doing it by hand. Always increase
3664 timeout for this test, not just for VxWorks.
3665
3666 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
3667
3668 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
3669 of Chill STRUCT types and STRUCT values.
3670 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
3671 than "char".
3672 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
3673 struct2): New struct definitions and initializations to test
3674 simple Chill STRUCT types.
3675
3676 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
3677
3678 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
3679 the null byte at the end of strings.
3680 * gdb.t00/default.exp: Make show version insensitive to copyright
3681 date.
3682 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
3683 to avoid dependencies on target char signedness.
3684 * gdb.t16/printcmds.exp: Update expected results for explicitly
3685 unsigned char.
3686 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
3687 now work.
3688 * gdb.t21/demangle.exp: Add many more patterns for template
3689 demangling, most of them being expected failures.
3690 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
3691 string we are matching for, to match on the whole string.
3692 * gdb.t21/demangle.exp: Add many new test strings to demangle,
3693 and fix a whole bunch that had incorrect expected output but were
3694 passing anyway because of the bug in "proc demangle".
3695 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
3696 type.
3697 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
3698
3699 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3700
3701 * gdb/testsuite: made modifications to testcases, etc., to allow
3702 them to work properly given the reorganization of deja-gnu and the
3703 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3704
3705 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3706
3707 * gdb/testsuite: Initial creation of gdb/testsuite.
3708 Migrated dejagnu testcases and support files for testing nm to
3709 gdb/testsuite from deja-gnu. These files were moved "as is"
3710 with no modifications. This migration is part of a major overhaul
3711 of dejagnu. The modifications to these testcases, etc., which
3712 will allow them to work with the new version of dejagnu will be
3713 made in a future update.
3714 \f
3715 Local Variables:
3716 mode: indented-text
3717 left-margin: 8
3718 fill-column: 74
3719 version-control: never
3720 End:
This page took 0.114111 seconds and 4 git commands to generate.