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