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