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