1 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
5 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
8 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
11 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
13 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
14 remote dos host testing right.
16 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
18 * gdb.base/corefile.exp: remove some xfails.
20 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
22 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
23 have different timestamps.
25 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
27 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
28 gdb.base/default.exp: Replace "exec" with "executable".
30 1998-09-29 Keith Seitz <keiths@cygnus.com>
32 * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
33 that gdb knows _exactly_ which files belong to the user
34 and which come from libraries.
36 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
38 * gdb.base/default.exp: Change else if to elseif from previous
41 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
43 * gdb.base/default.exp: Add brace missing from previous delta.
45 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
47 * gdb.base/default.exp: Support test for info float for all
48 varieties of arm toolchain.
50 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
52 * gdb.trace/*.exp: remove "remote_download" command.
54 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
56 * gdb.trace/*.exp: remove -gdwarf from compile.
58 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
60 * gdb.trace/configure.in(AC_INIT): typo
61 * gdb.trace/configure: regenerated
63 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
65 * config/m68k-emc.exp: New file.
66 * lib/<emc-support.exp trace-support.exp}: New files.
67 * configure.in: add new test directory gdb.trace.
68 * gdb.trace/{configure configure.in Makefile.in}: New files.
69 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
70 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
71 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
72 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
73 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
74 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
75 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
77 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
79 * gdb.c++/classes.exp: Change all regular expressions to match
80 arbitrary combinations of newline/carriage-return, so that they
81 will work equally well on Unix and Windows.
82 * gdb.c++/inherit.exp: ditto.
83 * gdb.c++/virtfunc.exp: ditto.
85 1998-08-11 Dawn Perchik <dawn@cygnus.com>
87 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
90 Fri Jul 24 14:57:19 1998 Keith Seitz <keiths@cygnus.com>
92 * gdb.gdbtk/Makefile.in: Add new example program "stack".
93 * gdb.gdbtk/browser.test,browser.exp: Add browser window
95 * gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
99 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
101 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
102 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
103 to use a0-a3/d0-d3 as needed.
105 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
107 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
108 * gdb.disasm/am33.exp: Corresponding changes.
112 Tue Jul 14 16:11:11 1998 Keith Seitz <keiths@cygnus.com>
114 * configure.in: Fix sanitization start/end error.
115 * configure: Regenerate.
117 1998-07-11 Felix Lee <flee@cygnus.com>
119 * gdb.base/callfuncs.exp: add cmp10 test.
120 * gdb.base/callfuncs.c (cmp10): new function.
122 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
124 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
125 into two parts to get around a synchronization problem in expect.
128 Sun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>
130 * gdb.gdbtk/simple.c (main): Make main return an
131 int so compiler will stop complaining.
133 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
135 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
137 * configure.in: Add options for gdbtk testsuite.
139 * configure: Regenerate.
141 * gdb.gdbtk: New directory to hold gdbtk tests.
143 * gdb.gdbtk/console.{exp, test}: New console window tests.
146 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
148 * gdb.fortran/types.exp: Escape brackets in expect patterns
149 for test_float_literal_types_accepted tests.
150 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
154 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
156 * am33.exp: Just compile, do not link the testcase.
157 * am33.s: Add ".am33" pseudoop to force am33 mode.
160 1998-06-25 Felix Lee <flee@cygnus.com>
162 * gdb.base/setshow.exp: make sure $pc is sane.
164 * gdb.stabs/weird.exp: split expect patterns properly.
167 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
169 * gdb.disasm/am33.s: New disassembler testfile for the am33.
170 * gdb.disasm/am33.exp: Run it.
173 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
175 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
176 match processing (and eliminate spurious timeouts when running).
178 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
180 * gdb.base/signals.exp (test_handle_all_print): put back Mach
181 exception test, but conditionalize it on target [mach | gnu].
183 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
185 * gdb.base/overlays.exp: fixup compile line for linker script.
187 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
189 * gdb.fortran/types.exp: don't guess at float size.
191 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
193 * gdb.base/exprs.exp: delete test that depends on int size.
195 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
197 * config/sim.exp: Removed checks for target triplets.
198 (gdb_target_sim): Use gdb,target_sim_options.
200 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
202 * gdb.base/reread.exp: New file.
203 * gdb.base/reread1.c: New file.
204 * gdb.base/reread2.c: New file.
206 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
208 * config/sim.exp: Use 'target sim -sparclite' when running
211 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
213 * gdb.base/structs2.exp: New file.
214 * gdb.base/structs2.c: New file.
216 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
218 * gdb.asm/common.inc: New file.
219 * gdb.asm/d10v.inc: New file.
220 * asm-source.exp: Pass -I's to gas to find .inc files.
221 Update line numbers in expected output.
222 * asmsrc1.s: Rewrite.
223 * asmsrc2.s: Rewrite.
224 * configure.in: Create arch.inc symlink.
225 * configure: Regenerate.
226 * Makefile.in (distclean): Delete arch.inc.
228 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
230 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
231 (t_enum_value2): ditto
232 (t_enum_value3): ditto
234 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
236 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
237 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
239 Use gdb_test instead of send_gdb/gdb_expect sequences.
241 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
243 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
246 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
248 * gdb.base/branches.c: Code with lots of loops and
249 subroutines. Used to test gdbs ability to single step through PC
250 changes, especially to test mips-tdep.c:mips_next_pc
252 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
254 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
255 more rigorous EGCS C++ error checking.
257 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
259 * gdb.base/help.exp: Clean up `help set args' and `help show args'
261 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
262 function when asleep.
263 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
264 for i*86 Linux and SVR4 signal handling problems.
265 Remove linux xfail for `next to handler in signals_tests_1', fixed
266 by recent infrun.c change.
267 Limit backtrace to 10 frames to avoid timeout problems with infinite
269 Adjust expect pattern in `handle all print' test to match Apr 28 1997
272 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
274 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
275 for a newline from gdb before continuing.
276 (default_gdb_exit): Just look for y or n.
277 (gdb_test): Detect abnormal exit from GDB running on DOS; if
278 it does, fail the rests of the tests in the file.
280 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
282 * config/cygmon.exp: New file.
284 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
286 * gdb.base/list.exp: Fix problem with "list default lines around
287 main" test on remote targets.
289 * gdb.base/scope.exp: Fix problem with filelocal_bss before
290 run test on remote targets.
292 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
294 * gdb.asm: New directory.
295 * configure.in: Configure it.
296 * configure: Regenerate.
297 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
298 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
300 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
302 * config/mn10300-eval.exp: New file to support MN10300 eval board.
304 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
306 * gdb.base/overlays (several files): Merge the two overlay
307 managers into one. Change variables (foox, barx, bazx, grbxx)
308 back into ints but force them to load in their proper sections.
310 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
312 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
313 on-chip insn memory and IMAP1 to upper 128k.
314 (D10VCopy): Handle memory regions crossing 16k boundaries.
315 (D10VCopy): Transfer data in 32 bit chunks.
317 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
319 * gdb.base/overlays.c (main): Exit normally when result is
322 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
323 map. Include space for printf in .text segment.
325 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
326 updated d10v memory VMA/LMA map.
327 (D10VCopy): Call D10VTranslate.
329 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
331 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
333 * gdb.base/bar.c (barx, bar): Change variable to small array so
334 that it won't be put into the .sdata - small data -
335 section. Update reference.
336 * gdb.base/baz.c (bazx, baz): Ditto.
337 * gdb.base/foo.c (foox, foo): Ditto.
338 * gdb.base/grbx.c (grbxx, grbx): Ditto.
340 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
343 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
345 * gdb.base/overlays.exp: fix up and get working again.
346 Add tests for backtraces from an overlay function.
348 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
350 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
351 "calling function with watchpoint enabled".
353 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
355 * gdb.base/break.exp (test_next_with_recursion): Remove
356 gdb_suppress_tests for d10v-*-*.
357 * lib/gdb.exp (gdb_suppress_tests): Disable this function
358 pending review of whether it is useful or not.
360 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
362 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
364 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
366 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
367 * config/dve.exp: New file to support Densan boards.
369 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
371 * gdb.base/interrupt.exp: Document problem of simulators, signals,
374 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
376 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
379 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
381 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
383 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
386 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
387 target_sizeof_long and target_bigendian_p.
388 (structs_by_value, structs_by_reference): Check values according
389 to targets word size and endianess.
391 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
393 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
396 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
398 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
399 Update test of set args help to match source change.
401 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
403 * gdb.base/default.exp: Expect help system output to be in
405 * gdb.base/help.exp: Ditto.
407 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
409 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
410 "i*86-pc-linux-gnu*".
411 * gdb.base/interrupt.exp: Ditto.
412 * gdb.base/corefile.exp: Ditto.
414 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
415 define vxworks when building the testcase.
417 * gdb.base/ptype.exp: Fix testnames to be unique.
418 * gdb.base/radix.exp: Ditto.
419 * gdb.base/term.exp: Ditto.
420 * gdb.base/whatis.exp: Ditto.
421 * gdb.c++/classes.exp: Ditto.
423 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
425 * gdb.base/callfuncs.exp: Fix indentation.
427 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
428 suppress_flag has been set.
429 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
432 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
434 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
437 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
438 set_debug_traps() and breakpoint().
439 * gdb.c++/misc.cc (main): Ditto.
440 * gdb.c++/templates.cc (main): Ditto.
441 * gdb.c++/virtfunc.cc (main): Ditto.
443 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
445 * lib/gdb.exp(gdb_step_for_stub): New function.
446 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
447 exists, reload the executable and do a "continue" instead of
449 (runto_main): Use gdb_step_for_stub.
451 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
452 tests to have unique names.
453 * gdb.base/callfuncs.exp: Ditto.
454 * gdb.base/commands.exp: Ditto.
455 * gdb.base/default.exp: Ditto.
456 * gdb.base/help.exp: Ditto.
457 * gdb.base/list.exp: Ditto.
458 * gdb.base/opaque.exp: Ditto.
459 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
462 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
463 * gdb.c++/cplusfuncs.cc: Ditto.
464 * gdb.c++/virtfunc.cc: Ditto.
466 * config/monitor.exp: Keep track of the last file we saw, rather
467 than trying to get the info from gdb.
469 * gdb.fortran/types.exp: Move comment to previous line.
471 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
473 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
476 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
479 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
480 string from GDB when it connects.
482 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
484 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
486 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
487 if we can't get a debug format from GDB (we may be testing an
488 older GDB). Use a 10 second timeout when checking for the format.
490 * gdb.stabs/weird.exp: Fix quoting.
492 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
494 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
496 * config/arm-ice.exp: New file.
498 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
500 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
501 until it has been modified to work with the new testsuite.
503 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
504 testcase won't compile, cause all of the testcases in the file to
507 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
508 (gdb_clear_suppressed): New procedure.
509 (gdb_stop_suppressing_tests): Only clear suppress_flag if
510 it contains a positive value.
512 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
514 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
516 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
518 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
520 * lib/gdb.exp (setup_xfail_format): New function.
521 (get_debug_format): New function to get debug format.
522 (debug_format): New global variable to hold last value set
524 * gdb.base/list.exp: Call get_debug_format and expect some
525 tests to fail for DWARF 1 and COFF formats.
526 * gdb.c++/ptype.exp: Ditto.
527 * gdb.c++/classes.exp: Ditto.
528 * gdb.c++/cplusfuncs.exp: Ditto.
529 * gdb.c++/inherit.exp: Ditto.
530 * gdb.c++/templates.exp: Ditto.
531 * gdb.c++/virtfunc.exp: Ditto.
533 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
535 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
536 host doesn't have a currently-open connection.
538 * config/sparclet.exp: Cleanups and fixes to make it generic for
539 any gdb stub target. Handle cases where gdb doesn't respond when
540 interrupted in a sane fashion.
542 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
543 same thing in a totally different way.
545 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
547 (gdb_start): We set the global gdb_prompt variable in
548 default_gdb_init now.
550 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
552 * gdb.base/printcmds.exp: Fix "check for floating addition"
553 regexp to accept results within approx +/- .01 of exact value.
554 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
556 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
558 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
560 (gdb_expect): Add optional timeout parameter, and add timeout
561 value to various calls.
562 (gdb_suppress_tests): Only give one warning message per group.
564 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
566 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
567 global variables. Handle getting a value for $timeout more
570 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
572 * lib/gdb.exp: Close connection to remote host if gdb doesn't
574 (default_gdb_init): New procedure; allow gdb_init to be overridden
575 by a target configuration file.
576 (gdb_expect): Pass the timeout to remote_expect.
578 * config/monitor.exp(gdb_load): Fix typo in regexp.
580 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
582 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
584 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
586 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
587 here. Call gdb_target_exec before rebooting the target, to make
588 sure the connection to the target is closed.
589 (gdb_load): Pass the name of the executable to gdb_target_monitor.
590 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
591 Also detect "Timeout reading from remote" error.
593 * config/gdbserver.exp: Pass the executable being loaded to
594 gdb_target_monitor. Don't call gdb_file_cmd here; let
595 gdb_target_monitor do it.
597 * gdb.disasm/hppa.exp: Don't use exec_output.
599 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
601 * gdb.base/list.exp: If we're debugging a non-native target,
602 try to set the pc register to point to the start of the
603 program before doing the first list command.
605 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
606 test_calls after restarting.
608 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
611 * gdb.base/watchpoint.exp: Fix typo.
613 * gdb.base/setshow.exp: Check for use_gdb_stub.
615 * gdb.base/break.exp: Fix continue until exit test for the gdb
617 * gdb.base/langs.exp: Ditto.
619 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
620 gdb_load_offset. If we weren't given a file to load, figure out
621 what the current file is and use it.
623 * config/i386-bozo.exp: New file.
625 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
627 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
630 * config/proelf.exp: New entry.
632 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
634 * lib/gdb.exp: Remove spurious .* patterns at the beginning
637 * gdb.base/watchpoint.exp: Don't run the test_stepping
638 tests if gdb can't call functions on the target.
640 * gdb.base/setshow.exp: Don't run the set prompt tests if
641 the board has gdb_prompt set.
643 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
645 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
646 * gdb.base/commands.exp: Likewise.
647 * gdb.base/setshow.exp: Likewise.
649 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
651 * config/monitor.exp(gdb_start): Look for gdb_prompt target
654 * config/i960.exp: New file.
656 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
658 * gdb.base/funcargs.exp: Check for gdb,short_int target
659 feature instead of looking for explicit target triplets.
661 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
663 * gdb.base/printcmds.exp: add a couple more tests a la
664 "p 123DEADBEEF", to check parse_number.
665 * top.c: change "to enable to enable" to "to enable" in a couple
668 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
670 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
673 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
675 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
676 where the test executable is run with explicit args.
677 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
679 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
681 * gdb.base/run.c: Use FAKEARGV to build test executable that
682 does not require a command line arg, since most simulators
683 don't currently support passing such an arg into the simulated
685 * gdb.base/commands.exp: Change tests to insert the proper
686 value as the arg to the first recursive factorial call. Change
687 compilation line to define FAKEARGV at compile time.
689 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
691 * gdb.base/recurse.exp: Enable these tests for the mn10300.
692 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
693 function with watchpoint enabled" test.
695 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
697 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
698 Don't call gdb_test when the command doesn't return to a gdb prompt.
700 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
701 "Tests restarted" messages.
703 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
705 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
707 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
709 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
710 for INFO SYMBOL; add help tests for OVERLAY commands.
711 * gdb.base/default.exp: add tests for INFO SYMBOL command;
712 add tests for OVERLAY commands
713 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
714 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
715 * gdb.base/sigall.c: add usestubs code frag
716 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
718 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
720 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
722 (gdb_stop_suppressing_tests): Note that tests have restarted.
724 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
726 * config/h8300.exp: New file.
728 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
730 * gdb.base/setshow.exp: Check for the existence of a
731 feature, not its value.
733 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
735 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
737 * gdb.base/scope.exp: It's now init0(), not init().
739 * gdb.base/scope0.c: For now, change init() to be init0().
741 * config/monitor.exp: Use gdb_serial in preference to serial
744 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
745 and it's not already set.
747 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
749 * gdb.base/setshow.exp: Only test the run command if the target
750 isn't using a stub and if it supports argument passing.
752 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
754 * config/udi.exp(gdb_start): Make sure UDICONF is set
755 properly before starting gdb.
757 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
759 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
760 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
761 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
763 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
765 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
766 specialized code to reboot the board, use remote_reboot instead.
768 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
770 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
772 * config/monitor.exp: Make sure we disconnect from the target.
773 Also, try a reboot/reload cycle instead of failing if the
776 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
778 * gdb.base/default.exp: Don't set match_max.
779 * gdb.base/help.exp: Ditto.
780 * gdb.base/list.exp: Ditto.
781 * gdb.base/signals.exp: Ditto.
783 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
784 set, use remote_ld to download the testcase instead of
787 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
789 * config/vr5000.exp: New file.
791 * config/monitor.exp(gdb_target_monitor): Add pattern for
792 "Ending remote" to detect errors in connecting.
794 * gdb.base/setshow.exp: Add .* within auto language test.
796 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
799 * config/monitor.exp(gdb_load): Check for a failure when loading,
800 and reboot the board if necessary.
802 * gdb.base/setvar.exp(test_set): Handle multiple prints within
803 a set of tests. Remove print.* from the patterns being checked.
805 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
807 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
808 refer to gdb_spawn_id.
810 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
812 * config/sparclet.exp: Ditto.
813 * config/sparclet-old.exp: Ditto.
814 * config/slite.exp: Ditto.
815 * config/sim.exp: Ditto.
816 * gdb.base/funcargs.exp: Ditto.
818 * lib/gdb.exp:Remove references to gdb_spawn_id.
819 (gdb_expect): Move to remote.exp.
821 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
823 * config/monitor.exp: Detect the "Couldn't establish connection"
826 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
828 * gdb.base/bitfields.exp: Use runto instead of explicit
829 gdb_run_cmd/gdb_expect sequences.
831 * gdb.base/break.exp(text_next_with_recursion): Add match for
834 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
835 We also need to handle the "A program is being debugged already"
836 prompt from gdb. Use gdb_test to set the baud rate.
838 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
839 to 20000. Really. I mean it.
841 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
843 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
844 fails. If suppress_flag is set, skip perror message about not
845 being able to send to GDB.
846 (send_gdb): If suppress_flag is set, don't try to send commands to
848 (gdb_expect): If suppress_flag is set, always fail immediately.
849 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
850 (gdb_init): Call gdb_stop_suppressing_tests.
851 (default_gdb_exit): Ditto.
852 (default_gdb_start): Ditto.
854 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
855 gdb_stop_suppressing_tests as appropriate.
856 * gdb.base/break.exp: Ditto.
857 * gdb.base/callfuncs.exp: Ditto.
858 * gdb.base/commands.exp: Ditto.
859 * gdb.base/exprs.exp: Ditto.
860 * gdb.base/funcargs.exp: Ditto.
861 * gdb.base/list.exp: Ditto.
862 * gdb.base/recurse.exp: Ditto.
863 * gdb.base/scope.exp: Ditto.
864 * gdb.base/structs.exp: Ditto.
865 * gdb.c++/inherit.exp: Ditto.
867 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
869 * config/vr4300.exp: New file.
871 * gdb.*/*.exp: Call gdb_expect instead of expect.
873 * lib/gdb.exp(gdb_expect): New function.
875 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
877 * lib/gdb.exp(gdb_init): New function.
879 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
880 for each individual variable set.
882 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
885 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
887 * gdb.base/scope.exp: Use gdb_test.
889 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
890 aborting; the testsuite driver will do that for us (see
891 gdb_finish). Also, use gdb_test in a few more places.
893 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
895 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
897 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
899 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
900 and "add_tests" are not at the same address.
902 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
904 * gdb.base/ptype.exp: Use gdb_test.
906 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
908 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
909 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
910 left in. No longer expect them to fail.
912 * gdb.stabs/*.mt; Deleted, no longer used.
913 * gdb.stabs/configure.in: Remove references to target makefile
915 * gdb.stabs/configure: Rebuilt.
917 * gdb.disasm/*.mt: Deleted, no longer used.
918 * gdb.disasm/configure.in: Remove references to target makefile
919 frags. Use "sh3.s" as the unique filename for this directory.
920 * gdb.disasm/configure: Rebuilt.
922 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
923 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
924 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
926 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
928 * config/udi.exp: Use mondfe,name instead of remote_host.
930 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
932 * gdb.base/watchpoint.exp: Don't expect a failure when calling
933 a function with a watchpoint enabled on the mn10200.
935 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
936 before trying to create it!
938 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
940 * config/vx.exp: Use hostname instead of netport.
942 * config/vxworks.exp: New file.
944 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
946 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
947 gdb before assuming everything worked. Send a ^C if a timeout
950 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
951 $gdb_spawn_id directly.
952 (gdb_run_cmd): Try _start as well as start. Use the target feature
953 gdb,start_symbol as the symbol to start from when jumping.
955 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
957 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
960 * gdb.base/recurse.exp: Relax final value test for 'b' so that
961 it doesn't lose for 16bit integer systems.
963 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
965 * gdb.fortran/types.exp: If the target doesn't support "double"
966 data types, then expect "real" types to only be 4 bytes.
968 * gdb.c++/virtfunc.exp: Expect failure for virtual function
969 call tests if the target doesn't support inferior function calls.
971 * gdb.base/printcmds.exp: Allow minor deviation in FP values
974 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
976 * gdb.base/help.exp: Disable "help set", "help show", and
977 "help support". Simplify regexp for "help stack".
979 * gdb.base/default.exp: Set match_max to 5000 and the timeout
980 to 60 seconds. Temporarily set match_max to 15000 around the
983 * gdb.base/nodebug.exp: Don't try to do an inferior function
984 call if the target doesn't support them.
985 * gdb.base/printcmds.exp: Likewise.
986 * gdb.base/setvar.exp: Likewise.
987 * gdb.base/structs.exp: Likewise.
988 * gdb.c++/templates.exp: Likewise.
989 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
991 * gdb.base/recurse.exp: Enable for the mn10200.
993 * configure.in: Do configure gdb.stabs directory for *-*-elf
995 * configure: Rebuilt.
997 * gdb.base/break.exp: Check for gdb,noresults before testing
998 exit status and/or results from the target.
999 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
1000 * lib/gdb.exp: Remove old (now bogus) initialization of
1001 noinferior, noargs, noresults and nosignals.
1003 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
1005 * config/sh.exp: New file.
1007 * config/slite.exp: Try to connect multiple times to the board
1008 before rebooting. Only send a "monitor run" if need_monitor_run
1011 * gdb.base/break.exp: Don't do the "stub continue" test if
1012 the target has gdb_stub set.
1014 * gdb.base/callfuncs.exp: Increase the timeout.
1016 * gdb.base/interrupt.exp: Don't even try to compile the testcase
1017 if the target has gdb,noinferiorio set.
1019 * gdb.base/list.exp: Increase match_max to 10000 characters.
1021 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
1023 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
1026 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
1028 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
1030 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
1031 trying to delete the copy of gdb. Catch the file delete so we
1032 don't die if the delete fails; also, the file should be copied to
1033 the host, not to the build.
1035 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
1037 * lib/gdb.exp(gdb_test): Surround the result pattern with
1038 parenthesis in case it contains multiple regexps separated
1041 * gdb.base/watchpoint.exp: Use gdb_test.
1042 * gdb.base/default.exp: Ditto.
1044 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
1046 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
1048 * gdb.base/scope.exp: Use gdb_test.
1049 * gdb.c++/classes.exp: Ditto.
1050 * gdb.c++/inherit.exp: Ditto.
1052 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
1054 * gdb.base/crossload.exp: Don't use execute_anywhere, use
1055 remote_exec instead.
1056 * gdb.base/corefile.exp: Don't be ridiculous.
1057 * gdb.base/*.c: Add missing stub invocations.
1059 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
1061 * config/slite.exp: Miscellaneous fixes.
1063 * lib/gdb.exp: Fix runto.
1065 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
1068 * gdb.base/watchpoint.exp: Fix regexp.
1070 * lib/gdb.exp(default_gdb_exit): Add a catch to the
1071 close and wait commands, as the descriptor may now be
1072 invalid. Always call "remote_close host".
1074 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
1076 Major rewrite for testsuite revision.
1078 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
1079 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
1080 instead of relying on spawn_id to always contain a valid
1082 (get_compiler_info): New procedure to build the ${binfile}.ci
1083 file, instead of replicating this in N different places.
1084 (gdb_compile): New procedure.
1086 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
1087 appropriate arguments) instead of compile. Use gdb_test in a lot
1088 more places. Use send_gdb instead of send. Always run gdb_start
1089 at the start of a testcase, as this is no longer done magically.
1091 config/*-gdb.exp: Rename without the -gdb suffix.
1093 config/mips.exp: Use remote_close instead of exit_remote_shell.
1094 config/monitor.exp: Use target_info instead of looking at
1096 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
1098 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1100 * gdb.c++/templates.exp (test_ptype_of_templates),
1101 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
1102 Update expect patterns for destructors and assignment operators
1103 to match corresponding c-typeprint.c changes.
1104 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
1105 to destructor breakpoint test, GDB should be able to set the
1106 destructor breakpoint without specifying arguments.
1108 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
1110 * gdb.threads/pthreads.exp: Change result for failure to compile due
1111 to lack of pthreads runtime support from an error to simply an
1112 unsupported test, per dejagnu standards.
1114 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1116 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
1117 where GDB exits to reduce pattern match time.
1118 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
1120 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
1122 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1124 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
1125 * gdb.base/default.exp: ditto.
1126 * gdb.base/nodebug.exp: ditto.
1127 * gdb.base/printcmds.exp: ditto.
1128 * gdb.base/ptype.exp: ditto.
1129 * gdb.base/setvar.exp: ditto.
1130 * gdb.base/structs.exp: ditto.
1131 * gdb.base/setshow.c: Guard against uninitialized values of argc.
1133 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
1135 * configure, */configure: Rebuild with autoconf 2.12.
1137 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
1139 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
1140 use new i*86-pc-linux*-gnu quads.
1141 * gdb.base/corefile.exp: Ditto.
1142 * gdb.base/signals.exp: Ditto.
1143 * gdb.base/sigall.exp: Ditto.
1144 * gdb.base/interrupt.exp: Ditto.
1146 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
1147 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
1150 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
1151 linux. This allows the test case to at least compile on latest
1152 linux, but still not run due to missing the threads runtime library.
1154 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1156 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
1157 directory to search gdb directory. Accept and step over conditional
1158 stack alignment code. Consume $prompt in failure cases.
1159 Reset timeout to $oldtimeout instead of some arbitrary value.
1160 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
1161 timeout problems with infinite stack backtraces.
1162 * gdb.base/ptype.exp (ptype struct link, union tu_link):
1163 Accept function parameters for linkfunc member.
1165 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
1167 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
1168 (CXXFLAGS): Remove, unreferenced.
1169 (B_OPTIONS): Add for -B options and add code to initialize with
1170 previous -B options and also add -B option to pick up cross compiled
1172 (TARGET_INCLUDES): Add for -I options and add code to initialize when
1173 doing cross compiles.
1174 (target_alias): Declare global.
1175 (xgcc): Set variable to full path of gcc in build tree. Use findfile
1176 to verify that gcc exists in build tree, and if so set CC to that
1177 gcc and to use B_OPTIONS and TARGET_INCLUDES.
1179 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
1181 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
1182 ptype test for anonymous union. Fixup testcase to match
1183 current gcc debug output.
1185 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
1187 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
1188 force argument to an unsigned long type.
1190 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
1192 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
1193 tests and anonymous union print/ptype tests.
1194 * gdb.base/list.exp (test_forward-search): Increase timeout by
1195 5 minutes for the "search extremely long line" case.
1196 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
1197 completely optional and that the pass/fail messages use the command as
1198 the message if that third arg is a null string.
1199 (gdb_test_exact): Arrange that a null string pattern means match a
1200 null string output rather than any output, which might include random
1202 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
1204 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
1205 always failing and failure is now exposed by gdb.exp changes.
1207 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
1209 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
1210 weren't being noted.
1212 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1214 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
1215 * gdb.stabs/weird.exp: Remove v_comb xfails.
1217 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1219 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
1220 list.exp scope.exp watchpoint.exp]
1221 Make all timeout error msgs explicitly say "(timeout)".
1223 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1225 * config/monitor.exp: Increase download timeout to 1000 seconds.
1227 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1229 * config/m32r.exp: Increase timeout to 120 seconds.
1231 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
1233 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
1234 and accept older ordering as obsolescent gcc or gdb.
1235 * gdb.c++/templates.exp: Ditto.
1236 * gdb.c++/virtfunc.exp: Ditto.
1238 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
1240 * gdb.base/coremaker.c: Add code to mmap some data so we
1241 can check that it ends up in the core file.
1242 * gdb.base/corefile.exp: Add test to read mmapped data
1245 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1247 * config/m32r.exp: New file.
1249 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
1251 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
1252 that cflags can contains -gstabs, and work correctly for other tests.
1254 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1256 * gdb.base/setshow.exp: New file, tests show and set.
1257 * gdb.base/setshow.c: New file, tests show and set.
1258 * gdb.base/help.exp: Add test for help set|show annotate.
1259 * gdb.base/default.exp: Add test for set|show annotate.
1261 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
1263 * testsuite/gdb.base/break.exp: Make backtrace from factorial
1265 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
1268 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
1270 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
1271 and width commands. This is done elsewhere.
1272 * (gdb_start): Don't call gdb_start_sim here. That's already
1273 done in gdb_load. This fixes lots of failures in default.exp.
1275 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
1277 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1278 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
1279 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
1280 in the same we we treat other failures (since it may be an expected
1281 condition), rather than as an error.
1282 * gdb.base/signals.exp (test_handle_all_print): Revert back to
1285 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
1287 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
1288 (distclean maintainer-clean realclean): No need to remove files
1289 twice. Nuke the duplicates.
1290 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
1291 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
1292 Remove config.h along with other config files.
1294 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
1296 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
1297 "p func1 ()" and note that rests of tests are skipped.
1298 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
1299 setup_xfails for "print func2::coremaker_local".
1300 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
1301 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
1302 affected by the previous run test.
1303 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
1304 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
1305 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
1306 "pass int powerset tuple" and "pass modeless int powerset tuple".
1307 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
1308 "real write 4" and "real write 8".
1309 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
1310 setup_xfails for "print vs1 after tuple assign 2",
1311 "print \$i after tuple assign 2", and
1312 "print vs2 after tuple assign 2".
1313 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
1314 meaningful error message and return -1 so the caller can
1315 suppress further tests and avoid a cascade of errors.
1317 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
1319 * gdb.base/a1-selftest.exp: Tweak tests to account for new
1320 format for printing version.
1321 * gdb.base/default.exp: Ditto.
1322 * gdb.base/interrupt.exp: Fix problem with cascade of
1323 errors if child process dies while calling a function.
1325 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
1327 * Makefile.in (VPATH): Add
1328 * Makefile.in (Makefile, config.status): Fix rules so things get
1329 remade when necessary.
1331 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
1333 * Makefile.in (just-check): Add path to sibling expect dir
1334 to environment variable specified by RPATH_ENVVAR.
1336 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
1338 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
1339 (just-check): Add shared library paths for libstdc++, tk,
1340 tcl, bfd, and opcodes to the environment variable specified
1342 * configure.in: Add support to recognize --enable-shared flag
1343 and generate correct value for RPATH_ENVVAR.
1344 * configure: Regenerated with autoconf.
1346 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
1348 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
1349 include all osf versions.
1350 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
1351 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
1352 when target is linux. When failing to build pthreads test
1353 executable, give more meaningful message.
1354 * gdb.threads/pthreads.c: Hpux also uses old definition of second
1355 arg for pthread_create.
1357 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
1359 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
1360 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
1361 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
1362 and -lpthreads (everybody else).
1363 (test_startup): Fail gracefully if threads are not supported.
1364 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
1365 "p/c array_index("abcdef",2)" when not gcc compiled.
1366 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
1367 "print func2::coremaker_local" when not gcc compiled.
1368 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
1369 "ptype on opaque struct tagname (statically)",
1370 "ptype on opaque struct tagname (dynamically) 1", and
1371 "ptype on opaque struct tagname (dynamically) 2"
1372 for not compiled with gcc.
1373 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
1374 backtrace when compiled with gcc.
1375 * lib/gdb.exp (runto_main): Return result of "runto main" rather
1376 than always return success.
1378 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
1380 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
1382 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
1384 * gdb.base/structs.exp: Undo last change.
1386 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
1388 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
1389 encapsulate all the steps/nexts done during self test, starting
1390 at main, and makes them less sensitive to optimization issues.
1391 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
1392 signal handler" test.
1393 * gdb.threads/pthreads.exp: Only run this for native configs.
1394 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
1395 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
1397 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
1398 for "runto test_calls(void)" test.
1400 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
1402 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
1403 and don't expect address info in breakpoint confirmations.
1405 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
1407 * gdb.base/list.exp (test_forward_search): Increase timeout
1408 temporarily by 60 seconds for searching extremely long line,
1409 and then reset to old value when done. Increase expect input
1412 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
1414 * gdb.base/list.exp (test_forward_search): Fix to handle very
1415 long source line without overflowing expect's input buffer.
1417 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1419 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
1422 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
1425 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
1428 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
1431 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
1433 * configure.in (configdirs): Add gdb.threads.
1434 * configure: Regenerated with autoconf.
1435 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
1436 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
1437 * gdb.threads/configure: New, generated with autoconf.
1439 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
1441 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
1443 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
1445 * gdb.base/signals.exp (test_handle_all_print): Test separately for
1446 each signal's status in the output of "handle all print".
1447 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
1448 the \r\n sequence that immediately precedes the gdb prompt.
1449 * gdb.base/a1-selftest.exp: Save original timeout and restore
1452 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
1454 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
1457 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1459 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1461 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
1463 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
1464 timeout by 60 seconds.
1466 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
1468 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
1469 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
1472 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
1474 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
1475 gdb initialization, also report how long dejagnu waited. Restore
1476 old timeout before doing error return. Temporarily increase timeout
1477 by 3 minutes to allow for slow startups over heavy NFS use.
1479 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
1481 * lib/gdb.exp: Report timeout value for verbosity level 2.
1482 * config/gdbserver.exp: Ditto.
1483 * config/hppro.exp: Ditto.
1484 * config/mips-gdb.exp: Ditto.
1485 * config/monitor.exp: Ditto.
1486 * config/netware.exp: Ditto.
1487 * config/sim-gdb.exp: Ditto.
1488 * config/slite-gdb.exp: Ditto.
1489 * config/udi-gdb.exp: Ditto.
1490 * config/unix-gdb.exp: Ditto.
1491 * config/vx-gdb.exp: Ditto.
1492 * gdb.base/a1-selftest.exp: Ditto.
1493 * gdb.base/a2-run.exp: Ditto.
1494 * gdb.base/break.exp: Ditto.
1495 * gdb.base/corefile.exp: Ditto.
1496 * gdb.base/list.exp: Ditto.
1497 * gdb.base/recurse.exp: Ditto.
1498 * gdb.base/scope.exp: Ditto.
1499 * gdb.base/signals.exp: Ditto.
1501 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1503 * gdb.threads/Makefile.in (docdir): Removed.
1505 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1507 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1508 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
1510 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
1511 autoconf 2.5 or higher.
1512 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1514 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
1516 * configure: Regenerated.
1517 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1518 avoid name clashes with SunOS headers.
1520 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
1522 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
1524 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
1526 * gdb.base/callfuncs.exp: Finish last change -- make sure the
1527 prototype information ends up in the compiler info file.
1529 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
1531 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
1532 attempting to regenerate it. Eliminate use of a temporary file
1533 and just generate the info file directly. Source it immediately,
1534 for consistency of use.
1535 * gdb.base/corefile.exp: Ditto
1536 * gdb.base/exprs.exp: Ditto.
1537 * gdb.base/funcargs.exp: Ditto.
1538 * gdb.base/langs.exp: Ditto.
1539 * gdb.base/list.exp: Ditto.
1540 * gdb.base/mips_pro.exp: Ditto.
1541 * gdb.base/nodebug.exp: Ditto.
1542 * gdb.base/opaque.exp: Ditto.
1543 * gdb.base/ptype.exp: Ditto.
1544 * gdb.base/scope.exp: Ditto.
1545 * gdb.base/setvar.exp: Ditto.
1546 * gdb.base/signals.exp: Ditto.
1547 * gdb.base/whatis.exp: Ditto.
1548 * gdb.c++/templates.exp: Ditto.
1549 * gdb.c++/virtfunc.exp: Ditto.
1550 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
1551 whether or not to add -lstdc++ to the compile command line args.
1553 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1555 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
1556 it got fixed by the recent lookup_minimal_symbol_by_pc change.
1557 Increase timeout, a lot of single stepping might be needed if the
1558 target has no hardware watchpoints.
1560 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
1562 * gdb.base/break.exp: Ignore compiler warnings when compiling
1564 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
1565 * gdb.base/default.exp: Add h8300 xfails. Handle messages
1567 * gdb.base/exprs.exp: Add h8300 xfails.
1568 * gdb.base/funcargs.exp: Likewise.
1569 * gdb.base/nodebug.exp: Likewise.
1570 * gdb.base/printcmds.exp: Likewise.
1571 * gdb.base/ptype.exp: Likewise.
1572 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1574 * gdb.base/return.exp: Handle float/double precision problems
1576 * gdb.base/funcargs.c: Explicitly make last constant argument to
1577 call_after_alloca_subr an unsigned long type.
1578 * gdb.base/return.c: Include stdio.h.
1580 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1582 * config/abug.exp: New file for the older Motorola Bug monitor
1583 that runs on the mvme13x series VME boards.
1584 * config/monitor.exp: Use the new config array for target settings
1587 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1589 * sim-gdb.exp: Make the SH simulator allocate less space when
1592 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1594 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1597 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1599 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1600 "rs6000-*-*" for "list function in include file" when gcc compiled.
1601 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1602 for "p ctable1[120]".
1603 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1604 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1605 Remove setup_xfail for "rs6000-*-*" for
1606 "print 'scope0.c'::filelocal before run".
1607 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1608 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1609 since some compilers don't allow both options to be given
1610 on the same command line. Create object file and move it.
1612 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
1614 * gdb.base/corefile.exp: Always regenerate the core file, since
1615 we always regenerate the coremaker program. Detect special case
1616 where registers cannot be read from core file.
1618 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
1620 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1621 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1622 * gdb.c++/templates.exp: Only match on basename of file since
1623 some formats like xcoff don't encode directory information.
1624 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1625 and rs6000 AIX xcoff targets.
1626 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1627 * configure: Regenerate.
1628 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1629 here, rather than in distclean.
1631 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
1633 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1634 defined, and use it to compile the test case with -O2. The
1635 native compilation still uses no optimization.
1636 * gdb.base/mips_pro.c: Remove inline assembly code since
1637 it is compiled PIC by default, which results in assembler
1638 warnings that make the testsuite think the compilation
1641 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1643 * gdb.c++/misc.exp: Add note to message for
1644 "print s.a for foo struct" that this is a known gcc 2.7.2
1647 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
1649 * gdb.base/break.exp: Fix pattern for matching "Delete all
1650 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1651 setup_xfail for deleting all breakpoints test. Fix various
1652 timeout messages to include "(timeout)".
1653 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1654 for "p t_float_values2(3.14159,float_val2)".
1655 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1656 for "continue to call2g" when gcc compiled.
1657 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1658 "up to foo in langs.exp", "show language at foo in langs.exp",
1659 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1660 and "show language at fsub in langs.exp".
1661 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1662 "list line 1 in include file", "list message for lines past EOF",
1663 "list function in include file", "list list0.h:foo", and
1664 "list filename:function; nonexistant function".
1665 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1666 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1667 and "ptype t_char_array" to be for native cc only.
1669 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
1671 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1672 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1673 "print func2::coremaker_local", and "backtrace in corefile.exp".
1675 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
1677 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1678 "bt in signals.exp". This problem only appears when running
1679 the testsuite, and then only intermittently.
1681 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
1683 * gdb.base/return.exp (return_tests): Differentiate between
1684 two tests of continuing.
1686 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1688 * */Makefile.in (maintainer-clean): Remove config.log.
1689 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1690 * gdb.c++/Makefile.in (PROGS): Add inherit.
1691 (clean): Remove *.ci.
1693 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
1695 * gdb.c++/misc.cc: Add test code from Mike Stump.
1696 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1698 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1700 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1701 to "alpha-*-osf2*" and add comment.
1702 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1703 setup_xfail for "step over execarg initialization" and
1704 "step over corearg initialization".
1705 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1706 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1707 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1708 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1709 "print func2::coremaker_local", and "backtrace in corefile.exp".
1710 * gdb.base/signals.exp: Build and source signals.ci.
1711 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1713 * lib/gdb.exp: Move verbose statements outside conditionals.
1715 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1717 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1718 Feb 3 procfs.c change.
1720 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1722 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1724 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1726 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1727 from dejagnu's apparent default of 10 seconds, which gives random
1728 results when running the tests over NFS on moderately loaded systems.
1729 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1731 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1733 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1734 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1737 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1739 * configure.in (CY_AC_PATH_TCLH): Remove.
1740 * configure: Regenerate.
1742 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1744 * gdb.c++/Makefile.in (clean): Add missing '{'.
1746 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1748 * lib/gdb.exp: Provide a default value for noinferior.
1750 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1753 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1755 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1756 the executable, not the .o to run the tests from.
1758 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1760 * gdb.base/break.exp: Don't test for program exit or exit status
1761 if $noresults if nonzero.
1762 * gdb.base/langs.exp: Likewise.
1763 * gdb.base/watchpoint.exp: Likewise.
1765 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1766 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1767 trying to compile the testcase.
1769 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1771 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1772 * gdb.base/signals.exp (continue to handler): Likewise.
1774 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1776 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1778 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1780 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1782 * gdb.base/corefile.exp: Recognize "not found" as failure
1783 when trying to determine if a core file was generated.
1784 If no core file was generate the first time, try again without
1785 the ulimit -c to work around braindamaged shells.
1787 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1789 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1790 [] tests with "test" and enclose string in quotes.
1791 * gdb.stabs/configure: Rebuild
1793 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1795 Changes in sync with expect:
1796 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1797 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1798 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1799 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1800 argument to AC_REQUIRE.
1801 * configure: Regenerated.
1803 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1805 * gdb.base/corefile.exp: When generating a core, discard any
1806 error messages about ulimit not found and the "core dumped"
1807 message from the shell that runs the coredumper.
1809 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1811 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1813 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1814 which sed script to run. Expect failure for v_comb test
1817 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1819 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1820 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1822 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1824 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1825 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1826 "sparc-sun-solaris*" xfails for "p v_comb".
1827 * lib/gdb.exp (default_gdb_start): Fix typo.
1828 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1829 messages to not include the full program name that caused
1830 the core dump since some systems (such as solaris) apparently
1831 truncate this path to about 80 characters.
1832 When generating a core file first try increasing the core file
1833 size limit to unlimited since some systems may default it to
1834 zero, and it is harmless to try it. Move the test for failing
1835 to generate a core file to where it will actually get executed.
1836 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1837 new gdb result from g++ debug info improvements and make old
1838 pattern obsolescent. Also account for size_t differences
1839 (may be int or long).
1840 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1841 initialization before function call is placed in the delay slot
1842 and thus appears to be skipped over by commands such as "next".
1844 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1846 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1848 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1850 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1851 input source file; fix code to compile test to deal with this
1853 * gdb.c++/*.exp: Likewise.
1855 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1857 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1858 "bt in signals.exp".
1860 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1862 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1863 "step over execarg initialization" and
1864 "step over corearg initialization".
1866 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1868 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1869 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1871 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1873 From Rob Savoye (rob@poseidon.cygnus.com)
1874 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1875 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1876 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1877 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1878 configure.in}: Major reworking for autoconfig.
1879 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1880 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1882 * config/unix-gdb.exp: Make GDB global.
1883 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1884 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1885 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1886 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1887 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1888 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1889 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1890 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1891 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1892 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1893 pr-8136.exp, result.exp, string.exp, tuples.exp},
1894 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1895 to returns as necessary, arrange for test to compile own testcase
1897 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1899 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1901 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1902 clear_xfail at end of test which might not call either pass or fail.
1903 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1904 "backtrace through signal handler".
1906 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1908 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1909 continuing from a job control stop signal.
1910 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1912 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1914 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1915 * gdb.base/corefile.exp: Likewise.
1916 * gdb.base/funcargs.exp: Likewise.
1918 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1920 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1921 * config/monitor.exp: Add support for setting baud rate.
1923 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1925 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1926 i*86-*-linux* xfails for "backtrace through signal handler".
1927 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1928 "print func2::coremaker_local".
1929 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1930 alpha-dec-osf2* xfail for
1931 "delete all breakpoints when none".
1933 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1935 * gdb.base/break.exp: Change test that deletes all breakpoints
1936 when no user breakpoints are installed. A post 4.15 change
1937 causes gdb to no longer prompt in this case.
1939 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1941 * gdb.base/return.exp (return_tests): Change xfail for test
1942 "correct value returned double test" to stop xfailing at
1943 Solaris 2.5. Apparently the bug has been fixed.
1945 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1947 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1948 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1950 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1952 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1953 * gdb.disasm/hppa.s: Corresponding changes.
1955 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1957 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1959 * config/mt-hpux: Deleted.
1961 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1963 * Many files: When warning about suppressed tests due to a
1964 nonexistant test binary, avoid incrementing the warning count.
1966 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1968 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1970 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1972 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1973 "sparc-*-solaris2*".
1975 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1977 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1978 Add global and local variables and initialize them.
1979 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1980 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1981 extracts the file name and terminating signal from the core file.
1982 * TODO: Remove note about tests for correct mapping of corefile.
1983 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1984 from optimizing it away.
1985 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1986 handles common blocks.
1988 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1990 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1991 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1993 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1995 * Makefile.in (maintainer-clean): New target, synonym for
1997 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1998 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1999 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
2000 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
2001 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
2002 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
2004 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
2006 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
2007 xfails when not gcc compiled for "print foo::funclocal".
2008 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
2009 "print foo::funclocal at foo",
2010 "print 'scope1.c'::foo::funclocal at foo",
2011 "print foo::funclocal_bss at foo",
2012 "print 'scope1.c'::foo::funclocal_bss at foo",
2013 "print foo::funclocal_ro at foo",
2014 "print 'scope1.c'::foo::funclocal_ro at foo",
2015 "print bar::funclocal at foo" and
2016 "print 'scope1.c'::bar::funclocal at foo".
2017 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
2018 gcc compiled for "print foo::funclocal at bar".
2019 Expand all messages to ensure that they identify that
2020 the test is at bar().
2021 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
2023 "ptype on opaque struct pointer (statically)",
2024 "ptype on opaque struct tagname (statically)",
2025 "ptype on opaque struct pointer (dynamically) 1",
2026 "ptype on opaque struct tagname (dynamically) 1",
2027 "ptype on opaque struct pointer (dynamically) 2" and
2028 "ptype on opaque struct tagname (dynamically) 2
2029 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
2035 "whatis bsslocal", and
2037 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
2038 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
2039 when not gcc compiled.
2040 * gdb.base/funcargs.exp (float_and_integral_args): Add
2041 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
2043 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
2044 "backtrace from call6a" when not gcc compiled.
2045 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
2046 "backtrace from call7a" when not gcc compiled.
2047 * gdb.base/callfuncs.exp (do_function_calls):
2048 Add "hppa*-*-hpux*" xfail when not gcc compiled for
2049 "p t_char_array_values(char_array_val2,char_array_val1)",
2050 "p t_char_array_values(char_array_val1,char_array_val2)",
2051 "p t_char_array_values("carray 1","carray 2")",
2052 "p t_char_array_values("carray 1",char_array_val2)",
2053 "p t_char_array_values(char_array_val1,"carray 2")",
2054 "p sum_args(1,{2})",
2055 "p sum_args(2,{2,3})",
2056 "p sum_args(3,{2,3,4})",
2057 "p sum_args(4,{2,3,4,5})"
2058 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
2059 "backtrace in corefile.exp" when not gcc compiled.
2061 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2063 * gdb.base/signals.exp: Rewrite `handle all print' test as
2064 a procedure. Accept blanks or TABs as whitespace, increase
2065 timeout and expect input buffer size for the large output
2066 from the command. Remove "i*86-*-bsdi2.0" xfail.
2068 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2070 * gdb.base/setvar.exp: Add new testcases for truncation when
2071 assigning invalid values to bitfields.
2073 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
2075 * gdb.base/callfuncs.exp (do_function_calls): Remove
2076 mips-sgi-irix* xfail for
2077 "call inferior func with struct - returns char *"
2078 and fix test so that an optional (unsigned char *) cast is
2079 accepted in the result.
2081 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
2083 * gdb.base/funcargs.exp (float_and_integral_args): Remove
2084 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2085 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
2086 * gdb.base/signals.exp: Remove duplicate "handle all print" test
2087 that accidentally got checked in.
2089 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
2091 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
2092 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
2094 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
2095 Add mips-sgi-irix5* xfail for not gcc compiled.
2096 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
2097 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
2098 "p top", "whatis top", "p middle", and "whatis middle".
2099 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
2100 "whatis signed char" for not gcc compiled.
2101 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
2102 "set variable signed char=-1 (-1)" and
2103 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
2104 * gdb.base/funcargs.exp (float_and_integral_args):
2105 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
2106 Add mips-sgi-irix* xfail when not gcc compiled for
2107 "continue to call2b".
2108 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
2109 "continue to call2g".
2110 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
2111 "backtrace from call6a"
2112 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
2113 "backtrace from call7k".
2114 Add mips-sgi-irix5* xfail when not gcc compiled for
2115 "backtrace from call7a".
2116 (localvars_after_alloca): Fix gdb_test cmds for
2117 "print * after runto ...".
2118 Remove rs6000-*-* xfails for
2119 "print i after runto localvars_after_alloca" and
2120 "print l after runto localvars_after_alloca"
2122 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
2123 when not compiled with gcc, for:
2124 "print signed char == (minus)",
2125 "print signed char != (minus)",
2126 "print signed char < (minus)",
2127 "print signed char > (minus)".
2128 * gdb.base/callfuncs.exp (do_function_calls):
2129 Add mips-sgi-irix* xfail, when compiled with native compiler, for
2130 "call inferior func with struct - returns char *".
2131 * gdb.base/return.exp (return_tests): Change xfail for
2132 "correct value returned double test" to include Solaris 2.4.
2133 * gdb.base/funcargs.exp (float_and_integral_args):
2134 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2136 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2138 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
2139 enumeration bitfields if compiling with GNU C.
2140 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
2143 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
2145 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
2146 test for PRO targets.
2148 * gdb.base/funcargs.exp: Avoid ever setting more than 8
2149 breakpoints in the inferior at any given time by making
2150 two groups of breakpoints for call2*, call6* and call7*
2153 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2155 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
2156 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
2157 from optimizing it away.
2158 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
2159 "call inferior func with struct".
2161 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
2163 * configure.in: Only configure gdb.chill for particular targets.
2165 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
2167 * gdb.base/Makefile.in: Add action to .c.o transformation
2168 rule that generates a .ci file for each .o file and remove
2169 explicit .c.o rules except for callfuncs.o.
2170 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
2171 generates a .ci file for each .o file and remove explicit
2173 (clean): Remove *.tmp *.ci files.
2174 (EXECUTABLES): Remove templ-info.exp.
2175 * gdb.base/compiler.c: New file.
2176 * gdb.c++/compiler.cc: New file
2177 * gdb.base/scope.exp: Source gdb.base/scope.ci.
2178 Change rs6000-*-* xfail for
2179 "print 'scope0.c'::filelocal_ro" and
2180 "print 'scope1.c'::filelocal" and
2181 "print 'scope1.c'::filelocal_bss" and
2182 "print 'scope1.c'::filelocal_ro" and
2183 "print 'scope1.c'::foo::funclocal" and
2184 "print 'scope1.c'::foo::funclocal_ro" and
2185 "print 'scope1.c'::bar::funclocal" and
2186 "print 'scope0.c'::filelocal_ro" and
2187 "print 'scope1.c'::filelocal at foo" and
2188 "print 'scope1.c'::filelocal_bss at foo" and
2189 "print 'scope1.c'::filelocal_ro at foo" and
2190 "print 'scope1.c'::foo::funclocal at foo" and
2191 "print 'scope1.c'::foo::funclocal_bss at foo" and
2192 "print 'scope1.c'::foo::funclocal_ro at foo" and
2193 "print 'scope1.c'::bar::funclocal at foo" and
2194 "print 'scope0.c'::filelocal_ro" and
2195 "print 'scope1.c'::filelocal" and
2196 "print 'scope1.c'::filelocal_bss" and
2197 "print 'scope1.c'::filelocal_ro" and
2198 "print 'scope1.c'::foo::funclocal" and
2199 "print 'scope1.c'::foo::funclocal_bss" and
2200 "print 'scope1.c'::foo::funclocal_ro" and
2201 "print 'scope1.c'::bar::funclocal" and
2202 "print 'scope1.c'::bar::funclocal_bss"
2203 to only be xfail'd when not compiled with gcc.
2204 Add rs6000-*-* xfail for
2205 "print 'scope0.c'::filelocal_bss before run"
2206 when compiled with gcc.
2207 (test_at_main): Add rs6000-*-* xfail for
2208 "print filelocal_ro in test_at_main"
2209 when compiled with gcc.
2210 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
2211 Add rs6000-*-aix* xfail for
2212 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
2213 "ptype t_char_array", not compiled with gcc.
2214 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
2215 xfail for "list foo (in include file)" when gcc compiled.
2216 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
2217 (integral_args): Add rs6000-*-* xfail for
2218 "run to call0a" if not compiled with gcc.
2219 (unsigned_integral_args): Add rs6000-*-* xfail for
2220 "run to call1a" if not compiled with gcc.
2221 (float_and_integral_args): Add rs6000-*-* xfail for
2222 "run to call2a" if not compiled with gcc and for
2223 "continue to call2b" for any compiler.
2224 Add rs6000-*-* xfail to
2225 "print f1 after run to call2a" for gcc compiled.
2226 (discard_and_shuffle): Add rs6000-*-* xfail for
2228 (shuffle_round_robin): Add rs6000-*-* xfail for
2229 "backtrace from call7a" if not compiled with gcc.
2230 Add rs6000-*-* xfail for
2231 "backtrace from call7b" if compiled with gcc.
2232 (call_after_alloca): Add rs6000-*-* xfail for
2233 "print c in call_after_alloca" and
2234 "print s in call_after_alloca" and
2235 "backtrace from call_after_alloca_subr"
2236 if not compiled with gcc.
2237 (localvars_in_indirect_call): Add rs6000-*-* xfail for
2238 "print c in localvars_in_indirect_call" and
2239 "print c in localvars_in_indirect_call" and
2240 "backtrace in indirectly called function" and
2241 "stepping into indirectly called function"
2242 if not compiled with gcc.
2243 (localvars_after_alloca): Add rs6000-*-* xfail for
2244 "print c after runto localvars_after_alloca" and
2245 "print s after runto localvars_after_alloca" and
2246 "print i after runto localvars_after_alloca" and
2247 "print l after runto localvars_after_alloca"
2249 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
2250 than whatis-info.exp.
2251 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
2252 than opaque-info.exp.
2253 Setup rs6000-*-* xfail for
2254 "ptype on opaque struct pointer (statically)" and
2255 "ptype on opaque struct pointer (dynamically)" when
2256 not compiled with gcc.
2257 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
2258 rather than callf-info.exp.
2259 (do_function_calls): Add clear_xfail for rs6000-*-* for
2260 "p t_float_values2(3.14159,float_val2)". Seems to work
2261 fine there, both with xlc and gcc. Need to find out what
2262 it is doing right and fix other platforms.
2263 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
2264 "call inferior func with struct - returns int",
2265 "call inferior func with struct - returns long",
2266 "call inferior func with struct - returns float",
2267 "call inferior func with struct - returns double",
2268 "call inferior func with struct - returns char *",
2269 but only if not gcc compiled (presumes xlc compiled).
2270 Change rs6000-*-* xfails for
2271 "call inferior func with struct - returns char" and
2272 " call inferior func with struct - returns short" to only
2273 xfail if not using gcc.
2274 (clean mostlyclean): Remove *.ci and *.tmp files.
2275 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
2276 than templ-info.exp.
2277 * gdb.base/langs.exp: Source gdb.base/langs.ci.
2278 Add rs6000-*-* xfail for "up to foo in langs.exp"
2279 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
2280 when not gcc compiled.
2282 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2284 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
2285 * gdb.base/corefile.exp: Likewise.
2286 * gdb.base/list.exp: Likewise.
2287 * gdb.base/scope.exp: Likewise.
2288 * gdb.base/siganls.exp: Likewise.
2290 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
2292 * gdb.base/whatis.exp: Likewise.
2294 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
2296 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
2297 failure (opcode table has been fixed to match reality).
2299 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
2301 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
2302 "call inferior func with struct - returns char",
2303 "call inferior func with struct - returns short"
2305 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
2306 "print 'scope0.c'::filelocal at main",
2307 "print 'scope0.c'::filelocal_bss in test_at_main",
2308 "print 'scope0.c'::filelocal at foo",
2309 "print 'scope0.c'::filelocal_bss in test_at_foo",
2310 "print 'scope0.c'::filelocal at bar",
2311 "print 'scope0.c'::filelocal_bss in test_at_bar"
2313 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
2314 in source file 1". This bug seems to have been fixed with both
2315 gcc and native cc (was native assembler bug?).
2317 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
2319 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
2320 "backtrace through signal handler" to "i*86-*-sysv4*".
2321 * gdb.base/signals.exp: Add xfail for "'next' behaved as
2322 continue" case. Add "known SVR4 bug" to fail message.
2323 Add "i*86-*-bsdi2.0" xfail for "handle all print".
2324 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
2325 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
2326 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
2327 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
2328 "up to foo in langs.exp", "show language at foo in
2329 langs.exp", "up to cppsub_ in langs.exp", "show
2330 language at cppsub_ in langs.exp", "up to fsub in
2331 langs.exp", and "show language at fsub in langs.exp".
2332 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
2333 "bactrace in corefile.exp".
2334 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
2335 "call inferior function with struct - returns float" and
2336 "call inferior function with struct - returns double".
2338 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
2340 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
2341 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
2342 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
2343 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
2345 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
2347 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
2348 (or overriden) "CHILL" macro rather then bare "gcc".
2349 Also look for ../../gcc/xgcc since that is what we will
2350 actually need, not "Makefile". Remove following assignment
2351 of CHILL to CHILL_FOR_TARGET because that results in
2352 recursive definition.
2354 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
2356 * gdb.base/corefile.exp: Change xfail for backtrace in
2357 corefile.exp from linuxaout to all linux.
2358 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
2359 cases where we miss the breakpoint at the signal handler
2360 for some reason. Setup xfail for linuxoldld/linuxaout and
2361 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
2362 hitting SIGURG breakpoint.
2363 * gdb.base/signals.exp: Setup xfail for "next" acting like
2364 continue to add linuxoldld. Setup xfail for all linux for
2365 "next to handler in signals_tests_1", "backtrace in
2366 signals_tests_1", "continue to func1", "pass SIGUSR1",
2367 and continue to handler".
2369 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
2371 * Update all FSF addresses except those in COPYING* files.
2373 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
2375 * gdb.base/a2-run.exp: Change messages to be more explicit about
2376 the status of args, and quote binfile in results.
2378 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
2380 * gdb.base/callfuncs.exp: Add tests for passing structs to
2381 inferior functions and return various types.
2382 * gdb.base/callfuncs.c: Add functions to receive a struct
2383 and return a member of the struct, in various types.
2385 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2387 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
2389 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
2391 * config/vxworks29k.exp: New file, sources vxworks.exp.
2393 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2395 * config/gdbremote.exp: New file. Testing framework using
2398 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
2400 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
2401 "call function when asleep" and "send end of file".
2402 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
2403 for "backtrace in corefile.exp".
2404 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
2405 for "backtrace through signal handler".
2406 * gdb.base/corefile.exp: Make sure we actually generate a core file
2407 before trying the core tests. Some systems allow the user to suppress
2408 generation of core files and default to that (linux for example).
2409 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
2410 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
2412 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2414 * gdb.threads: New directory with some crude multi-threaded
2415 gdb tests (step.exp and step2.exp).
2416 * config/mt-lynx (STEP_EXECUTABLE): Define.
2417 (THREADFLAGS): Define.
2419 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
2421 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
2423 * gdb.base/signals.exp: Disable whole file for lynx until
2426 * gdb.base/signals.exp: xfail test where "next" acts like
2427 "continue" for lynx.
2429 * gdb.base/interrupt.exp: xfail test for calling function while
2430 inferior is asleep for lynx.
2432 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
2433 than one cr-lf after each command.
2435 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2437 * configure.in: Reinstate setting of stabsdirs variable, fix
2438 typo in setting up configdirs for native builds.
2440 * gdb.base/return.exp: Fix typo in return double test.
2441 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
2442 compiler from optimizing them away.
2444 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
2446 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
2447 sequences to be echo'd by gdb when using gdb_test.
2448 * gdb.chill/chexp.exp: Likewise.
2449 * gdb.fortran/exprs.exp: Likewise
2451 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2453 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
2454 after the inferior gdb has started.
2456 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
2458 * gdb.base/funcargs.exp: Likewise.
2459 * gdb.base/gdbvars.exp: Likewise.
2460 * gdb.base/interrupt.exp: Likewise.
2461 * gdb.base/list.exp: Likewise.
2462 * gdb.base/watchpoint.exp: Likewise.
2463 * gdb.c++/demangle.exp: Likewise.
2464 * gdb.c++/inherit.exp: Likewise.
2465 * gdb.chill/chexp.exp: Likewise.
2466 * gdb.fortran/exprs.exp: Likewise.
2468 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
2469 test if we can't handle IO to/from the inferior.
2471 * gdb.c++/misc.exp: Always check for a program already being
2472 started after sending a "run" command to gdb.
2474 * gdb.base/twice.exp: Start with a fresh gdb.
2476 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
2477 only depend on gdb's expression code, not the chill runtime.
2479 * gdb.base/return.c: Put return values into variables so we
2480 can have gdb print them rather than depending on the program
2482 * gdb.base/return.exp: Corresponding changes.
2484 * lib/gdb.exp: Provide default value for noinferiorio.
2485 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
2488 * gdb.base/break.exp: Always check for a program already being
2489 started after sending a "run" command to gdb.
2490 (text_next_with_recursion): Don't check the output from the
2491 program's printf statement. Instead just make sure the program
2494 * gdb.base/commands.exp: Protect tests which need arguments with
2495 $noargs conditionals.
2497 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2499 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
2500 of structure member arrays to match gdb/valops.c:value_addr change.
2502 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
2504 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
2507 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
2509 * configure.in (configdirs): Remove gdb.chill from default list
2510 of subdirs and then add it back in only if doing a native build.
2511 The current chill compiler does not yet work in any cross build.
2512 * Revert all signal changes from Jul 6.
2513 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
2514 for sh-hms targets, allowing these tests to link, with no other
2515 changes. Testing is suppressed by setting "nosignals" in site.exp.
2517 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
2519 * configure.in (signaldirs): Define and add to configdirs for all
2520 targets except some specific ones that are known to not support signals.
2521 Also clean up formatting.
2522 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
2523 (signals, sigall): Remove rules to build.
2524 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
2525 Moved to new gdb.signals directory.
2526 * gdb.signals: New test directory.
2527 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
2528 signals.c signals.exp}: New or moved files.
2530 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
2532 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
2534 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
2536 * gdb.base/return.exp: Xfail `return double' test failure
2537 on at least Solaris 2.3 and handle future/past versions on
2538 a case by case basis as appropriate. Also update message
2539 to include i*86 failures.
2541 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2543 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
2545 * lib/gdb.exp: Fix comment which erroneously identified
2546 gdb_file_cmd as gdb_load (the 19 May change was in fact to
2547 gdb_file_cmd not gdb_load).
2548 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
2550 * gdb.base/setvar.exp: Make test names consistent between pass and
2551 fail cases. Use gdb_test more.
2553 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2555 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
2557 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2559 * gdb.base/help.exp: Fix expected help string for `show commands'.
2561 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2563 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
2565 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
2568 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
2570 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2571 that loop eventually terminates. Fix Connection refused logic so
2572 that testsuite will expire nicely.
2574 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
2576 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2577 config/rom68k.exp: New tcl glue for the appropriate monitors.
2578 These all just end up calling monitor.exp.
2579 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2580 refused' by retrying. Cleanup some timeout issues.
2581 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2582 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2583 callers don't have to set/restore global timeout variable.
2585 * The following set of changes centralizes management of the global
2586 timeout variable. This way, it can be set in one target dependent
2587 place instead of dozens of places scattered throughout the test suite.
2588 If you need to lengthen a timeout, then you should either set timeout
2589 in one of the config/{target}.exp files, or multiply it by a factor.
2590 Setting it to an absolute value is always going to lose for some
2592 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2593 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2594 * gdb.base/funcargs.exp: Don't set timeout.
2595 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2596 * gdb.base/printcmds.exp (test_print_string_constants
2597 test_print_array_constants): Don't set timeout.
2598 * gdb.base/ptype.exp: Don't set timeout.
2599 * gdb.base/recurse.exp: Don't set timeout.
2600 * gdb.base/return.exp: Don't set timeout.
2601 * gdb.base/watchpoint.exp: Don't set timeout.
2602 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2603 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2605 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2607 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2609 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2611 * lib/gdb.exp: Disable chill tests for irix5.
2613 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2615 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2616 each test pass or fail.
2618 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2620 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2623 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
2625 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2627 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
2629 * config/est.exp: Fix copyright and comments. Remove dead code.
2630 Use targetname, serialport and baud variables instead of fixed
2632 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2633 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2635 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2637 * gdb.base/watchpoint.exp: Don't run
2638 test_watchpoint_triggered_in_syscall for sunos.
2640 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2642 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2643 they don't seem to exist. Do include stdio.h.
2645 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2647 * gdb.base/a1-selftest.exp: Add alpha xfail.
2649 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2651 * gdb.base/watchpoint.c (main): Prompt before calling read().
2652 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2653 Revise accordingly. Remove cruft about sending "123" several
2654 times, until it gets noticed. Clean up the "print buf[0]" stuff
2655 so that it passes or fails, and waits for prompts in the usual way.
2657 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2659 * gdb.base/recurse.exp: Fix comment.
2661 * TODO: Remove item about printing variables in nodebug.exp. Add
2662 item about enabling tests which are only run on some targets.
2664 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2665 fail, make test names unique, use new gdb_test convention
2666 regarding pattern, use gdb_test more, etc.).
2668 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2669 fail, make test names unique, etc.).
2671 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2673 * gdb.base/nodebug.c: Change return type of top and middle to
2675 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2676 are fixed by the recent mdebugread.c changes. Allow `short ()'
2677 as type for top and middle.
2679 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2681 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2682 nearly as I can tell, the whole thing was an accident in Stu's
2683 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2684 to replace a send/expect pair with gdb_test, but ended up only
2685 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2686 of 30 Mar 1995 took care of it, but left this vestigial comment
2687 which I am now nuking.
2689 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2691 * gdb.base/break.exp: Look for different line number for
2692 breakpoint at main depending on usestubs.
2694 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2696 * gdb.base/list.exp: Adjust some alternate expect patterns to
2697 match recent list0.c change. Add alternate expect pattern for
2698 output from `list default lines around main' for optimizing
2701 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2703 * lib/gdb.exp: If nosignals is not set, set it to 0.
2705 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2707 * config/slite-gdb.exp: Responds to load symbol table prompt.
2708 * gdb.base/break.exp: Adjust line number, fix rerun.
2709 * gdb.base/langs0.c: Add #ifdef usestubs.
2711 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2713 * gdb.base/list.exp: Adjust line contents after adding new lines in
2714 list0.c. Also fix a syntax error.
2716 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2717 * gdb.base/break.exp: ditto.
2718 * gdb.base/list.exp: ditto.
2719 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2720 * gdb.base/run.c: ditto.
2721 * gdb.base/list0.c: ditto.
2722 * gdb.base/funcargs.c: ditto.
2724 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2726 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2727 $targetname, $serialport and $baud instead of hardwired variables.
2728 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2729 target doesn't support signals.
2731 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2733 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2735 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2737 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2738 Don't rely on the value of an auto variable before it has been
2739 initialized. Use gdb_test more.
2741 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2743 * lib/gdb.exp (default_gdb_version): A version number must start
2744 with a digit, but other than that contains all characters up to
2745 the first whitespace character.
2747 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2749 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2751 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2753 * gdb.c++/*.exp: Warn if executable does not exist. The original
2754 reason for skipping the warning was that configure.in sometimes
2755 intentionally skipped building the executables but the tcl code
2756 had no way of knowing. That (a) was always bogus with respect to
2757 error handling, (b) is no longer true (right now there is no way
2760 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2762 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2764 * gdb.base/list.exp: Add expect patterns for output from
2765 SunPRO compiled executables.
2766 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2769 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2771 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2772 number (we are already testing that the correct source line text
2775 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2776 that is what is intended, but something needed to be done to get
2777 sunos4 native working again.
2779 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2781 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2782 apparently went with a (very) old xfail.
2784 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2786 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2787 runto_main is a proc in gdb.exp that will do 'step' for target use
2789 * gdb.base/exprs.exp: ditto.
2790 * gdb.base/interrupt.exp: ditto.
2791 * gdb.base/opaque.exp: ditto.
2792 * gdb.base/printcmds.exp: ditto.
2793 * gdb.base/ptype.exp: ditto.
2794 * gdb.base/scope.exp: ditto.
2795 * gdb.base/setvar.exp: ditto.
2796 * gdb.base/signals.exp: ditto.
2797 * gdb.base/twice.exp: ditto.
2798 * gdb.c++/classes.exp: ditto.
2799 * gdb.c++/inherit.exp: ditto.
2800 * gdb.c++/templates.exp: ditto.
2801 * gdb.base/break.exp: no run and hit main for stubs. Change line
2802 numbers for breakpoints and info breakpoint.
2803 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2805 * gdb.base/callfuncs.c: ditto.
2806 * gdb.base/exprs: ditto.
2807 * gdb.base/interrupt.c: ditto.
2808 * gdb.base/opaque0.c: ditto.
2809 * gdb.base/printcmds.c: ditto.
2810 * gdb.base/ptype.c: ditto.
2811 * gdb.base/scope0.c: ditto.
2812 * gdb.base/setvar.c: ditto.
2813 * gdb.base/signals.c: ditto.
2814 * gdb.base/twice.c: ditto.
2815 * gdb.c++/misc.cc: ditto.
2816 * gdb.c++/templates.cc: ditto.
2818 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2820 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2822 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2823 somewhere between `read' and `main.c'. I'm pretty sure the
2824 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2825 and it isn't particularly useful.
2827 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2829 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2831 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2833 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2835 * config/mt-slite: add LIBS and -nostdlib.
2836 * config/slite-gdb.exp: add this new file to support sparclite target.
2838 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2840 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2842 * gdb.base/a2-run.exp: Change argument to istarget from
2843 "*-*-vxworks" to "*-*-vxworks*".
2844 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2846 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2848 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2849 will not runto main but do a 'step' to step out of breakpoint().
2850 * config/mt-slite: add -Dusestubs.
2852 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2854 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2857 * gdb.base/signals.exp: Add test for "handle all print".
2858 * TODO: Remove "handle all print". Also remove item about
2859 checking copyright date (I don't like the idea of a spurious FAIL
2860 based on when we run the tests).
2862 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2863 for SunOS4 (reason for failure not investigated). Remove
2864 redundant test for $binfile.
2866 * gdb.base/nodebug.c (array_index): Call malloc.
2868 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2870 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2872 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2873 conventions and slightly simplify the matching regexp.
2875 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2877 * gdb.base/break.exp: Update gdb_test invocation to use new
2880 * lib/gdb.exp: If noargs is not set, set it to 0.
2882 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2885 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2887 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2889 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2890 one argument of type "<non-float parameter>".
2892 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2894 * config/rom68k.exp: New file to support Motorola IDP board.
2895 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2896 * gdb.base/break.c: Change things around so that this program
2897 doesn't depend upon args. This is necessary to make remote
2898 targets work (in general, they can't take args).
2899 * gdb.base/break.exp: Don't try to send args to program. Don't
2900 expect output. Also, replace lots of code with gdb_test.
2902 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2904 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2905 printing of '\'' (which is what the comment says we are testing,
2906 even though we were not), not '''.
2907 (test_integer_literals_rejected): Test that printing ''' is an error.
2909 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2910 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2911 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2912 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2913 Use gdb_test not test_print_accept.
2914 * lib/gdb.exp: Remove test_print_accept.
2916 * gdb.base/signals.exp (signal_tests_1): Make pass message
2917 consistent with fail message.
2919 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2920 unsigned char; the bug (PR 1821) is fixed.
2922 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2924 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2925 successful tests--makes xfailing them work right.
2927 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2929 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2930 only \r\n, not .*. The test can pass .* as the last thing in
2931 $pattern if that is what it wants. In addition to providing this
2932 flexibility, this change should speed up pattern matching in cases
2933 where the pattern already ended with .* (there were a number of
2934 them). This change also helps catch bad patterns--in the old
2935 scheme the typo "char \*" instead of "char \\*" would pass. Now
2937 * Many .exp files: Update callers.
2939 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2940 clearer and does not spuriously match multiple ('s. Likewise for
2943 * gdb.base/nodebug.exp: Test ability to call a function and pass
2944 it a string (even with no debugging info).
2946 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2947 "p '\'", which is the same as "p ''" once tcl gets done with
2948 quoting, to "p '\\'", which I suspect is what is intended (one
2949 backslash gets sent to GDB).
2951 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2953 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2955 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2956 1817) was fixed literally years ago.
2958 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2960 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2961 test, it causes stepping out of call_after_alloca_subr with
2962 optimizing compilers.
2963 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2966 * gdb.c++/templates.exp: Source templ-info.exp only if
2967 the templates executable exists.
2969 * gdb.c++/misc.cc (class Contains_static_instance,
2970 class Contains_nested_static_instance),
2971 gdb.c++/classes.exp (test_static_members): Test printing of
2972 a class that contains a static instance of the class.
2974 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2976 * gdb.base/langs2.c (cppsub_): Don't prototype.
2977 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2980 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2982 * lib/gdb.exp (skip_chill_tests): New procedure.
2984 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2986 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2988 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2989 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2991 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2993 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2995 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2996 disassemble 8, not 16, instructions for part 4.
2998 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2999 support the latter anymore.
3001 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
3003 * gdb.base/callfuncs.c: Control use of prototypes based on
3004 NO_PROTOTYPES, not __STDC__.
3005 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
3006 t_float_values2 tests if prototypes in use.
3008 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
3009 t_double_values): When checking differences against DELTA, check
3010 that difference is within the range (-DELTA,DELTA), not just
3013 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
3015 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
3016 'file' command firts, then 'target', then 'load', this is due to gdb
3018 * config/mips-gdb.exp: Fix a couple regular exp bugs.
3020 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
3022 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
3023 FP load/store variants.
3024 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
3026 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3028 * gdb.base/term.exp: Do not give a warning if not native, it is
3029 not an abnormal condition.
3031 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
3033 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
3036 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3038 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
3039 are getting the version number.
3041 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
3042 if not native, it is not an abnormal condition.
3044 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3046 * lib/gdb.exp: Just use "file exists", rather than undocumented
3047 dejagnu procedure "findfile".
3049 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3051 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
3052 (LDFLAGS): Set to -Xlinker -Ur.
3054 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
3055 Removed, these values are set by lib/gdb.exp.
3057 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
3059 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3061 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
3062 of replicating gdb startup code.
3064 * config/mt-vxworks (LDFLAGS): Set to -r.
3065 (CFLAGS_FOR_TARGET): Removed.
3067 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
3068 (gdb) and gdb for vxworks uses (vxgdb).
3070 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
3071 executable is not in the tree and host != target, use sed and
3072 program_transform_name to determine the gdb name used by the
3075 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
3076 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
3078 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3080 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
3081 floats, chars, and shorts where there are ANSI-style function
3084 * gdb.base/langs.exp, gdb.base/langs*: New test.
3085 * gdb.base/Makefile.in: Build it.
3086 * TODO: Remove item about checking that C names don't get C++
3087 demangling applied; this test tests it.
3089 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3091 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
3092 went with the const70 xfail. The xfail went away a year ago.
3094 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
3096 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
3099 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
3101 * gdb.base/a1-selftest.exp: Don't run on hp300.
3103 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3105 * Makefile.in (site.exp): Set host_alias and target_alias as well
3106 as host_triplet and target_triplet.
3108 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3110 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
3112 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
3113 places as other ecoff systems).
3115 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
3118 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3120 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
3122 * gdb.base/nodebug.exp: Accept "function" in addition to "text
3123 variable and "variable" in addition to "data variable".
3124 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
3126 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
3128 * gdb.base/list1.c (long_line): Add additional statement at start
3130 * gdb.base/list.exp (test_forward_search): Update line number to
3131 reflect new statement.
3133 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3135 * gdb.base/signals.exp: Reinitialize searched source directories
3136 after gdb_start call.
3138 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
3140 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
3141 * gdb.stabs/Makefile.in: Likewise.
3143 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
3144 change. Instead split the tests into smaller pieces.
3145 * gdb.disasm/hppa.s: Corresponding changes.
3147 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3149 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3150 Quote ^C when passing it to stty. For some shells ^ is a pipe.
3152 * gdb.base/funcargs.exp: Modify many tests so that every test
3153 either passes or fails. Make some test names unique.
3155 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3157 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3158 Call stty to set interrupt character.
3160 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
3161 for HP assembler versus GNU assembler based on actual behavior of
3162 $(CC), rather than assuming that $(AS) is always the GNU assembler.
3164 * TODO: Suggest a few more stepping tests.
3166 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
3168 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
3169 restart GDB for h8300 after a continue.
3170 (return): Add pattern to match a29k-udi behavior.
3171 * gdb.base/nodebug.exp: Remove obsolete comment.
3172 * gdb.base/regs.exp: New file, testing of register displays.
3173 * gdb.base/return.exp: Fix typo in reference to $objdir.
3174 * gdb.base/whatis.exp: Always start with a fresh GDB.
3176 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3178 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
3179 higher, these tests generate a lot of output.
3181 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3183 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
3184 code following the catch silently ignored some errors; without the
3185 catch they should be thrown like any other tcl error. Also, the
3186 catch used "" instead of {} which meant all the callers who wanted
3187 to include one of the characters "[]$ had to quote it an extra time.
3188 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
3189 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
3190 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
3191 Remove extra quoting.
3193 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
3195 * gdb.base/commands.exp: Make test names unique; every test either
3196 passes or fails. Update some comments.
3198 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
3200 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3202 The following fixes a FAIL caused by the fact that the alpha stabs
3203 configuration didn't use the ".if alpha" code in weird.def.
3204 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
3205 bit pointer, so the 32 bit version works even on the alpha.
3206 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
3207 Remove the stuff which allowed us to have separate versions for
3208 alpha and everything else.
3210 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
3211 regexp which "info func operator\[\](" is supposed to match. Fix
3212 string to send to GDB. Note that GDB still doesn't work right. Add a
3213 new test for "info func .perator\[\](" which GDB does handle correctly.
3215 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
3217 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3219 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
3220 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
3221 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
3222 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
3223 it makes the tests harder to understand and confuses test-o-matic.
3224 The preferred style is that each test provides a PASS or a FAIL,
3225 and has a unique message (e.g. "continue #54" not just "continue")
3226 which is the same for the pass and the fail.
3227 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3228 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
3230 * gdb.base/printcmds.exp: Use test_print_accept. Remove
3231 prt_accept which was basically the same thing. Likewise for
3232 test_print_reject and prt_reject.
3233 * lib/gdb.exp (test_print_reject): Add some more error message
3234 patterns to match from the former printcmds.exp (prt_reject).
3235 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
3236 One defect of the passcount stuff is that some of it failed to
3237 report XPASS where appropriate.
3238 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
3239 stuff before and after arg in expected pattern.
3240 (test_paddr_operator_functions): Re-do test without print_addr_of;
3241 this is the only test which seems to want extra stuff there.
3243 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3245 * gdb.base/nodebug.exp: Update new tests to reflect improved
3246 wording of gdb output.
3248 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
3249 and "ptype" work on variables in files compiled without -g.
3250 Replaces commented out "maint print msymbol" tests.
3252 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3254 * gdb.base/setvar.c (dummy): Call malloc.
3256 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
3257 losing with the irix4 sed.
3259 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
3262 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3264 * TODO: Remove items about corefile.exp testing new exec-file and
3265 backtrace; both are now done. Add items about printing enums.
3267 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3269 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
3270 "get signal $thissig" test fails.
3272 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
3274 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3276 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
3277 compiler warning with dec alpha compiler.
3279 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
3280 extra \n from gdb_test call (this explains why the prompt test
3281 that I removed yesterday was there).
3282 (user_defined_command_test): Remove extra \n and prompt test.
3284 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
3285 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
3287 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
3288 Also remove alpha workaround, which turns out to be because
3291 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
3293 * gdb.base/help.exp: Don't test "help show".
3295 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3297 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
3298 "set print address" is on.
3299 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
3300 pass prompt to gdb_test; gdb_test already looks for the prompt.
3302 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
3304 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
3305 was a vestige of the manual TESTSTRATEGY, and the purpose of it
3306 was to make sure that gdb can read a core file. But (a) the "read
3307 the corefile" part didn't make it to a1-selftest.exp, we just
3308 delete the corefile after creating it, and (b) we test reading
3309 corefiles in corefile.exp anyway. Also, this test left around a
3310 xgdb process on Solaris.
3312 * gdb.base/corefile.exp: Also test backtrace.
3314 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
3316 * gdb.base/commands.exp: Test a simple user defined command with
3317 arguments and if/while statements; verify the full user command is
3318 printed by "show user".
3320 * gdb.base/commands.exp: Test if/while commands as part of a
3321 breakpoint command list; verify they appear in breakpoint
3324 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3326 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
3327 than by dividing by zero.
3329 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
3331 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
3332 performing an inferior call with watchpoints enabled.
3333 * gdb.base/watchpoint.c (main): Delete second unnecessary read
3336 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3338 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
3341 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
3342 Add additional pattern for when "int operator int(void);" appears
3343 in a different order.
3345 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3347 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
3349 * gdb.base/help.exp: Replace most of docstrings for "info signals"
3350 and "signal" with ".*".
3352 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3354 * TODO: Add note about "handle all nostop".
3356 * gdb.base/{sigall.c, sigall.exp}: New test.
3357 * gdb.base/Makefile.in: Add it.
3359 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3361 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
3362 when invoking GDB, suppresses any windowing interface.
3364 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
3366 * config/sim-gdb: New file, simulator testing support.
3368 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
3370 * gdb.base/interrupt.exp: Test calling func1 twice.
3372 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
3374 * gdb.base/list.exp (test_forward_search): Set timeout higher
3375 when we'll be getting lots of output from gdb.
3377 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
3378 "init_malloc" to after the expect statement. Run it if that
3379 regexp is taken, but also for two others which happen if source
3382 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3384 * gdb.base/printcmds.exp: New test, for printing register before
3387 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3389 * gdb.base/list.exp: Correct some alternate expect patterns
3390 to reflect changes in list1.c.
3392 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3394 * TODO: Add item regarding large frames.
3396 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
3398 * TODO: Remove item about enabling return.exp; it
3399 is enabled. Suggest a few more "return" tests.
3401 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3403 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
3406 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3408 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
3409 and pr-5646.o, so "make" is the same as "make all", not "make
3412 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
3414 * gdb.base/list.exp: Adjust expectations to reflect changes in
3416 (test_forward_search): New test proc.
3417 * gdb.base/list1.c (long_line): New function, has long source line.
3419 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
3421 * gdb.base/a1-selftest.exp: Change initial stepping to know about
3422 additional line of code that was added.
3424 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
3426 * gdb.disasm/hppa.s: Break the large branching tests into smaller
3427 tests so as not to overflow expect's input buffers.
3428 * gdb.disasm/hppa.exp: Corresponding changes.
3430 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3432 Beginnings of template debugging tests.
3433 * gdb.c++/templ-info.cc: New file to test for template
3434 debugging capability of the compiler.
3435 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
3437 * gdb.c++/templates.cc: Add explicit template instantiations
3438 to enable compiling with -fno-implicit-templates. Add destructor
3439 and 'value' method to T5 class for template tests.
3440 * gdb.c++/templates.exp: Add testcases for printing of template
3441 types, setting breakpoints on template methods and calling a
3444 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
3446 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
3447 branch target since some assemblers (gas-2.5) may emit a
3448 relocation for the branch instead of resolving it in the
3451 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3453 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
3454 through signal handler.
3456 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3458 * configure.in (*-*-netware): Use config/mt-netware.
3460 * config/mt-netware: New file.
3461 * config/mt-i386-netware: Removed, separate configs for different
3462 netware architectures are no longer needed now that we have
3465 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3467 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
3468 by the recent changes to use ANSI C arithmetic conversions.
3470 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3472 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
3473 bug involving using inferior_pid to figure out whether to select a
3476 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
3478 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
3479 match the current disassembler output.
3481 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
3483 * gdb.fortran/exprs.exp: Expect VOID instead of void.
3484 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
3485 types, expect "int" as type of integer values (for now).
3487 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
3489 * gdb.base/commands.exp: New tests for if/while commands.
3491 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
3493 * lib/gdb.exp (runto): Replace sub-pattern for hex value
3494 by .*, since hex values have different syntax in Chill mode.
3496 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3498 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
3499 linefeed from expect pattern for repeated types with indices > 9.
3501 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
3503 First part of Fortran test suite.
3504 * gdb.fortran: New directory.
3505 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
3507 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3509 * gdb.base/default.exp: Update expect pattern for load command
3512 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
3514 * configure.in: Change i386 to i[345]86.
3515 * gdb.base/configure.in: Likewise.
3516 * gdb.c++/configure.in: Likewise.
3517 * gdb.chill/configure.in: Likewise.
3519 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
3521 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
3522 patterns, since that is not a valid context for comments.
3524 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
3526 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
3527 repeated types and repeated types with indices > 9.
3529 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
3531 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
3532 2417; old bug has been fixed.
3534 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
3536 * gdb.base/interrupt.exp: When trying to wake up the inferior,
3537 send the newline ourselves instead of assuming gdb_test will do
3538 so when passed an empty input string.
3540 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
3543 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3545 * lib/gdb.exp (gdb_test): Don't send anything if the first
3546 argument is an empty string. This makes cases where we want to
3547 match output that is already in expect's buffers (for example,
3548 matching a breakpoint after gdb_run_cmd has been called) work
3551 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3553 * config/netware.exp: New file.
3555 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3557 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
3558 the -B and -L prefixes so we can find the debugging stub.
3560 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
3561 there and we are using the gcc from the tree.
3563 * gdb.base/types.c: Removed.
3565 * gdb.base/configure.in: Look for makefile fragments in ../config.
3566 Recognize i386-*-netware.
3567 * gdb.c++/configure.in: Likewise.
3569 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3571 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3572 the correct TCL syntax.
3574 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3576 * gdb.base/opaque.exp: use runto instead of messing around with
3577 breakpoints. Simplify by using gdb_test.
3579 * gdb.base/bitfields.exp: restart between tests on netware targets
3580 because breakpoints aren't relocated after target death. Run
3581 processes to completion.
3583 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3585 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3587 * Makefile.in: Remove extra tabs that confuse some versions
3588 of "make". Use the newly built gdb to test with by default,
3589 rather than the first one in the tester's search path.
3591 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3593 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3595 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3598 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3600 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3602 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3604 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3605 * gdb.base/funcargs.exp: Likewise.
3607 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3608 * gdb.base/funcargs.exp: Likewise.
3610 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3613 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3615 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3616 return,signals,twice}.exp: Handle non-existant binaries
3619 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3620 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3621 might testing a cross development system.
3623 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3625 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3626 runtest script is relative to ${srcdir}, not ${rootdir}.
3628 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
3630 * gdb.base/signals.exp: Allow for optionality of breakpoint
3633 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3635 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3637 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3639 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3640 for size_t definition.
3641 * gdb.c++/templates.cc: Likewise
3643 * config/mt-i386-netware: New file.
3645 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3648 * gdb.base/Makefile.in: Added support for systems that name core
3649 files by appending "core" to the program name.
3650 * gdb.base/a1-selftest.exp: Likewise.
3652 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3654 * gdb.base/return.exp: Add comment and message for `return double'
3655 test failure on Sparc Solaris.
3657 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
3659 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3661 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3663 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3664 from optimizing them away.
3665 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3666 patterns to include default constructors and assignment operators,
3667 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3668 character in the output of the virtual base pointer.
3670 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3672 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3673 expression match in print_addr_of to avoid unintented matches.
3674 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3675 versions up to 2.5.8.
3677 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3679 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3680 included file to run under newer versions of expect.
3681 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3682 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3683 Remove xfail for the virtual table of BDDHookV.
3685 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
3687 * lib/gdb.exp (string_to_regexp): Set a default result.
3688 (default_gdb_start): Fix misleading message.
3690 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
3692 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3693 Remove all CC, etc definitions.
3694 * config/mt-hpux: New file.
3695 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3696 (CFLAGS, LDFLAGS): Define.
3697 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3699 * Makefile.in (site.exp): Don't insert host_os, etc.
3700 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3701 (distclean): Check existence of subdir.
3702 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3703 * gdb.base/Makefile.in: General cleanup and simplification.
3704 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3705 to build executables. Use default rule to build .o files.
3706 (EXPECT, RUNTEST, CC): Fix relative pathname.
3707 (site.exp): Don't insert host_os, etc.
3708 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3709 and/or SIGUSR1 defined.
3710 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3711 * gdb.c++/Makefile.in: General cleanup and simplification.
3712 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3714 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3716 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3718 * gdb.base/recurse.exp: Misc changes to get tests running again
3719 after Kung's changes to the watchpoint code.
3720 * gdb.base/watchpoint.exp: Likewise.
3722 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3724 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3726 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3728 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3729 * lib/gdb.exp (default_gdb_start): Define.
3730 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3731 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3732 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3733 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3734 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3735 Don't call gdb_target_udi in between tests.
3737 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3739 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3740 (which was basically just a local version of the same thing). In
3741 addition to avoiding duplication, gdb_test_exact is faster.
3742 * lib/gdb.exp (gdb_test_exact): Fix typo.
3744 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3745 don't give an error.
3747 * gdb.base/term.exp: Call delete_breakpoints before starting.
3749 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3752 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3754 Reorganization of the GDB Test Suite.
3756 * gdb.base: New directory, contains all the basic tests.
3757 * gdb.c++: New directory, tests specific to C++.
3758 * gdb.chill: New directory, tests specific to Chill.
3759 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3760 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3761 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3762 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3763 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3765 * */gdbme.*: Rename to match appropriate expect scripts.
3766 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3767 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3768 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3769 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3770 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3771 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3772 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3773 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3774 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3775 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3776 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3777 gdb.c++/virtfunc.cc: New names of C++ files.
3778 * gdb.chill/chillvars.ch: New name of Chill file.
3779 * gdb.base/configure.in, gdb.c++/configure.in,
3780 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3781 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3782 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3783 * configure.in (configdirs): Update to reflect directory changes.
3784 (target_abbrev): No longer define for any configuration.
3785 * Makefile.in: Cosmetic improvements to header comments.
3787 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3789 Various changes to gdb.t31:
3791 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3792 * gdbme.ch: Make all key-words and predefineds be upper-case.
3793 * chillvars.exp: Expect key-words and predefinds in upper-case.
3795 * chillvars.exp: Use gdb_test_exact many places.
3796 Change expected output for arrays (which now includes index labels).
3798 * pr-5020.exp, gdme.ch (module PR_5020):
3799 New test, for PR-5020.
3801 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3803 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3804 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3806 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3808 * Makefile.in: Fix bit-rot in definitions of CHILL,
3809 CHILL_FOR_TARGET and Chill_LIB.
3810 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3811 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3812 CHILL, and CHILL_LIB.
3814 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3816 * Revert the previous changes. Please see Rob's directory
3817 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3819 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3821 * Makefile.in, configure.in, config/mips-gdb.exp,
3822 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3823 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3824 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3825 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3826 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3827 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3828 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3829 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3830 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3831 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3832 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3833 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3834 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3835 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3836 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3839 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3841 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3842 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3843 Rob's new testing fragments.
3845 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3847 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3848 lib/gdb.exp: Replace error proc calls with perror.
3850 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3852 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3853 version also, match on casted version strings, and match on
3854 gdb startup case where the line numbers might be messed up.
3856 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3858 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3859 (CFLAGS): Delete it from here.
3861 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3863 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3865 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3867 * Makefile.in (RUNTEST): Default to just "runtest".
3869 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3871 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3872 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3873 the code has been restructured.
3875 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3877 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3878 \n, not just one of each.
3880 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3881 /bin/cc gives a warning if you do.
3883 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3885 * gdb.t24/demangle.exp: change expect pattern of
3886 __t10ListS_link1ZUiRCUiPT0
3888 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3890 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3891 on local variables in recursive functions.
3893 * gdb.t07/Makefile.in: Build the new test.
3895 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3897 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3898 directly. Instead compare the return values from actual calls.
3900 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3902 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3904 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3906 * From Peter Schauer with minor modifications.
3907 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3908 stops in mid-line in the caller. Add xfail for returning a float
3909 value on X86 targets.
3911 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3913 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3914 to avoid expect lossage.
3915 (fmem_LRbug_tests): Likewise.
3916 * gdb.disasm/hppa.s: Corresponding changes.
3918 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3919 conditions to work with latest dejagnu/expect.
3921 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3922 expected to fail on the PA.
3923 (backtrace in call with trampolines): Explicitly require main
3924 to be frame #1 (no trampolines should show up in backtrace).
3926 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3928 * gdb.t06/break.exp: Likewise.
3929 * gdb.t07/watchpoint.exp: Likewise.
3930 * gdb.t13/bitfields.exp: Likewise.
3931 * gdb.t15/{funcargs,return}.exp: Likewise.
3932 * gdb.stabs/weird.exp: Likewise.
3933 * config/{mips,udi}-gdb.exp: Likewise.
3935 * hppa.sed: Enclose comments within a sed command to avoid
3936 losing with the old OSF1 sed.
3938 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3940 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3942 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3943 * gdb.t15/funcargs.exp: Conditionally step again to really
3944 finish from marker_call_with_trampolines. Handle the case where
3945 the first step from within call_with_trampolines already steps
3947 * gdb.t15/gdbme.c: Add comment to closing brace of
3948 call_with_trampolines for funcargs.exp.
3950 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3952 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3955 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3957 * gdb.t07/gdbme.c: More code for watchpoint testing.
3959 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3960 "Hardware watchpoint" throughout file.
3961 (test_watchpoint_triggered_in_syscall): New test.
3962 (test_complex_watchpoint): New test.
3964 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3966 * gdbme.c (call_with_trampolines): New function to try and step
3967 into. Tests trampoline problems on the PA.
3969 * funcargs.exp (localvars_in_indirect_call): No longer expect
3970 stepping into indirect call to fail on PAs.
3971 (test_stepping_over_trampolines): New test.
3973 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3975 * TODO: Add suggestions for static member function tests, and
3978 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3980 * TODO: Add suggestions for "p/a" tests.
3982 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3983 (default_gdb_exit): Replace all the hair with sending "quit" to
3984 the process with a simple close.
3986 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3988 * TODO: Add suggestions for shared library tests.
3990 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3992 * TODO: Add suggestions for x/s tests.
3994 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3996 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3997 "enable once", and "enable breakpoints once" with ".*".
3999 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4001 * TODO: Add suggestions about structure passing tests.
4003 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4005 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
4006 the primary1 test, use work around if __GNUC__ < 2.
4007 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
4008 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
4009 Test for bad output rather than waiting for timeout. Issue
4010 second continue only if first continue failed.
4012 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4014 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
4015 operator[] test with gdb_test because the old code didn't seem to
4016 be getting the quoting right with the new dejagnu.
4018 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
4020 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
4022 * Makefile.in: Use a fresh expect if there is one, use runtest
4023 from the src tree if there is one.
4025 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4027 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
4028 next over recursive call. Revise the tests from that point on
4029 (which had been skipped) to match GDB's actual (correct) output.
4031 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
4032 with next over a breakpoint whose condition is false.
4034 * gdb.t00/help.exp: Comment out "help set print" tests just like
4035 (and for same reason as) "help set" test.
4037 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4039 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
4040 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
4042 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4044 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
4045 necessary gdb_target_udi.
4047 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
4049 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
4050 1838 and 2417; they are fixed.
4052 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
4053 gdb.t03/ptype.exp (ptype structure, ptype union):
4054 Remove xfails; the test is looser than when the xfails were added.
4056 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
4057 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
4059 * gdb.t01/run.exp: Only run shell test if isnative.
4061 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
4062 since "run" automatically loads if necessary. Call gdb_target_udi
4063 after the "file" since "file" kills any execution target.
4065 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
4066 GDB. GDB doesn't work that way (not anymore at least) on UDI.
4067 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
4070 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4072 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
4074 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
4076 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4078 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
4079 properly quoting regexps. This makes the second argument to
4080 demangle a fixed string, which matches the callers, instead of a
4081 shell-style pattern which is what the previous implementation
4082 used. Update some of the callers.
4084 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4086 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
4087 (comib_nullified_tests): Fix typo.
4088 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
4089 strings. No longer expected to fail.
4091 * gdb.disasm/hppa.s (addib_tests): Fix typo.
4092 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
4093 strings. No longer expected to fail.
4095 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
4096 string. No longer expected to fail.
4098 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4100 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
4101 No longer expected to fail.
4103 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
4104 string. No longer expected to fail.
4106 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4108 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
4109 only in the names (I probably got most of them). I was even
4110 generous with some which differed in underscores in names, and
4111 probably missed a few, and I *still* was able to remove almost a
4112 third of the file with almost no impact on testsuite coverage.
4114 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4116 * gdb.t00/default.exp: Match udi_attach error message as well as
4117 the one from child_attach.
4119 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
4121 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
4123 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
4124 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
4126 * Move test with enums and partial symbols back to
4127 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
4128 Reverts the change of 26 May 93. Per today's change to
4129 stabs.texinfo, the behavior that weird.exp was expecting was
4130 unreasonable; what is important is that the compiler+gdb get
4131 things right, which happens with a recent gcc. Also fix the test
4132 to deal with native compilers which put out the stab gdb can't
4135 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4137 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
4138 in the names. The main thing these accomplish is to slow things down.
4139 Many more such duplicates surely remain.
4141 * gdb.t00/help.exp: Comment out "help support" test just like
4142 (and for same reason as) "help set" test.
4144 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
4146 * gdb.t06/break.exp: Remove setup_xfails for
4147 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
4148 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
4149 about known bug in gcc to include up through 2.5.8.
4150 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
4152 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
4153 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
4154 with latest gcc and gdb.
4155 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
4158 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4160 * configure.in (hppa*-*-*): Also configure and build stabs-only
4163 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4165 * gdb.t10/hppa.mt: A makefile fragment for the PA.
4166 * gdb.t10/configure.in (hppa*-*-*): Use it.
4168 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4170 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
4172 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4174 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
4175 versions prior to 1.13.5.
4177 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4179 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
4180 the prompt is at the start of a line.
4182 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4184 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
4185 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
4186 in the copr tests now.
4187 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
4188 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
4191 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
4193 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
4194 gdb.t31/chillvars.exp, lib/gdb.exp:
4195 Tweak to run under either version of expect.
4196 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
4197 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
4198 * gdb.t11/list.exp: Remove extraneous whitespace.
4200 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4202 * gdb.t16/printcmds.exp (test_print_strings): Accept
4203 "(unsigned char *) " before the string.
4205 * TODO: Add notes about printing of fancy types and GDB expressions.
4207 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
4209 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
4210 * gdb.t06/configure.in: Don't try to compile signals test program
4211 if doing mips-idt-ecoff.
4213 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
4215 * Most .exp files: Tweak to run under either version of expect.
4217 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4219 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
4220 xfails; I'm not sure why they are failing, but not because of PR 1806.
4222 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
4224 * config/unix-gdb.exp: Remove gdb_unload cause it's already
4225 defined in lib/gdb.exp.
4227 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4229 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
4230 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
4231 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
4232 have to be typeless.
4234 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4236 * TODO: Add suggestion for copyright year test.
4238 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
4240 * configure.in (*-*-lynxos*): Add stabs tests.
4242 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4244 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
4245 so insert a tab before any assembler directive in column zero.
4247 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
4249 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
4251 (fpu_short_memory_tests): Likewise.
4253 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4255 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
4256 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
4257 .stabs directives in comments.
4259 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4261 * TODO: New file, describing tests we could write.
4262 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
4264 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4266 * gdb.t06/signals.exp: Add kludge to force re-sync.
4268 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
4269 to xgdb instead of gdb, get out of gdb.
4271 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
4273 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
4276 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4278 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
4279 * gdb.stabs/configure.in (hppa*-*-*): Use it.
4280 * gdb.stabs/hppa.sed: New sed script for the PA.
4282 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4284 * gdb.stabs: Re-write weird.def and configuration to use sed
4285 instead of cpp. sed is portable and POSIX; cpp is neither.
4287 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4289 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
4291 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4293 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
4295 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4297 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
4299 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
4300 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
4302 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4304 * lib/gdb.exp: Comment out code which depends on non-existent
4305 `transform' procedure.
4307 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
4309 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
4310 * lib/gdb.exp: Transform tool name.
4311 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
4312 1.1's new error handling system.
4314 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4316 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
4318 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4320 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
4321 They made pattern matching so slow that timeouts happened on
4322 heavily loaded systems. Now any output from "show print" which
4323 gets us back to the GDB prompt is a PASS.
4325 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
4327 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
4329 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4331 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
4333 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
4334 It is not from PR 3220.
4336 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4338 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
4339 just started failing because they depended on the order the
4340 subcommands are presented, or exact docstring text. This kind of
4341 test is a pain and has minimal benefit.
4343 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4345 * gdb.t09/corefile.exp: At end of test, use "core" command with
4348 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
4350 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
4351 17}/Makefile.in: Make it possible to run the testsuite with Sun
4352 make and CC = cross gcc by adding explicit build rules for .o
4355 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4357 * gdb.t15/funcargs.exp: Don't put comments on same line as
4358 setup_xfail (@#$*%& tcl braindamage!).
4360 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4362 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
4364 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
4366 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
4367 * gdb.t20/inherit.exp: remove three dumplicate entries.
4369 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4371 * gdb.t06/break.exp: For "next over recursive call", fail on any
4372 incorrect output, not just on "factorial (value=2)".
4374 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4376 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
4377 working now. Add an xfail if accesing a bss variable causes
4378 a memory error if the target is not yet run.
4380 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4382 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
4383 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
4384 name of __st* demangling (2 strings). Did Kung really get the
4385 more than 95 others right without testing them?
4387 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
4389 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
4391 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
4393 * configure.in (configdirs): Add gdb.disasm
4394 * gdb.disasm: New directory for GDB disassembler tests.
4395 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
4397 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4399 * gdb.t00/help.exp: Don't test "help set".
4401 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
4402 from within expect statements. None of these happen anymore and
4403 they cause regressions to be silently unnoticed.
4405 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
4406 messages) about known failures with gcc cygnus-2.4.5-930417.
4408 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
4409 comp-info.exp so it gets built if it doesn't exist.
4411 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
4412 it is no longer used.
4413 * gdb.t13/comp-info.c: Removed.
4415 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4417 * gdb.t06/signals.exp: Add xfail for sun3.
4419 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4421 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
4422 relevant because ^C doesn't get sent but failure can be reproduced
4425 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4427 * gdb.stabs/alpha.mt: New configuration file for alpha.
4428 * gdb.stabs/configure.in: Use it.
4429 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
4430 sharing with alpha.mt, redefine long to word via preprocessor.
4431 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
4433 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
4435 * gdb.t00/teststrategy.exp: Change expect string so that we
4436 consume the `(xgdb)' from the command echo and from the gdb prompt.
4437 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
4438 gdb currently compares all values as long, so this failure probably
4439 applies to any configuration where LONGEST is bigger than a target int.
4440 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
4442 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
4443 to handle opaque pointers, gcc is.
4444 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
4445 as first argument. Include <sys/types.h> and change all operator
4446 new definitions to use size_t.
4447 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
4448 now that we use size_t.
4450 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4452 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
4453 a long or float array cast all array members to the same type.
4454 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
4456 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
4458 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
4460 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4462 * gdb.t24 (demangle.exp): Constructors of templates have names like
4463 vector<int>::vector(int) not vector<int>::vector<int>(int). See
4464 section 14.6 of the ARM.
4466 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
4467 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
4468 accomplish little and slow down the testsuite.
4470 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
4471 Accept spaces various places.
4473 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4475 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
4476 with watchpoint enabled.
4478 * Makefile.in: Remove definition of CC and remove the second
4479 definition of CXX (the "CXX = gcc" one remains). These definitions
4480 were causing backquotes to be expanded within backquotes, which
4483 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
4485 * gdb.t17/callfuncs.exp: Add "return 0" to end.
4487 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4489 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
4490 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
4491 by mips cc and contains no stabs entries.
4493 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
4495 * config/vx-gdb.exp: Use fake device to load files rather than
4497 * lib/gdb.exp: New proc to do "file" command.
4498 * config/unix-gdb.exp: Use new "file" proc.
4500 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4502 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
4503 Rework board rebooting slightly.
4504 (gdb_exit): Don't exit from the remote shell; there isn't one.
4505 * gdb.stabs/weird.exp: If a program is being debugged already,
4507 * gdb.t04/setvar.exp: Stop and restart gdb.
4508 * gdb.t05/expr.exp: Likewise.
4509 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
4510 restart gdb and reload the program.
4511 * gdb.t08/opaque.exp: Likewise.
4512 * gdb.t12/scope.exp: Likewise.
4513 * gdb.t13/bitfields.exp: Likewise.
4514 * gdb.t15/funcargs.exp: Likewise.
4515 * gdb.t20/classes.exp: Likewise.
4516 * gdb.t03/ptype.exp: Increase timeout.
4517 * gdb.t16/printcmds.exp (test_print_string_constants,
4518 test_print_array_constants): Likewise.
4519 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
4520 * gdb.t20/classes.exp (do_tests): Likewise.
4521 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
4523 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
4525 * gdb.stabs: Renamed *wierd* to *weird*.
4527 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4529 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
4530 for timeout. Add "known gcc 2.4.5 bug" to failure message.
4532 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4534 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
4535 (do_tests): Remove xfail for whatis on one_var and two_var.
4537 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
4539 * Makefile.in: Made cross building work better by adding
4540 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
4542 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4544 * gdb.t15/{return.c,return.exp,Makefile.in}:
4545 New test, currently commented out.
4547 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
4549 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
4550 still running and removes the leftover named socket so GDb can do
4553 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
4555 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
4557 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
4558 cross testing works better with "make check"
4559 * config/unix-gdb: Use default procedures for exit and version.
4560 * config/vx-gdb.exp: Cleaned up and massaged back to working order
4561 with the newest VxWorks.
4563 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4565 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
4568 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4569 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4571 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4573 * config/unix-gdb.exp: Remove this version of gdb_exit
4574 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4575 Rob says he'll look at it when he gets back to testing boards.
4577 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
4579 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4580 an expected fail for certain ptype commands.
4582 * gdb.t20/classes.exp: Update expected results of "ptype class
4583 Base1" to account for the constructor that now appears in the type.
4585 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4587 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4588 disappeared from list.
4589 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4590 "alldone" proc with call to cleanup and exit.
4591 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4592 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4593 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4594 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4595 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4596 "alldone" proc with simple returns that suppress remaining
4597 tests. The alldone proc went away many months ago.
4599 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4601 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4603 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4605 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4607 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4608 as vax gdb will display them.
4610 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4612 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4615 * scope.exp: Change "bad value for localval" messages so each one
4618 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4619 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4621 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4623 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4625 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4626 doesn't exist (due to optimization).
4628 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4630 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4631 contains \r because the filename is long.
4633 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4634 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4636 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4638 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4639 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4641 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4643 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4645 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
4647 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4649 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4650 to match does not match the passing case but still matches the
4653 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4655 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4657 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
4659 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4660 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4661 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4662 Remove various versions of gdb_exit.
4663 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4665 * config/unix-gdb.exp: gdb_exit remains here, and should override
4666 the generic version, since it's doing a lot of wierd stuff that
4667 the other versions aren't. FIXME, fold it in, or abandon this
4670 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4672 * gdb.t24/demangle.exp: Add tests for PR 3220.
4674 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4676 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4678 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
4680 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4681 "i386-*-*". Works for i486 as well.
4683 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4684 bug, and expand domain of xfail to all SVR4 systems, since the
4685 actual problem is likely to be in generic SVR4 /proc support.
4687 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4689 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4691 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
4693 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4694 xfails for other systems. Match a missing 'Continuing.' as an
4695 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4697 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4698 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4699 Only issue warning for missing executables if -all option is used.
4701 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4702 file if -all option is used. It's like an unpredictable XFAIL.
4704 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4706 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4707 for dynamically linked binaries.
4709 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4711 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4713 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4714 to state that this is a known bug in old versions of g++.
4716 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4718 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4719 while waiting for `Continuing'.
4721 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4723 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4724 in text, data, and bss.
4725 * gdb.t10/nodebug.c: Add local and global test variables for
4726 initialized and uninitialized data.
4728 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4730 * config/unix-gdb.exp (gdb_exit): Add "wait".
4732 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4734 * gdb.t06/signals.exp: xfail the continue from the handler for all
4737 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4738 function with watchpoints enabled, the i386 call dummy starts with
4741 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4742 386 bsd names its corefiles.
4744 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4746 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4747 compilers don't grok it.
4748 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4749 with small octal ints rather than character constants, which
4750 are signed and might not fit if first promoted to int.
4752 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4754 * gdb.t09/Makefile.in (clean): Remove corefile.
4756 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4758 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4760 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4761 and Jim Kingdon (kingdon@cygnus.com)
4763 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4764 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4765 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4767 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4769 * gdb.t17/interrupt.exp: Add xfail for hppa.
4771 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4773 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4774 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4775 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4776 to determine signed-ness of bitfields and use the result to setup
4778 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4779 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4780 call line is reached if necessary.
4782 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4784 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4786 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4788 * gdb.t06/break.exp: Also test `clear' command.
4790 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4792 * gdb.t00/teststrategy.exp: Remove extra quote.
4794 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4795 watchpoint enabled to be for all non-68k machines.
4797 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4799 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4801 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4802 targets use aout.mt instead of ecoff.mt as gas understands
4803 standard aout format.
4805 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4807 * lib/gdb.exp (runto): Don't insist that function we are running to
4808 was compiled with -g.
4810 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4812 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4813 to get back into the read system call.
4814 Accept leading newline in case where we woke it up.
4816 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4818 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4819 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4820 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4821 enable ecoff configuration.
4823 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4825 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4827 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4829 * gdb.t16/printcmds.exp: Add another printf test.
4831 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4833 * configure.in: If configured -with-stabs on any target, add
4834 stabsdirs to configdirs.
4836 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4838 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4839 fun" so pattern does not match the command itself.
4841 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4843 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4845 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4847 * gdb.t17/interrupt.exp: Test for more things.
4849 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4851 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4852 compiler arranges the code and line numbers.
4854 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4856 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4858 * gdb.t00/help.exp: Increase expect input buffer size.
4860 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4862 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4864 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4866 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4868 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4869 [0-9]*, not just [0-9].
4871 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4873 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4875 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4877 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4879 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4881 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4883 * gdb.t06/signals.c: Add xfails for sun3.
4885 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4887 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4888 test_stepping tests.
4890 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4892 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4894 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4896 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4897 rather than actually putting it through cpp twice.
4899 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4901 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4903 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4906 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4908 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4910 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4911 C++ features prints as "struct", make it a pass, not an xfail.
4913 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4915 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4916 Don't require VA to print as "class" rather than "struct".
4918 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4920 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4922 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4924 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4926 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4928 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4931 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4933 * gdb.t16/printcmds.exp: Add printf tests.
4935 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4937 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4939 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4941 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4942 pass counts, to counteract any existing or future setup_xfails.
4944 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4946 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4947 {BEGIN,END}_COMMON for common block instead of STAB.
4948 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4950 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4951 intp_var should be N_GSYM not N_LSYM.
4952 wierd-aout.S: Use a label for the value of the N_SO.
4953 wierd.def: Remove all backslashes.
4954 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4956 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4958 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4959 get the expected next to inheritance3.
4961 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4963 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4964 now that gcc-2.4 gets it right.
4966 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4968 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4970 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4971 generating comp-info.exp which works for cross-compilation.
4973 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4975 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4978 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4980 * gdb.t01/run.exp: Start with a fresh gdb.
4981 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4984 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4986 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4987 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4988 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4989 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4992 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4994 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4995 test cases from bug reports.
4997 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4999 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
5000 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
5001 avoid spurious xfails.
5002 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
5003 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
5004 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
5006 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
5008 * gdb.t00/teststrategy.exp: Rework to provide more useful
5009 description of each test, fix problem with systems that define
5010 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
5011 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
5012 results for "next over recursive call" so timeouts aren't taken
5015 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
5017 * gdb.t12/scope.exp: Test printing of variables before run.
5019 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
5020 printed in wrong order due to sorting.
5022 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
5024 * gdb.t00/teststrategy.exp: Fix expected results for printing
5025 user entered string constant. Is array of char, prints with no
5028 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
5030 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
5031 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
5032 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
5033 of struct of char arrays.
5034 * gdb.t00/radix.exp: New tests for radix commands.
5036 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
5038 * gdb.t16/printcmd.exp: Print a variable before running program
5039 (with xfail for AIX).
5041 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
5043 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
5045 * gdb.t16/printcmd.exp: Don't print variables before running program.
5047 * gdb.t06/break.exp: Don't require envp argument to main.
5049 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
5051 * gdb.t02/whatis.exp, gdb.t11/list.exp:
5052 Add xfails for rs6000.
5054 * gdb.t02/whatis.exp: Change other tests not to re-test something
5057 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
5058 each type used has a variable of that type.
5060 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
5062 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
5064 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5066 * configure.in: change srctrigger to be a file, not a directory
5068 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
5070 * configure.in (mips-idt-ecoff*): Added trailing '*'.
5072 * gdb.t11/list.exp: Fixed a couple of typos.
5074 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
5076 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
5077 is fixed and PR is closed.
5078 * gdb.t16 (gdbme.c): Add simple test string variable.
5079 * gdb.t16 (printcmds.exp): Add tests with simple test string
5080 variable, primarily for boundaries on "set print elements".
5082 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
5084 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
5085 Make leading 0's optional and don't expect a tab in the middle
5088 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
5090 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
5091 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
5092 don't end command passed to gdb_test with newline.
5094 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
5095 signed keyword away, don't expect signed bitfields to be signed.
5097 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
5098 printing with only as many 1's as are in the field as well as printing
5099 with 32 1's (see comment).
5101 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
5103 * gdb.t00/default.exp: Start with a fresh gdb.
5104 * configure.in (configdirs): Remove gdb.t31 until the chill
5105 compiler works again. It no longer is able to find chillrt0
5106 since it isn't in libchill.a anymore.
5107 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
5108 wierd.o, make more modular.
5109 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
5110 spurious newlines that caused problems.
5112 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5114 * Move test with enums and partial symbols from gdb.t03/ptype.exp
5115 to gdb.stabs/wierd.exp since GCC has worked around the bug.
5116 gdb.stabs/wierd.{exp,def}: Many new tests.
5118 * gdb.t00/default.exp: update info line for new message.
5120 * gdb.t02/{whatis.exp,gdbme.c}:
5121 Test that "char *" doesn't print as "caddr_t".
5123 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5125 * gdb.t00/help.exp: Use .* in place of some help messages which
5127 gdb.t00/default.exp: Update "info frame" test for new message.
5128 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
5131 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5133 * gdb.t03/{gdbme.c,ptype.exp}:
5134 Add tests for typedef'd struct and union without tags.
5135 Also check "whatis" on a variable of a typedef'd enum without a tag.
5137 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
5138 PRMS 1823; the bug still exists but isn't reproduced by this test
5139 anymore), and remove rs6000 XFAIL (the bug is fixed).
5141 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
5142 duplicated from whatis.exp. For those that are left, accept
5143 "long", "long int", or "int" for long variables (whatis.exp already
5144 has an XFAIL for "int", so no need to fail it here).
5146 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
5147 Deal with GCC's names for types now that GDB uses the compiler's names.
5149 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
5150 setup_xfail's for sunos4. If we #defined the signed keyword away,
5151 don't expect GDB to know that char it is signed.
5153 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
5155 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
5157 * configure.in (configdirs): Add gdb.t24 for C++ tests that
5158 should work on any system, regardless of debugging format.
5159 * gdb.t21/demangle.exp: Move to gdb.t24.
5160 * gdb.t24/demangle.exp: Move from gdb.t21.
5161 * gdb.t24/{Makefile.in, configure.in}: New files.
5163 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5165 * configure.in: Do gdb.stabs and C++ tests only for stabs.
5166 * gdb.stabs: New directory.
5168 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5170 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
5171 not just "Quit anyway?".
5173 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
5175 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
5176 that all setup_xfails are immediately followed by clear_xfails.
5178 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
5180 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
5181 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
5182 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
5183 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
5184 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
5185 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5186 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5187 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
5188 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
5189 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
5190 gdb.t31/chillvars.exp, lib/gdb.exp:
5191 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
5192 bug-gdb@prep.ai.mit.edu.
5194 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
5196 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
5197 with 0.0, not integer 0.
5199 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
5201 * gdb.t06/break.exp: Update for "Kill the program" message change.
5203 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
5205 * Makefile.in (GDBFLAGS): Set to -nx.
5206 * Makefile.in (site.exp): Use GDBFLAGS.
5208 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5210 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
5212 (check): depend on just-check.
5213 (just-check): added so that tests can be run without a noop
5216 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5218 Switch to using configure's configdirs.
5219 * Makefile.in (Makefile): add configure.in dependency.
5220 (SUBDIRS): removed redundant assignment.
5221 * configure.in: switch subdirs assignment to configdirs.
5222 * gdb.t*/configure.in: new files.
5224 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
5226 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
5229 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
5231 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
5232 in explicit rules. Apparently this is not supported by some makes.
5234 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
5236 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
5238 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5240 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
5243 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
5245 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
5247 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
5249 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
5250 watchpoint problem that is now fixed.
5251 * gdb.t30/chexp.exp: Remove setup_xfail for printing
5252 uninitialized convenience variables.
5253 * gdb.t31/chillvars.exp: Fix expected patterns for printing
5256 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5258 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
5259 which causes expect to get out of sync with gdb on long output
5261 * gdb.t09/corefile.exp: Make expected pattern for core file
5262 failing signal and frame output format less sun specific.
5264 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
5266 * gdb.t31/chillvars.exp: Add and remove initial dummy
5267 breakpoint, so that symbol table is forced in.
5268 (Needed at least on Sunos4, though it seems not SVR4.)
5269 * gdb.t31/chillvars.exp: Update for changed output format.
5271 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
5273 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
5275 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
5277 * Makefile.in: Added --srcdir when invoking runtest, removed the
5278 need for a local config file. (optional now)
5280 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
5282 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
5283 failure count used to force early termination. Add some more
5284 expected failures for gnu style demangling.
5286 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5288 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
5289 pmi variable from gdb.t20/gdbme to get optimized away.
5290 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
5291 Check for written corefile upon timeout _and_ eof.
5293 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5295 * config/unix-gdb.exp: Add missing return 0.
5297 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5299 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
5302 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
5304 * configure.in (subdirs): Put back gdb.t17 which mysteriously
5307 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
5309 * gdb.t10/crossload.exp: Disable the i860-elf test until such
5310 time as i860 support works.
5312 * gdb.t15/funcargs.exp: Fix expected outputs to include
5313 "backtrace 100\r" rather than just "backtrace\r", to match last
5316 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
5318 * config/udi-gdb.exp (gdb_exit): Remove close command.
5319 (gdb_target_udi): New procedure to set the UDI target.
5320 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
5321 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
5322 Added waits for prompts after several question responses. Added
5323 some more responses used by a29k-amd-udi-gdb.
5324 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
5325 pass different arguments, restart UDI connection after program
5327 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
5328 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5329 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
5330 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
5331 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
5332 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
5333 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5334 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
5335 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
5336 after program completion.
5337 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
5338 compiled with a SELECT_VECS setting.
5339 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
5342 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
5343 Added checks for COFF results, and made them expected failures for
5344 all targets. It would be better to make them expected failures
5345 for COFF targets only.
5347 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5349 * Makefile.in: add null dvi target, don't bother to recurse
5350 through test directories for info and install-info; rename
5351 $(datadir) to be dejagnu instead of deja-gnu
5353 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
5355 * gdb.t31/gdbme.ch: Re-enable code that previously caused
5356 compiler to coredump.
5357 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
5360 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
5362 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
5364 * gdb.t31/chillvars.exp: Comment out tests that depend on that
5367 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
5369 * gdb.t03/ptype.exp: tests for return code from gdb_test.
5370 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
5371 which in a shell. Deletes xgdb when done.
5372 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
5373 Tests the return from the "set height" or "set width" commands.
5374 Added a few return codes where needed.
5376 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
5378 * Makefile.in (SUBDIRS): Add gdb.t17.
5379 * configure.in (subdirs): Add gdb.t17.
5380 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
5381 files to test gdb's calling of functions in the inferior with
5382 the correct arguments and gdb's ability to retrieve any
5385 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
5387 * config/unix-gdb.exp (gdb_exit): Remove close commands that
5388 may be called after gdb goes away. Previous versions of expect
5389 needed these to avoid file descriptor leaks, but they cause
5390 errors with the current revision of expect.
5391 * gdb.t00/gdbvars.exp: Use -re on expected output after
5392 setting sevenbit-strings.
5393 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
5394 to set sevenbit-strings consistent across tests.
5395 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
5396 set sevenbit-strings consistent across tests.
5398 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
5400 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
5401 expected output to match current "expect" expectations.
5403 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
5405 * gdb.t00/default.exp: Change expected output for default "source"
5406 command, to match new gdb behavior which requires a filename to
5409 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
5411 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
5412 expected fail for i486-*-* that misses the marker2 function.
5413 * gdb.t10/crossload.exp (bfddefault): Allow successful
5414 recognition of a format to pass even if no symbols are found.
5415 Explicitly catch failures where the format is not recognized
5416 or is ambiguous, and add the reason to the fail message.
5417 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
5418 the cause is and invalid target and add reason to failure message.
5419 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
5420 elf32-i386, elf32-sparc, and elf32-i860.
5421 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
5422 Set up expected failure for 'filename'::variable scope resolution,
5423 which is now apparently broken on all targets.
5424 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
5425 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
5426 gdb.t23/templates.exp: Change failure for missing binfile into
5428 gdb.t21/demangle.exp: Change all cfront references to 'arm'
5431 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
5433 * gdb.t00/default.exp: Add expected output for default "source"
5434 command, to match new gdb behavior.
5435 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
5437 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
5439 * config/*-gdb.exp: returns an error, rather than exiting on
5442 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
5444 * gdb.t03/gdbme.c: Add pointer to struct variable.
5445 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
5446 referencing struct members.
5448 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
5450 * configure.in (mips-idt-ecoff): New target.
5451 * config/mips-gdb.exp: New file for remote board using MIPS remote
5454 * Redid configuration scheme. Removed gdb.t*/configure.in.
5455 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
5456 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
5457 distclean targets. Built executables via .o files. Adjusted
5458 tests to account for source files in $(srcdir) rather than
5460 * lib/gdb.exp (runto): Don't expect () after the function name,
5461 because it may have arguments.
5463 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
5465 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
5466 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
5467 expected failures for mips-idt-* and mips-sgi-*.
5468 * gdb.t00/default.exp (attach): Kill process if requested.
5469 * gdb.t00/help.exp (help target core, help target): Accept a gdb
5470 that does not read core files.
5471 * gdb.t01/run.exp: Removed checks for exit status code.
5472 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
5474 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
5475 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
5476 appropriate, rather than doing it by hand.
5477 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
5479 * gdb.t10/crossload.exp: Kill existing program if needed.
5480 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
5481 appropriate, rather than doing it by hand. Always increase
5482 timeout for this test, not just for VxWorks.
5484 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
5486 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
5487 of Chill STRUCT types and STRUCT values.
5488 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
5490 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
5491 struct2): New struct definitions and initializations to test
5492 simple Chill STRUCT types.
5494 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
5496 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
5497 the null byte at the end of strings.
5498 * gdb.t00/default.exp: Make show version insensitive to copyright
5500 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
5501 to avoid dependencies on target char signedness.
5502 * gdb.t16/printcmds.exp: Update expected results for explicitly
5504 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
5506 * gdb.t21/demangle.exp: Add many more patterns for template
5507 demangling, most of them being expected failures.
5508 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
5509 string we are matching for, to match on the whole string.
5510 * gdb.t21/demangle.exp: Add many new test strings to demangle,
5511 and fix a whole bunch that had incorrect expected output but were
5512 passing anyway because of the bug in "proc demangle".
5513 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
5515 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
5517 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
5519 * gdb/testsuite: made modifications to testcases, etc., to allow
5520 them to work properly given the reorganization of deja-gnu and the
5521 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5523 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
5525 * gdb/testsuite: Initial creation of gdb/testsuite.
5526 Migrated dejagnu testcases and support files for testing nm to
5527 gdb/testsuite from deja-gnu. These files were moved "as is"
5528 with no modifications. This migration is part of a major overhaul
5529 of dejagnu. The modifications to these testcases, etc., which
5530 will allow them to work with the new version of dejagnu will be
5531 made in a future update.
5537 version-control: never