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