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