2 Wed Dec 30 08:52:58 1998 Keith Seitz <keiths@cygnus.com>
4 * gdb.gdbtk/{console.exp, browser.exp}: If no DISPLAY is set,
8 Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
10 The following change was made by Edith Epstein
11 <eepstein@cygnus.com> as part of a project to merge in changes
12 originally made by HP; HP did not create ChangeLog entries.
14 * gdb.c++/demangle.exp: changed the expected output for some
15 ARM-style mangling -- removed second reference to datatype.
16 For example, maint demangle __dt__11T1__pt__2_cFv
17 T1<char>::~T1<char>(void)
19 maint demangle __dt__11T1__pt__2_cFv
22 (test_hp_style_demangling): new hp specific demangling test cases.
24 Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
26 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
27 * gdb.trace/backtrace.exp: Likewise.
28 * gdb.trace/circ.exp: Likewise.
29 * gdb.trace/collection.exp: Likewise.
30 * gdb.trace/deltrace.exp: Likewise.
31 * gdb.trace/infotrace.exp: Likewise.
32 * gdb.trace/limits.exp: Likewise.
33 * gdb.trace/packetlen.exp: Likewise.
34 * gdb.trace/passc-dyn.exp: Likewise.
35 * gdb.trace/passcount.exp: Likewise.
36 * gdb.trace/report.exp: Likewise.
37 * gdb.trace/save-trace.exp: Likewise.
38 * gdb.trace/tfind.exp: Likewise.
39 * gdb.trace/tracecmd.exp: Likewise.
40 * gdb.trace/while-dyn.exp: Likewise.
41 * gdb.trace/while-stepping.exp: Likewise.
43 1998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
45 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
47 Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
50 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
53 Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
55 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
56 remote dos host testing right.
58 Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
60 * gdb.base/corefile.exp: remove some xfails.
62 Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
64 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
65 have different timestamps.
67 Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
69 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
70 gdb.base/default.exp: Replace "exec" with "executable".
72 1998-09-29 Keith Seitz <keiths@cygnus.com>
74 * gdb.gdbtk/browser.test: Fix tests which incorrectly assume
75 that gdb knows _exactly_ which files belong to the user
76 and which come from libraries.
78 Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
80 * gdb.base/default.exp: Change else if to elseif from previous
83 Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
85 * gdb.base/default.exp: Add brace missing from previous delta.
87 Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
89 * gdb.base/default.exp: Support test for info float for all
90 varieties of arm toolchain.
92 Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
94 * gdb.trace/*.exp: remove "remote_download" command.
96 Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
98 * gdb.trace/*.exp: remove -gdwarf from compile.
100 Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
102 * gdb.trace/configure.in(AC_INIT): typo
103 * gdb.trace/configure: regenerated
105 Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
107 * config/m68k-emc.exp: New file.
108 * lib/<emc-support.exp trace-support.exp}: New files.
109 * configure.in: add new test directory gdb.trace.
110 * gdb.trace/{configure configure.in Makefile.in}: New files.
111 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
112 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
113 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
114 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
115 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
116 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
117 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
119 Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
121 * gdb.c++/classes.exp: Change all regular expressions to match
122 arbitrary combinations of newline/carriage-return, so that they
123 will work equally well on Unix and Windows.
124 * gdb.c++/inherit.exp: ditto.
125 * gdb.c++/virtfunc.exp: ditto.
127 1998-08-11 Dawn Perchik <dawn@cygnus.com>
129 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
132 Fri Jul 24 14:57:19 1998 Keith Seitz <keiths@cygnus.com>
134 * gdb.gdbtk/Makefile.in: Add new example program "stack".
135 * gdb.gdbtk/browser.test,browser.exp: Add browser window
137 * gdb.gdbtk/stack1.c,stack2.c: Test case for browser window.
141 Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
143 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
144 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
145 to use a0-a3/d0-d3 as needed.
147 Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
149 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
150 * gdb.disasm/am33.exp: Corresponding changes.
153 start-sanitize-cygnus-never
154 Tue Jul 14 16:11:11 1998 Keith Seitz <keiths@cygnus.com>
156 * configure.in: Fix sanitization start/end error.
157 * configure: Regenerate.
158 end-sanitize-cygnus-never
159 1998-07-11 Felix Lee <flee@cygnus.com>
161 * gdb.base/callfuncs.exp: add cmp10 test.
162 * gdb.base/callfuncs.c (cmp10): new function.
164 Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
166 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
167 into two parts to get around a synchronization problem in expect.
170 Sun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>
172 * gdb.gdbtk/simple.c (main): Make main return an
173 int so compiler will stop complaining.
175 Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
177 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
179 * configure.in: Add options for gdbtk testsuite.
181 * configure: Regenerate.
183 * gdb.gdbtk: New directory to hold gdbtk tests.
185 * gdb.gdbtk/console.{exp, test}: New console window tests.
188 Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
190 * gdb.fortran/types.exp: Escape brackets in expect patterns
191 for test_float_literal_types_accepted tests.
192 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
196 Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
198 * am33.exp: Just compile, do not link the testcase.
199 * am33.s: Add ".am33" pseudoop to force am33 mode.
202 1998-06-25 Felix Lee <flee@cygnus.com>
204 * gdb.base/setshow.exp: make sure $pc is sane.
206 * gdb.stabs/weird.exp: split expect patterns properly.
209 Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
211 * gdb.disasm/am33.s: New disassembler testfile for the am33.
212 * gdb.disasm/am33.exp: Run it.
215 Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
217 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
218 match processing (and eliminate spurious timeouts when running).
220 Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
222 * gdb.base/signals.exp (test_handle_all_print): put back Mach
223 exception test, but conditionalize it on target [mach | gnu].
225 Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
227 * gdb.base/overlays.exp: fixup compile line for linker script.
229 Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
231 * gdb.fortran/types.exp: don't guess at float size.
233 Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
235 * gdb.base/exprs.exp: delete test that depends on int size.
237 Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
239 * config/sim.exp: Removed checks for target triplets.
240 (gdb_target_sim): Use gdb,target_sim_options.
242 Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
244 * gdb.base/reread.exp: New file.
245 * gdb.base/reread1.c: New file.
246 * gdb.base/reread2.c: New file.
248 Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
250 * config/sim.exp: Use 'target sim -sparclite' when running
253 Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
255 * gdb.base/structs2.exp: New file.
256 * gdb.base/structs2.c: New file.
258 Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
260 * gdb.asm/common.inc: New file.
261 * gdb.asm/d10v.inc: New file.
262 * asm-source.exp: Pass -I's to gas to find .inc files.
263 Update line numbers in expected output.
264 * asmsrc1.s: Rewrite.
265 * asmsrc2.s: Rewrite.
266 * configure.in: Create arch.inc symlink.
267 * configure: Regenerate.
268 * Makefile.in (distclean): Delete arch.inc.
270 Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
272 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
273 (t_enum_value2): ditto
274 (t_enum_value3): ditto
276 Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
278 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
279 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
281 Use gdb_test instead of send_gdb/gdb_expect sequences.
283 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
285 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
288 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
290 * gdb.base/branches.c: Code with lots of loops and
291 subroutines. Used to test gdbs ability to single step through PC
292 changes, especially to test mips-tdep.c:mips_next_pc
294 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
296 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
297 more rigorous EGCS C++ error checking.
299 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
301 * gdb.base/help.exp: Clean up `help set args' and `help show args'
303 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
304 function when asleep.
305 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
306 for i*86 Linux and SVR4 signal handling problems.
307 Remove linux xfail for `next to handler in signals_tests_1', fixed
308 by recent infrun.c change.
309 Limit backtrace to 10 frames to avoid timeout problems with infinite
311 Adjust expect pattern in `handle all print' test to match Apr 28 1997
314 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
316 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
317 for a newline from gdb before continuing.
318 (default_gdb_exit): Just look for y or n.
319 (gdb_test): Detect abnormal exit from GDB running on DOS; if
320 it does, fail the rests of the tests in the file.
322 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
324 * config/cygmon.exp: New file.
326 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
328 * gdb.base/list.exp: Fix problem with "list default lines around
329 main" test on remote targets.
331 * gdb.base/scope.exp: Fix problem with filelocal_bss before
332 run test on remote targets.
334 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
336 * gdb.asm: New directory.
337 * configure.in: Configure it.
338 * configure: Regenerate.
339 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
340 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
342 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
344 * config/mn10300-eval.exp: New file to support MN10300 eval board.
346 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
348 * gdb.base/overlays (several files): Merge the two overlay
349 managers into one. Change variables (foox, barx, bazx, grbxx)
350 back into ints but force them to load in their proper sections.
352 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
354 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
355 on-chip insn memory and IMAP1 to upper 128k.
356 (D10VCopy): Handle memory regions crossing 16k boundaries.
357 (D10VCopy): Transfer data in 32 bit chunks.
359 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
361 * gdb.base/overlays.c (main): Exit normally when result is
364 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
365 map. Include space for printf in .text segment.
367 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
368 updated d10v memory VMA/LMA map.
369 (D10VCopy): Call D10VTranslate.
371 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
373 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
375 * gdb.base/bar.c (barx, bar): Change variable to small array so
376 that it won't be put into the .sdata - small data -
377 section. Update reference.
378 * gdb.base/baz.c (bazx, baz): Ditto.
379 * gdb.base/foo.c (foox, foo): Ditto.
380 * gdb.base/grbx.c (grbxx, grbx): Ditto.
382 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
385 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
387 * gdb.base/overlays.exp: fix up and get working again.
388 Add tests for backtraces from an overlay function.
390 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
392 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
393 "calling function with watchpoint enabled".
395 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
397 * gdb.base/break.exp (test_next_with_recursion): Remove
398 gdb_suppress_tests for d10v-*-*.
399 * lib/gdb.exp (gdb_suppress_tests): Disable this function
400 pending review of whether it is useful or not.
402 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
404 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
406 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
408 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
409 * config/dve.exp: New file to support Densan boards.
411 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
413 * gdb.base/interrupt.exp: Document problem of simulators, signals,
416 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
418 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
421 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
423 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
425 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
428 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
429 target_sizeof_long and target_bigendian_p.
430 (structs_by_value, structs_by_reference): Check values according
431 to targets word size and endianess.
433 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
435 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
438 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
440 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
441 Update test of set args help to match source change.
443 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
445 * gdb.base/default.exp: Expect help system output to be in
447 * gdb.base/help.exp: Ditto.
449 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
451 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
452 "i*86-pc-linux-gnu*".
453 * gdb.base/interrupt.exp: Ditto.
454 * gdb.base/corefile.exp: Ditto.
456 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
457 define vxworks when building the testcase.
459 * gdb.base/ptype.exp: Fix testnames to be unique.
460 * gdb.base/radix.exp: Ditto.
461 * gdb.base/term.exp: Ditto.
462 * gdb.base/whatis.exp: Ditto.
463 * gdb.c++/classes.exp: Ditto.
465 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
467 * gdb.base/callfuncs.exp: Fix indentation.
469 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
470 suppress_flag has been set.
471 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
474 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
476 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
479 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
480 set_debug_traps() and breakpoint().
481 * gdb.c++/misc.cc (main): Ditto.
482 * gdb.c++/templates.cc (main): Ditto.
483 * gdb.c++/virtfunc.cc (main): Ditto.
485 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
487 * lib/gdb.exp(gdb_step_for_stub): New function.
488 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
489 exists, reload the executable and do a "continue" instead of
491 (runto_main): Use gdb_step_for_stub.
493 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
494 tests to have unique names.
495 * gdb.base/callfuncs.exp: Ditto.
496 * gdb.base/commands.exp: Ditto.
497 * gdb.base/default.exp: Ditto.
498 * gdb.base/help.exp: Ditto.
499 * gdb.base/list.exp: Ditto.
500 * gdb.base/opaque.exp: Ditto.
501 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
504 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
505 * gdb.c++/cplusfuncs.cc: Ditto.
506 * gdb.c++/virtfunc.cc: Ditto.
508 * config/monitor.exp: Keep track of the last file we saw, rather
509 than trying to get the info from gdb.
511 * gdb.fortran/types.exp: Move comment to previous line.
513 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
515 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
518 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
521 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
522 string from GDB when it connects.
524 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
526 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
528 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
529 if we can't get a debug format from GDB (we may be testing an
530 older GDB). Use a 10 second timeout when checking for the format.
532 * gdb.stabs/weird.exp: Fix quoting.
534 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
536 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
538 * config/arm-ice.exp: New file.
540 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
542 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
543 until it has been modified to work with the new testsuite.
545 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
546 testcase won't compile, cause all of the testcases in the file to
549 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
550 (gdb_clear_suppressed): New procedure.
551 (gdb_stop_suppressing_tests): Only clear suppress_flag if
552 it contains a positive value.
554 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
556 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
558 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
560 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
562 * lib/gdb.exp (setup_xfail_format): New function.
563 (get_debug_format): New function to get debug format.
564 (debug_format): New global variable to hold last value set
566 * gdb.base/list.exp: Call get_debug_format and expect some
567 tests to fail for DWARF 1 and COFF formats.
568 * gdb.c++/ptype.exp: Ditto.
569 * gdb.c++/classes.exp: Ditto.
570 * gdb.c++/cplusfuncs.exp: Ditto.
571 * gdb.c++/inherit.exp: Ditto.
572 * gdb.c++/templates.exp: Ditto.
573 * gdb.c++/virtfunc.exp: Ditto.
575 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
577 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
578 host doesn't have a currently-open connection.
580 * config/sparclet.exp: Cleanups and fixes to make it generic for
581 any gdb stub target. Handle cases where gdb doesn't respond when
582 interrupted in a sane fashion.
584 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
585 same thing in a totally different way.
587 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
589 (gdb_start): We set the global gdb_prompt variable in
590 default_gdb_init now.
592 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
594 * gdb.base/printcmds.exp: Fix "check for floating addition"
595 regexp to accept results within approx +/- .01 of exact value.
596 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
598 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
600 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
602 (gdb_expect): Add optional timeout parameter, and add timeout
603 value to various calls.
604 (gdb_suppress_tests): Only give one warning message per group.
606 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
608 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
609 global variables. Handle getting a value for $timeout more
612 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
614 * lib/gdb.exp: Close connection to remote host if gdb doesn't
616 (default_gdb_init): New procedure; allow gdb_init to be overridden
617 by a target configuration file.
618 (gdb_expect): Pass the timeout to remote_expect.
620 * config/monitor.exp(gdb_load): Fix typo in regexp.
622 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
624 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
626 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
628 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
629 here. Call gdb_target_exec before rebooting the target, to make
630 sure the connection to the target is closed.
631 (gdb_load): Pass the name of the executable to gdb_target_monitor.
632 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
633 Also detect "Timeout reading from remote" error.
635 * config/gdbserver.exp: Pass the executable being loaded to
636 gdb_target_monitor. Don't call gdb_file_cmd here; let
637 gdb_target_monitor do it.
639 * gdb.disasm/hppa.exp: Don't use exec_output.
641 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
643 * gdb.base/list.exp: If we're debugging a non-native target,
644 try to set the pc register to point to the start of the
645 program before doing the first list command.
647 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
648 test_calls after restarting.
650 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
653 * gdb.base/watchpoint.exp: Fix typo.
655 * gdb.base/setshow.exp: Check for use_gdb_stub.
657 * gdb.base/break.exp: Fix continue until exit test for the gdb
659 * gdb.base/langs.exp: Ditto.
661 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
662 gdb_load_offset. If we weren't given a file to load, figure out
663 what the current file is and use it.
665 * config/i386-bozo.exp: New file.
667 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
669 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
672 * config/proelf.exp: New entry.
674 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
676 * lib/gdb.exp: Remove spurious .* patterns at the beginning
679 * gdb.base/watchpoint.exp: Don't run the test_stepping
680 tests if gdb can't call functions on the target.
682 * gdb.base/setshow.exp: Don't run the set prompt tests if
683 the board has gdb_prompt set.
685 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
687 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
688 * gdb.base/commands.exp: Likewise.
689 * gdb.base/setshow.exp: Likewise.
691 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
693 * config/monitor.exp(gdb_start): Look for gdb_prompt target
696 * config/i960.exp: New file.
698 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
700 * gdb.base/funcargs.exp: Check for gdb,short_int target
701 feature instead of looking for explicit target triplets.
703 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
705 * gdb.base/printcmds.exp: add a couple more tests a la
706 "p 123DEADBEEF", to check parse_number.
707 * top.c: change "to enable to enable" to "to enable" in a couple
710 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
712 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
715 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
717 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
718 where the test executable is run with explicit args.
719 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
721 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
723 * gdb.base/run.c: Use FAKEARGV to build test executable that
724 does not require a command line arg, since most simulators
725 don't currently support passing such an arg into the simulated
727 * gdb.base/commands.exp: Change tests to insert the proper
728 value as the arg to the first recursive factorial call. Change
729 compilation line to define FAKEARGV at compile time.
731 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
733 * gdb.base/recurse.exp: Enable these tests for the mn10300.
734 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
735 function with watchpoint enabled" test.
737 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
739 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
740 Don't call gdb_test when the command doesn't return to a gdb prompt.
742 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
743 "Tests restarted" messages.
745 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
747 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
749 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
751 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
752 for INFO SYMBOL; add help tests for OVERLAY commands.
753 * gdb.base/default.exp: add tests for INFO SYMBOL command;
754 add tests for OVERLAY commands
755 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
756 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
757 * gdb.base/sigall.c: add usestubs code frag
758 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
760 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
762 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
764 (gdb_stop_suppressing_tests): Note that tests have restarted.
766 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
768 * config/h8300.exp: New file.
770 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
772 * gdb.base/setshow.exp: Check for the existence of a
773 feature, not its value.
775 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
777 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
779 * gdb.base/scope.exp: It's now init0(), not init().
781 * gdb.base/scope0.c: For now, change init() to be init0().
783 * config/monitor.exp: Use gdb_serial in preference to serial
786 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
787 and it's not already set.
789 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
791 * gdb.base/setshow.exp: Only test the run command if the target
792 isn't using a stub and if it supports argument passing.
794 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
796 * config/udi.exp(gdb_start): Make sure UDICONF is set
797 properly before starting gdb.
799 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
801 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
802 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
803 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
805 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
807 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
808 specialized code to reboot the board, use remote_reboot instead.
810 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
812 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
814 * config/monitor.exp: Make sure we disconnect from the target.
815 Also, try a reboot/reload cycle instead of failing if the
818 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
820 * gdb.base/default.exp: Don't set match_max.
821 * gdb.base/help.exp: Ditto.
822 * gdb.base/list.exp: Ditto.
823 * gdb.base/signals.exp: Ditto.
825 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
826 set, use remote_ld to download the testcase instead of
829 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
831 * config/vr5000.exp: New file.
833 * config/monitor.exp(gdb_target_monitor): Add pattern for
834 "Ending remote" to detect errors in connecting.
836 * gdb.base/setshow.exp: Add .* within auto language test.
838 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
841 * config/monitor.exp(gdb_load): Check for a failure when loading,
842 and reboot the board if necessary.
844 * gdb.base/setvar.exp(test_set): Handle multiple prints within
845 a set of tests. Remove print.* from the patterns being checked.
847 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
849 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
850 refer to gdb_spawn_id.
852 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
854 * config/sparclet.exp: Ditto.
855 * config/sparclet-old.exp: Ditto.
856 * config/slite.exp: Ditto.
857 * config/sim.exp: Ditto.
858 * gdb.base/funcargs.exp: Ditto.
860 * lib/gdb.exp:Remove references to gdb_spawn_id.
861 (gdb_expect): Move to remote.exp.
863 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
865 * config/monitor.exp: Detect the "Couldn't establish connection"
868 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
870 * gdb.base/bitfields.exp: Use runto instead of explicit
871 gdb_run_cmd/gdb_expect sequences.
873 * gdb.base/break.exp(text_next_with_recursion): Add match for
876 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
877 We also need to handle the "A program is being debugged already"
878 prompt from gdb. Use gdb_test to set the baud rate.
880 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
881 to 20000. Really. I mean it.
883 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
885 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
886 fails. If suppress_flag is set, skip perror message about not
887 being able to send to GDB.
888 (send_gdb): If suppress_flag is set, don't try to send commands to
890 (gdb_expect): If suppress_flag is set, always fail immediately.
891 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
892 (gdb_init): Call gdb_stop_suppressing_tests.
893 (default_gdb_exit): Ditto.
894 (default_gdb_start): Ditto.
896 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
897 gdb_stop_suppressing_tests as appropriate.
898 * gdb.base/break.exp: Ditto.
899 * gdb.base/callfuncs.exp: Ditto.
900 * gdb.base/commands.exp: Ditto.
901 * gdb.base/exprs.exp: Ditto.
902 * gdb.base/funcargs.exp: Ditto.
903 * gdb.base/list.exp: Ditto.
904 * gdb.base/recurse.exp: Ditto.
905 * gdb.base/scope.exp: Ditto.
906 * gdb.base/structs.exp: Ditto.
907 * gdb.c++/inherit.exp: Ditto.
909 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
911 * config/vr4300.exp: New file.
913 * gdb.*/*.exp: Call gdb_expect instead of expect.
915 * lib/gdb.exp(gdb_expect): New function.
917 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
919 * lib/gdb.exp(gdb_init): New function.
921 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
922 for each individual variable set.
924 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
927 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
929 * gdb.base/scope.exp: Use gdb_test.
931 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
932 aborting; the testsuite driver will do that for us (see
933 gdb_finish). Also, use gdb_test in a few more places.
935 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
937 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
939 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
941 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
942 and "add_tests" are not at the same address.
944 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
946 * gdb.base/ptype.exp: Use gdb_test.
948 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
950 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
951 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
952 left in. No longer expect them to fail.
954 * gdb.stabs/*.mt; Deleted, no longer used.
955 * gdb.stabs/configure.in: Remove references to target makefile
957 * gdb.stabs/configure: Rebuilt.
959 * gdb.disasm/*.mt: Deleted, no longer used.
960 * gdb.disasm/configure.in: Remove references to target makefile
961 frags. Use "sh3.s" as the unique filename for this directory.
962 * gdb.disasm/configure: Rebuilt.
964 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
965 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
966 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
968 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
970 * config/udi.exp: Use mondfe,name instead of remote_host.
972 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
974 * gdb.base/watchpoint.exp: Don't expect a failure when calling
975 a function with a watchpoint enabled on the mn10200.
977 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
978 before trying to create it!
980 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
982 * config/vx.exp: Use hostname instead of netport.
984 * config/vxworks.exp: New file.
986 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
988 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
989 gdb before assuming everything worked. Send a ^C if a timeout
992 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
993 $gdb_spawn_id directly.
994 (gdb_run_cmd): Try _start as well as start. Use the target feature
995 gdb,start_symbol as the symbol to start from when jumping.
997 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
999 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
1002 * gdb.base/recurse.exp: Relax final value test for 'b' so that
1003 it doesn't lose for 16bit integer systems.
1005 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
1007 * gdb.fortran/types.exp: If the target doesn't support "double"
1008 data types, then expect "real" types to only be 4 bytes.
1010 * gdb.c++/virtfunc.exp: Expect failure for virtual function
1011 call tests if the target doesn't support inferior function calls.
1013 * gdb.base/printcmds.exp: Allow minor deviation in FP values
1016 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
1018 * gdb.base/help.exp: Disable "help set", "help show", and
1019 "help support". Simplify regexp for "help stack".
1021 * gdb.base/default.exp: Set match_max to 5000 and the timeout
1022 to 60 seconds. Temporarily set match_max to 15000 around the
1023 "info copying" test.
1025 * gdb.base/nodebug.exp: Don't try to do an inferior function
1026 call if the target doesn't support them.
1027 * gdb.base/printcmds.exp: Likewise.
1028 * gdb.base/setvar.exp: Likewise.
1029 * gdb.base/structs.exp: Likewise.
1030 * gdb.c++/templates.exp: Likewise.
1031 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
1033 * gdb.base/recurse.exp: Enable for the mn10200.
1035 * configure.in: Do configure gdb.stabs directory for *-*-elf
1037 * configure: Rebuilt.
1039 * gdb.base/break.exp: Check for gdb,noresults before testing
1040 exit status and/or results from the target.
1041 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
1042 * lib/gdb.exp: Remove old (now bogus) initialization of
1043 noinferior, noargs, noresults and nosignals.
1045 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
1047 * config/sh.exp: New file.
1049 * config/slite.exp: Try to connect multiple times to the board
1050 before rebooting. Only send a "monitor run" if need_monitor_run
1053 * gdb.base/break.exp: Don't do the "stub continue" test if
1054 the target has gdb_stub set.
1056 * gdb.base/callfuncs.exp: Increase the timeout.
1058 * gdb.base/interrupt.exp: Don't even try to compile the testcase
1059 if the target has gdb,noinferiorio set.
1061 * gdb.base/list.exp: Increase match_max to 10000 characters.
1063 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
1065 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
1068 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
1070 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
1072 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
1073 trying to delete the copy of gdb. Catch the file delete so we
1074 don't die if the delete fails; also, the file should be copied to
1075 the host, not to the build.
1077 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
1079 * lib/gdb.exp(gdb_test): Surround the result pattern with
1080 parenthesis in case it contains multiple regexps separated
1083 * gdb.base/watchpoint.exp: Use gdb_test.
1084 * gdb.base/default.exp: Ditto.
1086 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
1088 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
1090 * gdb.base/scope.exp: Use gdb_test.
1091 * gdb.c++/classes.exp: Ditto.
1092 * gdb.c++/inherit.exp: Ditto.
1094 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
1096 * gdb.base/crossload.exp: Don't use execute_anywhere, use
1097 remote_exec instead.
1098 * gdb.base/corefile.exp: Don't be ridiculous.
1099 * gdb.base/*.c: Add missing stub invocations.
1101 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
1103 * config/slite.exp: Miscellaneous fixes.
1105 * lib/gdb.exp: Fix runto.
1107 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
1110 * gdb.base/watchpoint.exp: Fix regexp.
1112 * lib/gdb.exp(default_gdb_exit): Add a catch to the
1113 close and wait commands, as the descriptor may now be
1114 invalid. Always call "remote_close host".
1116 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
1118 Major rewrite for testsuite revision.
1120 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
1121 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
1122 instead of relying on spawn_id to always contain a valid
1124 (get_compiler_info): New procedure to build the ${binfile}.ci
1125 file, instead of replicating this in N different places.
1126 (gdb_compile): New procedure.
1128 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
1129 appropriate arguments) instead of compile. Use gdb_test in a lot
1130 more places. Use send_gdb instead of send. Always run gdb_start
1131 at the start of a testcase, as this is no longer done magically.
1133 config/*-gdb.exp: Rename without the -gdb suffix.
1135 config/mips.exp: Use remote_close instead of exit_remote_shell.
1136 config/monitor.exp: Use target_info instead of looking at
1138 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
1140 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1142 * gdb.c++/templates.exp (test_ptype_of_templates),
1143 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
1144 Update expect patterns for destructors and assignment operators
1145 to match corresponding c-typeprint.c changes.
1146 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
1147 to destructor breakpoint test, GDB should be able to set the
1148 destructor breakpoint without specifying arguments.
1150 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
1152 * gdb.threads/pthreads.exp: Change result for failure to compile due
1153 to lack of pthreads runtime support from an error to simply an
1154 unsupported test, per dejagnu standards.
1156 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1158 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
1159 where GDB exits to reduce pattern match time.
1160 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
1162 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
1164 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1166 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
1167 * gdb.base/default.exp: ditto.
1168 * gdb.base/nodebug.exp: ditto.
1169 * gdb.base/printcmds.exp: ditto.
1170 * gdb.base/ptype.exp: ditto.
1171 * gdb.base/setvar.exp: ditto.
1172 * gdb.base/structs.exp: ditto.
1173 * gdb.base/setshow.c: Guard against uninitialized values of argc.
1175 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
1177 * configure, */configure: Rebuild with autoconf 2.12.
1179 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
1181 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
1182 use new i*86-pc-linux*-gnu quads.
1183 * gdb.base/corefile.exp: Ditto.
1184 * gdb.base/signals.exp: Ditto.
1185 * gdb.base/sigall.exp: Ditto.
1186 * gdb.base/interrupt.exp: Ditto.
1188 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
1189 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
1192 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
1193 linux. This allows the test case to at least compile on latest
1194 linux, but still not run due to missing the threads runtime library.
1196 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1198 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
1199 directory to search gdb directory. Accept and step over conditional
1200 stack alignment code. Consume $prompt in failure cases.
1201 Reset timeout to $oldtimeout instead of some arbitrary value.
1202 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
1203 timeout problems with infinite stack backtraces.
1204 * gdb.base/ptype.exp (ptype struct link, union tu_link):
1205 Accept function parameters for linkfunc member.
1207 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
1209 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
1210 (CXXFLAGS): Remove, unreferenced.
1211 (B_OPTIONS): Add for -B options and add code to initialize with
1212 previous -B options and also add -B option to pick up cross compiled
1214 (TARGET_INCLUDES): Add for -I options and add code to initialize when
1215 doing cross compiles.
1216 (target_alias): Declare global.
1217 (xgcc): Set variable to full path of gcc in build tree. Use findfile
1218 to verify that gcc exists in build tree, and if so set CC to that
1219 gcc and to use B_OPTIONS and TARGET_INCLUDES.
1221 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
1223 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
1224 ptype test for anonymous union. Fixup testcase to match
1225 current gcc debug output.
1227 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
1229 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
1230 force argument to an unsigned long type.
1232 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
1234 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
1235 tests and anonymous union print/ptype tests.
1236 * gdb.base/list.exp (test_forward-search): Increase timeout by
1237 5 minutes for the "search extremely long line" case.
1238 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
1239 completely optional and that the pass/fail messages use the command as
1240 the message if that third arg is a null string.
1241 (gdb_test_exact): Arrange that a null string pattern means match a
1242 null string output rather than any output, which might include random
1244 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
1246 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
1247 always failing and failure is now exposed by gdb.exp changes.
1249 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
1251 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
1252 weren't being noted.
1254 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1256 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
1257 * gdb.stabs/weird.exp: Remove v_comb xfails.
1259 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1261 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
1262 list.exp scope.exp watchpoint.exp]
1263 Make all timeout error msgs explicitly say "(timeout)".
1265 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1267 * config/monitor.exp: Increase download timeout to 1000 seconds.
1269 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1271 * config/m32r.exp: Increase timeout to 120 seconds.
1273 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
1275 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
1276 and accept older ordering as obsolescent gcc or gdb.
1277 * gdb.c++/templates.exp: Ditto.
1278 * gdb.c++/virtfunc.exp: Ditto.
1280 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
1282 * gdb.base/coremaker.c: Add code to mmap some data so we
1283 can check that it ends up in the core file.
1284 * gdb.base/corefile.exp: Add test to read mmapped data
1287 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1289 * config/m32r.exp: New file.
1291 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
1293 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
1294 that cflags can contains -gstabs, and work correctly for other tests.
1296 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1298 * gdb.base/setshow.exp: New file, tests show and set.
1299 * gdb.base/setshow.c: New file, tests show and set.
1300 * gdb.base/help.exp: Add test for help set|show annotate.
1301 * gdb.base/default.exp: Add test for set|show annotate.
1303 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
1305 * testsuite/gdb.base/break.exp: Make backtrace from factorial
1307 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
1310 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
1312 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
1313 and width commands. This is done elsewhere.
1314 * (gdb_start): Don't call gdb_start_sim here. That's already
1315 done in gdb_load. This fixes lots of failures in default.exp.
1317 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
1319 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1320 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
1321 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
1322 in the same we we treat other failures (since it may be an expected
1323 condition), rather than as an error.
1324 * gdb.base/signals.exp (test_handle_all_print): Revert back to
1327 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
1329 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
1330 (distclean maintainer-clean realclean): No need to remove files
1331 twice. Nuke the duplicates.
1332 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
1333 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
1334 Remove config.h along with other config files.
1336 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
1338 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
1339 "p func1 ()" and note that rests of tests are skipped.
1340 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
1341 setup_xfails for "print func2::coremaker_local".
1342 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
1343 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
1344 affected by the previous run test.
1345 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
1346 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
1347 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
1348 "pass int powerset tuple" and "pass modeless int powerset tuple".
1349 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
1350 "real write 4" and "real write 8".
1351 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
1352 setup_xfails for "print vs1 after tuple assign 2",
1353 "print \$i after tuple assign 2", and
1354 "print vs2 after tuple assign 2".
1355 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
1356 meaningful error message and return -1 so the caller can
1357 suppress further tests and avoid a cascade of errors.
1359 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
1361 * gdb.base/a1-selftest.exp: Tweak tests to account for new
1362 format for printing version.
1363 * gdb.base/default.exp: Ditto.
1364 * gdb.base/interrupt.exp: Fix problem with cascade of
1365 errors if child process dies while calling a function.
1367 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
1369 * Makefile.in (VPATH): Add
1370 * Makefile.in (Makefile, config.status): Fix rules so things get
1371 remade when necessary.
1373 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
1375 * Makefile.in (just-check): Add path to sibling expect dir
1376 to environment variable specified by RPATH_ENVVAR.
1378 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
1380 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
1381 (just-check): Add shared library paths for libstdc++, tk,
1382 tcl, bfd, and opcodes to the environment variable specified
1384 * configure.in: Add support to recognize --enable-shared flag
1385 and generate correct value for RPATH_ENVVAR.
1386 * configure: Regenerated with autoconf.
1388 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
1390 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
1391 include all osf versions.
1392 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
1393 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
1394 when target is linux. When failing to build pthreads test
1395 executable, give more meaningful message.
1396 * gdb.threads/pthreads.c: Hpux also uses old definition of second
1397 arg for pthread_create.
1399 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
1401 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
1402 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
1403 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
1404 and -lpthreads (everybody else).
1405 (test_startup): Fail gracefully if threads are not supported.
1406 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
1407 "p/c array_index("abcdef",2)" when not gcc compiled.
1408 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
1409 "print func2::coremaker_local" when not gcc compiled.
1410 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
1411 "ptype on opaque struct tagname (statically)",
1412 "ptype on opaque struct tagname (dynamically) 1", and
1413 "ptype on opaque struct tagname (dynamically) 2"
1414 for not compiled with gcc.
1415 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
1416 backtrace when compiled with gcc.
1417 * lib/gdb.exp (runto_main): Return result of "runto main" rather
1418 than always return success.
1420 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
1422 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
1424 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
1426 * gdb.base/structs.exp: Undo last change.
1428 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
1430 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
1431 encapsulate all the steps/nexts done during self test, starting
1432 at main, and makes them less sensitive to optimization issues.
1433 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
1434 signal handler" test.
1435 * gdb.threads/pthreads.exp: Only run this for native configs.
1436 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
1437 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
1439 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
1440 for "runto test_calls(void)" test.
1442 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
1444 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
1445 and don't expect address info in breakpoint confirmations.
1447 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
1449 * gdb.base/list.exp (test_forward_search): Increase timeout
1450 temporarily by 60 seconds for searching extremely long line,
1451 and then reset to old value when done. Increase expect input
1454 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
1456 * gdb.base/list.exp (test_forward_search): Fix to handle very
1457 long source line without overflowing expect's input buffer.
1459 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1461 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
1464 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
1467 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
1470 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
1473 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
1475 * configure.in (configdirs): Add gdb.threads.
1476 * configure: Regenerated with autoconf.
1477 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
1478 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
1479 * gdb.threads/configure: New, generated with autoconf.
1481 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
1483 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
1485 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
1487 * gdb.base/signals.exp (test_handle_all_print): Test separately for
1488 each signal's status in the output of "handle all print".
1489 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
1490 the \r\n sequence that immediately precedes the gdb prompt.
1491 * gdb.base/a1-selftest.exp: Save original timeout and restore
1494 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
1496 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
1499 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1501 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1503 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
1505 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
1506 timeout by 60 seconds.
1508 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
1510 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
1511 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
1514 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
1516 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
1517 gdb initialization, also report how long dejagnu waited. Restore
1518 old timeout before doing error return. Temporarily increase timeout
1519 by 3 minutes to allow for slow startups over heavy NFS use.
1521 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
1523 * lib/gdb.exp: Report timeout value for verbosity level 2.
1524 * config/gdbserver.exp: Ditto.
1525 * config/hppro.exp: Ditto.
1526 * config/mips-gdb.exp: Ditto.
1527 * config/monitor.exp: Ditto.
1528 * config/netware.exp: Ditto.
1529 * config/sim-gdb.exp: Ditto.
1530 * config/slite-gdb.exp: Ditto.
1531 * config/udi-gdb.exp: Ditto.
1532 * config/unix-gdb.exp: Ditto.
1533 * config/vx-gdb.exp: Ditto.
1534 * gdb.base/a1-selftest.exp: Ditto.
1535 * gdb.base/a2-run.exp: Ditto.
1536 * gdb.base/break.exp: Ditto.
1537 * gdb.base/corefile.exp: Ditto.
1538 * gdb.base/list.exp: Ditto.
1539 * gdb.base/recurse.exp: Ditto.
1540 * gdb.base/scope.exp: Ditto.
1541 * gdb.base/signals.exp: Ditto.
1543 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1545 * gdb.threads/Makefile.in (docdir): Removed.
1547 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1549 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1550 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
1552 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
1553 autoconf 2.5 or higher.
1554 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1556 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
1558 * configure: Regenerated.
1559 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1560 avoid name clashes with SunOS headers.
1562 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
1564 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
1566 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
1568 * gdb.base/callfuncs.exp: Finish last change -- make sure the
1569 prototype information ends up in the compiler info file.
1571 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
1573 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
1574 attempting to regenerate it. Eliminate use of a temporary file
1575 and just generate the info file directly. Source it immediately,
1576 for consistency of use.
1577 * gdb.base/corefile.exp: Ditto
1578 * gdb.base/exprs.exp: Ditto.
1579 * gdb.base/funcargs.exp: Ditto.
1580 * gdb.base/langs.exp: Ditto.
1581 * gdb.base/list.exp: Ditto.
1582 * gdb.base/mips_pro.exp: Ditto.
1583 * gdb.base/nodebug.exp: Ditto.
1584 * gdb.base/opaque.exp: Ditto.
1585 * gdb.base/ptype.exp: Ditto.
1586 * gdb.base/scope.exp: Ditto.
1587 * gdb.base/setvar.exp: Ditto.
1588 * gdb.base/signals.exp: Ditto.
1589 * gdb.base/whatis.exp: Ditto.
1590 * gdb.c++/templates.exp: Ditto.
1591 * gdb.c++/virtfunc.exp: Ditto.
1592 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
1593 whether or not to add -lstdc++ to the compile command line args.
1595 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1597 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
1598 it got fixed by the recent lookup_minimal_symbol_by_pc change.
1599 Increase timeout, a lot of single stepping might be needed if the
1600 target has no hardware watchpoints.
1602 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
1604 * gdb.base/break.exp: Ignore compiler warnings when compiling
1606 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
1607 * gdb.base/default.exp: Add h8300 xfails. Handle messages
1609 * gdb.base/exprs.exp: Add h8300 xfails.
1610 * gdb.base/funcargs.exp: Likewise.
1611 * gdb.base/nodebug.exp: Likewise.
1612 * gdb.base/printcmds.exp: Likewise.
1613 * gdb.base/ptype.exp: Likewise.
1614 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1616 * gdb.base/return.exp: Handle float/double precision problems
1618 * gdb.base/funcargs.c: Explicitly make last constant argument to
1619 call_after_alloca_subr an unsigned long type.
1620 * gdb.base/return.c: Include stdio.h.
1622 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1624 * config/abug.exp: New file for the older Motorola Bug monitor
1625 that runs on the mvme13x series VME boards.
1626 * config/monitor.exp: Use the new config array for target settings
1629 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1631 * sim-gdb.exp: Make the SH simulator allocate less space when
1634 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1636 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1639 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1641 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1642 "rs6000-*-*" for "list function in include file" when gcc compiled.
1643 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1644 for "p ctable1[120]".
1645 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1646 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1647 Remove setup_xfail for "rs6000-*-*" for
1648 "print 'scope0.c'::filelocal before run".
1649 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1650 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1651 since some compilers don't allow both options to be given
1652 on the same command line. Create object file and move it.
1654 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
1656 * gdb.base/corefile.exp: Always regenerate the core file, since
1657 we always regenerate the coremaker program. Detect special case
1658 where registers cannot be read from core file.
1660 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
1662 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1663 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1664 * gdb.c++/templates.exp: Only match on basename of file since
1665 some formats like xcoff don't encode directory information.
1666 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1667 and rs6000 AIX xcoff targets.
1668 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1669 * configure: Regenerate.
1670 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1671 here, rather than in distclean.
1673 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
1675 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1676 defined, and use it to compile the test case with -O2. The
1677 native compilation still uses no optimization.
1678 * gdb.base/mips_pro.c: Remove inline assembly code since
1679 it is compiled PIC by default, which results in assembler
1680 warnings that make the testsuite think the compilation
1683 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1685 * gdb.c++/misc.exp: Add note to message for
1686 "print s.a for foo struct" that this is a known gcc 2.7.2
1689 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
1691 * gdb.base/break.exp: Fix pattern for matching "Delete all
1692 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1693 setup_xfail for deleting all breakpoints test. Fix various
1694 timeout messages to include "(timeout)".
1695 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1696 for "p t_float_values2(3.14159,float_val2)".
1697 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1698 for "continue to call2g" when gcc compiled.
1699 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1700 "up to foo in langs.exp", "show language at foo in langs.exp",
1701 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1702 and "show language at fsub in langs.exp".
1703 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1704 "list line 1 in include file", "list message for lines past EOF",
1705 "list function in include file", "list list0.h:foo", and
1706 "list filename:function; nonexistant function".
1707 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1708 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1709 and "ptype t_char_array" to be for native cc only.
1711 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
1713 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1714 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1715 "print func2::coremaker_local", and "backtrace in corefile.exp".
1717 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
1719 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1720 "bt in signals.exp". This problem only appears when running
1721 the testsuite, and then only intermittently.
1723 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
1725 * gdb.base/return.exp (return_tests): Differentiate between
1726 two tests of continuing.
1728 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1730 * */Makefile.in (maintainer-clean): Remove config.log.
1731 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1732 * gdb.c++/Makefile.in (PROGS): Add inherit.
1733 (clean): Remove *.ci.
1735 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
1737 * gdb.c++/misc.cc: Add test code from Mike Stump.
1738 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1740 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1742 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1743 to "alpha-*-osf2*" and add comment.
1744 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1745 setup_xfail for "step over execarg initialization" and
1746 "step over corearg initialization".
1747 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1748 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1749 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1750 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1751 "print func2::coremaker_local", and "backtrace in corefile.exp".
1752 * gdb.base/signals.exp: Build and source signals.ci.
1753 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1755 * lib/gdb.exp: Move verbose statements outside conditionals.
1757 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1759 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1760 Feb 3 procfs.c change.
1762 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1764 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1766 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1768 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1769 from dejagnu's apparent default of 10 seconds, which gives random
1770 results when running the tests over NFS on moderately loaded systems.
1771 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1773 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1775 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1776 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1779 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1781 * configure.in (CY_AC_PATH_TCLH): Remove.
1782 * configure: Regenerate.
1784 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1786 * gdb.c++/Makefile.in (clean): Add missing '{'.
1788 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1790 * lib/gdb.exp: Provide a default value for noinferior.
1792 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1795 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1797 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1798 the executable, not the .o to run the tests from.
1800 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1802 * gdb.base/break.exp: Don't test for program exit or exit status
1803 if $noresults if nonzero.
1804 * gdb.base/langs.exp: Likewise.
1805 * gdb.base/watchpoint.exp: Likewise.
1807 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1808 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1809 trying to compile the testcase.
1811 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1813 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1814 * gdb.base/signals.exp (continue to handler): Likewise.
1816 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1818 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1820 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1822 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1824 * gdb.base/corefile.exp: Recognize "not found" as failure
1825 when trying to determine if a core file was generated.
1826 If no core file was generate the first time, try again without
1827 the ulimit -c to work around braindamaged shells.
1829 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1831 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1832 [] tests with "test" and enclose string in quotes.
1833 * gdb.stabs/configure: Rebuild
1835 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1837 Changes in sync with expect:
1838 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1839 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1840 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1841 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1842 argument to AC_REQUIRE.
1843 * configure: Regenerated.
1845 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1847 * gdb.base/corefile.exp: When generating a core, discard any
1848 error messages about ulimit not found and the "core dumped"
1849 message from the shell that runs the coredumper.
1851 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1853 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1855 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1856 which sed script to run. Expect failure for v_comb test
1859 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1861 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1862 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1864 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1866 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1867 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1868 "sparc-sun-solaris*" xfails for "p v_comb".
1869 * lib/gdb.exp (default_gdb_start): Fix typo.
1870 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1871 messages to not include the full program name that caused
1872 the core dump since some systems (such as solaris) apparently
1873 truncate this path to about 80 characters.
1874 When generating a core file first try increasing the core file
1875 size limit to unlimited since some systems may default it to
1876 zero, and it is harmless to try it. Move the test for failing
1877 to generate a core file to where it will actually get executed.
1878 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1879 new gdb result from g++ debug info improvements and make old
1880 pattern obsolescent. Also account for size_t differences
1881 (may be int or long).
1882 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1883 initialization before function call is placed in the delay slot
1884 and thus appears to be skipped over by commands such as "next".
1886 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1888 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1890 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1892 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1893 input source file; fix code to compile test to deal with this
1895 * gdb.c++/*.exp: Likewise.
1897 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1899 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1900 "bt in signals.exp".
1902 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1904 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1905 "step over execarg initialization" and
1906 "step over corearg initialization".
1908 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1910 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1911 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1913 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1915 From Rob Savoye (rob@poseidon.cygnus.com)
1916 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1917 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1918 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1919 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1920 configure.in}: Major reworking for autoconfig.
1921 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1922 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1924 * config/unix-gdb.exp: Make GDB global.
1925 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1926 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1927 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1928 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1929 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1930 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1931 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1932 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1933 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1934 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1935 pr-8136.exp, result.exp, string.exp, tuples.exp},
1936 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1937 to returns as necessary, arrange for test to compile own testcase
1939 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1941 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1943 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1944 clear_xfail at end of test which might not call either pass or fail.
1945 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1946 "backtrace through signal handler".
1948 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1950 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1951 continuing from a job control stop signal.
1952 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1954 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1956 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1957 * gdb.base/corefile.exp: Likewise.
1958 * gdb.base/funcargs.exp: Likewise.
1960 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1962 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1963 * config/monitor.exp: Add support for setting baud rate.
1965 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1967 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1968 i*86-*-linux* xfails for "backtrace through signal handler".
1969 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1970 "print func2::coremaker_local".
1971 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1972 alpha-dec-osf2* xfail for
1973 "delete all breakpoints when none".
1975 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1977 * gdb.base/break.exp: Change test that deletes all breakpoints
1978 when no user breakpoints are installed. A post 4.15 change
1979 causes gdb to no longer prompt in this case.
1981 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1983 * gdb.base/return.exp (return_tests): Change xfail for test
1984 "correct value returned double test" to stop xfailing at
1985 Solaris 2.5. Apparently the bug has been fixed.
1987 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1989 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1990 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1992 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1994 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1995 * gdb.disasm/hppa.s: Corresponding changes.
1997 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1999 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
2001 * config/mt-hpux: Deleted.
2003 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
2005 * Many files: When warning about suppressed tests due to a
2006 nonexistant test binary, avoid incrementing the warning count.
2008 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
2010 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
2012 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2014 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
2015 "sparc-*-solaris2*".
2017 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2019 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
2020 Add global and local variables and initialize them.
2021 * gdb.base/corefile.exp: Test correct mapping of corefile sections
2022 by printing variables. Remove rs6000 and powerpc xfails, BFD now
2023 extracts the file name and terminating signal from the core file.
2024 * TODO: Remove note about tests for correct mapping of corefile.
2025 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
2026 from optimizing it away.
2027 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
2028 handles common blocks.
2030 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
2032 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
2033 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
2035 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
2037 * Makefile.in (maintainer-clean): New target, synonym for
2039 * gdb.base/Makefile.in (maintainer-clean): Likewise.
2040 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
2041 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
2042 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
2043 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
2044 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
2046 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
2048 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
2049 xfails when not gcc compiled for "print foo::funclocal".
2050 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
2051 "print foo::funclocal at foo",
2052 "print 'scope1.c'::foo::funclocal at foo",
2053 "print foo::funclocal_bss at foo",
2054 "print 'scope1.c'::foo::funclocal_bss at foo",
2055 "print foo::funclocal_ro at foo",
2056 "print 'scope1.c'::foo::funclocal_ro at foo",
2057 "print bar::funclocal at foo" and
2058 "print 'scope1.c'::bar::funclocal at foo".
2059 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
2060 gcc compiled for "print foo::funclocal at bar".
2061 Expand all messages to ensure that they identify that
2062 the test is at bar().
2063 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
2065 "ptype on opaque struct pointer (statically)",
2066 "ptype on opaque struct tagname (statically)",
2067 "ptype on opaque struct pointer (dynamically) 1",
2068 "ptype on opaque struct tagname (dynamically) 1",
2069 "ptype on opaque struct pointer (dynamically) 2" and
2070 "ptype on opaque struct tagname (dynamically) 2
2071 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
2077 "whatis bsslocal", and
2079 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
2080 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
2081 when not gcc compiled.
2082 * gdb.base/funcargs.exp (float_and_integral_args): Add
2083 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
2085 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
2086 "backtrace from call6a" when not gcc compiled.
2087 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
2088 "backtrace from call7a" when not gcc compiled.
2089 * gdb.base/callfuncs.exp (do_function_calls):
2090 Add "hppa*-*-hpux*" xfail when not gcc compiled for
2091 "p t_char_array_values(char_array_val2,char_array_val1)",
2092 "p t_char_array_values(char_array_val1,char_array_val2)",
2093 "p t_char_array_values("carray 1","carray 2")",
2094 "p t_char_array_values("carray 1",char_array_val2)",
2095 "p t_char_array_values(char_array_val1,"carray 2")",
2096 "p sum_args(1,{2})",
2097 "p sum_args(2,{2,3})",
2098 "p sum_args(3,{2,3,4})",
2099 "p sum_args(4,{2,3,4,5})"
2100 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
2101 "backtrace in corefile.exp" when not gcc compiled.
2103 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2105 * gdb.base/signals.exp: Rewrite `handle all print' test as
2106 a procedure. Accept blanks or TABs as whitespace, increase
2107 timeout and expect input buffer size for the large output
2108 from the command. Remove "i*86-*-bsdi2.0" xfail.
2110 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2112 * gdb.base/setvar.exp: Add new testcases for truncation when
2113 assigning invalid values to bitfields.
2115 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
2117 * gdb.base/callfuncs.exp (do_function_calls): Remove
2118 mips-sgi-irix* xfail for
2119 "call inferior func with struct - returns char *"
2120 and fix test so that an optional (unsigned char *) cast is
2121 accepted in the result.
2123 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
2125 * gdb.base/funcargs.exp (float_and_integral_args): Remove
2126 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2127 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
2128 * gdb.base/signals.exp: Remove duplicate "handle all print" test
2129 that accidentally got checked in.
2131 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
2133 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
2134 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
2136 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
2137 Add mips-sgi-irix5* xfail for not gcc compiled.
2138 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
2139 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
2140 "p top", "whatis top", "p middle", and "whatis middle".
2141 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
2142 "whatis signed char" for not gcc compiled.
2143 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
2144 "set variable signed char=-1 (-1)" and
2145 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
2146 * gdb.base/funcargs.exp (float_and_integral_args):
2147 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
2148 Add mips-sgi-irix* xfail when not gcc compiled for
2149 "continue to call2b".
2150 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
2151 "continue to call2g".
2152 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
2153 "backtrace from call6a"
2154 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
2155 "backtrace from call7k".
2156 Add mips-sgi-irix5* xfail when not gcc compiled for
2157 "backtrace from call7a".
2158 (localvars_after_alloca): Fix gdb_test cmds for
2159 "print * after runto ...".
2160 Remove rs6000-*-* xfails for
2161 "print i after runto localvars_after_alloca" and
2162 "print l after runto localvars_after_alloca"
2164 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
2165 when not compiled with gcc, for:
2166 "print signed char == (minus)",
2167 "print signed char != (minus)",
2168 "print signed char < (minus)",
2169 "print signed char > (minus)".
2170 * gdb.base/callfuncs.exp (do_function_calls):
2171 Add mips-sgi-irix* xfail, when compiled with native compiler, for
2172 "call inferior func with struct - returns char *".
2173 * gdb.base/return.exp (return_tests): Change xfail for
2174 "correct value returned double test" to include Solaris 2.4.
2175 * gdb.base/funcargs.exp (float_and_integral_args):
2176 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
2178 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2180 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
2181 enumeration bitfields if compiling with GNU C.
2182 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
2185 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
2187 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
2188 test for PRO targets.
2190 * gdb.base/funcargs.exp: Avoid ever setting more than 8
2191 breakpoints in the inferior at any given time by making
2192 two groups of breakpoints for call2*, call6* and call7*
2195 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2197 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
2198 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
2199 from optimizing it away.
2200 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
2201 "call inferior func with struct".
2203 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
2205 * configure.in: Only configure gdb.chill for particular targets.
2207 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
2209 * gdb.base/Makefile.in: Add action to .c.o transformation
2210 rule that generates a .ci file for each .o file and remove
2211 explicit .c.o rules except for callfuncs.o.
2212 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
2213 generates a .ci file for each .o file and remove explicit
2215 (clean): Remove *.tmp *.ci files.
2216 (EXECUTABLES): Remove templ-info.exp.
2217 * gdb.base/compiler.c: New file.
2218 * gdb.c++/compiler.cc: New file
2219 * gdb.base/scope.exp: Source gdb.base/scope.ci.
2220 Change rs6000-*-* xfail for
2221 "print 'scope0.c'::filelocal_ro" and
2222 "print 'scope1.c'::filelocal" and
2223 "print 'scope1.c'::filelocal_bss" and
2224 "print 'scope1.c'::filelocal_ro" and
2225 "print 'scope1.c'::foo::funclocal" and
2226 "print 'scope1.c'::foo::funclocal_ro" and
2227 "print 'scope1.c'::bar::funclocal" and
2228 "print 'scope0.c'::filelocal_ro" and
2229 "print 'scope1.c'::filelocal at foo" and
2230 "print 'scope1.c'::filelocal_bss at foo" and
2231 "print 'scope1.c'::filelocal_ro at foo" and
2232 "print 'scope1.c'::foo::funclocal at foo" and
2233 "print 'scope1.c'::foo::funclocal_bss at foo" and
2234 "print 'scope1.c'::foo::funclocal_ro at foo" and
2235 "print 'scope1.c'::bar::funclocal at foo" and
2236 "print 'scope0.c'::filelocal_ro" and
2237 "print 'scope1.c'::filelocal" and
2238 "print 'scope1.c'::filelocal_bss" and
2239 "print 'scope1.c'::filelocal_ro" and
2240 "print 'scope1.c'::foo::funclocal" and
2241 "print 'scope1.c'::foo::funclocal_bss" and
2242 "print 'scope1.c'::foo::funclocal_ro" and
2243 "print 'scope1.c'::bar::funclocal" and
2244 "print 'scope1.c'::bar::funclocal_bss"
2245 to only be xfail'd when not compiled with gcc.
2246 Add rs6000-*-* xfail for
2247 "print 'scope0.c'::filelocal_bss before run"
2248 when compiled with gcc.
2249 (test_at_main): Add rs6000-*-* xfail for
2250 "print filelocal_ro in test_at_main"
2251 when compiled with gcc.
2252 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
2253 Add rs6000-*-aix* xfail for
2254 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
2255 "ptype t_char_array", not compiled with gcc.
2256 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
2257 xfail for "list foo (in include file)" when gcc compiled.
2258 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
2259 (integral_args): Add rs6000-*-* xfail for
2260 "run to call0a" if not compiled with gcc.
2261 (unsigned_integral_args): Add rs6000-*-* xfail for
2262 "run to call1a" if not compiled with gcc.
2263 (float_and_integral_args): Add rs6000-*-* xfail for
2264 "run to call2a" if not compiled with gcc and for
2265 "continue to call2b" for any compiler.
2266 Add rs6000-*-* xfail to
2267 "print f1 after run to call2a" for gcc compiled.
2268 (discard_and_shuffle): Add rs6000-*-* xfail for
2270 (shuffle_round_robin): Add rs6000-*-* xfail for
2271 "backtrace from call7a" if not compiled with gcc.
2272 Add rs6000-*-* xfail for
2273 "backtrace from call7b" if compiled with gcc.
2274 (call_after_alloca): Add rs6000-*-* xfail for
2275 "print c in call_after_alloca" and
2276 "print s in call_after_alloca" and
2277 "backtrace from call_after_alloca_subr"
2278 if not compiled with gcc.
2279 (localvars_in_indirect_call): Add rs6000-*-* xfail for
2280 "print c in localvars_in_indirect_call" and
2281 "print c in localvars_in_indirect_call" and
2282 "backtrace in indirectly called function" and
2283 "stepping into indirectly called function"
2284 if not compiled with gcc.
2285 (localvars_after_alloca): Add rs6000-*-* xfail for
2286 "print c after runto localvars_after_alloca" and
2287 "print s after runto localvars_after_alloca" and
2288 "print i after runto localvars_after_alloca" and
2289 "print l after runto localvars_after_alloca"
2291 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
2292 than whatis-info.exp.
2293 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
2294 than opaque-info.exp.
2295 Setup rs6000-*-* xfail for
2296 "ptype on opaque struct pointer (statically)" and
2297 "ptype on opaque struct pointer (dynamically)" when
2298 not compiled with gcc.
2299 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
2300 rather than callf-info.exp.
2301 (do_function_calls): Add clear_xfail for rs6000-*-* for
2302 "p t_float_values2(3.14159,float_val2)". Seems to work
2303 fine there, both with xlc and gcc. Need to find out what
2304 it is doing right and fix other platforms.
2305 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
2306 "call inferior func with struct - returns int",
2307 "call inferior func with struct - returns long",
2308 "call inferior func with struct - returns float",
2309 "call inferior func with struct - returns double",
2310 "call inferior func with struct - returns char *",
2311 but only if not gcc compiled (presumes xlc compiled).
2312 Change rs6000-*-* xfails for
2313 "call inferior func with struct - returns char" and
2314 " call inferior func with struct - returns short" to only
2315 xfail if not using gcc.
2316 (clean mostlyclean): Remove *.ci and *.tmp files.
2317 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
2318 than templ-info.exp.
2319 * gdb.base/langs.exp: Source gdb.base/langs.ci.
2320 Add rs6000-*-* xfail for "up to foo in langs.exp"
2321 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
2322 when not gcc compiled.
2324 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2326 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
2327 * gdb.base/corefile.exp: Likewise.
2328 * gdb.base/list.exp: Likewise.
2329 * gdb.base/scope.exp: Likewise.
2330 * gdb.base/siganls.exp: Likewise.
2332 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
2334 * gdb.base/whatis.exp: Likewise.
2336 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
2338 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
2339 failure (opcode table has been fixed to match reality).
2341 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
2343 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
2344 "call inferior func with struct - returns char",
2345 "call inferior func with struct - returns short"
2347 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
2348 "print 'scope0.c'::filelocal at main",
2349 "print 'scope0.c'::filelocal_bss in test_at_main",
2350 "print 'scope0.c'::filelocal at foo",
2351 "print 'scope0.c'::filelocal_bss in test_at_foo",
2352 "print 'scope0.c'::filelocal at bar",
2353 "print 'scope0.c'::filelocal_bss in test_at_bar"
2355 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
2356 in source file 1". This bug seems to have been fixed with both
2357 gcc and native cc (was native assembler bug?).
2359 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
2361 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
2362 "backtrace through signal handler" to "i*86-*-sysv4*".
2363 * gdb.base/signals.exp: Add xfail for "'next' behaved as
2364 continue" case. Add "known SVR4 bug" to fail message.
2365 Add "i*86-*-bsdi2.0" xfail for "handle all print".
2366 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
2367 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
2368 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
2369 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
2370 "up to foo in langs.exp", "show language at foo in
2371 langs.exp", "up to cppsub_ in langs.exp", "show
2372 language at cppsub_ in langs.exp", "up to fsub in
2373 langs.exp", and "show language at fsub in langs.exp".
2374 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
2375 "bactrace in corefile.exp".
2376 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
2377 "call inferior function with struct - returns float" and
2378 "call inferior function with struct - returns double".
2380 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
2382 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
2383 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
2384 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
2385 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
2387 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
2389 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
2390 (or overriden) "CHILL" macro rather then bare "gcc".
2391 Also look for ../../gcc/xgcc since that is what we will
2392 actually need, not "Makefile". Remove following assignment
2393 of CHILL to CHILL_FOR_TARGET because that results in
2394 recursive definition.
2396 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
2398 * gdb.base/corefile.exp: Change xfail for backtrace in
2399 corefile.exp from linuxaout to all linux.
2400 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
2401 cases where we miss the breakpoint at the signal handler
2402 for some reason. Setup xfail for linuxoldld/linuxaout and
2403 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
2404 hitting SIGURG breakpoint.
2405 * gdb.base/signals.exp: Setup xfail for "next" acting like
2406 continue to add linuxoldld. Setup xfail for all linux for
2407 "next to handler in signals_tests_1", "backtrace in
2408 signals_tests_1", "continue to func1", "pass SIGUSR1",
2409 and continue to handler".
2411 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
2413 * Update all FSF addresses except those in COPYING* files.
2415 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
2417 * gdb.base/a2-run.exp: Change messages to be more explicit about
2418 the status of args, and quote binfile in results.
2420 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
2422 * gdb.base/callfuncs.exp: Add tests for passing structs to
2423 inferior functions and return various types.
2424 * gdb.base/callfuncs.c: Add functions to receive a struct
2425 and return a member of the struct, in various types.
2427 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2429 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
2431 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
2433 * config/vxworks29k.exp: New file, sources vxworks.exp.
2435 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2437 * config/gdbremote.exp: New file. Testing framework using
2440 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
2442 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
2443 "call function when asleep" and "send end of file".
2444 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
2445 for "backtrace in corefile.exp".
2446 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
2447 for "backtrace through signal handler".
2448 * gdb.base/corefile.exp: Make sure we actually generate a core file
2449 before trying the core tests. Some systems allow the user to suppress
2450 generation of core files and default to that (linux for example).
2451 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
2452 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
2454 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2456 * gdb.threads: New directory with some crude multi-threaded
2457 gdb tests (step.exp and step2.exp).
2458 * config/mt-lynx (STEP_EXECUTABLE): Define.
2459 (THREADFLAGS): Define.
2461 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
2463 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
2465 * gdb.base/signals.exp: Disable whole file for lynx until
2468 * gdb.base/signals.exp: xfail test where "next" acts like
2469 "continue" for lynx.
2471 * gdb.base/interrupt.exp: xfail test for calling function while
2472 inferior is asleep for lynx.
2474 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
2475 than one cr-lf after each command.
2477 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2479 * configure.in: Reinstate setting of stabsdirs variable, fix
2480 typo in setting up configdirs for native builds.
2482 * gdb.base/return.exp: Fix typo in return double test.
2483 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
2484 compiler from optimizing them away.
2486 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
2488 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
2489 sequences to be echo'd by gdb when using gdb_test.
2490 * gdb.chill/chexp.exp: Likewise.
2491 * gdb.fortran/exprs.exp: Likewise
2493 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2495 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
2496 after the inferior gdb has started.
2498 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
2500 * gdb.base/funcargs.exp: Likewise.
2501 * gdb.base/gdbvars.exp: Likewise.
2502 * gdb.base/interrupt.exp: Likewise.
2503 * gdb.base/list.exp: Likewise.
2504 * gdb.base/watchpoint.exp: Likewise.
2505 * gdb.c++/demangle.exp: Likewise.
2506 * gdb.c++/inherit.exp: Likewise.
2507 * gdb.chill/chexp.exp: Likewise.
2508 * gdb.fortran/exprs.exp: Likewise.
2510 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
2511 test if we can't handle IO to/from the inferior.
2513 * gdb.c++/misc.exp: Always check for a program already being
2514 started after sending a "run" command to gdb.
2516 * gdb.base/twice.exp: Start with a fresh gdb.
2518 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
2519 only depend on gdb's expression code, not the chill runtime.
2521 * gdb.base/return.c: Put return values into variables so we
2522 can have gdb print them rather than depending on the program
2524 * gdb.base/return.exp: Corresponding changes.
2526 * lib/gdb.exp: Provide default value for noinferiorio.
2527 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
2530 * gdb.base/break.exp: Always check for a program already being
2531 started after sending a "run" command to gdb.
2532 (text_next_with_recursion): Don't check the output from the
2533 program's printf statement. Instead just make sure the program
2536 * gdb.base/commands.exp: Protect tests which need arguments with
2537 $noargs conditionals.
2539 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2541 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
2542 of structure member arrays to match gdb/valops.c:value_addr change.
2544 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
2546 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
2549 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
2551 * configure.in (configdirs): Remove gdb.chill from default list
2552 of subdirs and then add it back in only if doing a native build.
2553 The current chill compiler does not yet work in any cross build.
2554 * Revert all signal changes from Jul 6.
2555 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
2556 for sh-hms targets, allowing these tests to link, with no other
2557 changes. Testing is suppressed by setting "nosignals" in site.exp.
2559 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
2561 * configure.in (signaldirs): Define and add to configdirs for all
2562 targets except some specific ones that are known to not support signals.
2563 Also clean up formatting.
2564 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
2565 (signals, sigall): Remove rules to build.
2566 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
2567 Moved to new gdb.signals directory.
2568 * gdb.signals: New test directory.
2569 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
2570 signals.c signals.exp}: New or moved files.
2572 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
2574 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
2576 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
2578 * gdb.base/return.exp: Xfail `return double' test failure
2579 on at least Solaris 2.3 and handle future/past versions on
2580 a case by case basis as appropriate. Also update message
2581 to include i*86 failures.
2583 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2585 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
2587 * lib/gdb.exp: Fix comment which erroneously identified
2588 gdb_file_cmd as gdb_load (the 19 May change was in fact to
2589 gdb_file_cmd not gdb_load).
2590 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
2592 * gdb.base/setvar.exp: Make test names consistent between pass and
2593 fail cases. Use gdb_test more.
2595 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2597 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
2599 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2601 * gdb.base/help.exp: Fix expected help string for `show commands'.
2603 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2605 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
2607 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
2610 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
2612 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2613 that loop eventually terminates. Fix Connection refused logic so
2614 that testsuite will expire nicely.
2616 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
2618 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2619 config/rom68k.exp: New tcl glue for the appropriate monitors.
2620 These all just end up calling monitor.exp.
2621 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2622 refused' by retrying. Cleanup some timeout issues.
2623 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2624 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2625 callers don't have to set/restore global timeout variable.
2627 * The following set of changes centralizes management of the global
2628 timeout variable. This way, it can be set in one target dependent
2629 place instead of dozens of places scattered throughout the test suite.
2630 If you need to lengthen a timeout, then you should either set timeout
2631 in one of the config/{target}.exp files, or multiply it by a factor.
2632 Setting it to an absolute value is always going to lose for some
2634 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2635 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2636 * gdb.base/funcargs.exp: Don't set timeout.
2637 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2638 * gdb.base/printcmds.exp (test_print_string_constants
2639 test_print_array_constants): Don't set timeout.
2640 * gdb.base/ptype.exp: Don't set timeout.
2641 * gdb.base/recurse.exp: Don't set timeout.
2642 * gdb.base/return.exp: Don't set timeout.
2643 * gdb.base/watchpoint.exp: Don't set timeout.
2644 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2645 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2647 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2649 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2651 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2653 * lib/gdb.exp: Disable chill tests for irix5.
2655 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2657 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2658 each test pass or fail.
2660 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2662 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2665 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
2667 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2669 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
2671 * config/est.exp: Fix copyright and comments. Remove dead code.
2672 Use targetname, serialport and baud variables instead of fixed
2674 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2675 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2677 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2679 * gdb.base/watchpoint.exp: Don't run
2680 test_watchpoint_triggered_in_syscall for sunos.
2682 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2684 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2685 they don't seem to exist. Do include stdio.h.
2687 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2689 * gdb.base/a1-selftest.exp: Add alpha xfail.
2691 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2693 * gdb.base/watchpoint.c (main): Prompt before calling read().
2694 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2695 Revise accordingly. Remove cruft about sending "123" several
2696 times, until it gets noticed. Clean up the "print buf[0]" stuff
2697 so that it passes or fails, and waits for prompts in the usual way.
2699 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2701 * gdb.base/recurse.exp: Fix comment.
2703 * TODO: Remove item about printing variables in nodebug.exp. Add
2704 item about enabling tests which are only run on some targets.
2706 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2707 fail, make test names unique, use new gdb_test convention
2708 regarding pattern, use gdb_test more, etc.).
2710 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2711 fail, make test names unique, etc.).
2713 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2715 * gdb.base/nodebug.c: Change return type of top and middle to
2717 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2718 are fixed by the recent mdebugread.c changes. Allow `short ()'
2719 as type for top and middle.
2721 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2723 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2724 nearly as I can tell, the whole thing was an accident in Stu's
2725 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2726 to replace a send/expect pair with gdb_test, but ended up only
2727 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2728 of 30 Mar 1995 took care of it, but left this vestigial comment
2729 which I am now nuking.
2731 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2733 * gdb.base/break.exp: Look for different line number for
2734 breakpoint at main depending on usestubs.
2736 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2738 * gdb.base/list.exp: Adjust some alternate expect patterns to
2739 match recent list0.c change. Add alternate expect pattern for
2740 output from `list default lines around main' for optimizing
2743 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2745 * lib/gdb.exp: If nosignals is not set, set it to 0.
2747 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2749 * config/slite-gdb.exp: Responds to load symbol table prompt.
2750 * gdb.base/break.exp: Adjust line number, fix rerun.
2751 * gdb.base/langs0.c: Add #ifdef usestubs.
2753 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2755 * gdb.base/list.exp: Adjust line contents after adding new lines in
2756 list0.c. Also fix a syntax error.
2758 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2759 * gdb.base/break.exp: ditto.
2760 * gdb.base/list.exp: ditto.
2761 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2762 * gdb.base/run.c: ditto.
2763 * gdb.base/list0.c: ditto.
2764 * gdb.base/funcargs.c: ditto.
2766 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2768 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2769 $targetname, $serialport and $baud instead of hardwired variables.
2770 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2771 target doesn't support signals.
2773 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2775 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2777 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2779 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2780 Don't rely on the value of an auto variable before it has been
2781 initialized. Use gdb_test more.
2783 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2785 * lib/gdb.exp (default_gdb_version): A version number must start
2786 with a digit, but other than that contains all characters up to
2787 the first whitespace character.
2789 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2791 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2793 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2795 * gdb.c++/*.exp: Warn if executable does not exist. The original
2796 reason for skipping the warning was that configure.in sometimes
2797 intentionally skipped building the executables but the tcl code
2798 had no way of knowing. That (a) was always bogus with respect to
2799 error handling, (b) is no longer true (right now there is no way
2802 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2804 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2806 * gdb.base/list.exp: Add expect patterns for output from
2807 SunPRO compiled executables.
2808 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2811 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2813 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2814 number (we are already testing that the correct source line text
2817 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2818 that is what is intended, but something needed to be done to get
2819 sunos4 native working again.
2821 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2823 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2824 apparently went with a (very) old xfail.
2826 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2828 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2829 runto_main is a proc in gdb.exp that will do 'step' for target use
2831 * gdb.base/exprs.exp: ditto.
2832 * gdb.base/interrupt.exp: ditto.
2833 * gdb.base/opaque.exp: ditto.
2834 * gdb.base/printcmds.exp: ditto.
2835 * gdb.base/ptype.exp: ditto.
2836 * gdb.base/scope.exp: ditto.
2837 * gdb.base/setvar.exp: ditto.
2838 * gdb.base/signals.exp: ditto.
2839 * gdb.base/twice.exp: ditto.
2840 * gdb.c++/classes.exp: ditto.
2841 * gdb.c++/inherit.exp: ditto.
2842 * gdb.c++/templates.exp: ditto.
2843 * gdb.base/break.exp: no run and hit main for stubs. Change line
2844 numbers for breakpoints and info breakpoint.
2845 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2847 * gdb.base/callfuncs.c: ditto.
2848 * gdb.base/exprs: ditto.
2849 * gdb.base/interrupt.c: ditto.
2850 * gdb.base/opaque0.c: ditto.
2851 * gdb.base/printcmds.c: ditto.
2852 * gdb.base/ptype.c: ditto.
2853 * gdb.base/scope0.c: ditto.
2854 * gdb.base/setvar.c: ditto.
2855 * gdb.base/signals.c: ditto.
2856 * gdb.base/twice.c: ditto.
2857 * gdb.c++/misc.cc: ditto.
2858 * gdb.c++/templates.cc: ditto.
2860 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2862 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2864 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2865 somewhere between `read' and `main.c'. I'm pretty sure the
2866 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2867 and it isn't particularly useful.
2869 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2871 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2873 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2875 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2877 * config/mt-slite: add LIBS and -nostdlib.
2878 * config/slite-gdb.exp: add this new file to support sparclite target.
2880 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2882 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2884 * gdb.base/a2-run.exp: Change argument to istarget from
2885 "*-*-vxworks" to "*-*-vxworks*".
2886 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2888 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2890 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2891 will not runto main but do a 'step' to step out of breakpoint().
2892 * config/mt-slite: add -Dusestubs.
2894 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2896 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2899 * gdb.base/signals.exp: Add test for "handle all print".
2900 * TODO: Remove "handle all print". Also remove item about
2901 checking copyright date (I don't like the idea of a spurious FAIL
2902 based on when we run the tests).
2904 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2905 for SunOS4 (reason for failure not investigated). Remove
2906 redundant test for $binfile.
2908 * gdb.base/nodebug.c (array_index): Call malloc.
2910 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2912 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2914 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2915 conventions and slightly simplify the matching regexp.
2917 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2919 * gdb.base/break.exp: Update gdb_test invocation to use new
2922 * lib/gdb.exp: If noargs is not set, set it to 0.
2924 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2927 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2929 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2931 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2932 one argument of type "<non-float parameter>".
2934 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2936 * config/rom68k.exp: New file to support Motorola IDP board.
2937 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2938 * gdb.base/break.c: Change things around so that this program
2939 doesn't depend upon args. This is necessary to make remote
2940 targets work (in general, they can't take args).
2941 * gdb.base/break.exp: Don't try to send args to program. Don't
2942 expect output. Also, replace lots of code with gdb_test.
2944 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2946 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2947 printing of '\'' (which is what the comment says we are testing,
2948 even though we were not), not '''.
2949 (test_integer_literals_rejected): Test that printing ''' is an error.
2951 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2952 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2953 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2954 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2955 Use gdb_test not test_print_accept.
2956 * lib/gdb.exp: Remove test_print_accept.
2958 * gdb.base/signals.exp (signal_tests_1): Make pass message
2959 consistent with fail message.
2961 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2962 unsigned char; the bug (PR 1821) is fixed.
2964 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2966 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2967 successful tests--makes xfailing them work right.
2969 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2971 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2972 only \r\n, not .*. The test can pass .* as the last thing in
2973 $pattern if that is what it wants. In addition to providing this
2974 flexibility, this change should speed up pattern matching in cases
2975 where the pattern already ended with .* (there were a number of
2976 them). This change also helps catch bad patterns--in the old
2977 scheme the typo "char \*" instead of "char \\*" would pass. Now
2979 * Many .exp files: Update callers.
2981 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2982 clearer and does not spuriously match multiple ('s. Likewise for
2985 * gdb.base/nodebug.exp: Test ability to call a function and pass
2986 it a string (even with no debugging info).
2988 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2989 "p '\'", which is the same as "p ''" once tcl gets done with
2990 quoting, to "p '\\'", which I suspect is what is intended (one
2991 backslash gets sent to GDB).
2993 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2995 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2997 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2998 1817) was fixed literally years ago.
3000 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3002 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
3003 test, it causes stepping out of call_after_alloca_subr with
3004 optimizing compilers.
3005 (localvars_in_indirect_call): Consume GDB prompt if `finish'
3008 * gdb.c++/templates.exp: Source templ-info.exp only if
3009 the templates executable exists.
3011 * gdb.c++/misc.cc (class Contains_static_instance,
3012 class Contains_nested_static_instance),
3013 gdb.c++/classes.exp (test_static_members): Test printing of
3014 a class that contains a static instance of the class.
3016 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3018 * gdb.base/langs2.c (cppsub_): Don't prototype.
3019 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
3022 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3024 * lib/gdb.exp (skip_chill_tests): New procedure.
3026 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
3028 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
3030 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
3031 each expect pattern. Cuts runtime from 12 to about 4 seconds.
3033 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3035 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
3037 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
3038 disassemble 8, not 16, instructions for part 4.
3040 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
3041 support the latter anymore.
3043 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
3045 * gdb.base/callfuncs.c: Control use of prototypes based on
3046 NO_PROTOTYPES, not __STDC__.
3047 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
3048 t_float_values2 tests if prototypes in use.
3050 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
3051 t_double_values): When checking differences against DELTA, check
3052 that difference is within the range (-DELTA,DELTA), not just
3055 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
3057 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
3058 'file' command firts, then 'target', then 'load', this is due to gdb
3060 * config/mips-gdb.exp: Fix a couple regular exp bugs.
3062 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
3064 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
3065 FP load/store variants.
3066 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
3068 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3070 * gdb.base/term.exp: Do not give a warning if not native, it is
3071 not an abnormal condition.
3073 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
3075 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
3078 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
3080 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
3081 are getting the version number.
3083 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
3084 if not native, it is not an abnormal condition.
3086 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3088 * lib/gdb.exp: Just use "file exists", rather than undocumented
3089 dejagnu procedure "findfile".
3091 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3093 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
3094 (LDFLAGS): Set to -Xlinker -Ur.
3096 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
3097 Removed, these values are set by lib/gdb.exp.
3099 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
3101 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3103 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
3104 of replicating gdb startup code.
3106 * config/mt-vxworks (LDFLAGS): Set to -r.
3107 (CFLAGS_FOR_TARGET): Removed.
3109 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
3110 (gdb) and gdb for vxworks uses (vxgdb).
3112 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
3113 executable is not in the tree and host != target, use sed and
3114 program_transform_name to determine the gdb name used by the
3117 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
3118 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
3120 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3122 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
3123 floats, chars, and shorts where there are ANSI-style function
3126 * gdb.base/langs.exp, gdb.base/langs*: New test.
3127 * gdb.base/Makefile.in: Build it.
3128 * TODO: Remove item about checking that C names don't get C++
3129 demangling applied; this test tests it.
3131 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3133 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
3134 went with the const70 xfail. The xfail went away a year ago.
3136 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
3138 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
3141 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
3143 * gdb.base/a1-selftest.exp: Don't run on hp300.
3145 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3147 * Makefile.in (site.exp): Set host_alias and target_alias as well
3148 as host_triplet and target_triplet.
3150 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3152 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
3154 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
3155 places as other ecoff systems).
3157 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
3160 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3162 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
3164 * gdb.base/nodebug.exp: Accept "function" in addition to "text
3165 variable and "variable" in addition to "data variable".
3166 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
3168 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
3170 * gdb.base/list1.c (long_line): Add additional statement at start
3172 * gdb.base/list.exp (test_forward_search): Update line number to
3173 reflect new statement.
3175 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3177 * gdb.base/signals.exp: Reinitialize searched source directories
3178 after gdb_start call.
3180 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
3182 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
3183 * gdb.stabs/Makefile.in: Likewise.
3185 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
3186 change. Instead split the tests into smaller pieces.
3187 * gdb.disasm/hppa.s: Corresponding changes.
3189 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3191 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3192 Quote ^C when passing it to stty. For some shells ^ is a pipe.
3194 * gdb.base/funcargs.exp: Modify many tests so that every test
3195 either passes or fails. Make some test names unique.
3197 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3199 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
3200 Call stty to set interrupt character.
3202 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
3203 for HP assembler versus GNU assembler based on actual behavior of
3204 $(CC), rather than assuming that $(AS) is always the GNU assembler.
3206 * TODO: Suggest a few more stepping tests.
3208 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
3210 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
3211 restart GDB for h8300 after a continue.
3212 (return): Add pattern to match a29k-udi behavior.
3213 * gdb.base/nodebug.exp: Remove obsolete comment.
3214 * gdb.base/regs.exp: New file, testing of register displays.
3215 * gdb.base/return.exp: Fix typo in reference to $objdir.
3216 * gdb.base/whatis.exp: Always start with a fresh GDB.
3218 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3220 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
3221 higher, these tests generate a lot of output.
3223 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3225 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
3226 code following the catch silently ignored some errors; without the
3227 catch they should be thrown like any other tcl error. Also, the
3228 catch used "" instead of {} which meant all the callers who wanted
3229 to include one of the characters "[]$ had to quote it an extra time.
3230 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
3231 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
3232 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
3233 Remove extra quoting.
3235 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
3237 * gdb.base/commands.exp: Make test names unique; every test either
3238 passes or fails. Update some comments.
3240 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
3242 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3244 The following fixes a FAIL caused by the fact that the alpha stabs
3245 configuration didn't use the ".if alpha" code in weird.def.
3246 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
3247 bit pointer, so the 32 bit version works even on the alpha.
3248 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
3249 Remove the stuff which allowed us to have separate versions for
3250 alpha and everything else.
3252 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
3253 regexp which "info func operator\[\](" is supposed to match. Fix
3254 string to send to GDB. Note that GDB still doesn't work right. Add a
3255 new test for "info func .perator\[\](" which GDB does handle correctly.
3257 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
3259 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3261 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
3262 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
3263 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
3264 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
3265 it makes the tests harder to understand and confuses test-o-matic.
3266 The preferred style is that each test provides a PASS or a FAIL,
3267 and has a unique message (e.g. "continue #54" not just "continue")
3268 which is the same for the pass and the fail.
3269 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
3270 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
3272 * gdb.base/printcmds.exp: Use test_print_accept. Remove
3273 prt_accept which was basically the same thing. Likewise for
3274 test_print_reject and prt_reject.
3275 * lib/gdb.exp (test_print_reject): Add some more error message
3276 patterns to match from the former printcmds.exp (prt_reject).
3277 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
3278 One defect of the passcount stuff is that some of it failed to
3279 report XPASS where appropriate.
3280 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
3281 stuff before and after arg in expected pattern.
3282 (test_paddr_operator_functions): Re-do test without print_addr_of;
3283 this is the only test which seems to want extra stuff there.
3285 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3287 * gdb.base/nodebug.exp: Update new tests to reflect improved
3288 wording of gdb output.
3290 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
3291 and "ptype" work on variables in files compiled without -g.
3292 Replaces commented out "maint print msymbol" tests.
3294 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3296 * gdb.base/setvar.c (dummy): Call malloc.
3298 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
3299 losing with the irix4 sed.
3301 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
3304 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3306 * TODO: Remove items about corefile.exp testing new exec-file and
3307 backtrace; both are now done. Add items about printing enums.
3309 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3311 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
3312 "get signal $thissig" test fails.
3314 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
3316 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3318 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
3319 compiler warning with dec alpha compiler.
3321 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
3322 extra \n from gdb_test call (this explains why the prompt test
3323 that I removed yesterday was there).
3324 (user_defined_command_test): Remove extra \n and prompt test.
3326 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
3327 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
3329 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
3330 Also remove alpha workaround, which turns out to be because
3333 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
3335 * gdb.base/help.exp: Don't test "help show".
3337 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3339 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
3340 "set print address" is on.
3341 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
3342 pass prompt to gdb_test; gdb_test already looks for the prompt.
3344 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
3346 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
3347 was a vestige of the manual TESTSTRATEGY, and the purpose of it
3348 was to make sure that gdb can read a core file. But (a) the "read
3349 the corefile" part didn't make it to a1-selftest.exp, we just
3350 delete the corefile after creating it, and (b) we test reading
3351 corefiles in corefile.exp anyway. Also, this test left around a
3352 xgdb process on Solaris.
3354 * gdb.base/corefile.exp: Also test backtrace.
3356 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
3358 * gdb.base/commands.exp: Test a simple user defined command with
3359 arguments and if/while statements; verify the full user command is
3360 printed by "show user".
3362 * gdb.base/commands.exp: Test if/while commands as part of a
3363 breakpoint command list; verify they appear in breakpoint
3366 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3368 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
3369 than by dividing by zero.
3371 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
3373 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
3374 performing an inferior call with watchpoints enabled.
3375 * gdb.base/watchpoint.c (main): Delete second unnecessary read
3378 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3380 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
3383 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
3384 Add additional pattern for when "int operator int(void);" appears
3385 in a different order.
3387 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3389 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
3391 * gdb.base/help.exp: Replace most of docstrings for "info signals"
3392 and "signal" with ".*".
3394 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3396 * TODO: Add note about "handle all nostop".
3398 * gdb.base/{sigall.c, sigall.exp}: New test.
3399 * gdb.base/Makefile.in: Add it.
3401 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3403 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
3404 when invoking GDB, suppresses any windowing interface.
3406 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
3408 * config/sim-gdb: New file, simulator testing support.
3410 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
3412 * gdb.base/interrupt.exp: Test calling func1 twice.
3414 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
3416 * gdb.base/list.exp (test_forward_search): Set timeout higher
3417 when we'll be getting lots of output from gdb.
3419 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
3420 "init_malloc" to after the expect statement. Run it if that
3421 regexp is taken, but also for two others which happen if source
3424 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3426 * gdb.base/printcmds.exp: New test, for printing register before
3429 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3431 * gdb.base/list.exp: Correct some alternate expect patterns
3432 to reflect changes in list1.c.
3434 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3436 * TODO: Add item regarding large frames.
3438 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
3440 * TODO: Remove item about enabling return.exp; it
3441 is enabled. Suggest a few more "return" tests.
3443 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3445 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
3448 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3450 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
3451 and pr-5646.o, so "make" is the same as "make all", not "make
3454 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
3456 * gdb.base/list.exp: Adjust expectations to reflect changes in
3458 (test_forward_search): New test proc.
3459 * gdb.base/list1.c (long_line): New function, has long source line.
3461 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
3463 * gdb.base/a1-selftest.exp: Change initial stepping to know about
3464 additional line of code that was added.
3466 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
3468 * gdb.disasm/hppa.s: Break the large branching tests into smaller
3469 tests so as not to overflow expect's input buffers.
3470 * gdb.disasm/hppa.exp: Corresponding changes.
3472 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3474 Beginnings of template debugging tests.
3475 * gdb.c++/templ-info.cc: New file to test for template
3476 debugging capability of the compiler.
3477 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
3479 * gdb.c++/templates.cc: Add explicit template instantiations
3480 to enable compiling with -fno-implicit-templates. Add destructor
3481 and 'value' method to T5 class for template tests.
3482 * gdb.c++/templates.exp: Add testcases for printing of template
3483 types, setting breakpoints on template methods and calling a
3486 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
3488 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
3489 branch target since some assemblers (gas-2.5) may emit a
3490 relocation for the branch instead of resolving it in the
3493 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3495 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
3496 through signal handler.
3498 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3500 * configure.in (*-*-netware): Use config/mt-netware.
3502 * config/mt-netware: New file.
3503 * config/mt-i386-netware: Removed, separate configs for different
3504 netware architectures are no longer needed now that we have
3507 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3509 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
3510 by the recent changes to use ANSI C arithmetic conversions.
3512 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3514 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
3515 bug involving using inferior_pid to figure out whether to select a
3518 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
3520 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
3521 match the current disassembler output.
3523 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
3525 * gdb.fortran/exprs.exp: Expect VOID instead of void.
3526 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
3527 types, expect "int" as type of integer values (for now).
3529 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
3531 * gdb.base/commands.exp: New tests for if/while commands.
3533 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
3535 * lib/gdb.exp (runto): Replace sub-pattern for hex value
3536 by .*, since hex values have different syntax in Chill mode.
3538 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3540 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
3541 linefeed from expect pattern for repeated types with indices > 9.
3543 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
3545 First part of Fortran test suite.
3546 * gdb.fortran: New directory.
3547 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
3549 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3551 * gdb.base/default.exp: Update expect pattern for load command
3554 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
3556 * configure.in: Change i386 to i[345]86.
3557 * gdb.base/configure.in: Likewise.
3558 * gdb.c++/configure.in: Likewise.
3559 * gdb.chill/configure.in: Likewise.
3561 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
3563 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
3564 patterns, since that is not a valid context for comments.
3566 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
3568 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
3569 repeated types and repeated types with indices > 9.
3571 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
3573 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
3574 2417; old bug has been fixed.
3576 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
3578 * gdb.base/interrupt.exp: When trying to wake up the inferior,
3579 send the newline ourselves instead of assuming gdb_test will do
3580 so when passed an empty input string.
3582 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
3585 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3587 * lib/gdb.exp (gdb_test): Don't send anything if the first
3588 argument is an empty string. This makes cases where we want to
3589 match output that is already in expect's buffers (for example,
3590 matching a breakpoint after gdb_run_cmd has been called) work
3593 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3595 * config/netware.exp: New file.
3597 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3599 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
3600 the -B and -L prefixes so we can find the debugging stub.
3602 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
3603 there and we are using the gcc from the tree.
3605 * gdb.base/types.c: Removed.
3607 * gdb.base/configure.in: Look for makefile fragments in ../config.
3608 Recognize i386-*-netware.
3609 * gdb.c++/configure.in: Likewise.
3611 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3613 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3614 the correct TCL syntax.
3616 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3618 * gdb.base/opaque.exp: use runto instead of messing around with
3619 breakpoints. Simplify by using gdb_test.
3621 * gdb.base/bitfields.exp: restart between tests on netware targets
3622 because breakpoints aren't relocated after target death. Run
3623 processes to completion.
3625 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3627 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3629 * Makefile.in: Remove extra tabs that confuse some versions
3630 of "make". Use the newly built gdb to test with by default,
3631 rather than the first one in the tester's search path.
3633 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3635 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3637 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3640 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3642 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3644 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3646 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3647 * gdb.base/funcargs.exp: Likewise.
3649 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3650 * gdb.base/funcargs.exp: Likewise.
3652 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3655 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3657 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3658 return,signals,twice}.exp: Handle non-existant binaries
3661 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3662 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3663 might testing a cross development system.
3665 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3667 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3668 runtest script is relative to ${srcdir}, not ${rootdir}.
3670 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
3672 * gdb.base/signals.exp: Allow for optionality of breakpoint
3675 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3677 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3679 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3681 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3682 for size_t definition.
3683 * gdb.c++/templates.cc: Likewise
3685 * config/mt-i386-netware: New file.
3687 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3690 * gdb.base/Makefile.in: Added support for systems that name core
3691 files by appending "core" to the program name.
3692 * gdb.base/a1-selftest.exp: Likewise.
3694 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3696 * gdb.base/return.exp: Add comment and message for `return double'
3697 test failure on Sparc Solaris.
3699 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
3701 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3703 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3705 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3706 from optimizing them away.
3707 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3708 patterns to include default constructors and assignment operators,
3709 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3710 character in the output of the virtual base pointer.
3712 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3714 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3715 expression match in print_addr_of to avoid unintented matches.
3716 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3717 versions up to 2.5.8.
3719 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3721 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3722 included file to run under newer versions of expect.
3723 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3724 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3725 Remove xfail for the virtual table of BDDHookV.
3727 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
3729 * lib/gdb.exp (string_to_regexp): Set a default result.
3730 (default_gdb_start): Fix misleading message.
3732 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
3734 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3735 Remove all CC, etc definitions.
3736 * config/mt-hpux: New file.
3737 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3738 (CFLAGS, LDFLAGS): Define.
3739 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3741 * Makefile.in (site.exp): Don't insert host_os, etc.
3742 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3743 (distclean): Check existence of subdir.
3744 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3745 * gdb.base/Makefile.in: General cleanup and simplification.
3746 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3747 to build executables. Use default rule to build .o files.
3748 (EXPECT, RUNTEST, CC): Fix relative pathname.
3749 (site.exp): Don't insert host_os, etc.
3750 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3751 and/or SIGUSR1 defined.
3752 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3753 * gdb.c++/Makefile.in: General cleanup and simplification.
3754 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3756 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3758 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3760 * gdb.base/recurse.exp: Misc changes to get tests running again
3761 after Kung's changes to the watchpoint code.
3762 * gdb.base/watchpoint.exp: Likewise.
3764 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3766 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3768 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3770 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3771 * lib/gdb.exp (default_gdb_start): Define.
3772 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3773 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3774 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3775 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3776 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3777 Don't call gdb_target_udi in between tests.
3779 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3781 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3782 (which was basically just a local version of the same thing). In
3783 addition to avoiding duplication, gdb_test_exact is faster.
3784 * lib/gdb.exp (gdb_test_exact): Fix typo.
3786 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3787 don't give an error.
3789 * gdb.base/term.exp: Call delete_breakpoints before starting.
3791 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3794 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3796 Reorganization of the GDB Test Suite.
3798 * gdb.base: New directory, contains all the basic tests.
3799 * gdb.c++: New directory, tests specific to C++.
3800 * gdb.chill: New directory, tests specific to Chill.
3801 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3802 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3803 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3804 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3805 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3807 * */gdbme.*: Rename to match appropriate expect scripts.
3808 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3809 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3810 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3811 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3812 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3813 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3814 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3815 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3816 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3817 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3818 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3819 gdb.c++/virtfunc.cc: New names of C++ files.
3820 * gdb.chill/chillvars.ch: New name of Chill file.
3821 * gdb.base/configure.in, gdb.c++/configure.in,
3822 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3823 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3824 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3825 * configure.in (configdirs): Update to reflect directory changes.
3826 (target_abbrev): No longer define for any configuration.
3827 * Makefile.in: Cosmetic improvements to header comments.
3829 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3831 Various changes to gdb.t31:
3833 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3834 * gdbme.ch: Make all key-words and predefineds be upper-case.
3835 * chillvars.exp: Expect key-words and predefinds in upper-case.
3837 * chillvars.exp: Use gdb_test_exact many places.
3838 Change expected output for arrays (which now includes index labels).
3840 * pr-5020.exp, gdme.ch (module PR_5020):
3841 New test, for PR-5020.
3843 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3845 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3846 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3848 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3850 * Makefile.in: Fix bit-rot in definitions of CHILL,
3851 CHILL_FOR_TARGET and Chill_LIB.
3852 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3853 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3854 CHILL, and CHILL_LIB.
3856 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3858 * Revert the previous changes. Please see Rob's directory
3859 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3861 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3863 * Makefile.in, configure.in, config/mips-gdb.exp,
3864 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3865 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3866 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3867 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3868 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3869 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3870 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3871 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3872 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3873 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3874 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3875 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3876 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3877 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3878 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3881 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3883 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3884 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3885 Rob's new testing fragments.
3887 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3889 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3890 lib/gdb.exp: Replace error proc calls with perror.
3892 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3894 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3895 version also, match on casted version strings, and match on
3896 gdb startup case where the line numbers might be messed up.
3898 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3900 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3901 (CFLAGS): Delete it from here.
3903 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3905 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3907 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3909 * Makefile.in (RUNTEST): Default to just "runtest".
3911 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3913 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3914 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3915 the code has been restructured.
3917 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3919 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3920 \n, not just one of each.
3922 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3923 /bin/cc gives a warning if you do.
3925 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3927 * gdb.t24/demangle.exp: change expect pattern of
3928 __t10ListS_link1ZUiRCUiPT0
3930 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3932 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3933 on local variables in recursive functions.
3935 * gdb.t07/Makefile.in: Build the new test.
3937 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3939 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3940 directly. Instead compare the return values from actual calls.
3942 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3944 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3946 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3948 * From Peter Schauer with minor modifications.
3949 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3950 stops in mid-line in the caller. Add xfail for returning a float
3951 value on X86 targets.
3953 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3955 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3956 to avoid expect lossage.
3957 (fmem_LRbug_tests): Likewise.
3958 * gdb.disasm/hppa.s: Corresponding changes.
3960 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3961 conditions to work with latest dejagnu/expect.
3963 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3964 expected to fail on the PA.
3965 (backtrace in call with trampolines): Explicitly require main
3966 to be frame #1 (no trampolines should show up in backtrace).
3968 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3970 * gdb.t06/break.exp: Likewise.
3971 * gdb.t07/watchpoint.exp: Likewise.
3972 * gdb.t13/bitfields.exp: Likewise.
3973 * gdb.t15/{funcargs,return}.exp: Likewise.
3974 * gdb.stabs/weird.exp: Likewise.
3975 * config/{mips,udi}-gdb.exp: Likewise.
3977 * hppa.sed: Enclose comments within a sed command to avoid
3978 losing with the old OSF1 sed.
3980 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3982 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3984 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3985 * gdb.t15/funcargs.exp: Conditionally step again to really
3986 finish from marker_call_with_trampolines. Handle the case where
3987 the first step from within call_with_trampolines already steps
3989 * gdb.t15/gdbme.c: Add comment to closing brace of
3990 call_with_trampolines for funcargs.exp.
3992 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3994 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3997 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3999 * gdb.t07/gdbme.c: More code for watchpoint testing.
4001 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
4002 "Hardware watchpoint" throughout file.
4003 (test_watchpoint_triggered_in_syscall): New test.
4004 (test_complex_watchpoint): New test.
4006 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4008 * gdbme.c (call_with_trampolines): New function to try and step
4009 into. Tests trampoline problems on the PA.
4011 * funcargs.exp (localvars_in_indirect_call): No longer expect
4012 stepping into indirect call to fail on PAs.
4013 (test_stepping_over_trampolines): New test.
4015 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4017 * TODO: Add suggestions for static member function tests, and
4020 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4022 * TODO: Add suggestions for "p/a" tests.
4024 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
4025 (default_gdb_exit): Replace all the hair with sending "quit" to
4026 the process with a simple close.
4028 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4030 * TODO: Add suggestions for shared library tests.
4032 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4034 * TODO: Add suggestions for x/s tests.
4036 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4038 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
4039 "enable once", and "enable breakpoints once" with ".*".
4041 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4043 * TODO: Add suggestions about structure passing tests.
4045 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4047 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
4048 the primary1 test, use work around if __GNUC__ < 2.
4049 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
4050 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
4051 Test for bad output rather than waiting for timeout. Issue
4052 second continue only if first continue failed.
4054 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4056 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
4057 operator[] test with gdb_test because the old code didn't seem to
4058 be getting the quoting right with the new dejagnu.
4060 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
4062 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
4064 * Makefile.in: Use a fresh expect if there is one, use runtest
4065 from the src tree if there is one.
4067 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4069 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
4070 next over recursive call. Revise the tests from that point on
4071 (which had been skipped) to match GDB's actual (correct) output.
4073 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
4074 with next over a breakpoint whose condition is false.
4076 * gdb.t00/help.exp: Comment out "help set print" tests just like
4077 (and for same reason as) "help set" test.
4079 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4081 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
4082 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
4084 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4086 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
4087 necessary gdb_target_udi.
4089 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
4091 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
4092 1838 and 2417; they are fixed.
4094 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
4095 gdb.t03/ptype.exp (ptype structure, ptype union):
4096 Remove xfails; the test is looser than when the xfails were added.
4098 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
4099 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
4101 * gdb.t01/run.exp: Only run shell test if isnative.
4103 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
4104 since "run" automatically loads if necessary. Call gdb_target_udi
4105 after the "file" since "file" kills any execution target.
4107 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
4108 GDB. GDB doesn't work that way (not anymore at least) on UDI.
4109 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
4112 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
4114 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
4116 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
4118 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4120 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
4121 properly quoting regexps. This makes the second argument to
4122 demangle a fixed string, which matches the callers, instead of a
4123 shell-style pattern which is what the previous implementation
4124 used. Update some of the callers.
4126 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4128 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
4129 (comib_nullified_tests): Fix typo.
4130 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
4131 strings. No longer expected to fail.
4133 * gdb.disasm/hppa.s (addib_tests): Fix typo.
4134 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
4135 strings. No longer expected to fail.
4137 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
4138 string. No longer expected to fail.
4140 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4142 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
4143 No longer expected to fail.
4145 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
4146 string. No longer expected to fail.
4148 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4150 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
4151 only in the names (I probably got most of them). I was even
4152 generous with some which differed in underscores in names, and
4153 probably missed a few, and I *still* was able to remove almost a
4154 third of the file with almost no impact on testsuite coverage.
4156 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4158 * gdb.t00/default.exp: Match udi_attach error message as well as
4159 the one from child_attach.
4161 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
4163 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
4165 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
4166 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
4168 * Move test with enums and partial symbols back to
4169 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
4170 Reverts the change of 26 May 93. Per today's change to
4171 stabs.texinfo, the behavior that weird.exp was expecting was
4172 unreasonable; what is important is that the compiler+gdb get
4173 things right, which happens with a recent gcc. Also fix the test
4174 to deal with native compilers which put out the stab gdb can't
4177 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4179 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
4180 in the names. The main thing these accomplish is to slow things down.
4181 Many more such duplicates surely remain.
4183 * gdb.t00/help.exp: Comment out "help support" test just like
4184 (and for same reason as) "help set" test.
4186 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
4188 * gdb.t06/break.exp: Remove setup_xfails for
4189 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
4190 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
4191 about known bug in gcc to include up through 2.5.8.
4192 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
4194 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
4195 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
4196 with latest gcc and gdb.
4197 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
4200 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4202 * configure.in (hppa*-*-*): Also configure and build stabs-only
4205 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4207 * gdb.t10/hppa.mt: A makefile fragment for the PA.
4208 * gdb.t10/configure.in (hppa*-*-*): Use it.
4210 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4212 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
4214 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4216 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
4217 versions prior to 1.13.5.
4219 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4221 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
4222 the prompt is at the start of a line.
4224 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
4226 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
4227 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
4228 in the copr tests now.
4229 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
4230 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
4233 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
4235 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
4236 gdb.t31/chillvars.exp, lib/gdb.exp:
4237 Tweak to run under either version of expect.
4238 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
4239 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
4240 * gdb.t11/list.exp: Remove extraneous whitespace.
4242 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4244 * gdb.t16/printcmds.exp (test_print_strings): Accept
4245 "(unsigned char *) " before the string.
4247 * TODO: Add notes about printing of fancy types and GDB expressions.
4249 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
4251 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
4252 * gdb.t06/configure.in: Don't try to compile signals test program
4253 if doing mips-idt-ecoff.
4255 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
4257 * Most .exp files: Tweak to run under either version of expect.
4259 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4261 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
4262 xfails; I'm not sure why they are failing, but not because of PR 1806.
4264 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
4266 * config/unix-gdb.exp: Remove gdb_unload cause it's already
4267 defined in lib/gdb.exp.
4269 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4271 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
4272 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
4273 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
4274 have to be typeless.
4276 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
4278 * TODO: Add suggestion for copyright year test.
4280 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
4282 * configure.in (*-*-lynxos*): Add stabs tests.
4284 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4286 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
4287 so insert a tab before any assembler directive in column zero.
4289 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
4291 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
4293 (fpu_short_memory_tests): Likewise.
4295 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4297 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
4298 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
4299 .stabs directives in comments.
4301 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4303 * TODO: New file, describing tests we could write.
4304 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
4306 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4308 * gdb.t06/signals.exp: Add kludge to force re-sync.
4310 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
4311 to xgdb instead of gdb, get out of gdb.
4313 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
4315 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
4318 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4320 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
4321 * gdb.stabs/configure.in (hppa*-*-*): Use it.
4322 * gdb.stabs/hppa.sed: New sed script for the PA.
4324 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4326 * gdb.stabs: Re-write weird.def and configuration to use sed
4327 instead of cpp. sed is portable and POSIX; cpp is neither.
4329 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4331 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
4333 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4335 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
4337 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4339 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
4341 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
4342 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
4344 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4346 * lib/gdb.exp: Comment out code which depends on non-existent
4347 `transform' procedure.
4349 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
4351 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
4352 * lib/gdb.exp: Transform tool name.
4353 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
4354 1.1's new error handling system.
4356 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4358 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
4360 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4362 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
4363 They made pattern matching so slow that timeouts happened on
4364 heavily loaded systems. Now any output from "show print" which
4365 gets us back to the GDB prompt is a PASS.
4367 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
4369 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
4371 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4373 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
4375 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
4376 It is not from PR 3220.
4378 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4380 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
4381 just started failing because they depended on the order the
4382 subcommands are presented, or exact docstring text. This kind of
4383 test is a pain and has minimal benefit.
4385 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4387 * gdb.t09/corefile.exp: At end of test, use "core" command with
4390 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
4392 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
4393 17}/Makefile.in: Make it possible to run the testsuite with Sun
4394 make and CC = cross gcc by adding explicit build rules for .o
4397 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4399 * gdb.t15/funcargs.exp: Don't put comments on same line as
4400 setup_xfail (@#$*%& tcl braindamage!).
4402 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4404 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
4406 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
4408 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
4409 * gdb.t20/inherit.exp: remove three dumplicate entries.
4411 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4413 * gdb.t06/break.exp: For "next over recursive call", fail on any
4414 incorrect output, not just on "factorial (value=2)".
4416 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4418 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
4419 working now. Add an xfail if accesing a bss variable causes
4420 a memory error if the target is not yet run.
4422 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4424 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
4425 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
4426 name of __st* demangling (2 strings). Did Kung really get the
4427 more than 95 others right without testing them?
4429 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
4431 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
4433 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
4435 * configure.in (configdirs): Add gdb.disasm
4436 * gdb.disasm: New directory for GDB disassembler tests.
4437 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
4439 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4441 * gdb.t00/help.exp: Don't test "help set".
4443 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
4444 from within expect statements. None of these happen anymore and
4445 they cause regressions to be silently unnoticed.
4447 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
4448 messages) about known failures with gcc cygnus-2.4.5-930417.
4450 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
4451 comp-info.exp so it gets built if it doesn't exist.
4453 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
4454 it is no longer used.
4455 * gdb.t13/comp-info.c: Removed.
4457 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4459 * gdb.t06/signals.exp: Add xfail for sun3.
4461 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4463 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
4464 relevant because ^C doesn't get sent but failure can be reproduced
4467 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4469 * gdb.stabs/alpha.mt: New configuration file for alpha.
4470 * gdb.stabs/configure.in: Use it.
4471 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
4472 sharing with alpha.mt, redefine long to word via preprocessor.
4473 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
4475 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
4477 * gdb.t00/teststrategy.exp: Change expect string so that we
4478 consume the `(xgdb)' from the command echo and from the gdb prompt.
4479 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
4480 gdb currently compares all values as long, so this failure probably
4481 applies to any configuration where LONGEST is bigger than a target int.
4482 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
4484 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
4485 to handle opaque pointers, gcc is.
4486 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
4487 as first argument. Include <sys/types.h> and change all operator
4488 new definitions to use size_t.
4489 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
4490 now that we use size_t.
4492 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4494 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
4495 a long or float array cast all array members to the same type.
4496 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
4498 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
4500 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
4502 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4504 * gdb.t24 (demangle.exp): Constructors of templates have names like
4505 vector<int>::vector(int) not vector<int>::vector<int>(int). See
4506 section 14.6 of the ARM.
4508 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
4509 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
4510 accomplish little and slow down the testsuite.
4512 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
4513 Accept spaces various places.
4515 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4517 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
4518 with watchpoint enabled.
4520 * Makefile.in: Remove definition of CC and remove the second
4521 definition of CXX (the "CXX = gcc" one remains). These definitions
4522 were causing backquotes to be expanded within backquotes, which
4525 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
4527 * gdb.t17/callfuncs.exp: Add "return 0" to end.
4529 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4531 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
4532 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
4533 by mips cc and contains no stabs entries.
4535 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
4537 * config/vx-gdb.exp: Use fake device to load files rather than
4539 * lib/gdb.exp: New proc to do "file" command.
4540 * config/unix-gdb.exp: Use new "file" proc.
4542 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4544 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
4545 Rework board rebooting slightly.
4546 (gdb_exit): Don't exit from the remote shell; there isn't one.
4547 * gdb.stabs/weird.exp: If a program is being debugged already,
4549 * gdb.t04/setvar.exp: Stop and restart gdb.
4550 * gdb.t05/expr.exp: Likewise.
4551 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
4552 restart gdb and reload the program.
4553 * gdb.t08/opaque.exp: Likewise.
4554 * gdb.t12/scope.exp: Likewise.
4555 * gdb.t13/bitfields.exp: Likewise.
4556 * gdb.t15/funcargs.exp: Likewise.
4557 * gdb.t20/classes.exp: Likewise.
4558 * gdb.t03/ptype.exp: Increase timeout.
4559 * gdb.t16/printcmds.exp (test_print_string_constants,
4560 test_print_array_constants): Likewise.
4561 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
4562 * gdb.t20/classes.exp (do_tests): Likewise.
4563 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
4565 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
4567 * gdb.stabs: Renamed *wierd* to *weird*.
4569 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4571 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
4572 for timeout. Add "known gcc 2.4.5 bug" to failure message.
4574 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4576 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
4577 (do_tests): Remove xfail for whatis on one_var and two_var.
4579 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
4581 * Makefile.in: Made cross building work better by adding
4582 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
4584 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4586 * gdb.t15/{return.c,return.exp,Makefile.in}:
4587 New test, currently commented out.
4589 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
4591 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
4592 still running and removes the leftover named socket so GDb can do
4595 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
4597 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
4599 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
4600 cross testing works better with "make check"
4601 * config/unix-gdb: Use default procedures for exit and version.
4602 * config/vx-gdb.exp: Cleaned up and massaged back to working order
4603 with the newest VxWorks.
4605 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4607 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
4610 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4611 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4613 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4615 * config/unix-gdb.exp: Remove this version of gdb_exit
4616 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4617 Rob says he'll look at it when he gets back to testing boards.
4619 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
4621 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4622 an expected fail for certain ptype commands.
4624 * gdb.t20/classes.exp: Update expected results of "ptype class
4625 Base1" to account for the constructor that now appears in the type.
4627 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4629 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4630 disappeared from list.
4631 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4632 "alldone" proc with call to cleanup and exit.
4633 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4634 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4635 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4636 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4637 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4638 "alldone" proc with simple returns that suppress remaining
4639 tests. The alldone proc went away many months ago.
4641 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4643 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4645 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4647 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4649 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4650 as vax gdb will display them.
4652 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4654 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4657 * scope.exp: Change "bad value for localval" messages so each one
4660 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4661 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4663 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4665 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4667 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4668 doesn't exist (due to optimization).
4670 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4672 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4673 contains \r because the filename is long.
4675 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4676 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4678 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4680 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4681 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4683 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4685 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4687 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
4689 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4691 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4692 to match does not match the passing case but still matches the
4695 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4697 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4699 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
4701 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4702 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4703 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4704 Remove various versions of gdb_exit.
4705 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4707 * config/unix-gdb.exp: gdb_exit remains here, and should override
4708 the generic version, since it's doing a lot of wierd stuff that
4709 the other versions aren't. FIXME, fold it in, or abandon this
4712 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4714 * gdb.t24/demangle.exp: Add tests for PR 3220.
4716 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4718 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4720 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
4722 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4723 "i386-*-*". Works for i486 as well.
4725 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4726 bug, and expand domain of xfail to all SVR4 systems, since the
4727 actual problem is likely to be in generic SVR4 /proc support.
4729 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4731 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4733 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
4735 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4736 xfails for other systems. Match a missing 'Continuing.' as an
4737 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4739 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4740 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4741 Only issue warning for missing executables if -all option is used.
4743 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4744 file if -all option is used. It's like an unpredictable XFAIL.
4746 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4748 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4749 for dynamically linked binaries.
4751 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4753 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4755 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4756 to state that this is a known bug in old versions of g++.
4758 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4760 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4761 while waiting for `Continuing'.
4763 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4765 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4766 in text, data, and bss.
4767 * gdb.t10/nodebug.c: Add local and global test variables for
4768 initialized and uninitialized data.
4770 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4772 * config/unix-gdb.exp (gdb_exit): Add "wait".
4774 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4776 * gdb.t06/signals.exp: xfail the continue from the handler for all
4779 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4780 function with watchpoints enabled, the i386 call dummy starts with
4783 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4784 386 bsd names its corefiles.
4786 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4788 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4789 compilers don't grok it.
4790 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4791 with small octal ints rather than character constants, which
4792 are signed and might not fit if first promoted to int.
4794 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4796 * gdb.t09/Makefile.in (clean): Remove corefile.
4798 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4800 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4802 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4803 and Jim Kingdon (kingdon@cygnus.com)
4805 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4806 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4807 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4809 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4811 * gdb.t17/interrupt.exp: Add xfail for hppa.
4813 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4815 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4816 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4817 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4818 to determine signed-ness of bitfields and use the result to setup
4820 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4821 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4822 call line is reached if necessary.
4824 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4826 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4828 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4830 * gdb.t06/break.exp: Also test `clear' command.
4832 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4834 * gdb.t00/teststrategy.exp: Remove extra quote.
4836 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4837 watchpoint enabled to be for all non-68k machines.
4839 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4841 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4843 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4844 targets use aout.mt instead of ecoff.mt as gas understands
4845 standard aout format.
4847 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4849 * lib/gdb.exp (runto): Don't insist that function we are running to
4850 was compiled with -g.
4852 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4854 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4855 to get back into the read system call.
4856 Accept leading newline in case where we woke it up.
4858 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4860 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4861 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4862 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4863 enable ecoff configuration.
4865 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4867 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4869 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4871 * gdb.t16/printcmds.exp: Add another printf test.
4873 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4875 * configure.in: If configured -with-stabs on any target, add
4876 stabsdirs to configdirs.
4878 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4880 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4881 fun" so pattern does not match the command itself.
4883 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4885 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4887 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4889 * gdb.t17/interrupt.exp: Test for more things.
4891 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4893 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4894 compiler arranges the code and line numbers.
4896 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4898 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4900 * gdb.t00/help.exp: Increase expect input buffer size.
4902 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4904 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4906 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4908 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4910 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4911 [0-9]*, not just [0-9].
4913 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4915 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4917 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4919 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4921 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4923 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4925 * gdb.t06/signals.c: Add xfails for sun3.
4927 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4929 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4930 test_stepping tests.
4932 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4934 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4936 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4938 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4939 rather than actually putting it through cpp twice.
4941 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4943 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4945 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4948 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4950 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4952 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4953 C++ features prints as "struct", make it a pass, not an xfail.
4955 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4957 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4958 Don't require VA to print as "class" rather than "struct".
4960 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4962 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4964 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4966 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4968 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4970 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4973 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4975 * gdb.t16/printcmds.exp: Add printf tests.
4977 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4979 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4981 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4983 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4984 pass counts, to counteract any existing or future setup_xfails.
4986 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4988 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4989 {BEGIN,END}_COMMON for common block instead of STAB.
4990 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4992 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4993 intp_var should be N_GSYM not N_LSYM.
4994 wierd-aout.S: Use a label for the value of the N_SO.
4995 wierd.def: Remove all backslashes.
4996 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4998 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5000 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
5001 get the expected next to inheritance3.
5003 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5005 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
5006 now that gcc-2.4 gets it right.
5008 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5010 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
5012 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
5013 generating comp-info.exp which works for cross-compilation.
5015 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
5017 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
5020 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
5022 * gdb.t01/run.exp: Start with a fresh gdb.
5023 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
5026 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
5028 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
5029 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
5030 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
5031 Makefile.in (distclean, realclean): Remove gdbme.c from list of
5034 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
5036 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
5037 test cases from bug reports.
5039 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
5041 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
5042 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
5043 avoid spurious xfails.
5044 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
5045 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
5046 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
5048 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
5050 * gdb.t00/teststrategy.exp: Rework to provide more useful
5051 description of each test, fix problem with systems that define
5052 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
5053 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
5054 results for "next over recursive call" so timeouts aren't taken
5057 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
5059 * gdb.t12/scope.exp: Test printing of variables before run.
5061 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
5062 printed in wrong order due to sorting.
5064 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
5066 * gdb.t00/teststrategy.exp: Fix expected results for printing
5067 user entered string constant. Is array of char, prints with no
5070 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
5072 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
5073 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
5074 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
5075 of struct of char arrays.
5076 * gdb.t00/radix.exp: New tests for radix commands.
5078 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
5080 * gdb.t16/printcmd.exp: Print a variable before running program
5081 (with xfail for AIX).
5083 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
5085 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
5087 * gdb.t16/printcmd.exp: Don't print variables before running program.
5089 * gdb.t06/break.exp: Don't require envp argument to main.
5091 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
5093 * gdb.t02/whatis.exp, gdb.t11/list.exp:
5094 Add xfails for rs6000.
5096 * gdb.t02/whatis.exp: Change other tests not to re-test something
5099 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
5100 each type used has a variable of that type.
5102 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
5104 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
5106 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
5108 * configure.in: change srctrigger to be a file, not a directory
5110 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
5112 * configure.in (mips-idt-ecoff*): Added trailing '*'.
5114 * gdb.t11/list.exp: Fixed a couple of typos.
5116 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
5118 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
5119 is fixed and PR is closed.
5120 * gdb.t16 (gdbme.c): Add simple test string variable.
5121 * gdb.t16 (printcmds.exp): Add tests with simple test string
5122 variable, primarily for boundaries on "set print elements".
5124 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
5126 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
5127 Make leading 0's optional and don't expect a tab in the middle
5130 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
5132 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
5133 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
5134 don't end command passed to gdb_test with newline.
5136 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
5137 signed keyword away, don't expect signed bitfields to be signed.
5139 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
5140 printing with only as many 1's as are in the field as well as printing
5141 with 32 1's (see comment).
5143 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
5145 * gdb.t00/default.exp: Start with a fresh gdb.
5146 * configure.in (configdirs): Remove gdb.t31 until the chill
5147 compiler works again. It no longer is able to find chillrt0
5148 since it isn't in libchill.a anymore.
5149 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
5150 wierd.o, make more modular.
5151 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
5152 spurious newlines that caused problems.
5154 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5156 * Move test with enums and partial symbols from gdb.t03/ptype.exp
5157 to gdb.stabs/wierd.exp since GCC has worked around the bug.
5158 gdb.stabs/wierd.{exp,def}: Many new tests.
5160 * gdb.t00/default.exp: update info line for new message.
5162 * gdb.t02/{whatis.exp,gdbme.c}:
5163 Test that "char *" doesn't print as "caddr_t".
5165 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5167 * gdb.t00/help.exp: Use .* in place of some help messages which
5169 gdb.t00/default.exp: Update "info frame" test for new message.
5170 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
5173 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5175 * gdb.t03/{gdbme.c,ptype.exp}:
5176 Add tests for typedef'd struct and union without tags.
5177 Also check "whatis" on a variable of a typedef'd enum without a tag.
5179 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
5180 PRMS 1823; the bug still exists but isn't reproduced by this test
5181 anymore), and remove rs6000 XFAIL (the bug is fixed).
5183 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
5184 duplicated from whatis.exp. For those that are left, accept
5185 "long", "long int", or "int" for long variables (whatis.exp already
5186 has an XFAIL for "int", so no need to fail it here).
5188 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
5189 Deal with GCC's names for types now that GDB uses the compiler's names.
5191 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
5192 setup_xfail's for sunos4. If we #defined the signed keyword away,
5193 don't expect GDB to know that char it is signed.
5195 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
5197 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
5199 * configure.in (configdirs): Add gdb.t24 for C++ tests that
5200 should work on any system, regardless of debugging format.
5201 * gdb.t21/demangle.exp: Move to gdb.t24.
5202 * gdb.t24/demangle.exp: Move from gdb.t21.
5203 * gdb.t24/{Makefile.in, configure.in}: New files.
5205 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5207 * configure.in: Do gdb.stabs and C++ tests only for stabs.
5208 * gdb.stabs: New directory.
5210 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
5212 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
5213 not just "Quit anyway?".
5215 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
5217 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
5218 that all setup_xfails are immediately followed by clear_xfails.
5220 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
5222 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
5223 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
5224 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
5225 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
5226 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
5227 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5228 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5229 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
5230 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
5231 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
5232 gdb.t31/chillvars.exp, lib/gdb.exp:
5233 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
5234 bug-gdb@prep.ai.mit.edu.
5236 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
5238 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
5239 with 0.0, not integer 0.
5241 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
5243 * gdb.t06/break.exp: Update for "Kill the program" message change.
5245 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
5247 * Makefile.in (GDBFLAGS): Set to -nx.
5248 * Makefile.in (site.exp): Use GDBFLAGS.
5250 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5252 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
5254 (check): depend on just-check.
5255 (just-check): added so that tests can be run without a noop
5258 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
5260 Switch to using configure's configdirs.
5261 * Makefile.in (Makefile): add configure.in dependency.
5262 (SUBDIRS): removed redundant assignment.
5263 * configure.in: switch subdirs assignment to configdirs.
5264 * gdb.t*/configure.in: new files.
5266 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
5268 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
5271 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
5273 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
5274 in explicit rules. Apparently this is not supported by some makes.
5276 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
5278 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
5280 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5282 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
5285 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
5287 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
5289 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
5291 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
5292 watchpoint problem that is now fixed.
5293 * gdb.t30/chexp.exp: Remove setup_xfail for printing
5294 uninitialized convenience variables.
5295 * gdb.t31/chillvars.exp: Fix expected patterns for printing
5298 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5300 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
5301 which causes expect to get out of sync with gdb on long output
5303 * gdb.t09/corefile.exp: Make expected pattern for core file
5304 failing signal and frame output format less sun specific.
5306 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
5308 * gdb.t31/chillvars.exp: Add and remove initial dummy
5309 breakpoint, so that symbol table is forced in.
5310 (Needed at least on Sunos4, though it seems not SVR4.)
5311 * gdb.t31/chillvars.exp: Update for changed output format.
5313 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
5315 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
5317 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
5319 * Makefile.in: Added --srcdir when invoking runtest, removed the
5320 need for a local config file. (optional now)
5322 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
5324 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
5325 failure count used to force early termination. Add some more
5326 expected failures for gnu style demangling.
5328 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5330 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
5331 pmi variable from gdb.t20/gdbme to get optimized away.
5332 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
5333 Check for written corefile upon timeout _and_ eof.
5335 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5337 * config/unix-gdb.exp: Add missing return 0.
5339 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5341 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
5344 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
5346 * configure.in (subdirs): Put back gdb.t17 which mysteriously
5349 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
5351 * gdb.t10/crossload.exp: Disable the i860-elf test until such
5352 time as i860 support works.
5354 * gdb.t15/funcargs.exp: Fix expected outputs to include
5355 "backtrace 100\r" rather than just "backtrace\r", to match last
5358 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
5360 * config/udi-gdb.exp (gdb_exit): Remove close command.
5361 (gdb_target_udi): New procedure to set the UDI target.
5362 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
5363 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
5364 Added waits for prompts after several question responses. Added
5365 some more responses used by a29k-amd-udi-gdb.
5366 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
5367 pass different arguments, restart UDI connection after program
5369 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
5370 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5371 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
5372 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
5373 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
5374 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
5375 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5376 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
5377 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
5378 after program completion.
5379 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
5380 compiled with a SELECT_VECS setting.
5381 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
5384 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
5385 Added checks for COFF results, and made them expected failures for
5386 all targets. It would be better to make them expected failures
5387 for COFF targets only.
5389 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5391 * Makefile.in: add null dvi target, don't bother to recurse
5392 through test directories for info and install-info; rename
5393 $(datadir) to be dejagnu instead of deja-gnu
5395 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
5397 * gdb.t31/gdbme.ch: Re-enable code that previously caused
5398 compiler to coredump.
5399 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
5402 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
5404 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
5406 * gdb.t31/chillvars.exp: Comment out tests that depend on that
5409 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
5411 * gdb.t03/ptype.exp: tests for return code from gdb_test.
5412 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
5413 which in a shell. Deletes xgdb when done.
5414 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
5415 Tests the return from the "set height" or "set width" commands.
5416 Added a few return codes where needed.
5418 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
5420 * Makefile.in (SUBDIRS): Add gdb.t17.
5421 * configure.in (subdirs): Add gdb.t17.
5422 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
5423 files to test gdb's calling of functions in the inferior with
5424 the correct arguments and gdb's ability to retrieve any
5427 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
5429 * config/unix-gdb.exp (gdb_exit): Remove close commands that
5430 may be called after gdb goes away. Previous versions of expect
5431 needed these to avoid file descriptor leaks, but they cause
5432 errors with the current revision of expect.
5433 * gdb.t00/gdbvars.exp: Use -re on expected output after
5434 setting sevenbit-strings.
5435 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
5436 to set sevenbit-strings consistent across tests.
5437 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
5438 set sevenbit-strings consistent across tests.
5440 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
5442 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
5443 expected output to match current "expect" expectations.
5445 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
5447 * gdb.t00/default.exp: Change expected output for default "source"
5448 command, to match new gdb behavior which requires a filename to
5451 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
5453 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
5454 expected fail for i486-*-* that misses the marker2 function.
5455 * gdb.t10/crossload.exp (bfddefault): Allow successful
5456 recognition of a format to pass even if no symbols are found.
5457 Explicitly catch failures where the format is not recognized
5458 or is ambiguous, and add the reason to the fail message.
5459 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
5460 the cause is and invalid target and add reason to failure message.
5461 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
5462 elf32-i386, elf32-sparc, and elf32-i860.
5463 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
5464 Set up expected failure for 'filename'::variable scope resolution,
5465 which is now apparently broken on all targets.
5466 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
5467 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
5468 gdb.t23/templates.exp: Change failure for missing binfile into
5470 gdb.t21/demangle.exp: Change all cfront references to 'arm'
5473 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
5475 * gdb.t00/default.exp: Add expected output for default "source"
5476 command, to match new gdb behavior.
5477 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
5479 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
5481 * config/*-gdb.exp: returns an error, rather than exiting on
5484 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
5486 * gdb.t03/gdbme.c: Add pointer to struct variable.
5487 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
5488 referencing struct members.
5490 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
5492 * configure.in (mips-idt-ecoff): New target.
5493 * config/mips-gdb.exp: New file for remote board using MIPS remote
5496 * Redid configuration scheme. Removed gdb.t*/configure.in.
5497 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
5498 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
5499 distclean targets. Built executables via .o files. Adjusted
5500 tests to account for source files in $(srcdir) rather than
5502 * lib/gdb.exp (runto): Don't expect () after the function name,
5503 because it may have arguments.
5505 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
5507 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
5508 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
5509 expected failures for mips-idt-* and mips-sgi-*.
5510 * gdb.t00/default.exp (attach): Kill process if requested.
5511 * gdb.t00/help.exp (help target core, help target): Accept a gdb
5512 that does not read core files.
5513 * gdb.t01/run.exp: Removed checks for exit status code.
5514 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
5516 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
5517 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
5518 appropriate, rather than doing it by hand.
5519 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
5521 * gdb.t10/crossload.exp: Kill existing program if needed.
5522 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
5523 appropriate, rather than doing it by hand. Always increase
5524 timeout for this test, not just for VxWorks.
5526 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
5528 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
5529 of Chill STRUCT types and STRUCT values.
5530 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
5532 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
5533 struct2): New struct definitions and initializations to test
5534 simple Chill STRUCT types.
5536 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
5538 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
5539 the null byte at the end of strings.
5540 * gdb.t00/default.exp: Make show version insensitive to copyright
5542 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
5543 to avoid dependencies on target char signedness.
5544 * gdb.t16/printcmds.exp: Update expected results for explicitly
5546 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
5548 * gdb.t21/demangle.exp: Add many more patterns for template
5549 demangling, most of them being expected failures.
5550 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
5551 string we are matching for, to match on the whole string.
5552 * gdb.t21/demangle.exp: Add many new test strings to demangle,
5553 and fix a whole bunch that had incorrect expected output but were
5554 passing anyway because of the bug in "proc demangle".
5555 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
5557 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
5559 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
5561 * gdb/testsuite: made modifications to testcases, etc., to allow
5562 them to work properly given the reorganization of deja-gnu and the
5563 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5565 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
5567 * gdb/testsuite: Initial creation of gdb/testsuite.
5568 Migrated dejagnu testcases and support files for testing nm to
5569 gdb/testsuite from deja-gnu. These files were moved "as is"
5570 with no modifications. This migration is part of a major overhaul
5571 of dejagnu. The modifications to these testcases, etc., which
5572 will allow them to work with the new version of dejagnu will be
5573 made in a future update.
5579 version-control: never