3f6095a60b974e7cd1e2fbba5007633a598d3c56
[binutils-gdb.git] / gdb / testsuite / ChangeLog
1 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2
3 * gdb.t00/default.exp: update info line for new message.
4
5 * gdb.t02/{whatis.exp,gdbme.c}:
6 Test that "char *" doesn't print as "caddr_t".
7
8 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9
10 * gdb.t00/help.exp: Use .* in place of some help messages which
11 just changed.
12 gdb.t00/default.exp: Update "info frame" test for new message.
13 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
14 Remove some xfails
15
16 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
17
18 * gdb.t03/{gdbme.c,ptype.exp}:
19 Add tests for typedef'd struct and union without tags.
20 Also check "whatis" on a variable of a typedef'd enum without a tag.
21
22 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
23 PRMS 1823; the bug still exists but isn't reproduced by this test
24 anymore), and remove rs6000 XFAIL (the bug is fixed).
25
26 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
27 duplicated from whatis.exp. For those that are left, accept
28 "long", "long int", or "int" for long variables (whatis.exp already
29 has an XFAIL for "int", so no need to fail it here).
30
31 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
32 Deal with GCC's names for types now that GDB uses the compiler's names.
33
34 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
35 setup_xfail's for sunos4. If we #defined the signed keyword away,
36 don't expect GDB to know that char it is signed.
37
38 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
39
40 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
41
42 * configure.in (configdirs): Add gdb.t24 for C++ tests that
43 should work on any system, regardless of debugging format.
44 * gdb.t21/demangle.exp: Move to gdb.t24.
45 * gdb.t24/demangle.exp: Move from gdb.t21.
46 * gdb.t24/{Makefile.in, configure.in}: New files.
47
48 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
49
50 * configure.in: Do gdb.stabs and C++ tests only for stabs.
51 * gdb.stabs: New directory.
52
53 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
54
55 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
56 not just "Quit anyway?".
57
58 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
59
60 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
61 that all setup_xfails are immediately followed by clear_xfails.
62
63 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
64
65 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
66 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
67 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
68 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
69 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
70 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
71 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
72 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
73 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
74 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
75 gdb.t31/chillvars.exp, lib/gdb.exp:
76 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
77 bug-gdb@prep.ai.mit.edu.
78
79 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
80
81 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
82 with 0.0, not integer 0.
83
84 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
85
86 * gdb.t06/break.exp: Update for "Kill the program" message change.
87
88 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
89
90 * Makefile.in (GDBFLAGS): Set to -nx.
91 * Makefile.in (site.exp): Use GDBFLAGS.
92
93 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
94
95 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
96 Makefiles.
97 (check): depend on just-check.
98 (just-check): added so that tests can be run without a noop
99 build pass.
100
101 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
102
103 Switch to using configure's configdirs.
104 * Makefile.in (Makefile): add configure.in dependency.
105 (SUBDIRS): removed redundant assignment.
106 * configure.in: switch subdirs assignment to configdirs.
107 * gdb.t*/configure.in: new files.
108
109 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
110
111 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
112 works.
113
114 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
115
116 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
117 in explicit rules. Apparently this is not supported by some makes.
118
119 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
120
121 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
122
123 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
124
125 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
126 disappeared.
127
128 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
129
130 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
131
132 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
133
134 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
135 watchpoint problem that is now fixed.
136 * gdb.t30/chexp.exp: Remove setup_xfail for printing
137 uninitialized convenience variables.
138 * gdb.t31/chillvars.exp: Fix expected patterns for printing
139 structures.
140
141 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
142
143 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
144 which causes expect to get out of sync with gdb on long output
145 from help set.
146 * gdb.t09/corefile.exp: Make expected pattern for core file
147 failing signal and frame output format less sun specific.
148
149 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
150
151 * gdb.t31/chillvars.exp: Add and remove initial dummy
152 breakpoint, so that symbol table is forced in.
153 (Needed at least on Sunos4, though it seems not SVR4.)
154 * gdb.t31/chillvars.exp: Update for changed output format.
155
156 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
157
158 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
159
160 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
161
162 * Makefile.in: Added --srcdir when invoking runtest, removed the
163 need for a local config file. (optional now)
164
165 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
166
167 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
168 failure count used to force early termination. Add some more
169 expected failures for gnu style demangling.
170
171 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
172
173 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
174 pmi variable from gdb.t20/gdbme to get optimized away.
175 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
176 Check for written corefile upon timeout _and_ eof.
177
178 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
179
180 * config/unix-gdb.exp: Add missing return 0.
181
182 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
183
184 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
185 test termination.
186
187 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
188
189 * configure.in (subdirs): Put back gdb.t17 which mysteriously
190 disappeared.
191
192 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
193
194 * gdb.t10/crossload.exp: Disable the i860-elf test until such
195 time as i860 support works.
196
197 * gdb.t15/funcargs.exp: Fix expected outputs to include
198 "backtrace 100\r" rather than just "backtrace\r", to match last
199 change.
200
201 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
202
203 * config/udi-gdb.exp (gdb_exit): Remove close command.
204 (gdb_target_udi): New procedure to set the UDI target.
205 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
206 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
207 Added waits for prompts after several question responses. Added
208 some more responses used by a29k-amd-udi-gdb.
209 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
210 pass different arguments, restart UDI connection after program
211 completion.
212 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
213 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
214 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
215 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
216 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
217 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
218 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
219 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
220 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
221 after program completion.
222 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
223 compiled with a SELECT_VECS setting.
224 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
225 infinite recursion.
226
227 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
228 Added checks for COFF results, and made them expected failures for
229 all targets. It would be better to make them expected failures
230 for COFF targets only.
231
232 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
233
234 * Makefile.in: add null dvi target, don't bother to recurse
235 through test directories for info and install-info; rename
236 $(datadir) to be dejagnu instead of deja-gnu
237
238 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
239
240 * gdb.t31/gdbme.ch: Re-enable code that previously caused
241 compiler to coredump.
242 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
243 code.
244
245 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
246
247 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
248 coredump.
249 * gdb.t31/chillvars.exp: Comment out tests that depend on that
250 code.
251
252 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
253
254 * gdb.t03/ptype.exp: tests for return code from gdb_test.
255 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
256 which in a shell. Deletes xgdb when done.
257 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
258 Tests the return from the "set height" or "set width" commands.
259 Added a few return codes where needed.
260
261 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
262
263 * Makefile.in (SUBDIRS): Add gdb.t17.
264 * configure.in (subdirs): Add gdb.t17.
265 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
266 files to test gdb's calling of functions in the inferior with
267 the correct arguments and gdb's ability to retrieve any
268 result returned.
269
270 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
271
272 * config/unix-gdb.exp (gdb_exit): Remove close commands that
273 may be called after gdb goes away. Previous versions of expect
274 needed these to avoid file descriptor leaks, but they cause
275 errors with the current revision of expect.
276 * gdb.t00/gdbvars.exp: Use -re on expected output after
277 setting sevenbit-strings.
278 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
279 to set sevenbit-strings consistent across tests.
280 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
281 set sevenbit-strings consistent across tests.
282
283 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
284
285 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
286 expected output to match current "expect" expectations.
287
288 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
289
290 * gdb.t00/default.exp: Change expected output for default "source"
291 command, to match new gdb behavior which requires a filename to
292 source.
293
294 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
295
296 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
297 expected fail for i486-*-* that misses the marker2 function.
298 * gdb.t10/crossload.exp (bfddefault): Allow successful
299 recognition of a format to pass even if no symbols are found.
300 Explicitly catch failures where the format is not recognized
301 or is ambiguous, and add the reason to the fail message.
302 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
303 the cause is and invalid target and add reason to failure message.
304 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
305 elf32-i386, elf32-sparc, and elf32-i860.
306 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
307 Set up expected failure for 'filename'::variable scope resolution,
308 which is now apparently broken on all targets.
309 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
310 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
311 gdb.t23/templates.exp: Change failure for missing binfile into
312 just a warning.
313 gdb.t21/demangle.exp: Change all cfront references to 'arm'
314 references.
315
316 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
317
318 * gdb.t00/default.exp: Add expected output for default "source"
319 command, to match new gdb behavior.
320 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
321
322 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
323
324 * config/*-gdb.exp: returns an error, rather than exiting on
325 internal errors.
326
327 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
328
329 * gdb.t03/gdbme.c: Add pointer to struct variable.
330 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
331 referencing struct members.
332
333 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
334
335 * configure.in (mips-idt-ecoff): New target.
336 * config/mips-gdb.exp: New file for remote board using MIPS remote
337 debugging protocol.
338
339 * Redid configuration scheme. Removed gdb.t*/configure.in.
340 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
341 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
342 distclean targets. Built executables via .o files. Adjusted
343 tests to account for source files in $(srcdir) rather than
344 $(objdir).
345 * lib/gdb.exp (runto): Don't expect () after the function name,
346 because it may have arguments.
347
348 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
349
350 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
351 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
352 expected failures for mips-idt-* and mips-sgi-*.
353 * gdb.t00/default.exp (attach): Kill process if requested.
354 * gdb.t00/help.exp (help target core, help target): Accept a gdb
355 that does not read core files.
356 * gdb.t01/run.exp: Removed checks for exit status code.
357 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
358 it is linked in.
359 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
360 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
361 appropriate, rather than doing it by hand.
362 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
363 execution.
364 * gdb.t10/crossload.exp: Kill existing program if needed.
365 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
366 appropriate, rather than doing it by hand. Always increase
367 timeout for this test, not just for VxWorks.
368
369 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
370
371 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
372 of Chill STRUCT types and STRUCT values.
373 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
374 than "char".
375 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
376 struct2): New struct definitions and initializations to test
377 simple Chill STRUCT types.
378
379 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
380
381 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
382 the null byte at the end of strings.
383 * gdb.t00/default.exp: Make show version insensitive to copyright
384 date.
385 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
386 to avoid dependencies on target char signedness.
387 * gdb.t16/printcmds.exp: Update expected results for explicitly
388 unsigned char.
389 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
390 now work.
391 * gdb.t21/demangle.exp: Add many more patterns for template
392 demangling, most of them being expected failures.
393 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
394 string we are matching for, to match on the whole string.
395 * gdb.t21/demangle.exp: Add many new test strings to demangle,
396 and fix a whole bunch that had incorrect expected output but were
397 passing anyway because of the bug in "proc demangle".
398 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
399 type.
400 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
401
402 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
403
404 * gdb/testsuite: made modifications to testcases, etc., to allow
405 them to work properly given the reorganization of deja-gnu and the
406 relocation of the testcases from deja-gnu to a "tool" subdirectory.
407
408 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
409
410 * gdb/testsuite: Initial creation of gdb/testsuite.
411 Migrated dejagnu testcases and support files for testing nm to
412 gdb/testsuite from deja-gnu. These files were moved "as is"
413 with no modifications. This migration is part of a major overhaul
414 of dejagnu. The modifications to these testcases, etc., which
415 will allow them to work with the new version of dejagnu will be
416 made in a future update.
417