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