1 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
3 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4 close and wait commands, as the descriptor may now be
5 invalid. Always call "remote_close host".
7 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
9 Major rewrite for testsuite revision.
11 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
12 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
13 instead of relying on spawn_id to always contain a valid
15 (get_compiler_info): New procedure to build the ${binfile}.ci
16 file, instead of replicating this in N different places.
17 (gdb_compile): New procedure.
19 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
20 appropriate arguments) instead of compile. Use gdb_test in a lot
21 more places. Use send_gdb instead of send. Always run gdb_start
22 at the start of a testcase, as this is no longer done magically.
24 config/*-gdb.exp: Rename without the -gdb suffix.
26 config/mips.exp: Use remote_close instead of exit_remote_shell.
27 config/monitor.exp: Use target_info instead of looking at
29 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
31 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33 * gdb.c++/templates.exp (test_ptype_of_templates),
34 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
35 Update expect patterns for destructors and assignment operators
36 to match corresponding c-typeprint.c changes.
37 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
38 to destructor breakpoint test, GDB should be able to set the
39 destructor breakpoint without specifying arguments.
41 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
43 * gdb.threads/pthreads.exp: Change result for failure to compile due
44 to lack of pthreads runtime support from an error to simply an
45 unsupported test, per dejagnu standards.
47 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
49 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
50 where GDB exits to reduce pattern match time.
51 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
53 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
55 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
57 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
58 * gdb.base/default.exp: ditto.
59 * gdb.base/nodebug.exp: ditto.
60 * gdb.base/printcmds.exp: ditto.
61 * gdb.base/ptype.exp: ditto.
62 * gdb.base/setvar.exp: ditto.
63 * gdb.base/structs.exp: ditto.
64 * gdb.base/setshow.c: Guard against uninitialized values of argc.
66 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
68 * configure, */configure: Rebuild with autoconf 2.12.
70 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
72 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
73 use new i*86-pc-linux*-gnu quads.
74 * gdb.base/corefile.exp: Ditto.
75 * gdb.base/signals.exp: Ditto.
76 * gdb.base/sigall.exp: Ditto.
77 * gdb.base/interrupt.exp: Ditto.
79 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
80 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
83 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
84 linux. This allows the test case to at least compile on latest
85 linux, but still not run due to missing the threads runtime library.
87 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
89 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
90 directory to search gdb directory. Accept and step over conditional
91 stack alignment code. Consume $prompt in failure cases.
92 Reset timeout to $oldtimeout instead of some arbitrary value.
93 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
94 timeout problems with infinite stack backtraces.
95 * gdb.base/ptype.exp (ptype struct link, union tu_link):
96 Accept function parameters for linkfunc member.
98 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
100 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
101 (CXXFLAGS): Remove, unreferenced.
102 (B_OPTIONS): Add for -B options and add code to initialize with
103 previous -B options and also add -B option to pick up cross compiled
105 (TARGET_INCLUDES): Add for -I options and add code to initialize when
106 doing cross compiles.
107 (target_alias): Declare global.
108 (xgcc): Set variable to full path of gcc in build tree. Use findfile
109 to verify that gcc exists in build tree, and if so set CC to that
110 gcc and to use B_OPTIONS and TARGET_INCLUDES.
112 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
114 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
115 ptype test for anonymous union. Fixup testcase to match
116 current gcc debug output.
118 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
120 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
121 force argument to an unsigned long type.
123 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
125 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
126 tests and anonymous union print/ptype tests.
127 * gdb.base/list.exp (test_forward-search): Increase timeout by
128 5 minutes for the "search extremely long line" case.
129 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
130 completely optional and that the pass/fail messages use the command as
131 the message if that third arg is a null string.
132 (gdb_test_exact): Arrange that a null string pattern means match a
133 null string output rather than any output, which might include random
135 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
137 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
138 always failing and failure is now exposed by gdb.exp changes.
140 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
142 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
145 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
147 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
148 * gdb.stabs/weird.exp: Remove v_comb xfails.
151 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
153 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
154 list.exp scope.exp watchpoint.exp]
155 Make all timeout error msgs explicitly say "(timeout)".
158 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
160 * config/monitor.exp: Increase download timeout to 1000 seconds.
163 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
165 * config/m32r.exp: Increase timeout to 120 seconds.
169 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
171 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
172 and accept older ordering as obsolescent gcc or gdb.
173 * gdb.c++/templates.exp: Ditto.
174 * gdb.c++/virtfunc.exp: Ditto.
176 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
178 * gdb.base/coremaker.c: Add code to mmap some data so we
179 can check that it ends up in the core file.
180 * gdb.base/corefile.exp: Add test to read mmapped data
184 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
186 * config/m32r.exp: New file.
189 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
191 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
192 that cflags can contains -gstabs, and work correctly for other tests.
194 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
196 * gdb.base/setshow.exp: New file, tests show and set.
197 * gdb.base/setshow.c: New file, tests show and set.
198 * gdb.base/help.exp: Add test for help set|show annotate.
199 * gdb.base/default.exp: Add test for set|show annotate.
201 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
203 * testsuite/gdb.base/break.exp: Make backtrace from factorial
205 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
208 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
210 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
211 and width commands. This is done elsewhere.
212 * (gdb_start): Don't call gdb_start_sim here. That's already
213 done in gdb_load. This fixes lots of failures in default.exp.
215 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
217 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
218 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
219 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
220 in the same we we treat other failures (since it may be an expected
221 condition), rather than as an error.
222 * gdb.base/signals.exp (test_handle_all_print): Revert back to
225 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
227 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
228 (distclean maintainer-clean realclean): No need to remove files
229 twice. Nuke the duplicates.
230 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
231 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
232 Remove config.h along with other config files.
234 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
236 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
237 "p func1 ()" and note that rests of tests are skipped.
238 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
239 setup_xfails for "print func2::coremaker_local".
240 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
241 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
242 affected by the previous run test.
243 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
244 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
245 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
246 "pass int powerset tuple" and "pass modeless int powerset tuple".
247 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
248 "real write 4" and "real write 8".
249 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
250 setup_xfails for "print vs1 after tuple assign 2",
251 "print \$i after tuple assign 2", and
252 "print vs2 after tuple assign 2".
253 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
254 meaningful error message and return -1 so the caller can
255 suppress further tests and avoid a cascade of errors.
257 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
259 * gdb.base/a1-selftest.exp: Tweak tests to account for new
260 format for printing version.
261 * gdb.base/default.exp: Ditto.
262 * gdb.base/interrupt.exp: Fix problem with cascade of
263 errors if child process dies while calling a function.
265 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
267 * Makefile.in (VPATH): Add
268 * Makefile.in (Makefile, config.status): Fix rules so things get
269 remade when necessary.
271 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
273 * Makefile.in (just-check): Add path to sibling expect dir
274 to environment variable specified by RPATH_ENVVAR.
276 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
278 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
279 (just-check): Add shared library paths for libstdc++, tk,
280 tcl, bfd, and opcodes to the environment variable specified
282 * configure.in: Add support to recognize --enable-shared flag
283 and generate correct value for RPATH_ENVVAR.
284 * configure: Regenerated with autoconf.
286 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
288 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
289 include all osf versions.
290 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
291 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
292 when target is linux. When failing to build pthreads test
293 executable, give more meaningful message.
294 * gdb.threads/pthreads.c: Hpux also uses old definition of second
295 arg for pthread_create.
297 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
299 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
300 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
301 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
302 and -lpthreads (everybody else).
303 (test_startup): Fail gracefully if threads are not supported.
304 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
305 "p/c array_index("abcdef",2)" when not gcc compiled.
306 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
307 "print func2::coremaker_local" when not gcc compiled.
308 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
309 "ptype on opaque struct tagname (statically)",
310 "ptype on opaque struct tagname (dynamically) 1", and
311 "ptype on opaque struct tagname (dynamically) 2"
312 for not compiled with gcc.
313 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
314 backtrace when compiled with gcc.
315 * lib/gdb.exp (runto_main): Return result of "runto main" rather
316 than always return success.
318 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
320 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
322 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
324 * gdb.base/structs.exp: Undo last change.
326 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
328 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
329 encapsulate all the steps/nexts done during self test, starting
330 at main, and makes them less sensitive to optimization issues.
331 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
332 signal handler" test.
333 * gdb.threads/pthreads.exp: Only run this for native configs.
334 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
335 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
337 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
338 for "runto test_calls(void)" test.
340 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
342 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
343 and don't expect address info in breakpoint confirmations.
345 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
347 * gdb.base/list.exp (test_forward_search): Increase timeout
348 temporarily by 60 seconds for searching extremely long line,
349 and then reset to old value when done. Increase expect input
352 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
354 * gdb.base/list.exp (test_forward_search): Fix to handle very
355 long source line without overflowing expect's input buffer.
357 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
359 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
362 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
365 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
368 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
371 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
373 * configure.in (configdirs): Add gdb.threads.
374 * configure: Regenerated with autoconf.
375 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
376 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
377 * gdb.threads/configure: New, generated with autoconf.
379 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
381 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
383 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
385 * gdb.base/signals.exp (test_handle_all_print): Test separately for
386 each signal's status in the output of "handle all print".
387 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
388 the \r\n sequence that immediately precedes the gdb prompt.
389 * gdb.base/a1-selftest.exp: Save original timeout and restore
392 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
394 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
397 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
399 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
401 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
403 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
404 timeout by 60 seconds.
406 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
408 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
409 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
412 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
414 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
415 gdb initialization, also report how long dejagnu waited. Restore
416 old timeout before doing error return. Temporarily increase timeout
417 by 3 minutes to allow for slow startups over heavy NFS use.
419 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
421 * lib/gdb.exp: Report timeout value for verbosity level 2.
422 * config/gdbserver.exp: Ditto.
423 * config/hppro.exp: Ditto.
424 * config/mips-gdb.exp: Ditto.
425 * config/monitor.exp: Ditto.
426 * config/netware.exp: Ditto.
427 * config/sim-gdb.exp: Ditto.
428 * config/slite-gdb.exp: Ditto.
429 * config/udi-gdb.exp: Ditto.
430 * config/unix-gdb.exp: Ditto.
431 * config/vx-gdb.exp: Ditto.
432 * gdb.base/a1-selftest.exp: Ditto.
433 * gdb.base/a2-run.exp: Ditto.
434 * gdb.base/break.exp: Ditto.
435 * gdb.base/corefile.exp: Ditto.
436 * gdb.base/list.exp: Ditto.
437 * gdb.base/recurse.exp: Ditto.
438 * gdb.base/scope.exp: Ditto.
439 * gdb.base/signals.exp: Ditto.
441 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
443 * gdb.threads/Makefile.in (docdir): Removed.
445 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
447 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
448 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
450 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
451 autoconf 2.5 or higher.
452 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
454 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
456 * configure: Regenerated.
457 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
458 avoid name clashes with SunOS headers.
460 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
462 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
464 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
466 * gdb.base/callfuncs.exp: Finish last change -- make sure the
467 prototype information ends up in the compiler info file.
469 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
471 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
472 attempting to regenerate it. Eliminate use of a temporary file
473 and just generate the info file directly. Source it immediately,
474 for consistency of use.
475 * gdb.base/corefile.exp: Ditto
476 * gdb.base/exprs.exp: Ditto.
477 * gdb.base/funcargs.exp: Ditto.
478 * gdb.base/langs.exp: Ditto.
479 * gdb.base/list.exp: Ditto.
480 * gdb.base/mips_pro.exp: Ditto.
481 * gdb.base/nodebug.exp: Ditto.
482 * gdb.base/opaque.exp: Ditto.
483 * gdb.base/ptype.exp: Ditto.
484 * gdb.base/scope.exp: Ditto.
485 * gdb.base/setvar.exp: Ditto.
486 * gdb.base/signals.exp: Ditto.
487 * gdb.base/whatis.exp: Ditto.
488 * gdb.c++/templates.exp: Ditto.
489 * gdb.c++/virtfunc.exp: Ditto.
490 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
491 whether or not to add -lstdc++ to the compile command line args.
493 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
495 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
496 it got fixed by the recent lookup_minimal_symbol_by_pc change.
497 Increase timeout, a lot of single stepping might be needed if the
498 target has no hardware watchpoints.
500 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
502 * gdb.base/break.exp: Ignore compiler warnings when compiling
504 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
505 * gdb.base/default.exp: Add h8300 xfails. Handle messages
507 * gdb.base/exprs.exp: Add h8300 xfails.
508 * gdb.base/funcargs.exp: Likewise.
509 * gdb.base/nodebug.exp: Likewise.
510 * gdb.base/printcmds.exp: Likewise.
511 * gdb.base/ptype.exp: Likewise.
512 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
514 * gdb.base/return.exp: Handle float/double precision problems
516 * gdb.base/funcargs.c: Explicitly make last constant argument to
517 call_after_alloca_subr an unsigned long type.
518 * gdb.base/return.c: Include stdio.h.
520 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
522 * config/abug.exp: New file for the older Motorola Bug monitor
523 that runs on the mvme13x series VME boards.
524 * config/monitor.exp: Use the new config array for target settings
527 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
529 * sim-gdb.exp: Make the SH simulator allocate less space when
532 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
534 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
537 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
539 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
540 "rs6000-*-*" for "list function in include file" when gcc compiled.
541 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
542 for "p ctable1[120]".
543 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
544 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
545 Remove setup_xfail for "rs6000-*-*" for
546 "print 'scope0.c'::filelocal before run".
547 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
548 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
549 since some compilers don't allow both options to be given
550 on the same command line. Create object file and move it.
552 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
554 * gdb.base/corefile.exp: Always regenerate the core file, since
555 we always regenerate the coremaker program. Detect special case
556 where registers cannot be read from core file.
558 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
560 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
561 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
562 * gdb.c++/templates.exp: Only match on basename of file since
563 some formats like xcoff don't encode directory information.
564 * gdb.stabs/weird.exp: Use the right sed script for powerpc
565 and rs6000 AIX xcoff targets.
566 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
567 * configure: Regenerate.
568 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
569 here, rather than in distclean.
571 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
573 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
574 defined, and use it to compile the test case with -O2. The
575 native compilation still uses no optimization.
576 * gdb.base/mips_pro.c: Remove inline assembly code since
577 it is compiled PIC by default, which results in assembler
578 warnings that make the testsuite think the compilation
581 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
583 * gdb.c++/misc.exp: Add note to message for
584 "print s.a for foo struct" that this is a known gcc 2.7.2
587 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
589 * gdb.base/break.exp: Fix pattern for matching "Delete all
590 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
591 setup_xfail for deleting all breakpoints test. Fix various
592 timeout messages to include "(timeout)".
593 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
594 for "p t_float_values2(3.14159,float_val2)".
595 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
596 for "continue to call2g" when gcc compiled.
597 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
598 "up to foo in langs.exp", "show language at foo in langs.exp",
599 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
600 and "show language at fsub in langs.exp".
601 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
602 "list line 1 in include file", "list message for lines past EOF",
603 "list function in include file", "list list0.h:foo", and
604 "list filename:function; nonexistant function".
605 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
606 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
607 and "ptype t_char_array" to be for native cc only.
609 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
611 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
612 setup_xfail for "print coremaker_bss", "print coremaker_ro",
613 "print func2::coremaker_local", and "backtrace in corefile.exp".
615 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
617 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
618 "bt in signals.exp". This problem only appears when running
619 the testsuite, and then only intermittently.
621 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
623 * gdb.base/return.exp (return_tests): Differentiate between
624 two tests of continuing.
626 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
628 * */Makefile.in (maintainer-clean): Remove config.log.
629 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
630 * gdb.c++/Makefile.in (PROGS): Add inherit.
631 (clean): Remove *.ci.
633 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
635 * gdb.c++/misc.cc: Add test code from Mike Stump.
636 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
638 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
640 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
641 to "alpha-*-osf2*" and add comment.
642 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
643 setup_xfail for "step over execarg initialization" and
644 "step over corearg initialization".
645 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
646 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
647 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
648 gcc compiled for "print coremaker_bss", "print coremaker_ro",
649 "print func2::coremaker_local", and "backtrace in corefile.exp".
650 * gdb.base/signals.exp: Build and source signals.ci.
651 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
653 * lib/gdb.exp: Move verbose statements outside conditionals.
655 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
657 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
658 Feb 3 procfs.c change.
660 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
662 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
664 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
666 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
667 from dejagnu's apparent default of 10 seconds, which gives random
668 results when running the tests over NFS on moderately loaded systems.
669 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
671 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
673 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
674 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
677 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
679 * configure.in (CY_AC_PATH_TCLH): Remove.
680 * configure: Regenerate.
682 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
684 * gdb.c++/Makefile.in (clean): Add missing '{'.
686 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
688 * lib/gdb.exp: Provide a default value for noinferior.
690 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
693 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
695 * gdb.disasm/hppa.exp: Compile directly into an executable, use
696 the executable, not the .o to run the tests from.
698 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
700 * gdb.base/break.exp: Don't test for program exit or exit status
701 if $noresults if nonzero.
702 * gdb.base/langs.exp: Likewise.
703 * gdb.base/watchpoint.exp: Likewise.
705 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
706 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
707 trying to compile the testcase.
709 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
711 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
712 * gdb.base/signals.exp (continue to handler): Likewise.
714 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
716 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
718 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
720 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
722 * gdb.base/corefile.exp: Recognize "not found" as failure
723 when trying to determine if a core file was generated.
724 If no core file was generate the first time, try again without
725 the ulimit -c to work around braindamaged shells.
727 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
729 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
730 [] tests with "test" and enclose string in quotes.
731 * gdb.stabs/configure: Rebuild
733 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
735 Changes in sync with expect:
736 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
737 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
738 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
739 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
740 argument to AC_REQUIRE.
741 * configure: Regenerated.
743 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
745 * gdb.base/corefile.exp: When generating a core, discard any
746 error messages about ulimit not found and the "core dumped"
747 message from the shell that runs the coredumper.
749 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
751 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
753 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
754 which sed script to run. Expect failure for v_comb test
757 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
759 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
760 "print func2::coremaker_local" and for "backtrace in corefile.exp"
762 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
764 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
765 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
766 "sparc-sun-solaris*" xfails for "p v_comb".
767 * lib/gdb.exp (default_gdb_start): Fix typo.
768 * gdb.base/corefile.exp: Allow "Core was generated by ..."
769 messages to not include the full program name that caused
770 the core dump since some systems (such as solaris) apparently
771 truncate this path to about 80 characters.
772 When generating a core file first try increasing the core file
773 size limit to unlimited since some systems may default it to
774 zero, and it is harmless to try it. Move the test for failing
775 to generate a core file to where it will actually get executed.
776 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
777 new gdb result from g++ debug info improvements and make old
778 pattern obsolescent. Also account for size_t differences
779 (may be int or long).
780 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
781 initialization before function call is placed in the delay slot
782 and thus appears to be skipped over by commands such as "next".
784 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
786 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
788 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
790 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
791 input source file; fix code to compile test to deal with this
793 * gdb.c++/*.exp: Likewise.
795 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
797 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
800 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
802 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
803 "step over execarg initialization" and
804 "step over corearg initialization".
806 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
808 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
809 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
811 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
813 From Rob Savoye (rob@poseidon.cygnus.com)
814 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
815 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
816 configure.in}, gdb.disasm/{Makefile.in, configure.in},
817 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
818 configure.in}: Major reworking for autoconfig.
819 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
820 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
822 * config/unix-gdb.exp: Make GDB global.
823 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
824 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
825 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
826 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
827 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
828 term.exp, twice.exp, watchpoint.exp, whatis.exp},
829 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
830 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
831 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
832 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
833 pr-8136.exp, result.exp, string.exp, tuples.exp},
834 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
835 to returns as necessary, arrange for test to compile own testcase
837 * lib/gdb.exp: Changes for testsuite to compile own test cases.
839 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
841 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
842 clear_xfail at end of test which might not call either pass or fail.
843 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
844 "backtrace through signal handler".
846 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
848 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
849 continuing from a job control stop signal.
850 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
852 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
854 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
855 * gdb.base/corefile.exp: Likewise.
856 * gdb.base/funcargs.exp: Likewise.
858 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
860 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
861 * config/monitor.exp: Add support for setting baud rate.
863 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
865 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
866 i*86-*-linux* xfails for "backtrace through signal handler".
867 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
868 "print func2::coremaker_local".
869 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
870 alpha-dec-osf2* xfail for
871 "delete all breakpoints when none".
873 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
875 * gdb.base/break.exp: Change test that deletes all breakpoints
876 when no user breakpoints are installed. A post 4.15 change
877 causes gdb to no longer prompt in this case.
879 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
881 * gdb.base/return.exp (return_tests): Change xfail for test
882 "correct value returned double test" to stop xfailing at
883 Solaris 2.5. Apparently the bug has been fixed.
885 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
887 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
888 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
890 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
892 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
893 * gdb.disasm/hppa.s: Corresponding changes.
895 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
897 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
899 * config/mt-hpux: Deleted.
901 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
903 * Many files: When warning about suppressed tests due to a
904 nonexistant test binary, avoid incrementing the warning count.
906 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
908 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
910 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
912 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
915 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
917 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
918 Add global and local variables and initialize them.
919 * gdb.base/corefile.exp: Test correct mapping of corefile sections
920 by printing variables. Remove rs6000 and powerpc xfails, BFD now
921 extracts the file name and terminating signal from the core file.
922 * TODO: Remove note about tests for correct mapping of corefile.
923 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
924 from optimizing it away.
925 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
926 handles common blocks.
928 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
930 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
931 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
933 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
935 * Makefile.in (maintainer-clean): New target, synonym for
937 * gdb.base/Makefile.in (maintainer-clean): Likewise.
938 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
939 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
940 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
941 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
942 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
944 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
946 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
947 xfails when not gcc compiled for "print foo::funclocal".
948 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
949 "print foo::funclocal at foo",
950 "print 'scope1.c'::foo::funclocal at foo",
951 "print foo::funclocal_bss at foo",
952 "print 'scope1.c'::foo::funclocal_bss at foo",
953 "print foo::funclocal_ro at foo",
954 "print 'scope1.c'::foo::funclocal_ro at foo",
955 "print bar::funclocal at foo" and
956 "print 'scope1.c'::bar::funclocal at foo".
957 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
958 gcc compiled for "print foo::funclocal at bar".
959 Expand all messages to ensure that they identify that
960 the test is at bar().
961 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
963 "ptype on opaque struct pointer (statically)",
964 "ptype on opaque struct tagname (statically)",
965 "ptype on opaque struct pointer (dynamically) 1",
966 "ptype on opaque struct tagname (dynamically) 1",
967 "ptype on opaque struct pointer (dynamically) 2" and
968 "ptype on opaque struct tagname (dynamically) 2
969 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
975 "whatis bsslocal", and
977 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
978 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
979 when not gcc compiled.
980 * gdb.base/funcargs.exp (float_and_integral_args): Add
981 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
983 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
984 "backtrace from call6a" when not gcc compiled.
985 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
986 "backtrace from call7a" when not gcc compiled.
987 * gdb.base/callfuncs.exp (do_function_calls):
988 Add "hppa*-*-hpux*" xfail when not gcc compiled for
989 "p t_char_array_values(char_array_val2,char_array_val1)",
990 "p t_char_array_values(char_array_val1,char_array_val2)",
991 "p t_char_array_values("carray 1","carray 2")",
992 "p t_char_array_values("carray 1",char_array_val2)",
993 "p t_char_array_values(char_array_val1,"carray 2")",
995 "p sum_args(2,{2,3})",
996 "p sum_args(3,{2,3,4})",
997 "p sum_args(4,{2,3,4,5})"
998 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
999 "backtrace in corefile.exp" when not gcc compiled.
1001 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1003 * gdb.base/signals.exp: Rewrite `handle all print' test as
1004 a procedure. Accept blanks or TABs as whitespace, increase
1005 timeout and expect input buffer size for the large output
1006 from the command. Remove "i*86-*-bsdi2.0" xfail.
1008 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1010 * gdb.base/setvar.exp: Add new testcases for truncation when
1011 assigning invalid values to bitfields.
1013 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1015 * gdb.base/callfuncs.exp (do_function_calls): Remove
1016 mips-sgi-irix* xfail for
1017 "call inferior func with struct - returns char *"
1018 and fix test so that an optional (unsigned char *) cast is
1019 accepted in the result.
1021 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1023 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1024 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1025 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1026 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1027 that accidentally got checked in.
1029 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1031 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1032 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1034 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1035 Add mips-sgi-irix5* xfail for not gcc compiled.
1036 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1037 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1038 "p top", "whatis top", "p middle", and "whatis middle".
1039 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1040 "whatis signed char" for not gcc compiled.
1041 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1042 "set variable signed char=-1 (-1)" and
1043 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1044 * gdb.base/funcargs.exp (float_and_integral_args):
1045 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1046 Add mips-sgi-irix* xfail when not gcc compiled for
1047 "continue to call2b".
1048 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1049 "continue to call2g".
1050 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1051 "backtrace from call6a"
1052 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1053 "backtrace from call7k".
1054 Add mips-sgi-irix5* xfail when not gcc compiled for
1055 "backtrace from call7a".
1056 (localvars_after_alloca): Fix gdb_test cmds for
1057 "print * after runto ...".
1058 Remove rs6000-*-* xfails for
1059 "print i after runto localvars_after_alloca" and
1060 "print l after runto localvars_after_alloca"
1062 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1063 when not compiled with gcc, for:
1064 "print signed char == (minus)",
1065 "print signed char != (minus)",
1066 "print signed char < (minus)",
1067 "print signed char > (minus)".
1068 * gdb.base/callfuncs.exp (do_function_calls):
1069 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1070 "call inferior func with struct - returns char *".
1071 * gdb.base/return.exp (return_tests): Change xfail for
1072 "correct value returned double test" to include Solaris 2.4.
1073 * gdb.base/funcargs.exp (float_and_integral_args):
1074 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1076 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1078 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1079 enumeration bitfields if compiling with GNU C.
1080 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1083 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1085 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1086 test for PRO targets.
1088 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1089 breakpoints in the inferior at any given time by making
1090 two groups of breakpoints for call2*, call6* and call7*
1093 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1095 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1096 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1097 from optimizing it away.
1098 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1099 "call inferior func with struct".
1101 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1103 * configure.in: Only configure gdb.chill for particular targets.
1105 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1107 * gdb.base/Makefile.in: Add action to .c.o transformation
1108 rule that generates a .ci file for each .o file and remove
1109 explicit .c.o rules except for callfuncs.o.
1110 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1111 generates a .ci file for each .o file and remove explicit
1113 (clean): Remove *.tmp *.ci files.
1114 (EXECUTABLES): Remove templ-info.exp.
1115 * gdb.base/compiler.c: New file.
1116 * gdb.c++/compiler.cc: New file
1117 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1118 Change rs6000-*-* xfail for
1119 "print 'scope0.c'::filelocal_ro" and
1120 "print 'scope1.c'::filelocal" and
1121 "print 'scope1.c'::filelocal_bss" and
1122 "print 'scope1.c'::filelocal_ro" and
1123 "print 'scope1.c'::foo::funclocal" and
1124 "print 'scope1.c'::foo::funclocal_ro" and
1125 "print 'scope1.c'::bar::funclocal" and
1126 "print 'scope0.c'::filelocal_ro" and
1127 "print 'scope1.c'::filelocal at foo" and
1128 "print 'scope1.c'::filelocal_bss at foo" and
1129 "print 'scope1.c'::filelocal_ro at foo" and
1130 "print 'scope1.c'::foo::funclocal at foo" and
1131 "print 'scope1.c'::foo::funclocal_bss at foo" and
1132 "print 'scope1.c'::foo::funclocal_ro at foo" and
1133 "print 'scope1.c'::bar::funclocal at foo" and
1134 "print 'scope0.c'::filelocal_ro" and
1135 "print 'scope1.c'::filelocal" and
1136 "print 'scope1.c'::filelocal_bss" and
1137 "print 'scope1.c'::filelocal_ro" and
1138 "print 'scope1.c'::foo::funclocal" and
1139 "print 'scope1.c'::foo::funclocal_bss" and
1140 "print 'scope1.c'::foo::funclocal_ro" and
1141 "print 'scope1.c'::bar::funclocal" and
1142 "print 'scope1.c'::bar::funclocal_bss"
1143 to only be xfail'd when not compiled with gcc.
1144 Add rs6000-*-* xfail for
1145 "print 'scope0.c'::filelocal_bss before run"
1146 when compiled with gcc.
1147 (test_at_main): Add rs6000-*-* xfail for
1148 "print filelocal_ro in test_at_main"
1149 when compiled with gcc.
1150 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1151 Add rs6000-*-aix* xfail for
1152 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1153 "ptype t_char_array", not compiled with gcc.
1154 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1155 xfail for "list foo (in include file)" when gcc compiled.
1156 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1157 (integral_args): Add rs6000-*-* xfail for
1158 "run to call0a" if not compiled with gcc.
1159 (unsigned_integral_args): Add rs6000-*-* xfail for
1160 "run to call1a" if not compiled with gcc.
1161 (float_and_integral_args): Add rs6000-*-* xfail for
1162 "run to call2a" if not compiled with gcc and for
1163 "continue to call2b" for any compiler.
1164 Add rs6000-*-* xfail to
1165 "print f1 after run to call2a" for gcc compiled.
1166 (discard_and_shuffle): Add rs6000-*-* xfail for
1168 (shuffle_round_robin): Add rs6000-*-* xfail for
1169 "backtrace from call7a" if not compiled with gcc.
1170 Add rs6000-*-* xfail for
1171 "backtrace from call7b" if compiled with gcc.
1172 (call_after_alloca): Add rs6000-*-* xfail for
1173 "print c in call_after_alloca" and
1174 "print s in call_after_alloca" and
1175 "backtrace from call_after_alloca_subr"
1176 if not compiled with gcc.
1177 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1178 "print c in localvars_in_indirect_call" and
1179 "print c in localvars_in_indirect_call" and
1180 "backtrace in indirectly called function" and
1181 "stepping into indirectly called function"
1182 if not compiled with gcc.
1183 (localvars_after_alloca): Add rs6000-*-* xfail for
1184 "print c after runto localvars_after_alloca" and
1185 "print s after runto localvars_after_alloca" and
1186 "print i after runto localvars_after_alloca" and
1187 "print l after runto localvars_after_alloca"
1189 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1190 than whatis-info.exp.
1191 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1192 than opaque-info.exp.
1193 Setup rs6000-*-* xfail for
1194 "ptype on opaque struct pointer (statically)" and
1195 "ptype on opaque struct pointer (dynamically)" when
1196 not compiled with gcc.
1197 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1198 rather than callf-info.exp.
1199 (do_function_calls): Add clear_xfail for rs6000-*-* for
1200 "p t_float_values2(3.14159,float_val2)". Seems to work
1201 fine there, both with xlc and gcc. Need to find out what
1202 it is doing right and fix other platforms.
1203 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1204 "call inferior func with struct - returns int",
1205 "call inferior func with struct - returns long",
1206 "call inferior func with struct - returns float",
1207 "call inferior func with struct - returns double",
1208 "call inferior func with struct - returns char *",
1209 but only if not gcc compiled (presumes xlc compiled).
1210 Change rs6000-*-* xfails for
1211 "call inferior func with struct - returns char" and
1212 " call inferior func with struct - returns short" to only
1213 xfail if not using gcc.
1214 (clean mostlyclean): Remove *.ci and *.tmp files.
1215 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1216 than templ-info.exp.
1217 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1218 Add rs6000-*-* xfail for "up to foo in langs.exp"
1219 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1220 when not gcc compiled.
1222 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1224 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1225 * gdb.base/corefile.exp: Likewise.
1226 * gdb.base/list.exp: Likewise.
1227 * gdb.base/scope.exp: Likewise.
1228 * gdb.base/siganls.exp: Likewise.
1230 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1232 * gdb.base/whatis.exp: Likewise.
1234 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1236 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1237 failure (opcode table has been fixed to match reality).
1239 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1241 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1242 "call inferior func with struct - returns char",
1243 "call inferior func with struct - returns short"
1245 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1246 "print 'scope0.c'::filelocal at main",
1247 "print 'scope0.c'::filelocal_bss in test_at_main",
1248 "print 'scope0.c'::filelocal at foo",
1249 "print 'scope0.c'::filelocal_bss in test_at_foo",
1250 "print 'scope0.c'::filelocal at bar",
1251 "print 'scope0.c'::filelocal_bss in test_at_bar"
1253 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1254 in source file 1". This bug seems to have been fixed with both
1255 gcc and native cc (was native assembler bug?).
1257 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1259 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1260 "backtrace through signal handler" to "i*86-*-sysv4*".
1261 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1262 continue" case. Add "known SVR4 bug" to fail message.
1263 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1264 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1265 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1266 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1267 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1268 "up to foo in langs.exp", "show language at foo in
1269 langs.exp", "up to cppsub_ in langs.exp", "show
1270 language at cppsub_ in langs.exp", "up to fsub in
1271 langs.exp", and "show language at fsub in langs.exp".
1272 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1273 "bactrace in corefile.exp".
1274 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1275 "call inferior function with struct - returns float" and
1276 "call inferior function with struct - returns double".
1278 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1280 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1281 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1282 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1283 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1285 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1287 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1288 (or overriden) "CHILL" macro rather then bare "gcc".
1289 Also look for ../../gcc/xgcc since that is what we will
1290 actually need, not "Makefile". Remove following assignment
1291 of CHILL to CHILL_FOR_TARGET because that results in
1292 recursive definition.
1294 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1296 * gdb.base/corefile.exp: Change xfail for backtrace in
1297 corefile.exp from linuxaout to all linux.
1298 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1299 cases where we miss the breakpoint at the signal handler
1300 for some reason. Setup xfail for linuxoldld/linuxaout and
1301 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1302 hitting SIGURG breakpoint.
1303 * gdb.base/signals.exp: Setup xfail for "next" acting like
1304 continue to add linuxoldld. Setup xfail for all linux for
1305 "next to handler in signals_tests_1", "backtrace in
1306 signals_tests_1", "continue to func1", "pass SIGUSR1",
1307 and continue to handler".
1309 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1311 * Update all FSF addresses except those in COPYING* files.
1313 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1315 * gdb.base/a2-run.exp: Change messages to be more explicit about
1316 the status of args, and quote binfile in results.
1318 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1320 * gdb.base/callfuncs.exp: Add tests for passing structs to
1321 inferior functions and return various types.
1322 * gdb.base/callfuncs.c: Add functions to receive a struct
1323 and return a member of the struct, in various types.
1325 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1327 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1329 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1331 * config/vxworks29k.exp: New file, sources vxworks.exp.
1333 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1335 * config/gdbremote.exp: New file. Testing framework using
1338 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1340 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1341 "call function when asleep" and "send end of file".
1342 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1343 for "backtrace in corefile.exp".
1344 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1345 for "backtrace through signal handler".
1346 * gdb.base/corefile.exp: Make sure we actually generate a core file
1347 before trying the core tests. Some systems allow the user to suppress
1348 generation of core files and default to that (linux for example).
1349 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1350 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1352 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1354 * gdb.threads: New directory with some crude multi-threaded
1355 gdb tests (step.exp and step2.exp).
1356 * config/mt-lynx (STEP_EXECUTABLE): Define.
1357 (THREADFLAGS): Define.
1359 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1361 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1363 * gdb.base/signals.exp: Disable whole file for lynx until
1366 * gdb.base/signals.exp: xfail test where "next" acts like
1367 "continue" for lynx.
1369 * gdb.base/interrupt.exp: xfail test for calling function while
1370 inferior is asleep for lynx.
1372 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1373 than one cr-lf after each command.
1375 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1377 * configure.in: Reinstate setting of stabsdirs variable, fix
1378 typo in setting up configdirs for native builds.
1380 * gdb.base/return.exp: Fix typo in return double test.
1381 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1382 compiler from optimizing them away.
1384 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1386 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1387 sequences to be echo'd by gdb when using gdb_test.
1388 * gdb.chill/chexp.exp: Likewise.
1389 * gdb.fortran/exprs.exp: Likewise
1391 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1393 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1394 after the inferior gdb has started.
1396 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1398 * gdb.base/funcargs.exp: Likewise.
1399 * gdb.base/gdbvars.exp: Likewise.
1400 * gdb.base/interrupt.exp: Likewise.
1401 * gdb.base/list.exp: Likewise.
1402 * gdb.base/watchpoint.exp: Likewise.
1403 * gdb.c++/demangle.exp: Likewise.
1404 * gdb.c++/inherit.exp: Likewise.
1405 * gdb.chill/chexp.exp: Likewise.
1406 * gdb.fortran/exprs.exp: Likewise.
1408 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1409 test if we can't handle IO to/from the inferior.
1411 * gdb.c++/misc.exp: Always check for a program already being
1412 started after sending a "run" command to gdb.
1414 * gdb.base/twice.exp: Start with a fresh gdb.
1416 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1417 only depend on gdb's expression code, not the chill runtime.
1419 * gdb.base/return.c: Put return values into variables so we
1420 can have gdb print them rather than depending on the program
1422 * gdb.base/return.exp: Corresponding changes.
1424 * lib/gdb.exp: Provide default value for noinferiorio.
1425 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1428 * gdb.base/break.exp: Always check for a program already being
1429 started after sending a "run" command to gdb.
1430 (text_next_with_recursion): Don't check the output from the
1431 program's printf statement. Instead just make sure the program
1434 * gdb.base/commands.exp: Protect tests which need arguments with
1435 $noargs conditionals.
1437 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1439 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1440 of structure member arrays to match gdb/valops.c:value_addr change.
1442 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1444 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1447 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1449 * configure.in (configdirs): Remove gdb.chill from default list
1450 of subdirs and then add it back in only if doing a native build.
1451 The current chill compiler does not yet work in any cross build.
1452 * Revert all signal changes from Jul 6.
1453 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1454 for sh-hms targets, allowing these tests to link, with no other
1455 changes. Testing is suppressed by setting "nosignals" in site.exp.
1457 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1459 * configure.in (signaldirs): Define and add to configdirs for all
1460 targets except some specific ones that are known to not support signals.
1461 Also clean up formatting.
1462 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1463 (signals, sigall): Remove rules to build.
1464 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1465 Moved to new gdb.signals directory.
1466 * gdb.signals: New test directory.
1467 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1468 signals.c signals.exp}: New or moved files.
1470 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1472 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1474 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1476 * gdb.base/return.exp: Xfail `return double' test failure
1477 on at least Solaris 2.3 and handle future/past versions on
1478 a case by case basis as appropriate. Also update message
1479 to include i*86 failures.
1481 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1483 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1485 * lib/gdb.exp: Fix comment which erroneously identified
1486 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1487 gdb_file_cmd not gdb_load).
1488 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1490 * gdb.base/setvar.exp: Make test names consistent between pass and
1491 fail cases. Use gdb_test more.
1493 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1495 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1497 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1499 * gdb.base/help.exp: Fix expected help string for `show commands'.
1501 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1503 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1505 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1508 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1510 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1511 that loop eventually terminates. Fix Connection refused logic so
1512 that testsuite will expire nicely.
1514 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1516 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1517 config/rom68k.exp: New tcl glue for the appropriate monitors.
1518 These all just end up calling monitor.exp.
1519 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1520 refused' by retrying. Cleanup some timeout issues.
1521 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1522 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1523 callers don't have to set/restore global timeout variable.
1525 * The following set of changes centralizes management of the global
1526 timeout variable. This way, it can be set in one target dependent
1527 place instead of dozens of places scattered throughout the test suite.
1528 If you need to lengthen a timeout, then you should either set timeout
1529 in one of the config/{target}.exp files, or multiply it by a factor.
1530 Setting it to an absolute value is always going to lose for some
1532 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1533 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1534 * gdb.base/funcargs.exp: Don't set timeout.
1535 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1536 * gdb.base/printcmds.exp (test_print_string_constants
1537 test_print_array_constants): Don't set timeout.
1538 * gdb.base/ptype.exp: Don't set timeout.
1539 * gdb.base/recurse.exp: Don't set timeout.
1540 * gdb.base/return.exp: Don't set timeout.
1541 * gdb.base/watchpoint.exp: Don't set timeout.
1542 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1543 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1545 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1547 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1549 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1551 * lib/gdb.exp: Disable chill tests for irix5.
1553 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1555 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1556 each test pass or fail.
1558 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1560 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1563 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1565 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1567 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1569 * config/est.exp: Fix copyright and comments. Remove dead code.
1570 Use targetname, serialport and baud variables instead of fixed
1572 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1573 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1575 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1577 * gdb.base/watchpoint.exp: Don't run
1578 test_watchpoint_triggered_in_syscall for sunos.
1580 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1582 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1583 they don't seem to exist. Do include stdio.h.
1585 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1587 * gdb.base/a1-selftest.exp: Add alpha xfail.
1589 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1591 * gdb.base/watchpoint.c (main): Prompt before calling read().
1592 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1593 Revise accordingly. Remove cruft about sending "123" several
1594 times, until it gets noticed. Clean up the "print buf[0]" stuff
1595 so that it passes or fails, and waits for prompts in the usual way.
1597 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1599 * gdb.base/recurse.exp: Fix comment.
1601 * TODO: Remove item about printing variables in nodebug.exp. Add
1602 item about enabling tests which are only run on some targets.
1604 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1605 fail, make test names unique, use new gdb_test convention
1606 regarding pattern, use gdb_test more, etc.).
1608 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1609 fail, make test names unique, etc.).
1611 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1613 * gdb.base/nodebug.c: Change return type of top and middle to
1615 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1616 are fixed by the recent mdebugread.c changes. Allow `short ()'
1617 as type for top and middle.
1619 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1621 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1622 nearly as I can tell, the whole thing was an accident in Stu's
1623 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1624 to replace a send/expect pair with gdb_test, but ended up only
1625 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1626 of 30 Mar 1995 took care of it, but left this vestigial comment
1627 which I am now nuking.
1629 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1631 * gdb.base/break.exp: Look for different line number for
1632 breakpoint at main depending on usestubs.
1634 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1636 * gdb.base/list.exp: Adjust some alternate expect patterns to
1637 match recent list0.c change. Add alternate expect pattern for
1638 output from `list default lines around main' for optimizing
1641 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1643 * lib/gdb.exp: If nosignals is not set, set it to 0.
1645 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
1647 * config/slite-gdb.exp: Responds to load symbol table prompt.
1648 * gdb.base/break.exp: Adjust line number, fix rerun.
1649 * gdb.base/langs0.c: Add #ifdef usestubs.
1651 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
1653 * gdb.base/list.exp: Adjust line contents after adding new lines in
1654 list0.c. Also fix a syntax error.
1656 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1657 * gdb.base/break.exp: ditto.
1658 * gdb.base/list.exp: ditto.
1659 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1660 * gdb.base/run.c: ditto.
1661 * gdb.base/list0.c: ditto.
1662 * gdb.base/funcargs.c: ditto.
1664 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1666 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1667 $targetname, $serialport and $baud instead of hardwired variables.
1668 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1669 target doesn't support signals.
1671 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
1673 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
1675 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1677 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
1678 Don't rely on the value of an auto variable before it has been
1679 initialized. Use gdb_test more.
1681 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1683 * lib/gdb.exp (default_gdb_version): A version number must start
1684 with a digit, but other than that contains all characters up to
1685 the first whitespace character.
1687 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1689 * gdb.base/commands.exp (breakpoint_command_test): New tests.
1691 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1693 * gdb.c++/*.exp: Warn if executable does not exist. The original
1694 reason for skipping the warning was that configure.in sometimes
1695 intentionally skipped building the executables but the tcl code
1696 had no way of knowing. That (a) was always bogus with respect to
1697 error handling, (b) is no longer true (right now there is no way
1700 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1702 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1704 * gdb.base/list.exp: Add expect patterns for output from
1705 SunPRO compiled executables.
1706 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
1709 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1711 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1712 number (we are already testing that the correct source line text
1715 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1716 that is what is intended, but something needed to be done to get
1717 sunos4 native working again.
1719 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1721 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
1722 apparently went with a (very) old xfail.
1724 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
1726 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
1727 runto_main is a proc in gdb.exp that will do 'step' for target use
1729 * gdb.base/exprs.exp: ditto.
1730 * gdb.base/interrupt.exp: ditto.
1731 * gdb.base/opaque.exp: ditto.
1732 * gdb.base/printcmds.exp: ditto.
1733 * gdb.base/ptype.exp: ditto.
1734 * gdb.base/scope.exp: ditto.
1735 * gdb.base/setvar.exp: ditto.
1736 * gdb.base/signals.exp: ditto.
1737 * gdb.base/twice.exp: ditto.
1738 * gdb.c++/classes.exp: ditto.
1739 * gdb.c++/inherit.exp: ditto.
1740 * gdb.c++/templates.exp: ditto.
1741 * gdb.base/break.exp: no run and hit main for stubs. Change line
1742 numbers for breakpoints and info breakpoint.
1743 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1745 * gdb.base/callfuncs.c: ditto.
1746 * gdb.base/exprs: ditto.
1747 * gdb.base/interrupt.c: ditto.
1748 * gdb.base/opaque0.c: ditto.
1749 * gdb.base/printcmds.c: ditto.
1750 * gdb.base/ptype.c: ditto.
1751 * gdb.base/scope0.c: ditto.
1752 * gdb.base/setvar.c: ditto.
1753 * gdb.base/signals.c: ditto.
1754 * gdb.base/twice.c: ditto.
1755 * gdb.c++/misc.cc: ditto.
1756 * gdb.c++/templates.cc: ditto.
1758 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1760 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1762 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1763 somewhere between `read' and `main.c'. I'm pretty sure the
1764 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1765 and it isn't particularly useful.
1767 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1769 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1771 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1773 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1775 * config/mt-slite: add LIBS and -nostdlib.
1776 * config/slite-gdb.exp: add this new file to support sparclite target.
1778 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1780 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1782 * gdb.base/a2-run.exp: Change argument to istarget from
1783 "*-*-vxworks" to "*-*-vxworks*".
1784 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1786 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1788 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1789 will not runto main but do a 'step' to step out of breakpoint().
1790 * config/mt-slite: add -Dusestubs.
1792 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1794 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1797 * gdb.base/signals.exp: Add test for "handle all print".
1798 * TODO: Remove "handle all print". Also remove item about
1799 checking copyright date (I don't like the idea of a spurious FAIL
1800 based on when we run the tests).
1802 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1803 for SunOS4 (reason for failure not investigated). Remove
1804 redundant test for $binfile.
1806 * gdb.base/nodebug.c (array_index): Call malloc.
1808 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
1810 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
1812 * gdb.base/recurse.exp: Update gdb_test invocation to use new
1813 conventions and slightly simplify the matching regexp.
1815 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1817 * gdb.base/break.exp: Update gdb_test invocation to use new
1820 * lib/gdb.exp: If noargs is not set, set it to 0.
1822 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
1825 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
1827 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1829 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
1830 one argument of type "<non-float parameter>".
1832 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
1834 * config/rom68k.exp: New file to support Motorola IDP board.
1835 * gdb.base/a2-run.exp: Skip this file if noargs is set.
1836 * gdb.base/break.c: Change things around so that this program
1837 doesn't depend upon args. This is necessary to make remote
1838 targets work (in general, they can't take args).
1839 * gdb.base/break.exp: Don't try to send args to program. Don't
1840 expect output. Also, replace lots of code with gdb_test.
1842 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1844 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
1845 printing of '\'' (which is what the comment says we are testing,
1846 even though we were not), not '''.
1847 (test_integer_literals_rejected): Test that printing ''' is an error.
1849 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
1850 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
1851 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
1852 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
1853 Use gdb_test not test_print_accept.
1854 * lib/gdb.exp: Remove test_print_accept.
1856 * gdb.base/signals.exp (signal_tests_1): Make pass message
1857 consistent with fail message.
1859 * gdb.base/whatis.exp: Remove xfails for printing char vs.
1860 unsigned char; the bug (PR 1821) is fixed.
1862 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
1864 * gdb.base/scope.exp (test_at_localscopes): Call pass for
1865 successful tests--makes xfailing them work right.
1867 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1869 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
1870 only \r\n, not .*. The test can pass .* as the last thing in
1871 $pattern if that is what it wants. In addition to providing this
1872 flexibility, this change should speed up pattern matching in cases
1873 where the pattern already ended with .* (there were a number of
1874 them). This change also helps catch bad patterns--in the old
1875 scheme the typo "char \*" instead of "char \\*" would pass. Now
1877 * Many .exp files: Update callers.
1879 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
1880 clearer and does not spuriously match multiple ('s. Likewise for
1883 * gdb.base/nodebug.exp: Test ability to call a function and pass
1884 it a string (even with no debugging info).
1886 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
1887 "p '\'", which is the same as "p ''" once tcl gets done with
1888 quoting, to "p '\\'", which I suspect is what is intended (one
1889 backslash gets sent to GDB).
1891 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
1893 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1895 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
1896 1817) was fixed literally years ago.
1898 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1900 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
1901 test, it causes stepping out of call_after_alloca_subr with
1902 optimizing compilers.
1903 (localvars_in_indirect_call): Consume GDB prompt if `finish'
1906 * gdb.c++/templates.exp: Source templ-info.exp only if
1907 the templates executable exists.
1909 * gdb.c++/misc.cc (class Contains_static_instance,
1910 class Contains_nested_static_instance),
1911 gdb.c++/classes.exp (test_static_members): Test printing of
1912 a class that contains a static instance of the class.
1914 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1916 * gdb.base/langs2.c (cppsub_): Don't prototype.
1917 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
1920 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1922 * lib/gdb.exp (skip_chill_tests): New procedure.
1924 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
1926 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
1928 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
1929 each expect pattern. Cuts runtime from 12 to about 4 seconds.
1931 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1933 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
1935 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
1936 disassemble 8, not 16, instructions for part 4.
1938 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
1939 support the latter anymore.
1941 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
1943 * gdb.base/callfuncs.c: Control use of prototypes based on
1944 NO_PROTOTYPES, not __STDC__.
1945 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
1946 t_float_values2 tests if prototypes in use.
1948 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
1949 t_double_values): When checking differences against DELTA, check
1950 that difference is within the range (-DELTA,DELTA), not just
1953 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
1955 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
1956 'file' command firts, then 'target', then 'load', this is due to gdb
1958 * config/mips-gdb.exp: Fix a couple regular exp bugs.
1960 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
1962 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
1963 FP load/store variants.
1964 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
1966 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1968 * gdb.base/term.exp: Do not give a warning if not native, it is
1969 not an abnormal condition.
1971 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
1973 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
1976 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
1978 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
1979 are getting the version number.
1981 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
1982 if not native, it is not an abnormal condition.
1984 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1986 * lib/gdb.exp: Just use "file exists", rather than undocumented
1987 dejagnu procedure "findfile".
1989 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
1991 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
1992 (LDFLAGS): Set to -Xlinker -Ur.
1994 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
1995 Removed, these values are set by lib/gdb.exp.
1997 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
1999 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2001 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2002 of replicating gdb startup code.
2004 * config/mt-vxworks (LDFLAGS): Set to -r.
2005 (CFLAGS_FOR_TARGET): Removed.
2007 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2008 (gdb) and gdb for vxworks uses (vxgdb).
2010 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2011 executable is not in the tree and host != target, use sed and
2012 program_transform_name to determine the gdb name used by the
2015 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2016 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2018 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2020 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2021 floats, chars, and shorts where there are ANSI-style function
2024 * gdb.base/langs.exp, gdb.base/langs*: New test.
2025 * gdb.base/Makefile.in: Build it.
2026 * TODO: Remove item about checking that C names don't get C++
2027 demangling applied; this test tests it.
2029 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2031 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2032 went with the const70 xfail. The xfail went away a year ago.
2034 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2036 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2039 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2041 * gdb.base/a1-selftest.exp: Don't run on hp300.
2043 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2045 * Makefile.in (site.exp): Set host_alias and target_alias as well
2046 as host_triplet and target_triplet.
2048 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2050 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2052 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2053 places as other ecoff systems).
2055 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2058 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2060 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2062 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2063 variable and "variable" in addition to "data variable".
2064 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2066 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2068 * gdb.base/list1.c (long_line): Add additional statement at start
2070 * gdb.base/list.exp (test_forward_search): Update line number to
2071 reflect new statement.
2073 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2075 * gdb.base/signals.exp: Reinitialize searched source directories
2076 after gdb_start call.
2078 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2080 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2081 * gdb.stabs/Makefile.in: Likewise.
2083 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2084 change. Instead split the tests into smaller pieces.
2085 * gdb.disasm/hppa.s: Corresponding changes.
2087 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2089 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2090 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2092 * gdb.base/funcargs.exp: Modify many tests so that every test
2093 either passes or fails. Make some test names unique.
2095 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2097 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2098 Call stty to set interrupt character.
2100 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2101 for HP assembler versus GNU assembler based on actual behavior of
2102 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2104 * TODO: Suggest a few more stepping tests.
2106 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2108 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2109 restart GDB for h8300 after a continue.
2110 (return): Add pattern to match a29k-udi behavior.
2111 * gdb.base/nodebug.exp: Remove obsolete comment.
2112 * gdb.base/regs.exp: New file, testing of register displays.
2113 * gdb.base/return.exp: Fix typo in reference to $objdir.
2114 * gdb.base/whatis.exp: Always start with a fresh GDB.
2116 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2118 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2119 higher, these tests generate a lot of output.
2121 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2123 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2124 code following the catch silently ignored some errors; without the
2125 catch they should be thrown like any other tcl error. Also, the
2126 catch used "" instead of {} which meant all the callers who wanted
2127 to include one of the characters "[]$ had to quote it an extra time.
2128 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2129 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2130 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2131 Remove extra quoting.
2133 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2135 * gdb.base/commands.exp: Make test names unique; every test either
2136 passes or fails. Update some comments.
2138 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2140 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2142 The following fixes a FAIL caused by the fact that the alpha stabs
2143 configuration didn't use the ".if alpha" code in weird.def.
2144 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2145 bit pointer, so the 32 bit version works even on the alpha.
2146 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2147 Remove the stuff which allowed us to have separate versions for
2148 alpha and everything else.
2150 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2151 regexp which "info func operator\[\](" is supposed to match. Fix
2152 string to send to GDB. Note that GDB still doesn't work right. Add a
2153 new test for "info func .perator\[\](" which GDB does handle correctly.
2155 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2157 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2159 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2160 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2161 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2162 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2163 it makes the tests harder to understand and confuses test-o-matic.
2164 The preferred style is that each test provides a PASS or a FAIL,
2165 and has a unique message (e.g. "continue #54" not just "continue")
2166 which is the same for the pass and the fail.
2167 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2168 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2170 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2171 prt_accept which was basically the same thing. Likewise for
2172 test_print_reject and prt_reject.
2173 * lib/gdb.exp (test_print_reject): Add some more error message
2174 patterns to match from the former printcmds.exp (prt_reject).
2175 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2176 One defect of the passcount stuff is that some of it failed to
2177 report XPASS where appropriate.
2178 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2179 stuff before and after arg in expected pattern.
2180 (test_paddr_operator_functions): Re-do test without print_addr_of;
2181 this is the only test which seems to want extra stuff there.
2183 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2185 * gdb.base/nodebug.exp: Update new tests to reflect improved
2186 wording of gdb output.
2188 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2189 and "ptype" work on variables in files compiled without -g.
2190 Replaces commented out "maint print msymbol" tests.
2192 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2194 * gdb.base/setvar.c (dummy): Call malloc.
2196 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2197 losing with the irix4 sed.
2199 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2202 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2204 * TODO: Remove items about corefile.exp testing new exec-file and
2205 backtrace; both are now done. Add items about printing enums.
2207 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2209 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2210 "get signal $thissig" test fails.
2212 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2214 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2216 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2217 compiler warning with dec alpha compiler.
2219 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2220 extra \n from gdb_test call (this explains why the prompt test
2221 that I removed yesterday was there).
2222 (user_defined_command_test): Remove extra \n and prompt test.
2224 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2225 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2227 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2228 Also remove alpha workaround, which turns out to be because
2231 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2233 * gdb.base/help.exp: Don't test "help show".
2235 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2237 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2238 "set print address" is on.
2239 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2240 pass prompt to gdb_test; gdb_test already looks for the prompt.
2242 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2244 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2245 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2246 was to make sure that gdb can read a core file. But (a) the "read
2247 the corefile" part didn't make it to a1-selftest.exp, we just
2248 delete the corefile after creating it, and (b) we test reading
2249 corefiles in corefile.exp anyway. Also, this test left around a
2250 xgdb process on Solaris.
2252 * gdb.base/corefile.exp: Also test backtrace.
2254 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2256 * gdb.base/commands.exp: Test a simple user defined command with
2257 arguments and if/while statements; verify the full user command is
2258 printed by "show user".
2260 * gdb.base/commands.exp: Test if/while commands as part of a
2261 breakpoint command list; verify they appear in breakpoint
2264 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2266 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2267 than by dividing by zero.
2269 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2271 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2272 performing an inferior call with watchpoints enabled.
2273 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2276 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2278 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2281 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2282 Add additional pattern for when "int operator int(void);" appears
2283 in a different order.
2285 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2287 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2289 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2290 and "signal" with ".*".
2292 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2294 * TODO: Add note about "handle all nostop".
2296 * gdb.base/{sigall.c, sigall.exp}: New test.
2297 * gdb.base/Makefile.in: Add it.
2299 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2301 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2302 when invoking GDB, suppresses any windowing interface.
2304 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2306 * config/sim-gdb: New file, simulator testing support.
2308 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2310 * gdb.base/interrupt.exp: Test calling func1 twice.
2312 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2314 * gdb.base/list.exp (test_forward_search): Set timeout higher
2315 when we'll be getting lots of output from gdb.
2317 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2318 "init_malloc" to after the expect statement. Run it if that
2319 regexp is taken, but also for two others which happen if source
2322 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2324 * gdb.base/printcmds.exp: New test, for printing register before
2327 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2329 * gdb.base/list.exp: Correct some alternate expect patterns
2330 to reflect changes in list1.c.
2332 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2334 * TODO: Add item regarding large frames.
2336 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2338 * TODO: Remove item about enabling return.exp; it
2339 is enabled. Suggest a few more "return" tests.
2341 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2343 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2346 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2348 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2349 and pr-5646.o, so "make" is the same as "make all", not "make
2352 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2354 * gdb.base/list.exp: Adjust expectations to reflect changes in
2356 (test_forward_search): New test proc.
2357 * gdb.base/list1.c (long_line): New function, has long source line.
2359 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2361 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2362 additional line of code that was added.
2364 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2366 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2367 tests so as not to overflow expect's input buffers.
2368 * gdb.disasm/hppa.exp: Corresponding changes.
2370 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2372 Beginnings of template debugging tests.
2373 * gdb.c++/templ-info.cc: New file to test for template
2374 debugging capability of the compiler.
2375 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2377 * gdb.c++/templates.cc: Add explicit template instantiations
2378 to enable compiling with -fno-implicit-templates. Add destructor
2379 and 'value' method to T5 class for template tests.
2380 * gdb.c++/templates.exp: Add testcases for printing of template
2381 types, setting breakpoints on template methods and calling a
2384 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2386 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2387 branch target since some assemblers (gas-2.5) may emit a
2388 relocation for the branch instead of resolving it in the
2391 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2393 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2394 through signal handler.
2396 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2398 * configure.in (*-*-netware): Use config/mt-netware.
2400 * config/mt-netware: New file.
2401 * config/mt-i386-netware: Removed, separate configs for different
2402 netware architectures are no longer needed now that we have
2405 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2407 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2408 by the recent changes to use ANSI C arithmetic conversions.
2410 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2412 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2413 bug involving using inferior_pid to figure out whether to select a
2416 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2418 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2419 match the current disassembler output.
2421 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2423 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2424 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2425 types, expect "int" as type of integer values (for now).
2427 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2429 * gdb.base/commands.exp: New tests for if/while commands.
2431 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2433 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2434 by .*, since hex values have different syntax in Chill mode.
2436 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2438 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2439 linefeed from expect pattern for repeated types with indices > 9.
2441 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2443 First part of Fortran test suite.
2444 * gdb.fortran: New directory.
2445 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2447 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2449 * gdb.base/default.exp: Update expect pattern for load command
2452 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2454 * configure.in: Change i386 to i[345]86.
2455 * gdb.base/configure.in: Likewise.
2456 * gdb.c++/configure.in: Likewise.
2457 * gdb.chill/configure.in: Likewise.
2459 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2461 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2462 patterns, since that is not a valid context for comments.
2464 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2466 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2467 repeated types and repeated types with indices > 9.
2469 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2471 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2472 2417; old bug has been fixed.
2474 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2476 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2477 send the newline ourselves instead of assuming gdb_test will do
2478 so when passed an empty input string.
2480 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2483 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2485 * lib/gdb.exp (gdb_test): Don't send anything if the first
2486 argument is an empty string. This makes cases where we want to
2487 match output that is already in expect's buffers (for example,
2488 matching a breakpoint after gdb_run_cmd has been called) work
2491 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2493 * config/netware.exp: New file.
2495 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2497 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2498 the -B and -L prefixes so we can find the debugging stub.
2500 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2501 there and we are using the gcc from the tree.
2503 * gdb.base/types.c: Removed.
2505 * gdb.base/configure.in: Look for makefile fragments in ../config.
2506 Recognize i386-*-netware.
2507 * gdb.c++/configure.in: Likewise.
2509 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2511 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2512 the correct TCL syntax.
2514 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2516 * gdb.base/opaque.exp: use runto instead of messing around with
2517 breakpoints. Simplify by using gdb_test.
2519 * gdb.base/bitfields.exp: restart between tests on netware targets
2520 because breakpoints aren't relocated after target death. Run
2521 processes to completion.
2523 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2525 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2527 * Makefile.in: Remove extra tabs that confuse some versions
2528 of "make". Use the newly built gdb to test with by default,
2529 rather than the first one in the tester's search path.
2531 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2533 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2535 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2538 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2540 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2542 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2544 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2545 * gdb.base/funcargs.exp: Likewise.
2547 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2548 * gdb.base/funcargs.exp: Likewise.
2550 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2553 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2555 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2556 return,signals,twice}.exp: Handle non-existant binaries
2559 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2560 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2561 might testing a cross development system.
2563 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2565 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2566 runtest script is relative to ${srcdir}, not ${rootdir}.
2568 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2570 * gdb.base/signals.exp: Allow for optionality of breakpoint
2573 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2575 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2577 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2579 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2580 for size_t definition.
2581 * gdb.c++/templates.cc: Likewise
2583 * config/mt-i386-netware: New file.
2585 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2588 * gdb.base/Makefile.in: Added support for systems that name core
2589 files by appending "core" to the program name.
2590 * gdb.base/a1-selftest.exp: Likewise.
2592 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2594 * gdb.base/return.exp: Add comment and message for `return double'
2595 test failure on Sparc Solaris.
2597 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
2599 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2601 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2603 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2604 from optimizing them away.
2605 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2606 patterns to include default constructors and assignment operators,
2607 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2608 character in the output of the virtual base pointer.
2610 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2612 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2613 expression match in print_addr_of to avoid unintented matches.
2614 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2615 versions up to 2.5.8.
2617 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2619 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2620 included file to run under newer versions of expect.
2621 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2622 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2623 Remove xfail for the virtual table of BDDHookV.
2625 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2627 * lib/gdb.exp (string_to_regexp): Set a default result.
2628 (default_gdb_start): Fix misleading message.
2630 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2632 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2633 Remove all CC, etc definitions.
2634 * config/mt-hpux: New file.
2635 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2636 (CFLAGS, LDFLAGS): Define.
2637 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2639 * Makefile.in (site.exp): Don't insert host_os, etc.
2640 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2641 (distclean): Check existence of subdir.
2642 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2643 * gdb.base/Makefile.in: General cleanup and simplification.
2644 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2645 to build executables. Use default rule to build .o files.
2646 (EXPECT, RUNTEST, CC): Fix relative pathname.
2647 (site.exp): Don't insert host_os, etc.
2648 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2649 and/or SIGUSR1 defined.
2650 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2651 * gdb.c++/Makefile.in: General cleanup and simplification.
2652 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2654 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2656 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
2658 * gdb.base/recurse.exp: Misc changes to get tests running again
2659 after Kung's changes to the watchpoint code.
2660 * gdb.base/watchpoint.exp: Likewise.
2662 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
2664 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2666 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
2668 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2669 * lib/gdb.exp (default_gdb_start): Define.
2670 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
2671 gdb.base/funcargs.exp, gdb.base/opaque.exp,
2672 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
2673 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
2674 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
2675 Don't call gdb_target_udi in between tests.
2677 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2679 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
2680 (which was basically just a local version of the same thing). In
2681 addition to avoiding duplication, gdb_test_exact is faster.
2682 * lib/gdb.exp (gdb_test_exact): Fix typo.
2684 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
2685 don't give an error.
2687 * gdb.base/term.exp: Call delete_breakpoints before starting.
2689 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
2692 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2694 Reorganization of the GDB Test Suite.
2696 * gdb.base: New directory, contains all the basic tests.
2697 * gdb.c++: New directory, tests specific to C++.
2698 * gdb.chill: New directory, tests specific to Chill.
2699 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
2700 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
2701 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
2702 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
2703 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
2705 * */gdbme.*: Rename to match appropriate expect scripts.
2706 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
2707 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
2708 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
2709 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
2710 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2711 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2712 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2713 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2714 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2715 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2716 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2717 gdb.c++/virtfunc.cc: New names of C++ files.
2718 * gdb.chill/chillvars.ch: New name of Chill file.
2719 * gdb.base/configure.in, gdb.c++/configure.in,
2720 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
2721 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2722 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
2723 * configure.in (configdirs): Update to reflect directory changes.
2724 (target_abbrev): No longer define for any configuration.
2725 * Makefile.in: Cosmetic improvements to header comments.
2727 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
2729 Various changes to gdb.t31:
2731 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2732 * gdbme.ch: Make all key-words and predefineds be upper-case.
2733 * chillvars.exp: Expect key-words and predefinds in upper-case.
2735 * chillvars.exp: Use gdb_test_exact many places.
2736 Change expected output for arrays (which now includes index labels).
2738 * pr-5020.exp, gdme.ch (module PR_5020):
2739 New test, for PR-5020.
2741 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
2743 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2744 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2746 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
2748 * Makefile.in: Fix bit-rot in definitions of CHILL,
2749 CHILL_FOR_TARGET and Chill_LIB.
2750 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2751 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2752 CHILL, and CHILL_LIB.
2754 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
2756 * Revert the previous changes. Please see Rob's directory
2757 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2759 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2761 * Makefile.in, configure.in, config/mips-gdb.exp,
2762 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2763 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2764 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2765 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2766 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2767 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2768 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2769 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2770 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2771 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2772 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2773 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2774 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2775 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2776 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2779 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
2781 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2782 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2783 Rob's new testing fragments.
2785 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2787 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2788 lib/gdb.exp: Replace error proc calls with perror.
2790 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2792 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2793 version also, match on casted version strings, and match on
2794 gdb startup case where the line numbers might be messed up.
2796 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
2798 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2799 (CFLAGS): Delete it from here.
2801 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
2803 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2805 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2807 * Makefile.in (RUNTEST): Default to just "runtest".
2809 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2811 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
2812 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
2813 the code has been restructured.
2815 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2817 * gdb.t00/default.exp (set write): Allow any number of \r and/or
2818 \n, not just one of each.
2820 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
2821 /bin/cc gives a warning if you do.
2823 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
2825 * gdb.t24/demangle.exp: change expect pattern of
2826 __t10ListS_link1ZUiRCUiPT0
2828 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2830 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
2831 on local variables in recursive functions.
2833 * gdb.t07/Makefile.in: Build the new test.
2835 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2837 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
2838 directly. Instead compare the return values from actual calls.
2840 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
2842 * Makefile.in (check): Set TCL_LIBRARY for runtest.
2844 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2846 * From Peter Schauer with minor modifications.
2847 * gdb.t15/return.exp (return_tests): Handle targets where "return"
2848 stops in mid-line in the caller. Add xfail for returning a float
2849 value on X86 targets.
2851 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2853 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
2854 to avoid expect lossage.
2855 (fmem_LRbug_tests): Likewise.
2856 * gdb.disasm/hppa.s: Corresponding changes.
2858 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
2859 conditions to work with latest dejagnu/expect.
2861 * gdb.t15/funcargs.exp (finish from indirect call): No longer
2862 expected to fail on the PA.
2863 (backtrace in call with trampolines): Explicitly require main
2864 to be frame #1 (no trampolines should show up in backtrace).
2866 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
2868 * gdb.t06/break.exp: Likewise.
2869 * gdb.t07/watchpoint.exp: Likewise.
2870 * gdb.t13/bitfields.exp: Likewise.
2871 * gdb.t15/{funcargs,return}.exp: Likewise.
2872 * gdb.stabs/weird.exp: Likewise.
2873 * config/{mips,udi}-gdb.exp: Likewise.
2875 * hppa.sed: Enclose comments within a sed command to avoid
2876 losing with the old OSF1 sed.
2878 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2880 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
2882 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
2883 * gdb.t15/funcargs.exp: Conditionally step again to really
2884 finish from marker_call_with_trampolines. Handle the case where
2885 the first step from within call_with_trampolines already steps
2887 * gdb.t15/gdbme.c: Add comment to closing brace of
2888 call_with_trampolines for funcargs.exp.
2890 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2892 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2895 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2897 * gdb.t07/gdbme.c: More code for watchpoint testing.
2899 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
2900 "Hardware watchpoint" throughout file.
2901 (test_watchpoint_triggered_in_syscall): New test.
2902 (test_complex_watchpoint): New test.
2904 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2906 * gdbme.c (call_with_trampolines): New function to try and step
2907 into. Tests trampoline problems on the PA.
2909 * funcargs.exp (localvars_in_indirect_call): No longer expect
2910 stepping into indirect call to fail on PAs.
2911 (test_stepping_over_trampolines): New test.
2913 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2915 * TODO: Add suggestions for static member function tests, and
2918 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2920 * TODO: Add suggestions for "p/a" tests.
2922 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
2923 (default_gdb_exit): Replace all the hair with sending "quit" to
2924 the process with a simple close.
2926 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2928 * TODO: Add suggestions for shared library tests.
2930 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2932 * TODO: Add suggestions for x/s tests.
2934 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2936 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
2937 "enable once", and "enable breakpoints once" with ".*".
2939 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2941 * TODO: Add suggestions about structure passing tests.
2943 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2945 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
2946 the primary1 test, use work around if __GNUC__ < 2.
2947 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
2948 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
2949 Test for bad output rather than waiting for timeout. Issue
2950 second continue only if first continue failed.
2952 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2954 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
2955 operator[] test with gdb_test because the old code didn't seem to
2956 be getting the quoting right with the new dejagnu.
2958 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
2960 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
2962 * Makefile.in: Use a fresh expect if there is one, use runtest
2963 from the src tree if there is one.
2965 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2967 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
2968 next over recursive call. Revise the tests from that point on
2969 (which had been skipped) to match GDB's actual (correct) output.
2971 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
2972 with next over a breakpoint whose condition is false.
2974 * gdb.t00/help.exp: Comment out "help set print" tests just like
2975 (and for same reason as) "help set" test.
2977 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
2979 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
2980 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
2982 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2984 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
2985 necessary gdb_target_udi.
2987 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
2989 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
2990 1838 and 2417; they are fixed.
2992 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
2993 gdb.t03/ptype.exp (ptype structure, ptype union):
2994 Remove xfails; the test is looser than when the xfails were added.
2996 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
2997 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
2999 * gdb.t01/run.exp: Only run shell test if isnative.
3001 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3002 since "run" automatically loads if necessary. Call gdb_target_udi
3003 after the "file" since "file" kills any execution target.
3005 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3006 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3007 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3010 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3012 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3014 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3016 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3018 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3019 properly quoting regexps. This makes the second argument to
3020 demangle a fixed string, which matches the callers, instead of a
3021 shell-style pattern which is what the previous implementation
3022 used. Update some of the callers.
3024 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3026 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3027 (comib_nullified_tests): Fix typo.
3028 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3029 strings. No longer expected to fail.
3031 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3032 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3033 strings. No longer expected to fail.
3035 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3036 string. No longer expected to fail.
3038 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3040 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3041 No longer expected to fail.
3043 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3044 string. No longer expected to fail.
3046 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3048 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3049 only in the names (I probably got most of them). I was even
3050 generous with some which differed in underscores in names, and
3051 probably missed a few, and I *still* was able to remove almost a
3052 third of the file with almost no impact on testsuite coverage.
3054 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3056 * gdb.t00/default.exp: Match udi_attach error message as well as
3057 the one from child_attach.
3059 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3061 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3063 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3064 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3066 * Move test with enums and partial symbols back to
3067 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3068 Reverts the change of 26 May 93. Per today's change to
3069 stabs.texinfo, the behavior that weird.exp was expecting was
3070 unreasonable; what is important is that the compiler+gdb get
3071 things right, which happens with a recent gcc. Also fix the test
3072 to deal with native compilers which put out the stab gdb can't
3075 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3077 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3078 in the names. The main thing these accomplish is to slow things down.
3079 Many more such duplicates surely remain.
3081 * gdb.t00/help.exp: Comment out "help support" test just like
3082 (and for same reason as) "help set" test.
3084 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3086 * gdb.t06/break.exp: Remove setup_xfails for
3087 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3088 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3089 about known bug in gcc to include up through 2.5.8.
3090 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3092 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3093 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3094 with latest gcc and gdb.
3095 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3098 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3100 * configure.in (hppa*-*-*): Also configure and build stabs-only
3103 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3105 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3106 * gdb.t10/configure.in (hppa*-*-*): Use it.
3108 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3110 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3112 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3114 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3115 versions prior to 1.13.5.
3117 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3119 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3120 the prompt is at the start of a line.
3122 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3124 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3125 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3126 in the copr tests now.
3127 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3128 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3131 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3133 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3134 gdb.t31/chillvars.exp, lib/gdb.exp:
3135 Tweak to run under either version of expect.
3136 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3137 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3138 * gdb.t11/list.exp: Remove extraneous whitespace.
3140 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3142 * gdb.t16/printcmds.exp (test_print_strings): Accept
3143 "(unsigned char *) " before the string.
3145 * TODO: Add notes about printing of fancy types and GDB expressions.
3147 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3149 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3150 * gdb.t06/configure.in: Don't try to compile signals test program
3151 if doing mips-idt-ecoff.
3153 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3155 * Most .exp files: Tweak to run under either version of expect.
3157 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3159 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3160 xfails; I'm not sure why they are failing, but not because of PR 1806.
3162 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3164 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3165 defined in lib/gdb.exp.
3167 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3169 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3170 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3171 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3172 have to be typeless.
3174 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3176 * TODO: Add suggestion for copyright year test.
3178 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3180 * configure.in (*-*-lynxos*): Add stabs tests.
3182 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3184 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3185 so insert a tab before any assembler directive in column zero.
3187 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3189 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3191 (fpu_short_memory_tests): Likewise.
3193 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3195 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3196 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3197 .stabs directives in comments.
3199 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3201 * TODO: New file, describing tests we could write.
3202 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3204 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3206 * gdb.t06/signals.exp: Add kludge to force re-sync.
3208 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3209 to xgdb instead of gdb, get out of gdb.
3211 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3213 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3216 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3218 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3219 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3220 * gdb.stabs/hppa.sed: New sed script for the PA.
3222 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3224 * gdb.stabs: Re-write weird.def and configuration to use sed
3225 instead of cpp. sed is portable and POSIX; cpp is neither.
3227 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3229 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3231 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3233 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3235 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3237 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3239 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3240 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3242 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3244 * lib/gdb.exp: Comment out code which depends on non-existent
3245 `transform' procedure.
3247 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3249 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3250 * lib/gdb.exp: Transform tool name.
3251 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3252 1.1's new error handling system.
3254 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3256 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3258 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3260 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3261 They made pattern matching so slow that timeouts happened on
3262 heavily loaded systems. Now any output from "show print" which
3263 gets us back to the GDB prompt is a PASS.
3265 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3267 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3269 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3271 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3273 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3274 It is not from PR 3220.
3276 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3278 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3279 just started failing because they depended on the order the
3280 subcommands are presented, or exact docstring text. This kind of
3281 test is a pain and has minimal benefit.
3283 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3285 * gdb.t09/corefile.exp: At end of test, use "core" command with
3288 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3290 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3291 17}/Makefile.in: Make it possible to run the testsuite with Sun
3292 make and CC = cross gcc by adding explicit build rules for .o
3295 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3297 * gdb.t15/funcargs.exp: Don't put comments on same line as
3298 setup_xfail (@#$*%& tcl braindamage!).
3300 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3302 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3304 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3306 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3307 * gdb.t20/inherit.exp: remove three dumplicate entries.
3309 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3311 * gdb.t06/break.exp: For "next over recursive call", fail on any
3312 incorrect output, not just on "factorial (value=2)".
3314 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3316 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3317 working now. Add an xfail if accesing a bss variable causes
3318 a memory error if the target is not yet run.
3320 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3322 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3323 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3324 name of __st* demangling (2 strings). Did Kung really get the
3325 more than 95 others right without testing them?
3327 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3329 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3331 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3333 * configure.in (configdirs): Add gdb.disasm
3334 * gdb.disasm: New directory for GDB disassembler tests.
3335 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3337 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3339 * gdb.t00/help.exp: Don't test "help set".
3341 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3342 from within expect statements. None of these happen anymore and
3343 they cause regressions to be silently unnoticed.
3345 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3346 messages) about known failures with gcc cygnus-2.4.5-930417.
3348 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3349 comp-info.exp so it gets built if it doesn't exist.
3351 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3352 it is no longer used.
3353 * gdb.t13/comp-info.c: Removed.
3355 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3357 * gdb.t06/signals.exp: Add xfail for sun3.
3359 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3361 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3362 relevant because ^C doesn't get sent but failure can be reproduced
3365 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3367 * gdb.stabs/alpha.mt: New configuration file for alpha.
3368 * gdb.stabs/configure.in: Use it.
3369 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3370 sharing with alpha.mt, redefine long to word via preprocessor.
3371 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3373 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3375 * gdb.t00/teststrategy.exp: Change expect string so that we
3376 consume the `(xgdb)' from the command echo and from the gdb prompt.
3377 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3378 gdb currently compares all values as long, so this failure probably
3379 applies to any configuration where LONGEST is bigger than a target int.
3380 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3382 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3383 to handle opaque pointers, gcc is.
3384 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3385 as first argument. Include <sys/types.h> and change all operator
3386 new definitions to use size_t.
3387 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3388 now that we use size_t.
3390 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3392 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3393 a long or float array cast all array members to the same type.
3394 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3396 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3398 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3400 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3402 * gdb.t24 (demangle.exp): Constructors of templates have names like
3403 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3404 section 14.6 of the ARM.
3406 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3407 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3408 accomplish little and slow down the testsuite.
3410 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3411 Accept spaces various places.
3413 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3415 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3416 with watchpoint enabled.
3418 * Makefile.in: Remove definition of CC and remove the second
3419 definition of CXX (the "CXX = gcc" one remains). These definitions
3420 were causing backquotes to be expanded within backquotes, which
3423 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3425 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3427 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3429 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3430 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3431 by mips cc and contains no stabs entries.
3433 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3435 * config/vx-gdb.exp: Use fake device to load files rather than
3437 * lib/gdb.exp: New proc to do "file" command.
3438 * config/unix-gdb.exp: Use new "file" proc.
3440 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3442 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3443 Rework board rebooting slightly.
3444 (gdb_exit): Don't exit from the remote shell; there isn't one.
3445 * gdb.stabs/weird.exp: If a program is being debugged already,
3447 * gdb.t04/setvar.exp: Stop and restart gdb.
3448 * gdb.t05/expr.exp: Likewise.
3449 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3450 restart gdb and reload the program.
3451 * gdb.t08/opaque.exp: Likewise.
3452 * gdb.t12/scope.exp: Likewise.
3453 * gdb.t13/bitfields.exp: Likewise.
3454 * gdb.t15/funcargs.exp: Likewise.
3455 * gdb.t20/classes.exp: Likewise.
3456 * gdb.t03/ptype.exp: Increase timeout.
3457 * gdb.t16/printcmds.exp (test_print_string_constants,
3458 test_print_array_constants): Likewise.
3459 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3460 * gdb.t20/classes.exp (do_tests): Likewise.
3461 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3463 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3465 * gdb.stabs: Renamed *wierd* to *weird*.
3467 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3469 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3470 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3472 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3474 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3475 (do_tests): Remove xfail for whatis on one_var and two_var.
3477 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3479 * Makefile.in: Made cross building work better by adding
3480 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3482 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3484 * gdb.t15/{return.c,return.exp,Makefile.in}:
3485 New test, currently commented out.
3487 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3489 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3490 still running and removes the leftover named socket so GDb can do
3493 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3495 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3497 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3498 cross testing works better with "make check"
3499 * config/unix-gdb: Use default procedures for exit and version.
3500 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3501 with the newest VxWorks.
3503 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3505 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3508 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3509 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3511 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3513 * config/unix-gdb.exp: Remove this version of gdb_exit
3514 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3515 Rob says he'll look at it when he gets back to testing boards.
3517 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3519 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3520 an expected fail for certain ptype commands.
3522 * gdb.t20/classes.exp: Update expected results of "ptype class
3523 Base1" to account for the constructor that now appears in the type.
3525 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3527 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3528 disappeared from list.
3529 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3530 "alldone" proc with call to cleanup and exit.
3531 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3532 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3533 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3534 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3535 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3536 "alldone" proc with simple returns that suppress remaining
3537 tests. The alldone proc went away many months ago.
3539 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3541 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3543 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3545 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3547 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3548 as vax gdb will display them.
3550 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3552 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3555 * scope.exp: Change "bad value for localval" messages so each one
3558 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3559 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3561 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3563 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3565 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3566 doesn't exist (due to optimization).
3568 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3570 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3571 contains \r because the filename is long.
3573 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3574 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3576 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3578 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3579 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3581 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3583 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3585 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
3587 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3589 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3590 to match does not match the passing case but still matches the
3593 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3595 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3597 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
3599 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
3600 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
3601 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3602 Remove various versions of gdb_exit.
3603 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3605 * config/unix-gdb.exp: gdb_exit remains here, and should override
3606 the generic version, since it's doing a lot of wierd stuff that
3607 the other versions aren't. FIXME, fold it in, or abandon this
3610 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3612 * gdb.t24/demangle.exp: Add tests for PR 3220.
3614 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3616 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3618 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3620 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3621 "i386-*-*". Works for i486 as well.
3623 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3624 bug, and expand domain of xfail to all SVR4 systems, since the
3625 actual problem is likely to be in generic SVR4 /proc support.
3627 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3629 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3631 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3633 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3634 xfails for other systems. Match a missing 'Continuing.' as an
3635 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3637 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3638 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3639 Only issue warning for missing executables if -all option is used.
3641 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3642 file if -all option is used. It's like an unpredictable XFAIL.
3644 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3646 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3647 for dynamically linked binaries.
3649 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3651 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3653 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3654 to state that this is a known bug in old versions of g++.
3656 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3658 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3659 while waiting for `Continuing'.
3661 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
3663 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3664 in text, data, and bss.
3665 * gdb.t10/nodebug.c: Add local and global test variables for
3666 initialized and uninitialized data.
3668 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3670 * config/unix-gdb.exp (gdb_exit): Add "wait".
3672 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3674 * gdb.t06/signals.exp: xfail the continue from the handler for all
3677 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
3678 function with watchpoints enabled, the i386 call dummy starts with
3681 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
3682 386 bsd names its corefiles.
3684 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
3686 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
3687 compilers don't grok it.
3688 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
3689 with small octal ints rather than character constants, which
3690 are signed and might not fit if first promoted to int.
3692 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
3694 * gdb.t09/Makefile.in (clean): Remove corefile.
3696 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3698 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
3700 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3701 and Jim Kingdon (kingdon@cygnus.com)
3703 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
3704 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
3705 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
3707 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3709 * gdb.t17/interrupt.exp: Add xfail for hppa.
3711 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3713 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3714 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3715 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3716 to determine signed-ness of bitfields and use the result to setup
3718 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
3719 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3720 call line is reached if necessary.
3722 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3724 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
3726 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3728 * gdb.t06/break.exp: Also test `clear' command.
3730 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3732 * gdb.t00/teststrategy.exp: Remove extra quote.
3734 * gdb.t07/watchpoint.exp: Change xfail for calling function with
3735 watchpoint enabled to be for all non-68k machines.
3737 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3739 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3741 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3742 targets use aout.mt instead of ecoff.mt as gas understands
3743 standard aout format.
3745 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3747 * lib/gdb.exp (runto): Don't insist that function we are running to
3748 was compiled with -g.
3750 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3752 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3753 to get back into the read system call.
3754 Accept leading newline in case where we woke it up.
3756 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3758 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3759 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3760 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3761 enable ecoff configuration.
3763 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3765 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3767 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3769 * gdb.t16/printcmds.exp: Add another printf test.
3771 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3773 * configure.in: If configured -with-stabs on any target, add
3774 stabsdirs to configdirs.
3776 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3778 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3779 fun" so pattern does not match the command itself.
3781 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3783 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3785 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3787 * gdb.t17/interrupt.exp: Test for more things.
3789 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3791 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3792 compiler arranges the code and line numbers.
3794 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3796 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3798 * gdb.t00/help.exp: Increase expect input buffer size.
3800 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3802 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3804 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3806 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3808 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
3809 [0-9]*, not just [0-9].
3811 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3813 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
3815 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
3817 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3819 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
3821 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3823 * gdb.t06/signals.c: Add xfails for sun3.
3825 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
3827 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
3828 test_stepping tests.
3830 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3832 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
3834 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
3836 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
3837 rather than actually putting it through cpp twice.
3839 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
3841 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
3843 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
3846 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3848 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
3850 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
3851 C++ features prints as "struct", make it a pass, not an xfail.
3853 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3855 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
3856 Don't require VA to print as "class" rather than "struct".
3858 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
3860 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
3862 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3864 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
3866 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3868 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
3871 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3873 * gdb.t16/printcmds.exp: Add printf tests.
3875 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
3877 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
3879 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
3881 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
3882 pass counts, to counteract any existing or future setup_xfails.
3884 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3886 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
3887 {BEGIN,END}_COMMON for common block instead of STAB.
3888 * gdb.stabs/wierd.exp: Add xfail for rs6000.
3890 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
3891 intp_var should be N_GSYM not N_LSYM.
3892 wierd-aout.S: Use a label for the value of the N_SO.
3893 wierd.def: Remove all backslashes.
3894 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
3896 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3898 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
3899 get the expected next to inheritance3.
3901 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3903 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
3904 now that gcc-2.4 gets it right.
3906 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3908 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
3910 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
3911 generating comp-info.exp which works for cross-compilation.
3913 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
3915 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
3918 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
3920 * gdb.t01/run.exp: Start with a fresh gdb.
3921 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
3924 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
3926 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
3927 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
3928 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
3929 Makefile.in (distclean, realclean): Remove gdbme.c from list of
3932 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
3934 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
3935 test cases from bug reports.
3937 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
3939 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
3940 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
3941 avoid spurious xfails.
3942 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
3943 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
3944 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
3946 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
3948 * gdb.t00/teststrategy.exp: Rework to provide more useful
3949 description of each test, fix problem with systems that define
3950 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
3951 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
3952 results for "next over recursive call" so timeouts aren't taken
3955 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
3957 * gdb.t12/scope.exp: Test printing of variables before run.
3959 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
3960 printed in wrong order due to sorting.
3962 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
3964 * gdb.t00/teststrategy.exp: Fix expected results for printing
3965 user entered string constant. Is array of char, prints with no
3968 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
3970 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
3971 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
3972 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
3973 of struct of char arrays.
3974 * gdb.t00/radix.exp: New tests for radix commands.
3976 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
3978 * gdb.t16/printcmd.exp: Print a variable before running program
3979 (with xfail for AIX).
3981 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
3983 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
3985 * gdb.t16/printcmd.exp: Don't print variables before running program.
3987 * gdb.t06/break.exp: Don't require envp argument to main.
3989 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
3991 * gdb.t02/whatis.exp, gdb.t11/list.exp:
3992 Add xfails for rs6000.
3994 * gdb.t02/whatis.exp: Change other tests not to re-test something
3997 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
3998 each type used has a variable of that type.
4000 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4002 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4004 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4006 * configure.in: change srctrigger to be a file, not a directory
4008 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4010 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4012 * gdb.t11/list.exp: Fixed a couple of typos.
4014 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4016 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4017 is fixed and PR is closed.
4018 * gdb.t16 (gdbme.c): Add simple test string variable.
4019 * gdb.t16 (printcmds.exp): Add tests with simple test string
4020 variable, primarily for boundaries on "set print elements".
4022 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4024 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4025 Make leading 0's optional and don't expect a tab in the middle
4028 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4030 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4031 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4032 don't end command passed to gdb_test with newline.
4034 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4035 signed keyword away, don't expect signed bitfields to be signed.
4037 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4038 printing with only as many 1's as are in the field as well as printing
4039 with 32 1's (see comment).
4041 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4043 * gdb.t00/default.exp: Start with a fresh gdb.
4044 * configure.in (configdirs): Remove gdb.t31 until the chill
4045 compiler works again. It no longer is able to find chillrt0
4046 since it isn't in libchill.a anymore.
4047 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4048 wierd.o, make more modular.
4049 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4050 spurious newlines that caused problems.
4052 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4054 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4055 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4056 gdb.stabs/wierd.{exp,def}: Many new tests.
4058 * gdb.t00/default.exp: update info line for new message.
4060 * gdb.t02/{whatis.exp,gdbme.c}:
4061 Test that "char *" doesn't print as "caddr_t".
4063 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4065 * gdb.t00/help.exp: Use .* in place of some help messages which
4067 gdb.t00/default.exp: Update "info frame" test for new message.
4068 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4071 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4073 * gdb.t03/{gdbme.c,ptype.exp}:
4074 Add tests for typedef'd struct and union without tags.
4075 Also check "whatis" on a variable of a typedef'd enum without a tag.
4077 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4078 PRMS 1823; the bug still exists but isn't reproduced by this test
4079 anymore), and remove rs6000 XFAIL (the bug is fixed).
4081 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4082 duplicated from whatis.exp. For those that are left, accept
4083 "long", "long int", or "int" for long variables (whatis.exp already
4084 has an XFAIL for "int", so no need to fail it here).
4086 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4087 Deal with GCC's names for types now that GDB uses the compiler's names.
4089 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4090 setup_xfail's for sunos4. If we #defined the signed keyword away,
4091 don't expect GDB to know that char it is signed.
4093 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4095 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4097 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4098 should work on any system, regardless of debugging format.
4099 * gdb.t21/demangle.exp: Move to gdb.t24.
4100 * gdb.t24/demangle.exp: Move from gdb.t21.
4101 * gdb.t24/{Makefile.in, configure.in}: New files.
4103 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4105 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4106 * gdb.stabs: New directory.
4108 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4110 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4111 not just "Quit anyway?".
4113 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4115 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4116 that all setup_xfails are immediately followed by clear_xfails.
4118 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4120 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4121 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4122 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4123 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4124 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4125 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4126 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4127 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4128 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4129 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4130 gdb.t31/chillvars.exp, lib/gdb.exp:
4131 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4132 bug-gdb@prep.ai.mit.edu.
4134 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4136 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4137 with 0.0, not integer 0.
4139 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4141 * gdb.t06/break.exp: Update for "Kill the program" message change.
4143 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4145 * Makefile.in (GDBFLAGS): Set to -nx.
4146 * Makefile.in (site.exp): Use GDBFLAGS.
4148 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4150 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4152 (check): depend on just-check.
4153 (just-check): added so that tests can be run without a noop
4156 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4158 Switch to using configure's configdirs.
4159 * Makefile.in (Makefile): add configure.in dependency.
4160 (SUBDIRS): removed redundant assignment.
4161 * configure.in: switch subdirs assignment to configdirs.
4162 * gdb.t*/configure.in: new files.
4164 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4166 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4169 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4171 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4172 in explicit rules. Apparently this is not supported by some makes.
4174 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4176 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4178 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4180 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4183 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4185 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4187 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4189 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4190 watchpoint problem that is now fixed.
4191 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4192 uninitialized convenience variables.
4193 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4196 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4198 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4199 which causes expect to get out of sync with gdb on long output
4201 * gdb.t09/corefile.exp: Make expected pattern for core file
4202 failing signal and frame output format less sun specific.
4204 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4206 * gdb.t31/chillvars.exp: Add and remove initial dummy
4207 breakpoint, so that symbol table is forced in.
4208 (Needed at least on Sunos4, though it seems not SVR4.)
4209 * gdb.t31/chillvars.exp: Update for changed output format.
4211 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4213 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4215 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4217 * Makefile.in: Added --srcdir when invoking runtest, removed the
4218 need for a local config file. (optional now)
4220 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4222 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4223 failure count used to force early termination. Add some more
4224 expected failures for gnu style demangling.
4226 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4228 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4229 pmi variable from gdb.t20/gdbme to get optimized away.
4230 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4231 Check for written corefile upon timeout _and_ eof.
4233 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4235 * config/unix-gdb.exp: Add missing return 0.
4237 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4239 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4242 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4244 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4247 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4249 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4250 time as i860 support works.
4252 * gdb.t15/funcargs.exp: Fix expected outputs to include
4253 "backtrace 100\r" rather than just "backtrace\r", to match last
4256 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4258 * config/udi-gdb.exp (gdb_exit): Remove close command.
4259 (gdb_target_udi): New procedure to set the UDI target.
4260 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4261 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4262 Added waits for prompts after several question responses. Added
4263 some more responses used by a29k-amd-udi-gdb.
4264 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4265 pass different arguments, restart UDI connection after program
4267 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4268 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4269 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4270 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4271 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4272 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4273 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4274 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4275 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4276 after program completion.
4277 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4278 compiled with a SELECT_VECS setting.
4279 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4282 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4283 Added checks for COFF results, and made them expected failures for
4284 all targets. It would be better to make them expected failures
4285 for COFF targets only.
4287 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4289 * Makefile.in: add null dvi target, don't bother to recurse
4290 through test directories for info and install-info; rename
4291 $(datadir) to be dejagnu instead of deja-gnu
4293 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4295 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4296 compiler to coredump.
4297 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4300 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4302 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4304 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4307 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4309 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4310 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4311 which in a shell. Deletes xgdb when done.
4312 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4313 Tests the return from the "set height" or "set width" commands.
4314 Added a few return codes where needed.
4316 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4318 * Makefile.in (SUBDIRS): Add gdb.t17.
4319 * configure.in (subdirs): Add gdb.t17.
4320 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4321 files to test gdb's calling of functions in the inferior with
4322 the correct arguments and gdb's ability to retrieve any
4325 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4327 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4328 may be called after gdb goes away. Previous versions of expect
4329 needed these to avoid file descriptor leaks, but they cause
4330 errors with the current revision of expect.
4331 * gdb.t00/gdbvars.exp: Use -re on expected output after
4332 setting sevenbit-strings.
4333 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4334 to set sevenbit-strings consistent across tests.
4335 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4336 set sevenbit-strings consistent across tests.
4338 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4340 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4341 expected output to match current "expect" expectations.
4343 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4345 * gdb.t00/default.exp: Change expected output for default "source"
4346 command, to match new gdb behavior which requires a filename to
4349 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4351 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4352 expected fail for i486-*-* that misses the marker2 function.
4353 * gdb.t10/crossload.exp (bfddefault): Allow successful
4354 recognition of a format to pass even if no symbols are found.
4355 Explicitly catch failures where the format is not recognized
4356 or is ambiguous, and add the reason to the fail message.
4357 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4358 the cause is and invalid target and add reason to failure message.
4359 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4360 elf32-i386, elf32-sparc, and elf32-i860.
4361 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4362 Set up expected failure for 'filename'::variable scope resolution,
4363 which is now apparently broken on all targets.
4364 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4365 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4366 gdb.t23/templates.exp: Change failure for missing binfile into
4368 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4371 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4373 * gdb.t00/default.exp: Add expected output for default "source"
4374 command, to match new gdb behavior.
4375 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4377 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4379 * config/*-gdb.exp: returns an error, rather than exiting on
4382 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4384 * gdb.t03/gdbme.c: Add pointer to struct variable.
4385 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4386 referencing struct members.
4388 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4390 * configure.in (mips-idt-ecoff): New target.
4391 * config/mips-gdb.exp: New file for remote board using MIPS remote
4394 * Redid configuration scheme. Removed gdb.t*/configure.in.
4395 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4396 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4397 distclean targets. Built executables via .o files. Adjusted
4398 tests to account for source files in $(srcdir) rather than
4400 * lib/gdb.exp (runto): Don't expect () after the function name,
4401 because it may have arguments.
4403 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4405 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4406 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4407 expected failures for mips-idt-* and mips-sgi-*.
4408 * gdb.t00/default.exp (attach): Kill process if requested.
4409 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4410 that does not read core files.
4411 * gdb.t01/run.exp: Removed checks for exit status code.
4412 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4414 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4415 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4416 appropriate, rather than doing it by hand.
4417 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4419 * gdb.t10/crossload.exp: Kill existing program if needed.
4420 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4421 appropriate, rather than doing it by hand. Always increase
4422 timeout for this test, not just for VxWorks.
4424 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4426 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4427 of Chill STRUCT types and STRUCT values.
4428 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4430 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4431 struct2): New struct definitions and initializations to test
4432 simple Chill STRUCT types.
4434 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4436 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4437 the null byte at the end of strings.
4438 * gdb.t00/default.exp: Make show version insensitive to copyright
4440 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4441 to avoid dependencies on target char signedness.
4442 * gdb.t16/printcmds.exp: Update expected results for explicitly
4444 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4446 * gdb.t21/demangle.exp: Add many more patterns for template
4447 demangling, most of them being expected failures.
4448 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4449 string we are matching for, to match on the whole string.
4450 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4451 and fix a whole bunch that had incorrect expected output but were
4452 passing anyway because of the bug in "proc demangle".
4453 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4455 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4457 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4459 * gdb/testsuite: made modifications to testcases, etc., to allow
4460 them to work properly given the reorganization of deja-gnu and the
4461 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4463 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4465 * gdb/testsuite: Initial creation of gdb/testsuite.
4466 Migrated dejagnu testcases and support files for testing nm to
4467 gdb/testsuite from deja-gnu. These files were moved "as is"
4468 with no modifications. This migration is part of a major overhaul
4469 of dejagnu. The modifications to these testcases, etc., which
4470 will allow them to work with the new version of dejagnu will be
4471 made in a future update.
4477 version-control: never