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