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