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