1 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
3 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4 and width commands. This is done elsewhere.
5 * (gdb_start): Don't call gdb_start_sim here. That's already
6 done in gdb_load. This fixes lots of failures in default.exp.
8 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
10 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
11 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
12 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
13 in the same we we treat other failures (since it may be an expected
14 condition), rather than as an error.
15 * gdb.base/signals.exp (test_handle_all_print): Revert back to
18 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
20 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
21 (distclean maintainer-clean realclean): No need to remove files
22 twice. Nuke the duplicates.
23 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
24 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
25 Remove config.h along with other config files.
27 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
29 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
30 "p func1 ()" and note that rests of tests are skipped.
31 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
32 setup_xfails for "print func2::coremaker_local".
33 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
34 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
35 affected by the previous run test.
36 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
37 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
38 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
39 "pass int powerset tuple" and "pass modeless int powerset tuple".
40 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
41 "real write 4" and "real write 8".
42 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
43 setup_xfails for "print vs1 after tuple assign 2",
44 "print \$i after tuple assign 2", and
45 "print vs2 after tuple assign 2".
46 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
47 meaningful error message and return -1 so the caller can
48 suppress further tests and avoid a cascade of errors.
50 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
52 * gdb.base/a1-selftest.exp: Tweak tests to account for new
53 format for printing version.
54 * gdb.base/default.exp: Ditto.
55 * gdb.base/interrupt.exp: Fix problem with cascade of
56 errors if child process dies while calling a function.
58 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
60 * Makefile.in (VPATH): Add
61 * Makefile.in (Makefile, config.status): Fix rules so things get
62 remade when necessary.
64 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
66 * Makefile.in (just-check): Add path to sibling expect dir
67 to environment variable specified by RPATH_ENVVAR.
69 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
71 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
72 (just-check): Add shared library paths for libstdc++, tk,
73 tcl, bfd, and opcodes to the environment variable specified
75 * configure.in: Add support to recognize --enable-shared flag
76 and generate correct value for RPATH_ENVVAR.
77 * configure: Regenerated with autoconf.
79 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
81 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
82 include all osf versions.
83 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
84 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
85 when target is linux. When failing to build pthreads test
86 executable, give more meaningful message.
87 * gdb.threads/pthreads.c: Hpux also uses old definition of second
88 arg for pthread_create.
90 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
92 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
93 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
94 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
95 and -lpthreads (everybody else).
96 (test_startup): Fail gracefully if threads are not supported.
97 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
98 "p/c array_index("abcdef",2)" when not gcc compiled.
99 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
100 "print func2::coremaker_local" when not gcc compiled.
101 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
102 "ptype on opaque struct tagname (statically)",
103 "ptype on opaque struct tagname (dynamically) 1", and
104 "ptype on opaque struct tagname (dynamically) 2"
105 for not compiled with gcc.
106 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
107 backtrace when compiled with gcc.
108 * lib/gdb.exp (runto_main): Return result of "runto main" rather
109 than always return success.
111 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
113 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
115 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
117 * gdb.base/structs.exp: Undo last change.
119 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
121 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
122 encapsulate all the steps/nexts done during self test, starting
123 at main, and makes them less sensitive to optimization issues.
124 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
125 signal handler" test.
126 * gdb.threads/pthreads.exp: Only run this for native configs.
127 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
128 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
130 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
131 for "runto test_calls(void)" test.
133 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
135 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
136 and don't expect address info in breakpoint confirmations.
138 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
140 * gdb.base/list.exp (test_forward_search): Increase timeout
141 temporarily by 60 seconds for searching extremely long line,
142 and then reset to old value when done. Increase expect input
145 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
147 * gdb.base/list.exp (test_forward_search): Fix to handle very
148 long source line without overflowing expect's input buffer.
150 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
152 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
155 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
158 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
161 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
164 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
166 * configure.in (configdirs): Add gdb.threads.
167 * configure: Regenerated with autoconf.
168 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
169 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
170 * gdb.threads/configure: New, generated with autoconf.
172 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
174 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
176 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
178 * gdb.base/signals.exp (test_handle_all_print): Test separately for
179 each signal's status in the output of "handle all print".
180 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
181 the \r\n sequence that immediately precedes the gdb prompt.
182 * gdb.base/a1-selftest.exp: Save original timeout and restore
185 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
187 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
190 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
192 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
194 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
196 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
197 timeout by 60 seconds.
199 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
201 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
202 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
205 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
207 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
208 gdb initialization, also report how long dejagnu waited. Restore
209 old timeout before doing error return. Temporarily increase timeout
210 by 3 minutes to allow for slow startups over heavy NFS use.
212 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
214 * lib/gdb.exp: Report timeout value for verbosity level 2.
215 * config/gdbserver.exp: Ditto.
216 * config/hppro.exp: Ditto.
217 * config/mips-gdb.exp: Ditto.
218 * config/monitor.exp: Ditto.
219 * config/netware.exp: Ditto.
220 * config/sim-gdb.exp: Ditto.
221 * config/slite-gdb.exp: Ditto.
222 * config/udi-gdb.exp: Ditto.
223 * config/unix-gdb.exp: Ditto.
224 * config/vx-gdb.exp: Ditto.
225 * gdb.base/a1-selftest.exp: Ditto.
226 * gdb.base/a2-run.exp: Ditto.
227 * gdb.base/break.exp: Ditto.
228 * gdb.base/corefile.exp: Ditto.
229 * gdb.base/list.exp: Ditto.
230 * gdb.base/recurse.exp: Ditto.
231 * gdb.base/scope.exp: Ditto.
232 * gdb.base/signals.exp: Ditto.
234 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
236 * gdb.threads/Makefile.in (docdir): Removed.
238 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
240 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
241 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
243 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
244 autoconf 2.5 or higher.
245 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
247 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
249 * configure: Regenerated.
250 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
251 avoid name clashes with SunOS headers.
253 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
255 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
257 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
259 * gdb.base/callfuncs.exp: Finish last change -- make sure the
260 prototype information ends up in the compiler info file.
262 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
264 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
265 attempting to regenerate it. Eliminate use of a temporary file
266 and just generate the info file directly. Source it immediately,
267 for consistency of use.
268 * gdb.base/corefile.exp: Ditto
269 * gdb.base/exprs.exp: Ditto.
270 * gdb.base/funcargs.exp: Ditto.
271 * gdb.base/langs.exp: Ditto.
272 * gdb.base/list.exp: Ditto.
273 * gdb.base/mips_pro.exp: Ditto.
274 * gdb.base/nodebug.exp: Ditto.
275 * gdb.base/opaque.exp: Ditto.
276 * gdb.base/ptype.exp: Ditto.
277 * gdb.base/scope.exp: Ditto.
278 * gdb.base/setvar.exp: Ditto.
279 * gdb.base/signals.exp: Ditto.
280 * gdb.base/whatis.exp: Ditto.
281 * gdb.c++/templates.exp: Ditto.
282 * gdb.c++/virtfunc.exp: Ditto.
283 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
284 whether or not to add -lstdc++ to the compile command line args.
286 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
288 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
289 it got fixed by the recent lookup_minimal_symbol_by_pc change.
290 Increase timeout, a lot of single stepping might be needed if the
291 target has no hardware watchpoints.
293 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
295 * gdb.base/break.exp: Ignore compiler warnings when compiling
297 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
298 * gdb.base/default.exp: Add h8300 xfails. Handle messages
300 * gdb.base/exprs.exp: Add h8300 xfails.
301 * gdb.base/funcargs.exp: Likewise.
302 * gdb.base/nodebug.exp: Likewise.
303 * gdb.base/printcmds.exp: Likewise.
304 * gdb.base/ptype.exp: Likewise.
305 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
307 * gdb.base/return.exp: Handle float/double precision problems
309 * gdb.base/funcargs.c: Explicitly make last constant argument to
310 call_after_alloca_subr an unsigned long type.
311 * gdb.base/return.c: Include stdio.h.
313 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
315 * config/abug.exp: New file for the older Motorola Bug monitor
316 that runs on the mvme13x series VME boards.
317 * config/monitor.exp: Use the new config array for target settings
320 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
322 * sim-gdb.exp: Make the SH simulator allocate less space when
325 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
327 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
330 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
332 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
333 "rs6000-*-*" for "list function in include file" when gcc compiled.
334 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
335 for "p ctable1[120]".
336 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
337 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
338 Remove setup_xfail for "rs6000-*-*" for
339 "print 'scope0.c'::filelocal before run".
340 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
341 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
342 since some compilers don't allow both options to be given
343 on the same command line. Create object file and move it.
345 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
347 * gdb.base/corefile.exp: Always regenerate the core file, since
348 we always regenerate the coremaker program. Detect special case
349 where registers cannot be read from core file.
351 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
353 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
354 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
355 * gdb.c++/templates.exp: Only match on basename of file since
356 some formats like xcoff don't encode directory information.
357 * gdb.stabs/weird.exp: Use the right sed script for powerpc
358 and rs6000 AIX xcoff targets.
359 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
360 * configure: Regenerate.
361 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
362 here, rather than in distclean.
364 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
366 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
367 defined, and use it to compile the test case with -O2. The
368 native compilation still uses no optimization.
369 * gdb.base/mips_pro.c: Remove inline assembly code since
370 it is compiled PIC by default, which results in assembler
371 warnings that make the testsuite think the compilation
374 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
376 * gdb.c++/misc.exp: Add note to message for
377 "print s.a for foo struct" that this is a known gcc 2.7.2
380 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
382 * gdb.base/break.exp: Fix pattern for matching "Delete all
383 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
384 setup_xfail for deleting all breakpoints test. Fix various
385 timeout messages to include "(timeout)".
386 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
387 for "p t_float_values2(3.14159,float_val2)".
388 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
389 for "continue to call2g" when gcc compiled.
390 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
391 "up to foo in langs.exp", "show language at foo in langs.exp",
392 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
393 and "show language at fsub in langs.exp".
394 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
395 "list line 1 in include file", "list message for lines past EOF",
396 "list function in include file", "list list0.h:foo", and
397 "list filename:function; nonexistant function".
398 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
399 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
400 and "ptype t_char_array" to be for native cc only.
402 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
404 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
405 setup_xfail for "print coremaker_bss", "print coremaker_ro",
406 "print func2::coremaker_local", and "backtrace in corefile.exp".
408 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
410 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
411 "bt in signals.exp". This problem only appears when running
412 the testsuite, and then only intermittently.
414 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
416 * gdb.base/return.exp (return_tests): Differentiate between
417 two tests of continuing.
419 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
421 * */Makefile.in (maintainer-clean): Remove config.log.
422 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
423 * gdb.c++/Makefile.in (PROGS): Add inherit.
424 (clean): Remove *.ci.
426 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
428 * gdb.c++/misc.cc: Add test code from Mike Stump.
429 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
431 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
433 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
434 to "alpha-*-osf2*" and add comment.
435 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
436 setup_xfail for "step over execarg initialization" and
437 "step over corearg initialization".
438 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
439 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
440 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
441 gcc compiled for "print coremaker_bss", "print coremaker_ro",
442 "print func2::coremaker_local", and "backtrace in corefile.exp".
443 * gdb.base/signals.exp: Build and source signals.ci.
444 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
446 * lib/gdb.exp: Move verbose statements outside conditionals.
448 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
450 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
451 Feb 3 procfs.c change.
453 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
455 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
457 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
459 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
460 from dejagnu's apparent default of 10 seconds, which gives random
461 results when running the tests over NFS on moderately loaded systems.
462 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
464 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
466 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
467 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
470 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
472 * configure.in (CY_AC_PATH_TCLH): Remove.
473 * configure: Regenerate.
475 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
477 * gdb.c++/Makefile.in (clean): Add missing '{'.
479 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
481 * lib/gdb.exp: Provide a default value for noinferior.
483 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
486 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
488 * gdb.disasm/hppa.exp: Compile directly into an executable, use
489 the executable, not the .o to run the tests from.
491 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
493 * gdb.base/break.exp: Don't test for program exit or exit status
494 if $noresults if nonzero.
495 * gdb.base/langs.exp: Likewise.
496 * gdb.base/watchpoint.exp: Likewise.
498 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
499 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
500 trying to compile the testcase.
502 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
504 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
505 * gdb.base/signals.exp (continue to handler): Likewise.
507 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
509 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
511 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
513 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
515 * gdb.base/corefile.exp: Recognize "not found" as failure
516 when trying to determine if a core file was generated.
517 If no core file was generate the first time, try again without
518 the ulimit -c to work around braindamaged shells.
520 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
522 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
523 [] tests with "test" and enclose string in quotes.
524 * gdb.stabs/configure: Rebuild
526 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
528 Changes in sync with expect:
529 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
530 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
531 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
532 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
533 argument to AC_REQUIRE.
534 * configure: Regenerated.
536 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
538 * gdb.base/corefile.exp: When generating a core, discard any
539 error messages about ulimit not found and the "core dumped"
540 message from the shell that runs the coredumper.
542 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
544 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
546 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
547 which sed script to run. Expect failure for v_comb test
550 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
552 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
553 "print func2::coremaker_local" and for "backtrace in corefile.exp"
555 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
557 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
558 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
559 "sparc-sun-solaris*" xfails for "p v_comb".
560 * lib/gdb.exp (default_gdb_start): Fix typo.
561 * gdb.base/corefile.exp: Allow "Core was generated by ..."
562 messages to not include the full program name that caused
563 the core dump since some systems (such as solaris) apparently
564 truncate this path to about 80 characters.
565 When generating a core file first try increasing the core file
566 size limit to unlimited since some systems may default it to
567 zero, and it is harmless to try it. Move the test for failing
568 to generate a core file to where it will actually get executed.
569 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
570 new gdb result from g++ debug info improvements and make old
571 pattern obsolescent. Also account for size_t differences
572 (may be int or long).
573 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
574 initialization before function call is placed in the delay slot
575 and thus appears to be skipped over by commands such as "next".
577 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
579 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
581 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
583 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
584 input source file; fix code to compile test to deal with this
586 * gdb.c++/*.exp: Likewise.
588 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
590 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
593 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
595 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
596 "step over execarg initialization" and
597 "step over corearg initialization".
599 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
601 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
602 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
604 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
606 From Rob Savoye (rob@poseidon.cygnus.com)
607 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
608 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
609 configure.in}, gdb.disasm/{Makefile.in, configure.in},
610 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
611 configure.in}: Major reworking for autoconfig.
612 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
613 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
615 * config/unix-gdb.exp: Make GDB global.
616 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
617 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
618 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
619 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
620 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
621 term.exp, twice.exp, watchpoint.exp, whatis.exp},
622 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
623 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
624 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
625 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
626 pr-8136.exp, result.exp, string.exp, tuples.exp},
627 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
628 to returns as necessary, arrange for test to compile own testcase
630 * lib/gdb.exp: Changes for testsuite to compile own test cases.
632 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
634 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
635 clear_xfail at end of test which might not call either pass or fail.
636 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
637 "backtrace through signal handler".
639 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
641 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
642 continuing from a job control stop signal.
643 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
645 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
647 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
648 * gdb.base/corefile.exp: Likewise.
649 * gdb.base/funcargs.exp: Likewise.
651 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
653 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
654 * config/monitor.exp: Add support for setting baud rate.
656 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
658 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
659 i*86-*-linux* xfails for "backtrace through signal handler".
660 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
661 "print func2::coremaker_local".
662 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
663 alpha-dec-osf2* xfail for
664 "delete all breakpoints when none".
666 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
668 * gdb.base/break.exp: Change test that deletes all breakpoints
669 when no user breakpoints are installed. A post 4.15 change
670 causes gdb to no longer prompt in this case.
672 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
674 * gdb.base/return.exp (return_tests): Change xfail for test
675 "correct value returned double test" to stop xfailing at
676 Solaris 2.5. Apparently the bug has been fixed.
678 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
680 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
681 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
683 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
685 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
686 * gdb.disasm/hppa.s: Corresponding changes.
688 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
690 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
692 * config/mt-hpux: Deleted.
694 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
696 * Many files: When warning about suppressed tests due to a
697 nonexistant test binary, avoid incrementing the warning count.
699 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
701 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
703 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
705 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
708 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
710 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
711 Add global and local variables and initialize them.
712 * gdb.base/corefile.exp: Test correct mapping of corefile sections
713 by printing variables. Remove rs6000 and powerpc xfails, BFD now
714 extracts the file name and terminating signal from the core file.
715 * TODO: Remove note about tests for correct mapping of corefile.
716 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
717 from optimizing it away.
718 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
719 handles common blocks.
721 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
723 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
724 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
726 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
728 * Makefile.in (maintainer-clean): New target, synonym for
730 * gdb.base/Makefile.in (maintainer-clean): Likewise.
731 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
732 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
733 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
734 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
735 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
737 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
739 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
740 xfails when not gcc compiled for "print foo::funclocal".
741 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
742 "print foo::funclocal at foo",
743 "print 'scope1.c'::foo::funclocal at foo",
744 "print foo::funclocal_bss at foo",
745 "print 'scope1.c'::foo::funclocal_bss at foo",
746 "print foo::funclocal_ro at foo",
747 "print 'scope1.c'::foo::funclocal_ro at foo",
748 "print bar::funclocal at foo" and
749 "print 'scope1.c'::bar::funclocal at foo".
750 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
751 gcc compiled for "print foo::funclocal at bar".
752 Expand all messages to ensure that they identify that
753 the test is at bar().
754 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
756 "ptype on opaque struct pointer (statically)",
757 "ptype on opaque struct tagname (statically)",
758 "ptype on opaque struct pointer (dynamically) 1",
759 "ptype on opaque struct tagname (dynamically) 1",
760 "ptype on opaque struct pointer (dynamically) 2" and
761 "ptype on opaque struct tagname (dynamically) 2
762 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
768 "whatis bsslocal", and
770 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
771 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
772 when not gcc compiled.
773 * gdb.base/funcargs.exp (float_and_integral_args): Add
774 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
776 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
777 "backtrace from call6a" when not gcc compiled.
778 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
779 "backtrace from call7a" when not gcc compiled.
780 * gdb.base/callfuncs.exp (do_function_calls):
781 Add "hppa*-*-hpux*" xfail when not gcc compiled for
782 "p t_char_array_values(char_array_val2,char_array_val1)",
783 "p t_char_array_values(char_array_val1,char_array_val2)",
784 "p t_char_array_values("carray 1","carray 2")",
785 "p t_char_array_values("carray 1",char_array_val2)",
786 "p t_char_array_values(char_array_val1,"carray 2")",
788 "p sum_args(2,{2,3})",
789 "p sum_args(3,{2,3,4})",
790 "p sum_args(4,{2,3,4,5})"
791 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
792 "backtrace in corefile.exp" when not gcc compiled.
794 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
796 * gdb.base/signals.exp: Rewrite `handle all print' test as
797 a procedure. Accept blanks or TABs as whitespace, increase
798 timeout and expect input buffer size for the large output
799 from the command. Remove "i*86-*-bsdi2.0" xfail.
801 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
803 * gdb.base/setvar.exp: Add new testcases for truncation when
804 assigning invalid values to bitfields.
806 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
808 * gdb.base/callfuncs.exp (do_function_calls): Remove
809 mips-sgi-irix* xfail for
810 "call inferior func with struct - returns char *"
811 and fix test so that an optional (unsigned char *) cast is
812 accepted in the result.
814 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
816 * gdb.base/funcargs.exp (float_and_integral_args): Remove
817 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
818 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
819 * gdb.base/signals.exp: Remove duplicate "handle all print" test
820 that accidentally got checked in.
822 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
824 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
825 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
827 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
828 Add mips-sgi-irix5* xfail for not gcc compiled.
829 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
830 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
831 "p top", "whatis top", "p middle", and "whatis middle".
832 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
833 "whatis signed char" for not gcc compiled.
834 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
835 "set variable signed char=-1 (-1)" and
836 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
837 * gdb.base/funcargs.exp (float_and_integral_args):
838 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
839 Add mips-sgi-irix* xfail when not gcc compiled for
840 "continue to call2b".
841 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
842 "continue to call2g".
843 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
844 "backtrace from call6a"
845 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
846 "backtrace from call7k".
847 Add mips-sgi-irix5* xfail when not gcc compiled for
848 "backtrace from call7a".
849 (localvars_after_alloca): Fix gdb_test cmds for
850 "print * after runto ...".
851 Remove rs6000-*-* xfails for
852 "print i after runto localvars_after_alloca" and
853 "print l after runto localvars_after_alloca"
855 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
856 when not compiled with gcc, for:
857 "print signed char == (minus)",
858 "print signed char != (minus)",
859 "print signed char < (minus)",
860 "print signed char > (minus)".
861 * gdb.base/callfuncs.exp (do_function_calls):
862 Add mips-sgi-irix* xfail, when compiled with native compiler, for
863 "call inferior func with struct - returns char *".
864 * gdb.base/return.exp (return_tests): Change xfail for
865 "correct value returned double test" to include Solaris 2.4.
866 * gdb.base/funcargs.exp (float_and_integral_args):
867 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
869 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
871 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
872 enumeration bitfields if compiling with GNU C.
873 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
876 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
878 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
879 test for PRO targets.
881 * gdb.base/funcargs.exp: Avoid ever setting more than 8
882 breakpoints in the inferior at any given time by making
883 two groups of breakpoints for call2*, call6* and call7*
886 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
888 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
889 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
890 from optimizing it away.
891 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
892 "call inferior func with struct".
894 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
896 * configure.in: Only configure gdb.chill for particular targets.
898 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
900 * gdb.base/Makefile.in: Add action to .c.o transformation
901 rule that generates a .ci file for each .o file and remove
902 explicit .c.o rules except for callfuncs.o.
903 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
904 generates a .ci file for each .o file and remove explicit
906 (clean): Remove *.tmp *.ci files.
907 (EXECUTABLES): Remove templ-info.exp.
908 * gdb.base/compiler.c: New file.
909 * gdb.c++/compiler.cc: New file
910 * gdb.base/scope.exp: Source gdb.base/scope.ci.
911 Change rs6000-*-* xfail for
912 "print 'scope0.c'::filelocal_ro" and
913 "print 'scope1.c'::filelocal" and
914 "print 'scope1.c'::filelocal_bss" and
915 "print 'scope1.c'::filelocal_ro" and
916 "print 'scope1.c'::foo::funclocal" and
917 "print 'scope1.c'::foo::funclocal_ro" and
918 "print 'scope1.c'::bar::funclocal" and
919 "print 'scope0.c'::filelocal_ro" and
920 "print 'scope1.c'::filelocal at foo" and
921 "print 'scope1.c'::filelocal_bss at foo" and
922 "print 'scope1.c'::filelocal_ro at foo" and
923 "print 'scope1.c'::foo::funclocal at foo" and
924 "print 'scope1.c'::foo::funclocal_bss at foo" and
925 "print 'scope1.c'::foo::funclocal_ro at foo" and
926 "print 'scope1.c'::bar::funclocal at foo" and
927 "print 'scope0.c'::filelocal_ro" and
928 "print 'scope1.c'::filelocal" and
929 "print 'scope1.c'::filelocal_bss" and
930 "print 'scope1.c'::filelocal_ro" and
931 "print 'scope1.c'::foo::funclocal" and
932 "print 'scope1.c'::foo::funclocal_bss" and
933 "print 'scope1.c'::foo::funclocal_ro" and
934 "print 'scope1.c'::bar::funclocal" and
935 "print 'scope1.c'::bar::funclocal_bss"
936 to only be xfail'd when not compiled with gcc.
937 Add rs6000-*-* xfail for
938 "print 'scope0.c'::filelocal_bss before run"
939 when compiled with gcc.
940 (test_at_main): Add rs6000-*-* xfail for
941 "print filelocal_ro in test_at_main"
942 when compiled with gcc.
943 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
944 Add rs6000-*-aix* xfail for
945 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
946 "ptype t_char_array", not compiled with gcc.
947 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
948 xfail for "list foo (in include file)" when gcc compiled.
949 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
950 (integral_args): Add rs6000-*-* xfail for
951 "run to call0a" if not compiled with gcc.
952 (unsigned_integral_args): Add rs6000-*-* xfail for
953 "run to call1a" if not compiled with gcc.
954 (float_and_integral_args): Add rs6000-*-* xfail for
955 "run to call2a" if not compiled with gcc and for
956 "continue to call2b" for any compiler.
957 Add rs6000-*-* xfail to
958 "print f1 after run to call2a" for gcc compiled.
959 (discard_and_shuffle): Add rs6000-*-* xfail for
961 (shuffle_round_robin): Add rs6000-*-* xfail for
962 "backtrace from call7a" if not compiled with gcc.
963 Add rs6000-*-* xfail for
964 "backtrace from call7b" if compiled with gcc.
965 (call_after_alloca): Add rs6000-*-* xfail for
966 "print c in call_after_alloca" and
967 "print s in call_after_alloca" and
968 "backtrace from call_after_alloca_subr"
969 if not compiled with gcc.
970 (localvars_in_indirect_call): Add rs6000-*-* xfail for
971 "print c in localvars_in_indirect_call" and
972 "print c in localvars_in_indirect_call" and
973 "backtrace in indirectly called function" and
974 "stepping into indirectly called function"
975 if not compiled with gcc.
976 (localvars_after_alloca): Add rs6000-*-* xfail for
977 "print c after runto localvars_after_alloca" and
978 "print s after runto localvars_after_alloca" and
979 "print i after runto localvars_after_alloca" and
980 "print l after runto localvars_after_alloca"
982 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
983 than whatis-info.exp.
984 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
985 than opaque-info.exp.
986 Setup rs6000-*-* xfail for
987 "ptype on opaque struct pointer (statically)" and
988 "ptype on opaque struct pointer (dynamically)" when
989 not compiled with gcc.
990 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
991 rather than callf-info.exp.
992 (do_function_calls): Add clear_xfail for rs6000-*-* for
993 "p t_float_values2(3.14159,float_val2)". Seems to work
994 fine there, both with xlc and gcc. Need to find out what
995 it is doing right and fix other platforms.
996 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
997 "call inferior func with struct - returns int",
998 "call inferior func with struct - returns long",
999 "call inferior func with struct - returns float",
1000 "call inferior func with struct - returns double",
1001 "call inferior func with struct - returns char *",
1002 but only if not gcc compiled (presumes xlc compiled).
1003 Change rs6000-*-* xfails for
1004 "call inferior func with struct - returns char" and
1005 " call inferior func with struct - returns short" to only
1006 xfail if not using gcc.
1007 (clean mostlyclean): Remove *.ci and *.tmp files.
1008 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1009 than templ-info.exp.
1010 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1011 Add rs6000-*-* xfail for "up to foo in langs.exp"
1012 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1013 when not gcc compiled.
1015 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1017 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1018 * gdb.base/corefile.exp: Likewise.
1019 * gdb.base/list.exp: Likewise.
1020 * gdb.base/scope.exp: Likewise.
1021 * gdb.base/siganls.exp: Likewise.
1023 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1025 * gdb.base/whatis.exp: Likewise.
1027 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1029 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1030 failure (opcode table has been fixed to match reality).
1032 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1034 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1035 "call inferior func with struct - returns char",
1036 "call inferior func with struct - returns short"
1038 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1039 "print 'scope0.c'::filelocal at main",
1040 "print 'scope0.c'::filelocal_bss in test_at_main",
1041 "print 'scope0.c'::filelocal at foo",
1042 "print 'scope0.c'::filelocal_bss in test_at_foo",
1043 "print 'scope0.c'::filelocal at bar",
1044 "print 'scope0.c'::filelocal_bss in test_at_bar"
1046 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1047 in source file 1". This bug seems to have been fixed with both
1048 gcc and native cc (was native assembler bug?).
1050 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1052 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1053 "backtrace through signal handler" to "i*86-*-sysv4*".
1054 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1055 continue" case. Add "known SVR4 bug" to fail message.
1056 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1057 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1058 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1059 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1060 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1061 "up to foo in langs.exp", "show language at foo in
1062 langs.exp", "up to cppsub_ in langs.exp", "show
1063 language at cppsub_ in langs.exp", "up to fsub in
1064 langs.exp", and "show language at fsub in langs.exp".
1065 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1066 "bactrace in corefile.exp".
1067 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1068 "call inferior function with struct - returns float" and
1069 "call inferior function with struct - returns double".
1071 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1073 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1074 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1075 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1076 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1078 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1080 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1081 (or overriden) "CHILL" macro rather then bare "gcc".
1082 Also look for ../../gcc/xgcc since that is what we will
1083 actually need, not "Makefile". Remove following assignment
1084 of CHILL to CHILL_FOR_TARGET because that results in
1085 recursive definition.
1087 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1089 * gdb.base/corefile.exp: Change xfail for backtrace in
1090 corefile.exp from linuxaout to all linux.
1091 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1092 cases where we miss the breakpoint at the signal handler
1093 for some reason. Setup xfail for linuxoldld/linuxaout and
1094 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1095 hitting SIGURG breakpoint.
1096 * gdb.base/signals.exp: Setup xfail for "next" acting like
1097 continue to add linuxoldld. Setup xfail for all linux for
1098 "next to handler in signals_tests_1", "backtrace in
1099 signals_tests_1", "continue to func1", "pass SIGUSR1",
1100 and continue to handler".
1102 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1104 * Update all FSF addresses except those in COPYING* files.
1106 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1108 * gdb.base/a2-run.exp: Change messages to be more explicit about
1109 the status of args, and quote binfile in results.
1111 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1113 * gdb.base/callfuncs.exp: Add tests for passing structs to
1114 inferior functions and return various types.
1115 * gdb.base/callfuncs.c: Add functions to receive a struct
1116 and return a member of the struct, in various types.
1118 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1120 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1122 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1124 * config/vxworks29k.exp: New file, sources vxworks.exp.
1126 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1128 * config/gdbremote.exp: New file. Testing framework using
1131 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1133 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1134 "call function when asleep" and "send end of file".
1135 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1136 for "backtrace in corefile.exp".
1137 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1138 for "backtrace through signal handler".
1139 * gdb.base/corefile.exp: Make sure we actually generate a core file
1140 before trying the core tests. Some systems allow the user to suppress
1141 generation of core files and default to that (linux for example).
1142 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1143 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1145 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1147 * gdb.threads: New directory with some crude multi-threaded
1148 gdb tests (step.exp and step2.exp).
1149 * config/mt-lynx (STEP_EXECUTABLE): Define.
1150 (THREADFLAGS): Define.
1152 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1154 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1156 * gdb.base/signals.exp: Disable whole file for lynx until
1159 * gdb.base/signals.exp: xfail test where "next" acts like
1160 "continue" for lynx.
1162 * gdb.base/interrupt.exp: xfail test for calling function while
1163 inferior is asleep for lynx.
1165 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1166 than one cr-lf after each command.
1168 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1170 * configure.in: Reinstate setting of stabsdirs variable, fix
1171 typo in setting up configdirs for native builds.
1173 * gdb.base/return.exp: Fix typo in return double test.
1174 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1175 compiler from optimizing them away.
1177 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1179 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1180 sequences to be echo'd by gdb when using gdb_test.
1181 * gdb.chill/chexp.exp: Likewise.
1182 * gdb.fortran/exprs.exp: Likewise
1184 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1186 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1187 after the inferior gdb has started.
1189 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1191 * gdb.base/funcargs.exp: Likewise.
1192 * gdb.base/gdbvars.exp: Likewise.
1193 * gdb.base/interrupt.exp: Likewise.
1194 * gdb.base/list.exp: Likewise.
1195 * gdb.base/watchpoint.exp: Likewise.
1196 * gdb.c++/demangle.exp: Likewise.
1197 * gdb.c++/inherit.exp: Likewise.
1198 * gdb.chill/chexp.exp: Likewise.
1199 * gdb.fortran/exprs.exp: Likewise.
1201 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1202 test if we can't handle IO to/from the inferior.
1204 * gdb.c++/misc.exp: Always check for a program already being
1205 started after sending a "run" command to gdb.
1207 * gdb.base/twice.exp: Start with a fresh gdb.
1209 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1210 only depend on gdb's expression code, not the chill runtime.
1212 * gdb.base/return.c: Put return values into variables so we
1213 can have gdb print them rather than depending on the program
1215 * gdb.base/return.exp: Corresponding changes.
1217 * lib/gdb.exp: Provide default value for noinferiorio.
1218 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1221 * gdb.base/break.exp: Always check for a program already being
1222 started after sending a "run" command to gdb.
1223 (text_next_with_recursion): Don't check the output from the
1224 program's printf statement. Instead just make sure the program
1227 * gdb.base/commands.exp: Protect tests which need arguments with
1228 $noargs conditionals.
1230 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1232 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1233 of structure member arrays to match gdb/valops.c:value_addr change.
1235 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1237 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1240 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1242 * configure.in (configdirs): Remove gdb.chill from default list
1243 of subdirs and then add it back in only if doing a native build.
1244 The current chill compiler does not yet work in any cross build.
1245 * Revert all signal changes from Jul 6.
1246 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1247 for sh-hms targets, allowing these tests to link, with no other
1248 changes. Testing is suppressed by setting "nosignals" in site.exp.
1250 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1252 * configure.in (signaldirs): Define and add to configdirs for all
1253 targets except some specific ones that are known to not support signals.
1254 Also clean up formatting.
1255 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1256 (signals, sigall): Remove rules to build.
1257 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1258 Moved to new gdb.signals directory.
1259 * gdb.signals: New test directory.
1260 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1261 signals.c signals.exp}: New or moved files.
1263 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1265 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1267 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1269 * gdb.base/return.exp: Xfail `return double' test failure
1270 on at least Solaris 2.3 and handle future/past versions on
1271 a case by case basis as appropriate. Also update message
1272 to include i*86 failures.
1274 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1276 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1278 * lib/gdb.exp: Fix comment which erroneously identified
1279 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1280 gdb_file_cmd not gdb_load).
1281 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1283 * gdb.base/setvar.exp: Make test names consistent between pass and
1284 fail cases. Use gdb_test more.
1286 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1288 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1290 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1292 * gdb.base/help.exp: Fix expected help string for `show commands'.
1294 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1296 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1298 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1301 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1303 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1304 that loop eventually terminates. Fix Connection refused logic so
1305 that testsuite will expire nicely.
1307 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1309 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1310 config/rom68k.exp: New tcl glue for the appropriate monitors.
1311 These all just end up calling monitor.exp.
1312 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1313 refused' by retrying. Cleanup some timeout issues.
1314 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1315 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1316 callers don't have to set/restore global timeout variable.
1318 * The following set of changes centralizes management of the global
1319 timeout variable. This way, it can be set in one target dependent
1320 place instead of dozens of places scattered throughout the test suite.
1321 If you need to lengthen a timeout, then you should either set timeout
1322 in one of the config/{target}.exp files, or multiply it by a factor.
1323 Setting it to an absolute value is always going to lose for some
1325 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1326 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1327 * gdb.base/funcargs.exp: Don't set timeout.
1328 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1329 * gdb.base/printcmds.exp (test_print_string_constants
1330 test_print_array_constants): Don't set timeout.
1331 * gdb.base/ptype.exp: Don't set timeout.
1332 * gdb.base/recurse.exp: Don't set timeout.
1333 * gdb.base/return.exp: Don't set timeout.
1334 * gdb.base/watchpoint.exp: Don't set timeout.
1335 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1336 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1338 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1340 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1342 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1344 * lib/gdb.exp: Disable chill tests for irix5.
1346 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1348 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1349 each test pass or fail.
1351 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1353 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1356 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1358 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1360 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1362 * config/est.exp: Fix copyright and comments. Remove dead code.
1363 Use targetname, serialport and baud variables instead of fixed
1365 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1366 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1368 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1370 * gdb.base/watchpoint.exp: Don't run
1371 test_watchpoint_triggered_in_syscall for sunos.
1373 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1375 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1376 they don't seem to exist. Do include stdio.h.
1378 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1380 * gdb.base/a1-selftest.exp: Add alpha xfail.
1382 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1384 * gdb.base/watchpoint.c (main): Prompt before calling read().
1385 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1386 Revise accordingly. Remove cruft about sending "123" several
1387 times, until it gets noticed. Clean up the "print buf[0]" stuff
1388 so that it passes or fails, and waits for prompts in the usual way.
1390 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1392 * gdb.base/recurse.exp: Fix comment.
1394 * TODO: Remove item about printing variables in nodebug.exp. Add
1395 item about enabling tests which are only run on some targets.
1397 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1398 fail, make test names unique, use new gdb_test convention
1399 regarding pattern, use gdb_test more, etc.).
1401 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1402 fail, make test names unique, etc.).
1404 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1406 * gdb.base/nodebug.c: Change return type of top and middle to
1408 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1409 are fixed by the recent mdebugread.c changes. Allow `short ()'
1410 as type for top and middle.
1412 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1414 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1415 nearly as I can tell, the whole thing was an accident in Stu's
1416 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1417 to replace a send/expect pair with gdb_test, but ended up only
1418 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1419 of 30 Mar 1995 took care of it, but left this vestigial comment
1420 which I am now nuking.
1422 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1424 * gdb.base/break.exp: Look for different line number for
1425 breakpoint at main depending on usestubs.
1427 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1429 * gdb.base/list.exp: Adjust some alternate expect patterns to
1430 match recent list0.c change. Add alternate expect pattern for
1431 output from `list default lines around main' for optimizing
1434 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1436 * lib/gdb.exp: If nosignals is not set, set it to 0.
1438 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
1440 * config/slite-gdb.exp: Responds to load symbol table prompt.
1441 * gdb.base/break.exp: Adjust line number, fix rerun.
1442 * gdb.base/langs0.c: Add #ifdef usestubs.
1444 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
1446 * gdb.base/list.exp: Adjust line contents after adding new lines in
1447 list0.c. Also fix a syntax error.
1449 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1450 * gdb.base/break.exp: ditto.
1451 * gdb.base/list.exp: ditto.
1452 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1453 * gdb.base/run.c: ditto.
1454 * gdb.base/list0.c: ditto.
1455 * gdb.base/funcargs.c: ditto.
1457 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1459 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1460 $targetname, $serialport and $baud instead of hardwired variables.
1461 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1462 target doesn't support signals.
1464 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
1466 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
1468 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1470 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
1471 Don't rely on the value of an auto variable before it has been
1472 initialized. Use gdb_test more.
1474 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1476 * lib/gdb.exp (default_gdb_version): A version number must start
1477 with a digit, but other than that contains all characters up to
1478 the first whitespace character.
1480 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1482 * gdb.base/commands.exp (breakpoint_command_test): New tests.
1484 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1486 * gdb.c++/*.exp: Warn if executable does not exist. The original
1487 reason for skipping the warning was that configure.in sometimes
1488 intentionally skipped building the executables but the tcl code
1489 had no way of knowing. That (a) was always bogus with respect to
1490 error handling, (b) is no longer true (right now there is no way
1493 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1495 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1497 * gdb.base/list.exp: Add expect patterns for output from
1498 SunPRO compiled executables.
1499 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
1502 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1504 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1505 number (we are already testing that the correct source line text
1508 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1509 that is what is intended, but something needed to be done to get
1510 sunos4 native working again.
1512 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1514 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
1515 apparently went with a (very) old xfail.
1517 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
1519 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
1520 runto_main is a proc in gdb.exp that will do 'step' for target use
1522 * gdb.base/exprs.exp: ditto.
1523 * gdb.base/interrupt.exp: ditto.
1524 * gdb.base/opaque.exp: ditto.
1525 * gdb.base/printcmds.exp: ditto.
1526 * gdb.base/ptype.exp: ditto.
1527 * gdb.base/scope.exp: ditto.
1528 * gdb.base/setvar.exp: ditto.
1529 * gdb.base/signals.exp: ditto.
1530 * gdb.base/twice.exp: ditto.
1531 * gdb.c++/classes.exp: ditto.
1532 * gdb.c++/inherit.exp: ditto.
1533 * gdb.c++/templates.exp: ditto.
1534 * gdb.base/break.exp: no run and hit main for stubs. Change line
1535 numbers for breakpoints and info breakpoint.
1536 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1538 * gdb.base/callfuncs.c: ditto.
1539 * gdb.base/exprs: ditto.
1540 * gdb.base/interrupt.c: ditto.
1541 * gdb.base/opaque0.c: ditto.
1542 * gdb.base/printcmds.c: ditto.
1543 * gdb.base/ptype.c: ditto.
1544 * gdb.base/scope0.c: ditto.
1545 * gdb.base/setvar.c: ditto.
1546 * gdb.base/signals.c: ditto.
1547 * gdb.base/twice.c: ditto.
1548 * gdb.c++/misc.cc: ditto.
1549 * gdb.c++/templates.cc: ditto.
1551 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1553 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1555 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1556 somewhere between `read' and `main.c'. I'm pretty sure the
1557 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1558 and it isn't particularly useful.
1560 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1562 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1564 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1566 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1568 * config/mt-slite: add LIBS and -nostdlib.
1569 * config/slite-gdb.exp: add this new file to support sparclite target.
1571 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1573 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1575 * gdb.base/a2-run.exp: Change argument to istarget from
1576 "*-*-vxworks" to "*-*-vxworks*".
1577 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1579 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1581 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1582 will not runto main but do a 'step' to step out of breakpoint().
1583 * config/mt-slite: add -Dusestubs.
1585 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1587 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1590 * gdb.base/signals.exp: Add test for "handle all print".
1591 * TODO: Remove "handle all print". Also remove item about
1592 checking copyright date (I don't like the idea of a spurious FAIL
1593 based on when we run the tests).
1595 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1596 for SunOS4 (reason for failure not investigated). Remove
1597 redundant test for $binfile.
1599 * gdb.base/nodebug.c (array_index): Call malloc.
1601 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
1603 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
1605 * gdb.base/recurse.exp: Update gdb_test invocation to use new
1606 conventions and slightly simplify the matching regexp.
1608 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1610 * gdb.base/break.exp: Update gdb_test invocation to use new
1613 * lib/gdb.exp: If noargs is not set, set it to 0.
1615 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
1618 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
1620 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1622 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
1623 one argument of type "<non-float parameter>".
1625 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
1627 * config/rom68k.exp: New file to support Motorola IDP board.
1628 * gdb.base/a2-run.exp: Skip this file if noargs is set.
1629 * gdb.base/break.c: Change things around so that this program
1630 doesn't depend upon args. This is necessary to make remote
1631 targets work (in general, they can't take args).
1632 * gdb.base/break.exp: Don't try to send args to program. Don't
1633 expect output. Also, replace lots of code with gdb_test.
1635 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1637 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
1638 printing of '\'' (which is what the comment says we are testing,
1639 even though we were not), not '''.
1640 (test_integer_literals_rejected): Test that printing ''' is an error.
1642 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1643 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
1644 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
1645 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
1646 Use gdb_test not test_print_accept.
1647 * lib/gdb.exp: Remove test_print_accept.
1649 * gdb.base/signals.exp (signal_tests_1): Make pass message
1650 consistent with fail message.
1652 * gdb.base/whatis.exp: Remove xfails for printing char vs.
1653 unsigned char; the bug (PR 1821) is fixed.
1655 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
1657 * gdb.base/scope.exp (test_at_localscopes): Call pass for
1658 successful tests--makes xfailing them work right.
1660 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1662 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
1663 only \r\n, not .*. The test can pass .* as the last thing in
1664 $pattern if that is what it wants. In addition to providing this
1665 flexibility, this change should speed up pattern matching in cases
1666 where the pattern already ended with .* (there were a number of
1667 them). This change also helps catch bad patterns--in the old
1668 scheme the typo "char \*" instead of "char \\*" would pass. Now
1670 * Many .exp files: Update callers.
1672 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
1673 clearer and does not spuriously match multiple ('s. Likewise for
1676 * gdb.base/nodebug.exp: Test ability to call a function and pass
1677 it a string (even with no debugging info).
1679 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
1680 "p '\'", which is the same as "p ''" once tcl gets done with
1681 quoting, to "p '\\'", which I suspect is what is intended (one
1682 backslash gets sent to GDB).
1684 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1686 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1688 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1689 1817) was fixed literally years ago.
1691 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1693 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
1694 test, it causes stepping out of call_after_alloca_subr with
1695 optimizing compilers.
1696 (localvars_in_indirect_call): Consume GDB prompt if `finish'
1699 * gdb.c++/templates.exp: Source templ-info.exp only if
1700 the templates executable exists.
1702 * gdb.c++/misc.cc (class Contains_static_instance,
1703 class Contains_nested_static_instance),
1704 gdb.c++/classes.exp (test_static_members): Test printing of
1705 a class that contains a static instance of the class.
1707 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1709 * gdb.base/langs2.c (cppsub_): Don't prototype.
1710 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
1713 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1715 * lib/gdb.exp (skip_chill_tests): New procedure.
1717 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
1719 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
1721 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
1722 each expect pattern. Cuts runtime from 12 to about 4 seconds.
1724 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1726 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
1728 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
1729 disassemble 8, not 16, instructions for part 4.
1731 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
1732 support the latter anymore.
1734 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
1736 * gdb.base/callfuncs.c: Control use of prototypes based on
1737 NO_PROTOTYPES, not __STDC__.
1738 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
1739 t_float_values2 tests if prototypes in use.
1741 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
1742 t_double_values): When checking differences against DELTA, check
1743 that difference is within the range (-DELTA,DELTA), not just
1746 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
1748 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
1749 'file' command firts, then 'target', then 'load', this is due to gdb
1751 * config/mips-gdb.exp: Fix a couple regular exp bugs.
1753 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
1755 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
1756 FP load/store variants.
1757 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
1759 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1761 * gdb.base/term.exp: Do not give a warning if not native, it is
1762 not an abnormal condition.
1764 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
1766 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
1769 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1771 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
1772 are getting the version number.
1774 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
1775 if not native, it is not an abnormal condition.
1777 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1779 * lib/gdb.exp: Just use "file exists", rather than undocumented
1780 dejagnu procedure "findfile".
1782 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1784 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
1785 (LDFLAGS): Set to -Xlinker -Ur.
1787 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
1788 Removed, these values are set by lib/gdb.exp.
1790 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1792 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1794 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
1795 of replicating gdb startup code.
1797 * config/mt-vxworks (LDFLAGS): Set to -r.
1798 (CFLAGS_FOR_TARGET): Removed.
1800 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
1801 (gdb) and gdb for vxworks uses (vxgdb).
1803 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
1804 executable is not in the tree and host != target, use sed and
1805 program_transform_name to determine the gdb name used by the
1808 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
1809 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
1811 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1813 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
1814 floats, chars, and shorts where there are ANSI-style function
1817 * gdb.base/langs.exp, gdb.base/langs*: New test.
1818 * gdb.base/Makefile.in: Build it.
1819 * TODO: Remove item about checking that C names don't get C++
1820 demangling applied; this test tests it.
1822 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1824 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
1825 went with the const70 xfail. The xfail went away a year ago.
1827 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
1829 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
1832 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
1834 * gdb.base/a1-selftest.exp: Don't run on hp300.
1836 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1838 * Makefile.in (site.exp): Set host_alias and target_alias as well
1839 as host_triplet and target_triplet.
1841 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1843 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
1845 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
1846 places as other ecoff systems).
1848 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
1851 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1853 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
1855 * gdb.base/nodebug.exp: Accept "function" in addition to "text
1856 variable and "variable" in addition to "data variable".
1857 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
1859 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
1861 * gdb.base/list1.c (long_line): Add additional statement at start
1863 * gdb.base/list.exp (test_forward_search): Update line number to
1864 reflect new statement.
1866 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1868 * gdb.base/signals.exp: Reinitialize searched source directories
1869 after gdb_start call.
1871 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
1873 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
1874 * gdb.stabs/Makefile.in: Likewise.
1876 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
1877 change. Instead split the tests into smaller pieces.
1878 * gdb.disasm/hppa.s: Corresponding changes.
1880 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1882 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1883 Quote ^C when passing it to stty. For some shells ^ is a pipe.
1885 * gdb.base/funcargs.exp: Modify many tests so that every test
1886 either passes or fails. Make some test names unique.
1888 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1890 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
1891 Call stty to set interrupt character.
1893 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
1894 for HP assembler versus GNU assembler based on actual behavior of
1895 $(CC), rather than assuming that $(AS) is always the GNU assembler.
1897 * TODO: Suggest a few more stepping tests.
1899 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
1901 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
1902 restart GDB for h8300 after a continue.
1903 (return): Add pattern to match a29k-udi behavior.
1904 * gdb.base/nodebug.exp: Remove obsolete comment.
1905 * gdb.base/regs.exp: New file, testing of register displays.
1906 * gdb.base/return.exp: Fix typo in reference to $objdir.
1907 * gdb.base/whatis.exp: Always start with a fresh GDB.
1909 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1911 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
1912 higher, these tests generate a lot of output.
1914 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1916 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
1917 code following the catch silently ignored some errors; without the
1918 catch they should be thrown like any other tcl error. Also, the
1919 catch used "" instead of {} which meant all the callers who wanted
1920 to include one of the characters "[]$ had to quote it an extra time.
1921 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
1922 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
1923 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
1924 Remove extra quoting.
1926 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
1928 * gdb.base/commands.exp: Make test names unique; every test either
1929 passes or fails. Update some comments.
1931 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
1933 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1935 The following fixes a FAIL caused by the fact that the alpha stabs
1936 configuration didn't use the ".if alpha" code in weird.def.
1937 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
1938 bit pointer, so the 32 bit version works even on the alpha.
1939 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
1940 Remove the stuff which allowed us to have separate versions for
1941 alpha and everything else.
1943 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
1944 regexp which "info func operator\[\](" is supposed to match. Fix
1945 string to send to GDB. Note that GDB still doesn't work right. Add a
1946 new test for "info func .perator\[\](" which GDB does handle correctly.
1948 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
1950 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1952 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
1953 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
1954 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
1955 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
1956 it makes the tests harder to understand and confuses test-o-matic.
1957 The preferred style is that each test provides a PASS or a FAIL,
1958 and has a unique message (e.g. "continue #54" not just "continue")
1959 which is the same for the pass and the fail.
1960 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1961 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
1963 * gdb.base/printcmds.exp: Use test_print_accept. Remove
1964 prt_accept which was basically the same thing. Likewise for
1965 test_print_reject and prt_reject.
1966 * lib/gdb.exp (test_print_reject): Add some more error message
1967 patterns to match from the former printcmds.exp (prt_reject).
1968 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
1969 One defect of the passcount stuff is that some of it failed to
1970 report XPASS where appropriate.
1971 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
1972 stuff before and after arg in expected pattern.
1973 (test_paddr_operator_functions): Re-do test without print_addr_of;
1974 this is the only test which seems to want extra stuff there.
1976 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1978 * gdb.base/nodebug.exp: Update new tests to reflect improved
1979 wording of gdb output.
1981 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
1982 and "ptype" work on variables in files compiled without -g.
1983 Replaces commented out "maint print msymbol" tests.
1985 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1987 * gdb.base/setvar.c (dummy): Call malloc.
1989 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
1990 losing with the irix4 sed.
1992 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
1995 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
1997 * TODO: Remove items about corefile.exp testing new exec-file and
1998 backtrace; both are now done. Add items about printing enums.
2000 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2002 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2003 "get signal $thissig" test fails.
2005 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2007 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2009 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2010 compiler warning with dec alpha compiler.
2012 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2013 extra \n from gdb_test call (this explains why the prompt test
2014 that I removed yesterday was there).
2015 (user_defined_command_test): Remove extra \n and prompt test.
2017 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2018 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2020 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2021 Also remove alpha workaround, which turns out to be because
2024 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2026 * gdb.base/help.exp: Don't test "help show".
2028 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2030 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2031 "set print address" is on.
2032 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2033 pass prompt to gdb_test; gdb_test already looks for the prompt.
2035 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2037 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2038 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2039 was to make sure that gdb can read a core file. But (a) the "read
2040 the corefile" part didn't make it to a1-selftest.exp, we just
2041 delete the corefile after creating it, and (b) we test reading
2042 corefiles in corefile.exp anyway. Also, this test left around a
2043 xgdb process on Solaris.
2045 * gdb.base/corefile.exp: Also test backtrace.
2047 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2049 * gdb.base/commands.exp: Test a simple user defined command with
2050 arguments and if/while statements; verify the full user command is
2051 printed by "show user".
2053 * gdb.base/commands.exp: Test if/while commands as part of a
2054 breakpoint command list; verify they appear in breakpoint
2057 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2059 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2060 than by dividing by zero.
2062 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2064 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2065 performing an inferior call with watchpoints enabled.
2066 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2069 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2071 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2074 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2075 Add additional pattern for when "int operator int(void);" appears
2076 in a different order.
2078 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2080 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2082 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2083 and "signal" with ".*".
2085 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2087 * TODO: Add note about "handle all nostop".
2089 * gdb.base/{sigall.c, sigall.exp}: New test.
2090 * gdb.base/Makefile.in: Add it.
2092 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2094 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2095 when invoking GDB, suppresses any windowing interface.
2097 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2099 * config/sim-gdb: New file, simulator testing support.
2101 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2103 * gdb.base/interrupt.exp: Test calling func1 twice.
2105 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2107 * gdb.base/list.exp (test_forward_search): Set timeout higher
2108 when we'll be getting lots of output from gdb.
2110 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2111 "init_malloc" to after the expect statement. Run it if that
2112 regexp is taken, but also for two others which happen if source
2115 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2117 * gdb.base/printcmds.exp: New test, for printing register before
2120 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2122 * gdb.base/list.exp: Correct some alternate expect patterns
2123 to reflect changes in list1.c.
2125 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2127 * TODO: Add item regarding large frames.
2129 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2131 * TODO: Remove item about enabling return.exp; it
2132 is enabled. Suggest a few more "return" tests.
2134 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2136 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2139 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2141 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2142 and pr-5646.o, so "make" is the same as "make all", not "make
2145 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2147 * gdb.base/list.exp: Adjust expectations to reflect changes in
2149 (test_forward_search): New test proc.
2150 * gdb.base/list1.c (long_line): New function, has long source line.
2152 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2154 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2155 additional line of code that was added.
2157 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2159 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2160 tests so as not to overflow expect's input buffers.
2161 * gdb.disasm/hppa.exp: Corresponding changes.
2163 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2165 Beginnings of template debugging tests.
2166 * gdb.c++/templ-info.cc: New file to test for template
2167 debugging capability of the compiler.
2168 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2170 * gdb.c++/templates.cc: Add explicit template instantiations
2171 to enable compiling with -fno-implicit-templates. Add destructor
2172 and 'value' method to T5 class for template tests.
2173 * gdb.c++/templates.exp: Add testcases for printing of template
2174 types, setting breakpoints on template methods and calling a
2177 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2179 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2180 branch target since some assemblers (gas-2.5) may emit a
2181 relocation for the branch instead of resolving it in the
2184 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2186 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2187 through signal handler.
2189 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2191 * configure.in (*-*-netware): Use config/mt-netware.
2193 * config/mt-netware: New file.
2194 * config/mt-i386-netware: Removed, separate configs for different
2195 netware architectures are no longer needed now that we have
2198 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2200 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2201 by the recent changes to use ANSI C arithmetic conversions.
2203 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2205 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2206 bug involving using inferior_pid to figure out whether to select a
2209 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2211 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2212 match the current disassembler output.
2214 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2216 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2217 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2218 types, expect "int" as type of integer values (for now).
2220 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2222 * gdb.base/commands.exp: New tests for if/while commands.
2224 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2226 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2227 by .*, since hex values have different syntax in Chill mode.
2229 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2231 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2232 linefeed from expect pattern for repeated types with indices > 9.
2234 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2236 First part of Fortran test suite.
2237 * gdb.fortran: New directory.
2238 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2240 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2242 * gdb.base/default.exp: Update expect pattern for load command
2245 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2247 * configure.in: Change i386 to i[345]86.
2248 * gdb.base/configure.in: Likewise.
2249 * gdb.c++/configure.in: Likewise.
2250 * gdb.chill/configure.in: Likewise.
2252 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2254 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2255 patterns, since that is not a valid context for comments.
2257 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2259 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2260 repeated types and repeated types with indices > 9.
2262 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2264 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2265 2417; old bug has been fixed.
2267 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2269 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2270 send the newline ourselves instead of assuming gdb_test will do
2271 so when passed an empty input string.
2273 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2276 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2278 * lib/gdb.exp (gdb_test): Don't send anything if the first
2279 argument is an empty string. This makes cases where we want to
2280 match output that is already in expect's buffers (for example,
2281 matching a breakpoint after gdb_run_cmd has been called) work
2284 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2286 * config/netware.exp: New file.
2288 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2290 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2291 the -B and -L prefixes so we can find the debugging stub.
2293 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2294 there and we are using the gcc from the tree.
2296 * gdb.base/types.c: Removed.
2298 * gdb.base/configure.in: Look for makefile fragments in ../config.
2299 Recognize i386-*-netware.
2300 * gdb.c++/configure.in: Likewise.
2302 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2304 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2305 the correct TCL syntax.
2307 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2309 * gdb.base/opaque.exp: use runto instead of messing around with
2310 breakpoints. Simplify by using gdb_test.
2312 * gdb.base/bitfields.exp: restart between tests on netware targets
2313 because breakpoints aren't relocated after target death. Run
2314 processes to completion.
2316 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2318 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2320 * Makefile.in: Remove extra tabs that confuse some versions
2321 of "make". Use the newly built gdb to test with by default,
2322 rather than the first one in the tester's search path.
2324 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2326 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2328 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2331 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2333 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2335 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2337 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2338 * gdb.base/funcargs.exp: Likewise.
2340 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2341 * gdb.base/funcargs.exp: Likewise.
2343 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2346 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2348 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2349 return,signals,twice}.exp: Handle non-existant binaries
2352 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2353 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2354 might testing a cross development system.
2356 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2358 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2359 runtest script is relative to ${srcdir}, not ${rootdir}.
2361 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2363 * gdb.base/signals.exp: Allow for optionality of breakpoint
2366 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2368 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2370 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2372 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2373 for size_t definition.
2374 * gdb.c++/templates.cc: Likewise
2376 * config/mt-i386-netware: New file.
2378 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2381 * gdb.base/Makefile.in: Added support for systems that name core
2382 files by appending "core" to the program name.
2383 * gdb.base/a1-selftest.exp: Likewise.
2385 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2387 * gdb.base/return.exp: Add comment and message for `return double'
2388 test failure on Sparc Solaris.
2390 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
2392 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2394 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2396 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2397 from optimizing them away.
2398 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2399 patterns to include default constructors and assignment operators,
2400 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2401 character in the output of the virtual base pointer.
2403 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2405 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2406 expression match in print_addr_of to avoid unintented matches.
2407 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2408 versions up to 2.5.8.
2410 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2412 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2413 included file to run under newer versions of expect.
2414 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2415 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2416 Remove xfail for the virtual table of BDDHookV.
2418 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2420 * lib/gdb.exp (string_to_regexp): Set a default result.
2421 (default_gdb_start): Fix misleading message.
2423 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2425 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2426 Remove all CC, etc definitions.
2427 * config/mt-hpux: New file.
2428 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2429 (CFLAGS, LDFLAGS): Define.
2430 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2432 * Makefile.in (site.exp): Don't insert host_os, etc.
2433 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2434 (distclean): Check existence of subdir.
2435 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2436 * gdb.base/Makefile.in: General cleanup and simplification.
2437 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2438 to build executables. Use default rule to build .o files.
2439 (EXPECT, RUNTEST, CC): Fix relative pathname.
2440 (site.exp): Don't insert host_os, etc.
2441 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2442 and/or SIGUSR1 defined.
2443 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2444 * gdb.c++/Makefile.in: General cleanup and simplification.
2445 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2447 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2449 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
2451 * gdb.base/recurse.exp: Misc changes to get tests running again
2452 after Kung's changes to the watchpoint code.
2453 * gdb.base/watchpoint.exp: Likewise.
2455 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
2457 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2459 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
2461 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2462 * lib/gdb.exp (default_gdb_start): Define.
2463 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
2464 gdb.base/funcargs.exp, gdb.base/opaque.exp,
2465 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
2466 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
2467 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
2468 Don't call gdb_target_udi in between tests.
2470 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2472 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
2473 (which was basically just a local version of the same thing). In
2474 addition to avoiding duplication, gdb_test_exact is faster.
2475 * lib/gdb.exp (gdb_test_exact): Fix typo.
2477 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
2478 don't give an error.
2480 * gdb.base/term.exp: Call delete_breakpoints before starting.
2482 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
2485 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2487 Reorganization of the GDB Test Suite.
2489 * gdb.base: New directory, contains all the basic tests.
2490 * gdb.c++: New directory, tests specific to C++.
2491 * gdb.chill: New directory, tests specific to Chill.
2492 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
2493 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
2494 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
2495 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
2496 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
2498 * */gdbme.*: Rename to match appropriate expect scripts.
2499 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
2500 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
2501 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
2502 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
2503 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2504 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2505 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2506 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2507 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2508 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2509 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2510 gdb.c++/virtfunc.cc: New names of C++ files.
2511 * gdb.chill/chillvars.ch: New name of Chill file.
2512 * gdb.base/configure.in, gdb.c++/configure.in,
2513 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
2514 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2515 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
2516 * configure.in (configdirs): Update to reflect directory changes.
2517 (target_abbrev): No longer define for any configuration.
2518 * Makefile.in: Cosmetic improvements to header comments.
2520 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
2522 Various changes to gdb.t31:
2524 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2525 * gdbme.ch: Make all key-words and predefineds be upper-case.
2526 * chillvars.exp: Expect key-words and predefinds in upper-case.
2528 * chillvars.exp: Use gdb_test_exact many places.
2529 Change expected output for arrays (which now includes index labels).
2531 * pr-5020.exp, gdme.ch (module PR_5020):
2532 New test, for PR-5020.
2534 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
2536 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2537 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2539 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
2541 * Makefile.in: Fix bit-rot in definitions of CHILL,
2542 CHILL_FOR_TARGET and Chill_LIB.
2543 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2544 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2545 CHILL, and CHILL_LIB.
2547 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
2549 * Revert the previous changes. Please see Rob's directory
2550 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2552 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2554 * Makefile.in, configure.in, config/mips-gdb.exp,
2555 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2556 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2557 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2558 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2559 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2560 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2561 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2562 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2563 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2564 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2565 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2566 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2567 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2568 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2569 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2572 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
2574 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2575 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2576 Rob's new testing fragments.
2578 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2580 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2581 lib/gdb.exp: Replace error proc calls with perror.
2583 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2585 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2586 version also, match on casted version strings, and match on
2587 gdb startup case where the line numbers might be messed up.
2589 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
2591 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2592 (CFLAGS): Delete it from here.
2594 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
2596 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2598 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2600 * Makefile.in (RUNTEST): Default to just "runtest".
2602 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2604 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
2605 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
2606 the code has been restructured.
2608 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2610 * gdb.t00/default.exp (set write): Allow any number of \r and/or
2611 \n, not just one of each.
2613 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
2614 /bin/cc gives a warning if you do.
2616 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
2618 * gdb.t24/demangle.exp: change expect pattern of
2619 __t10ListS_link1ZUiRCUiPT0
2621 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2623 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
2624 on local variables in recursive functions.
2626 * gdb.t07/Makefile.in: Build the new test.
2628 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2630 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
2631 directly. Instead compare the return values from actual calls.
2633 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
2635 * Makefile.in (check): Set TCL_LIBRARY for runtest.
2637 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2639 * From Peter Schauer with minor modifications.
2640 * gdb.t15/return.exp (return_tests): Handle targets where "return"
2641 stops in mid-line in the caller. Add xfail for returning a float
2642 value on X86 targets.
2644 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2646 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
2647 to avoid expect lossage.
2648 (fmem_LRbug_tests): Likewise.
2649 * gdb.disasm/hppa.s: Corresponding changes.
2651 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
2652 conditions to work with latest dejagnu/expect.
2654 * gdb.t15/funcargs.exp (finish from indirect call): No longer
2655 expected to fail on the PA.
2656 (backtrace in call with trampolines): Explicitly require main
2657 to be frame #1 (no trampolines should show up in backtrace).
2659 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
2661 * gdb.t06/break.exp: Likewise.
2662 * gdb.t07/watchpoint.exp: Likewise.
2663 * gdb.t13/bitfields.exp: Likewise.
2664 * gdb.t15/{funcargs,return}.exp: Likewise.
2665 * gdb.stabs/weird.exp: Likewise.
2666 * config/{mips,udi}-gdb.exp: Likewise.
2668 * hppa.sed: Enclose comments within a sed command to avoid
2669 losing with the old OSF1 sed.
2671 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2673 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
2675 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
2676 * gdb.t15/funcargs.exp: Conditionally step again to really
2677 finish from marker_call_with_trampolines. Handle the case where
2678 the first step from within call_with_trampolines already steps
2680 * gdb.t15/gdbme.c: Add comment to closing brace of
2681 call_with_trampolines for funcargs.exp.
2683 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2685 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2688 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2690 * gdb.t07/gdbme.c: More code for watchpoint testing.
2692 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
2693 "Hardware watchpoint" throughout file.
2694 (test_watchpoint_triggered_in_syscall): New test.
2695 (test_complex_watchpoint): New test.
2697 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2699 * gdbme.c (call_with_trampolines): New function to try and step
2700 into. Tests trampoline problems on the PA.
2702 * funcargs.exp (localvars_in_indirect_call): No longer expect
2703 stepping into indirect call to fail on PAs.
2704 (test_stepping_over_trampolines): New test.
2706 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2708 * TODO: Add suggestions for static member function tests, and
2711 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2713 * TODO: Add suggestions for "p/a" tests.
2715 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
2716 (default_gdb_exit): Replace all the hair with sending "quit" to
2717 the process with a simple close.
2719 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2721 * TODO: Add suggestions for shared library tests.
2723 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2725 * TODO: Add suggestions for x/s tests.
2727 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2729 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
2730 "enable once", and "enable breakpoints once" with ".*".
2732 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2734 * TODO: Add suggestions about structure passing tests.
2736 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2738 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
2739 the primary1 test, use work around if __GNUC__ < 2.
2740 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
2741 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
2742 Test for bad output rather than waiting for timeout. Issue
2743 second continue only if first continue failed.
2745 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2747 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
2748 operator[] test with gdb_test because the old code didn't seem to
2749 be getting the quoting right with the new dejagnu.
2751 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
2753 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
2755 * Makefile.in: Use a fresh expect if there is one, use runtest
2756 from the src tree if there is one.
2758 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2760 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
2761 next over recursive call. Revise the tests from that point on
2762 (which had been skipped) to match GDB's actual (correct) output.
2764 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
2765 with next over a breakpoint whose condition is false.
2767 * gdb.t00/help.exp: Comment out "help set print" tests just like
2768 (and for same reason as) "help set" test.
2770 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2772 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
2773 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
2775 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2777 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
2778 necessary gdb_target_udi.
2780 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
2782 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
2783 1838 and 2417; they are fixed.
2785 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
2786 gdb.t03/ptype.exp (ptype structure, ptype union):
2787 Remove xfails; the test is looser than when the xfails were added.
2789 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
2790 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
2792 * gdb.t01/run.exp: Only run shell test if isnative.
2794 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
2795 since "run" automatically loads if necessary. Call gdb_target_udi
2796 after the "file" since "file" kills any execution target.
2798 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
2799 GDB. GDB doesn't work that way (not anymore at least) on UDI.
2800 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
2803 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2805 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
2807 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
2809 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2811 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
2812 properly quoting regexps. This makes the second argument to
2813 demangle a fixed string, which matches the callers, instead of a
2814 shell-style pattern which is what the previous implementation
2815 used. Update some of the callers.
2817 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2819 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
2820 (comib_nullified_tests): Fix typo.
2821 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
2822 strings. No longer expected to fail.
2824 * gdb.disasm/hppa.s (addib_tests): Fix typo.
2825 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
2826 strings. No longer expected to fail.
2828 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
2829 string. No longer expected to fail.
2831 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2833 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
2834 No longer expected to fail.
2836 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
2837 string. No longer expected to fail.
2839 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2841 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
2842 only in the names (I probably got most of them). I was even
2843 generous with some which differed in underscores in names, and
2844 probably missed a few, and I *still* was able to remove almost a
2845 third of the file with almost no impact on testsuite coverage.
2847 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2849 * gdb.t00/default.exp: Match udi_attach error message as well as
2850 the one from child_attach.
2852 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
2854 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
2856 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
2857 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
2859 * Move test with enums and partial symbols back to
2860 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
2861 Reverts the change of 26 May 93. Per today's change to
2862 stabs.texinfo, the behavior that weird.exp was expecting was
2863 unreasonable; what is important is that the compiler+gdb get
2864 things right, which happens with a recent gcc. Also fix the test
2865 to deal with native compilers which put out the stab gdb can't
2868 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2870 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
2871 in the names. The main thing these accomplish is to slow things down.
2872 Many more such duplicates surely remain.
2874 * gdb.t00/help.exp: Comment out "help support" test just like
2875 (and for same reason as) "help set" test.
2877 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
2879 * gdb.t06/break.exp: Remove setup_xfails for
2880 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
2881 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
2882 about known bug in gcc to include up through 2.5.8.
2883 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
2885 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
2886 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
2887 with latest gcc and gdb.
2888 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
2891 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2893 * configure.in (hppa*-*-*): Also configure and build stabs-only
2896 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2898 * gdb.t10/hppa.mt: A makefile fragment for the PA.
2899 * gdb.t10/configure.in (hppa*-*-*): Use it.
2901 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2903 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
2905 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2907 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
2908 versions prior to 1.13.5.
2910 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2912 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
2913 the prompt is at the start of a line.
2915 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2917 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
2918 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
2919 in the copr tests now.
2920 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
2921 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
2924 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
2926 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
2927 gdb.t31/chillvars.exp, lib/gdb.exp:
2928 Tweak to run under either version of expect.
2929 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
2930 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
2931 * gdb.t11/list.exp: Remove extraneous whitespace.
2933 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2935 * gdb.t16/printcmds.exp (test_print_strings): Accept
2936 "(unsigned char *) " before the string.
2938 * TODO: Add notes about printing of fancy types and GDB expressions.
2940 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
2942 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
2943 * gdb.t06/configure.in: Don't try to compile signals test program
2944 if doing mips-idt-ecoff.
2946 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
2948 * Most .exp files: Tweak to run under either version of expect.
2950 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2952 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
2953 xfails; I'm not sure why they are failing, but not because of PR 1806.
2955 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
2957 * config/unix-gdb.exp: Remove gdb_unload cause it's already
2958 defined in lib/gdb.exp.
2960 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2962 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
2963 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
2964 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
2965 have to be typeless.
2967 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2969 * TODO: Add suggestion for copyright year test.
2971 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
2973 * configure.in (*-*-lynxos*): Add stabs tests.
2975 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
2977 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
2978 so insert a tab before any assembler directive in column zero.
2980 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
2982 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
2984 (fpu_short_memory_tests): Likewise.
2986 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2988 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
2989 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
2990 .stabs directives in comments.
2992 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2994 * TODO: New file, describing tests we could write.
2995 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
2997 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2999 * gdb.t06/signals.exp: Add kludge to force re-sync.
3001 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3002 to xgdb instead of gdb, get out of gdb.
3004 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3006 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3009 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3011 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3012 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3013 * gdb.stabs/hppa.sed: New sed script for the PA.
3015 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3017 * gdb.stabs: Re-write weird.def and configuration to use sed
3018 instead of cpp. sed is portable and POSIX; cpp is neither.
3020 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3022 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3024 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3026 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3028 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3030 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3032 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3033 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3035 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3037 * lib/gdb.exp: Comment out code which depends on non-existent
3038 `transform' procedure.
3040 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3042 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3043 * lib/gdb.exp: Transform tool name.
3044 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3045 1.1's new error handling system.
3047 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3049 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3051 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3053 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3054 They made pattern matching so slow that timeouts happened on
3055 heavily loaded systems. Now any output from "show print" which
3056 gets us back to the GDB prompt is a PASS.
3058 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3060 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3062 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3064 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3066 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3067 It is not from PR 3220.
3069 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3071 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3072 just started failing because they depended on the order the
3073 subcommands are presented, or exact docstring text. This kind of
3074 test is a pain and has minimal benefit.
3076 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3078 * gdb.t09/corefile.exp: At end of test, use "core" command with
3081 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3083 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3084 17}/Makefile.in: Make it possible to run the testsuite with Sun
3085 make and CC = cross gcc by adding explicit build rules for .o
3088 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3090 * gdb.t15/funcargs.exp: Don't put comments on same line as
3091 setup_xfail (@#$*%& tcl braindamage!).
3093 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3095 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3097 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3099 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3100 * gdb.t20/inherit.exp: remove three dumplicate entries.
3102 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3104 * gdb.t06/break.exp: For "next over recursive call", fail on any
3105 incorrect output, not just on "factorial (value=2)".
3107 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3109 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3110 working now. Add an xfail if accesing a bss variable causes
3111 a memory error if the target is not yet run.
3113 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3115 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3116 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3117 name of __st* demangling (2 strings). Did Kung really get the
3118 more than 95 others right without testing them?
3120 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3122 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3124 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3126 * configure.in (configdirs): Add gdb.disasm
3127 * gdb.disasm: New directory for GDB disassembler tests.
3128 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3130 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3132 * gdb.t00/help.exp: Don't test "help set".
3134 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3135 from within expect statements. None of these happen anymore and
3136 they cause regressions to be silently unnoticed.
3138 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3139 messages) about known failures with gcc cygnus-2.4.5-930417.
3141 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3142 comp-info.exp so it gets built if it doesn't exist.
3144 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3145 it is no longer used.
3146 * gdb.t13/comp-info.c: Removed.
3148 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3150 * gdb.t06/signals.exp: Add xfail for sun3.
3152 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3154 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3155 relevant because ^C doesn't get sent but failure can be reproduced
3158 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3160 * gdb.stabs/alpha.mt: New configuration file for alpha.
3161 * gdb.stabs/configure.in: Use it.
3162 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3163 sharing with alpha.mt, redefine long to word via preprocessor.
3164 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3166 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3168 * gdb.t00/teststrategy.exp: Change expect string so that we
3169 consume the `(xgdb)' from the command echo and from the gdb prompt.
3170 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3171 gdb currently compares all values as long, so this failure probably
3172 applies to any configuration where LONGEST is bigger than a target int.
3173 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3175 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3176 to handle opaque pointers, gcc is.
3177 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3178 as first argument. Include <sys/types.h> and change all operator
3179 new definitions to use size_t.
3180 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3181 now that we use size_t.
3183 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3185 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3186 a long or float array cast all array members to the same type.
3187 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3189 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3191 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3193 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3195 * gdb.t24 (demangle.exp): Constructors of templates have names like
3196 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3197 section 14.6 of the ARM.
3199 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3200 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3201 accomplish little and slow down the testsuite.
3203 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3204 Accept spaces various places.
3206 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3208 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3209 with watchpoint enabled.
3211 * Makefile.in: Remove definition of CC and remove the second
3212 definition of CXX (the "CXX = gcc" one remains). These definitions
3213 were causing backquotes to be expanded within backquotes, which
3216 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3218 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3220 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3222 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3223 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3224 by mips cc and contains no stabs entries.
3226 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3228 * config/vx-gdb.exp: Use fake device to load files rather than
3230 * lib/gdb.exp: New proc to do "file" command.
3231 * config/unix-gdb.exp: Use new "file" proc.
3233 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3235 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3236 Rework board rebooting slightly.
3237 (gdb_exit): Don't exit from the remote shell; there isn't one.
3238 * gdb.stabs/weird.exp: If a program is being debugged already,
3240 * gdb.t04/setvar.exp: Stop and restart gdb.
3241 * gdb.t05/expr.exp: Likewise.
3242 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3243 restart gdb and reload the program.
3244 * gdb.t08/opaque.exp: Likewise.
3245 * gdb.t12/scope.exp: Likewise.
3246 * gdb.t13/bitfields.exp: Likewise.
3247 * gdb.t15/funcargs.exp: Likewise.
3248 * gdb.t20/classes.exp: Likewise.
3249 * gdb.t03/ptype.exp: Increase timeout.
3250 * gdb.t16/printcmds.exp (test_print_string_constants,
3251 test_print_array_constants): Likewise.
3252 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3253 * gdb.t20/classes.exp (do_tests): Likewise.
3254 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3256 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3258 * gdb.stabs: Renamed *wierd* to *weird*.
3260 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3262 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3263 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3265 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3267 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3268 (do_tests): Remove xfail for whatis on one_var and two_var.
3270 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3272 * Makefile.in: Made cross building work better by adding
3273 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3275 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3277 * gdb.t15/{return.c,return.exp,Makefile.in}:
3278 New test, currently commented out.
3280 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3282 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3283 still running and removes the leftover named socket so GDb can do
3286 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3288 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3290 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3291 cross testing works better with "make check"
3292 * config/unix-gdb: Use default procedures for exit and version.
3293 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3294 with the newest VxWorks.
3296 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3298 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3301 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3302 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3304 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3306 * config/unix-gdb.exp: Remove this version of gdb_exit
3307 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3308 Rob says he'll look at it when he gets back to testing boards.
3310 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3312 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3313 an expected fail for certain ptype commands.
3315 * gdb.t20/classes.exp: Update expected results of "ptype class
3316 Base1" to account for the constructor that now appears in the type.
3318 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3320 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3321 disappeared from list.
3322 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3323 "alldone" proc with call to cleanup and exit.
3324 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3325 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3326 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3327 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3328 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3329 "alldone" proc with simple returns that suppress remaining
3330 tests. The alldone proc went away many months ago.
3332 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3334 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3336 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3338 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3340 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3341 as vax gdb will display them.
3343 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3345 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3348 * scope.exp: Change "bad value for localval" messages so each one
3351 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3352 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3354 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3356 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3358 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3359 doesn't exist (due to optimization).
3361 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3363 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3364 contains \r because the filename is long.
3366 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3367 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3369 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3371 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3372 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3374 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3376 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3378 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
3380 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3382 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3383 to match does not match the passing case but still matches the
3386 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3388 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3390 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
3392 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
3393 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
3394 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3395 Remove various versions of gdb_exit.
3396 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3398 * config/unix-gdb.exp: gdb_exit remains here, and should override
3399 the generic version, since it's doing a lot of wierd stuff that
3400 the other versions aren't. FIXME, fold it in, or abandon this
3403 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3405 * gdb.t24/demangle.exp: Add tests for PR 3220.
3407 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3409 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3411 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3413 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3414 "i386-*-*". Works for i486 as well.
3416 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3417 bug, and expand domain of xfail to all SVR4 systems, since the
3418 actual problem is likely to be in generic SVR4 /proc support.
3420 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3422 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3424 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3426 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3427 xfails for other systems. Match a missing 'Continuing.' as an
3428 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3430 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3431 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3432 Only issue warning for missing executables if -all option is used.
3434 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3435 file if -all option is used. It's like an unpredictable XFAIL.
3437 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3439 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3440 for dynamically linked binaries.
3442 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3444 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3446 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3447 to state that this is a known bug in old versions of g++.
3449 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3451 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3452 while waiting for `Continuing'.
3454 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
3456 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3457 in text, data, and bss.
3458 * gdb.t10/nodebug.c: Add local and global test variables for
3459 initialized and uninitialized data.
3461 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3463 * config/unix-gdb.exp (gdb_exit): Add "wait".
3465 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3467 * gdb.t06/signals.exp: xfail the continue from the handler for all
3470 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
3471 function with watchpoints enabled, the i386 call dummy starts with
3474 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
3475 386 bsd names its corefiles.
3477 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
3479 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
3480 compilers don't grok it.
3481 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
3482 with small octal ints rather than character constants, which
3483 are signed and might not fit if first promoted to int.
3485 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
3487 * gdb.t09/Makefile.in (clean): Remove corefile.
3489 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3491 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
3493 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3494 and Jim Kingdon (kingdon@cygnus.com)
3496 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
3497 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
3498 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
3500 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3502 * gdb.t17/interrupt.exp: Add xfail for hppa.
3504 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3506 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3507 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3508 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3509 to determine signed-ness of bitfields and use the result to setup
3511 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
3512 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3513 call line is reached if necessary.
3515 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3517 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
3519 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3521 * gdb.t06/break.exp: Also test `clear' command.
3523 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3525 * gdb.t00/teststrategy.exp: Remove extra quote.
3527 * gdb.t07/watchpoint.exp: Change xfail for calling function with
3528 watchpoint enabled to be for all non-68k machines.
3530 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3532 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3534 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3535 targets use aout.mt instead of ecoff.mt as gas understands
3536 standard aout format.
3538 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3540 * lib/gdb.exp (runto): Don't insist that function we are running to
3541 was compiled with -g.
3543 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3545 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3546 to get back into the read system call.
3547 Accept leading newline in case where we woke it up.
3549 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3551 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3552 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3553 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3554 enable ecoff configuration.
3556 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3558 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3560 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3562 * gdb.t16/printcmds.exp: Add another printf test.
3564 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3566 * configure.in: If configured -with-stabs on any target, add
3567 stabsdirs to configdirs.
3569 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3571 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3572 fun" so pattern does not match the command itself.
3574 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3576 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3578 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3580 * gdb.t17/interrupt.exp: Test for more things.
3582 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3584 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3585 compiler arranges the code and line numbers.
3587 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3589 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3591 * gdb.t00/help.exp: Increase expect input buffer size.
3593 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3595 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3597 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3599 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3601 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
3602 [0-9]*, not just [0-9].
3604 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3606 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
3608 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
3610 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3612 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
3614 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3616 * gdb.t06/signals.c: Add xfails for sun3.
3618 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
3620 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
3621 test_stepping tests.
3623 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3625 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
3627 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
3629 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
3630 rather than actually putting it through cpp twice.
3632 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
3634 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
3636 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
3639 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3641 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
3643 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
3644 C++ features prints as "struct", make it a pass, not an xfail.
3646 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3648 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
3649 Don't require VA to print as "class" rather than "struct".
3651 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
3653 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
3655 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3657 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
3659 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3661 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
3664 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3666 * gdb.t16/printcmds.exp: Add printf tests.
3668 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
3670 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
3672 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
3674 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
3675 pass counts, to counteract any existing or future setup_xfails.
3677 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3679 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
3680 {BEGIN,END}_COMMON for common block instead of STAB.
3681 * gdb.stabs/wierd.exp: Add xfail for rs6000.
3683 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
3684 intp_var should be N_GSYM not N_LSYM.
3685 wierd-aout.S: Use a label for the value of the N_SO.
3686 wierd.def: Remove all backslashes.
3687 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
3689 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3691 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
3692 get the expected next to inheritance3.
3694 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3696 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
3697 now that gcc-2.4 gets it right.
3699 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3701 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
3703 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
3704 generating comp-info.exp which works for cross-compilation.
3706 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
3708 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
3711 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
3713 * gdb.t01/run.exp: Start with a fresh gdb.
3714 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
3717 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
3719 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
3720 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
3721 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
3722 Makefile.in (distclean, realclean): Remove gdbme.c from list of
3725 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
3727 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
3728 test cases from bug reports.
3730 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
3732 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
3733 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
3734 avoid spurious xfails.
3735 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
3736 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
3737 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
3739 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
3741 * gdb.t00/teststrategy.exp: Rework to provide more useful
3742 description of each test, fix problem with systems that define
3743 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
3744 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
3745 results for "next over recursive call" so timeouts aren't taken
3748 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
3750 * gdb.t12/scope.exp: Test printing of variables before run.
3752 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
3753 printed in wrong order due to sorting.
3755 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
3757 * gdb.t00/teststrategy.exp: Fix expected results for printing
3758 user entered string constant. Is array of char, prints with no
3761 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
3763 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
3764 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
3765 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
3766 of struct of char arrays.
3767 * gdb.t00/radix.exp: New tests for radix commands.
3769 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
3771 * gdb.t16/printcmd.exp: Print a variable before running program
3772 (with xfail for AIX).
3774 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
3776 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
3778 * gdb.t16/printcmd.exp: Don't print variables before running program.
3780 * gdb.t06/break.exp: Don't require envp argument to main.
3782 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
3784 * gdb.t02/whatis.exp, gdb.t11/list.exp:
3785 Add xfails for rs6000.
3787 * gdb.t02/whatis.exp: Change other tests not to re-test something
3790 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
3791 each type used has a variable of that type.
3793 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
3795 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
3797 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
3799 * configure.in: change srctrigger to be a file, not a directory
3801 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
3803 * configure.in (mips-idt-ecoff*): Added trailing '*'.
3805 * gdb.t11/list.exp: Fixed a couple of typos.
3807 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
3809 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
3810 is fixed and PR is closed.
3811 * gdb.t16 (gdbme.c): Add simple test string variable.
3812 * gdb.t16 (printcmds.exp): Add tests with simple test string
3813 variable, primarily for boundaries on "set print elements".
3815 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
3817 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
3818 Make leading 0's optional and don't expect a tab in the middle
3821 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
3823 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
3824 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
3825 don't end command passed to gdb_test with newline.
3827 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
3828 signed keyword away, don't expect signed bitfields to be signed.
3830 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
3831 printing with only as many 1's as are in the field as well as printing
3832 with 32 1's (see comment).
3834 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
3836 * gdb.t00/default.exp: Start with a fresh gdb.
3837 * configure.in (configdirs): Remove gdb.t31 until the chill
3838 compiler works again. It no longer is able to find chillrt0
3839 since it isn't in libchill.a anymore.
3840 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
3841 wierd.o, make more modular.
3842 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
3843 spurious newlines that caused problems.
3845 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3847 * Move test with enums and partial symbols from gdb.t03/ptype.exp
3848 to gdb.stabs/wierd.exp since GCC has worked around the bug.
3849 gdb.stabs/wierd.{exp,def}: Many new tests.
3851 * gdb.t00/default.exp: update info line for new message.
3853 * gdb.t02/{whatis.exp,gdbme.c}:
3854 Test that "char *" doesn't print as "caddr_t".
3856 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3858 * gdb.t00/help.exp: Use .* in place of some help messages which
3860 gdb.t00/default.exp: Update "info frame" test for new message.
3861 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
3864 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3866 * gdb.t03/{gdbme.c,ptype.exp}:
3867 Add tests for typedef'd struct and union without tags.
3868 Also check "whatis" on a variable of a typedef'd enum without a tag.
3870 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
3871 PRMS 1823; the bug still exists but isn't reproduced by this test
3872 anymore), and remove rs6000 XFAIL (the bug is fixed).
3874 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
3875 duplicated from whatis.exp. For those that are left, accept
3876 "long", "long int", or "int" for long variables (whatis.exp already
3877 has an XFAIL for "int", so no need to fail it here).
3879 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
3880 Deal with GCC's names for types now that GDB uses the compiler's names.
3882 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
3883 setup_xfail's for sunos4. If we #defined the signed keyword away,
3884 don't expect GDB to know that char it is signed.
3886 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
3888 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
3890 * configure.in (configdirs): Add gdb.t24 for C++ tests that
3891 should work on any system, regardless of debugging format.
3892 * gdb.t21/demangle.exp: Move to gdb.t24.
3893 * gdb.t24/demangle.exp: Move from gdb.t21.
3894 * gdb.t24/{Makefile.in, configure.in}: New files.
3896 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3898 * configure.in: Do gdb.stabs and C++ tests only for stabs.
3899 * gdb.stabs: New directory.
3901 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3903 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
3904 not just "Quit anyway?".
3906 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
3908 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
3909 that all setup_xfails are immediately followed by clear_xfails.
3911 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
3913 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
3914 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
3915 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
3916 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
3917 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
3918 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
3919 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
3920 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
3921 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
3922 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
3923 gdb.t31/chillvars.exp, lib/gdb.exp:
3924 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
3925 bug-gdb@prep.ai.mit.edu.
3927 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
3929 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
3930 with 0.0, not integer 0.
3932 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
3934 * gdb.t06/break.exp: Update for "Kill the program" message change.
3936 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
3938 * Makefile.in (GDBFLAGS): Set to -nx.
3939 * Makefile.in (site.exp): Use GDBFLAGS.
3941 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3943 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
3945 (check): depend on just-check.
3946 (just-check): added so that tests can be run without a noop
3949 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
3951 Switch to using configure's configdirs.
3952 * Makefile.in (Makefile): add configure.in dependency.
3953 (SUBDIRS): removed redundant assignment.
3954 * configure.in: switch subdirs assignment to configdirs.
3955 * gdb.t*/configure.in: new files.
3957 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
3959 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
3962 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
3964 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
3965 in explicit rules. Apparently this is not supported by some makes.
3967 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
3969 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
3971 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3973 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
3976 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
3978 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
3980 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
3982 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
3983 watchpoint problem that is now fixed.
3984 * gdb.t30/chexp.exp: Remove setup_xfail for printing
3985 uninitialized convenience variables.
3986 * gdb.t31/chillvars.exp: Fix expected patterns for printing
3989 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3991 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
3992 which causes expect to get out of sync with gdb on long output
3994 * gdb.t09/corefile.exp: Make expected pattern for core file
3995 failing signal and frame output format less sun specific.
3997 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
3999 * gdb.t31/chillvars.exp: Add and remove initial dummy
4000 breakpoint, so that symbol table is forced in.
4001 (Needed at least on Sunos4, though it seems not SVR4.)
4002 * gdb.t31/chillvars.exp: Update for changed output format.
4004 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4006 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4008 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4010 * Makefile.in: Added --srcdir when invoking runtest, removed the
4011 need for a local config file. (optional now)
4013 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4015 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4016 failure count used to force early termination. Add some more
4017 expected failures for gnu style demangling.
4019 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4021 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4022 pmi variable from gdb.t20/gdbme to get optimized away.
4023 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4024 Check for written corefile upon timeout _and_ eof.
4026 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4028 * config/unix-gdb.exp: Add missing return 0.
4030 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4032 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4035 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4037 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4040 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4042 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4043 time as i860 support works.
4045 * gdb.t15/funcargs.exp: Fix expected outputs to include
4046 "backtrace 100\r" rather than just "backtrace\r", to match last
4049 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4051 * config/udi-gdb.exp (gdb_exit): Remove close command.
4052 (gdb_target_udi): New procedure to set the UDI target.
4053 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4054 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4055 Added waits for prompts after several question responses. Added
4056 some more responses used by a29k-amd-udi-gdb.
4057 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4058 pass different arguments, restart UDI connection after program
4060 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4061 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4062 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4063 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4064 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4065 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4066 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4067 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4068 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4069 after program completion.
4070 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4071 compiled with a SELECT_VECS setting.
4072 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4075 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4076 Added checks for COFF results, and made them expected failures for
4077 all targets. It would be better to make them expected failures
4078 for COFF targets only.
4080 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4082 * Makefile.in: add null dvi target, don't bother to recurse
4083 through test directories for info and install-info; rename
4084 $(datadir) to be dejagnu instead of deja-gnu
4086 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4088 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4089 compiler to coredump.
4090 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4093 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4095 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4097 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4100 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4102 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4103 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4104 which in a shell. Deletes xgdb when done.
4105 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4106 Tests the return from the "set height" or "set width" commands.
4107 Added a few return codes where needed.
4109 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4111 * Makefile.in (SUBDIRS): Add gdb.t17.
4112 * configure.in (subdirs): Add gdb.t17.
4113 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4114 files to test gdb's calling of functions in the inferior with
4115 the correct arguments and gdb's ability to retrieve any
4118 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4120 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4121 may be called after gdb goes away. Previous versions of expect
4122 needed these to avoid file descriptor leaks, but they cause
4123 errors with the current revision of expect.
4124 * gdb.t00/gdbvars.exp: Use -re on expected output after
4125 setting sevenbit-strings.
4126 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4127 to set sevenbit-strings consistent across tests.
4128 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4129 set sevenbit-strings consistent across tests.
4131 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4133 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4134 expected output to match current "expect" expectations.
4136 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4138 * gdb.t00/default.exp: Change expected output for default "source"
4139 command, to match new gdb behavior which requires a filename to
4142 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4144 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4145 expected fail for i486-*-* that misses the marker2 function.
4146 * gdb.t10/crossload.exp (bfddefault): Allow successful
4147 recognition of a format to pass even if no symbols are found.
4148 Explicitly catch failures where the format is not recognized
4149 or is ambiguous, and add the reason to the fail message.
4150 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4151 the cause is and invalid target and add reason to failure message.
4152 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4153 elf32-i386, elf32-sparc, and elf32-i860.
4154 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4155 Set up expected failure for 'filename'::variable scope resolution,
4156 which is now apparently broken on all targets.
4157 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4158 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4159 gdb.t23/templates.exp: Change failure for missing binfile into
4161 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4164 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4166 * gdb.t00/default.exp: Add expected output for default "source"
4167 command, to match new gdb behavior.
4168 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4170 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4172 * config/*-gdb.exp: returns an error, rather than exiting on
4175 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4177 * gdb.t03/gdbme.c: Add pointer to struct variable.
4178 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4179 referencing struct members.
4181 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4183 * configure.in (mips-idt-ecoff): New target.
4184 * config/mips-gdb.exp: New file for remote board using MIPS remote
4187 * Redid configuration scheme. Removed gdb.t*/configure.in.
4188 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4189 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4190 distclean targets. Built executables via .o files. Adjusted
4191 tests to account for source files in $(srcdir) rather than
4193 * lib/gdb.exp (runto): Don't expect () after the function name,
4194 because it may have arguments.
4196 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4198 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4199 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4200 expected failures for mips-idt-* and mips-sgi-*.
4201 * gdb.t00/default.exp (attach): Kill process if requested.
4202 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4203 that does not read core files.
4204 * gdb.t01/run.exp: Removed checks for exit status code.
4205 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4207 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4208 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4209 appropriate, rather than doing it by hand.
4210 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4212 * gdb.t10/crossload.exp: Kill existing program if needed.
4213 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4214 appropriate, rather than doing it by hand. Always increase
4215 timeout for this test, not just for VxWorks.
4217 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4219 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4220 of Chill STRUCT types and STRUCT values.
4221 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4223 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4224 struct2): New struct definitions and initializations to test
4225 simple Chill STRUCT types.
4227 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4229 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4230 the null byte at the end of strings.
4231 * gdb.t00/default.exp: Make show version insensitive to copyright
4233 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4234 to avoid dependencies on target char signedness.
4235 * gdb.t16/printcmds.exp: Update expected results for explicitly
4237 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4239 * gdb.t21/demangle.exp: Add many more patterns for template
4240 demangling, most of them being expected failures.
4241 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4242 string we are matching for, to match on the whole string.
4243 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4244 and fix a whole bunch that had incorrect expected output but were
4245 passing anyway because of the bug in "proc demangle".
4246 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4248 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4250 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4252 * gdb/testsuite: made modifications to testcases, etc., to allow
4253 them to work properly given the reorganization of deja-gnu and the
4254 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4256 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4258 * gdb/testsuite: Initial creation of gdb/testsuite.
4259 Migrated dejagnu testcases and support files for testing nm to
4260 gdb/testsuite from deja-gnu. These files were moved "as is"
4261 with no modifications. This migration is part of a major overhaul
4262 of dejagnu. The modifications to these testcases, etc., which
4263 will allow them to work with the new version of dejagnu will be
4264 made in a future update.
4270 version-control: never