1 Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
6 Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
8 * gdb.base/branches.c: Code with lots of loops and
9 subroutines. Used to test gdbs ability to single step through PC
10 changes, especially to test mips-tdep.c:mips_next_pc
12 Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
14 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
15 more rigorous EGCS C++ error checking.
17 Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
19 * gdb.base/help.exp: Clean up `help set args' and `help show args'
21 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
23 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
24 for i*86 Linux and SVR4 signal handling problems.
25 Remove linux xfail for `next to handler in signals_tests_1', fixed
26 by recent infrun.c change.
27 Limit backtrace to 10 frames to avoid timeout problems with infinite
29 Adjust expect pattern in `handle all print' test to match Apr 28 1997
32 Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
34 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
35 for a newline from gdb before continuing.
36 (default_gdb_exit): Just look for y or n.
37 (gdb_test): Detect abnormal exit from GDB running on DOS; if
38 it does, fail the rests of the tests in the file.
40 Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
42 * config/cygmon.exp: New file.
44 Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
46 * gdb.base/list.exp: Fix problem with "list default lines around
47 main" test on remote targets.
49 * gdb.base/scope.exp: Fix problem with filelocal_bss before
50 run test on remote targets.
52 Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
54 * gdb.asm: New directory.
55 * configure.in: Configure it.
56 * configure: Regenerate.
57 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
58 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
60 Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
62 * config/mn10300-eval.exp: New file to support MN10300 eval board.
64 Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
66 * gdb.base/overlays (several files): Merge the two overlay
67 managers into one. Change variables (foox, barx, bazx, grbxx)
68 back into ints but force them to load in their proper sections.
70 Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
72 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
73 on-chip insn memory and IMAP1 to upper 128k.
74 (D10VCopy): Handle memory regions crossing 16k boundaries.
75 (D10VCopy): Transfer data in 32 bit chunks.
77 Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
79 * gdb.base/overlays.c (main): Exit normally when result is
82 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
83 map. Include space for printf in .text segment.
85 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
86 updated d10v memory VMA/LMA map.
87 (D10VCopy): Call D10VTranslate.
89 Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
91 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
93 * gdb.base/bar.c (barx, bar): Change variable to small array so
94 that it won't be put into the .sdata - small data -
95 section. Update reference.
96 * gdb.base/baz.c (bazx, baz): Ditto.
97 * gdb.base/foo.c (foox, foo): Ditto.
98 * gdb.base/grbx.c (grbxx, grbx): Ditto.
100 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
103 Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
105 * gdb.base/overlays.exp: fix up and get working again.
106 Add tests for backtraces from an overlay function.
108 Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
110 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
111 "calling function with watchpoint enabled".
113 Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
115 * gdb.base/break.exp (test_next_with_recursion): Remove
116 gdb_suppress_tests for d10v-*-*.
117 * lib/gdb.exp (gdb_suppress_tests): Disable this function
118 pending review of whether it is useful or not.
120 Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
122 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
124 Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
126 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
127 * config/dve.exp: New file to support Densan boards.
129 Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
131 * gdb.base/interrupt.exp: Document problem of simulators, signals,
134 Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
136 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
139 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
141 Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
143 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
146 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
147 target_sizeof_long and target_bigendian_p.
148 (structs_by_value, structs_by_reference): Check values according
149 to targets word size and endianess.
151 Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
153 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
156 Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
158 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
159 Update test of set args help to match source change.
161 Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
163 * gdb.base/default.exp: Expect help system output to be in
165 * gdb.base/help.exp: Ditto.
167 Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
169 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
170 "i*86-pc-linux-gnu*".
171 * gdb.base/interrupt.exp: Ditto.
172 * gdb.base/corefile.exp: Ditto.
174 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
175 define vxworks when building the testcase.
177 * gdb.base/ptype.exp: Fix testnames to be unique.
178 * gdb.base/radix.exp: Ditto.
179 * gdb.base/term.exp: Ditto.
180 * gdb.base/whatis.exp: Ditto.
181 * gdb.c++/classes.exp: Ditto.
183 Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
185 * gdb.base/callfuncs.exp: Fix indentation.
187 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
188 suppress_flag has been set.
189 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
192 Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
194 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
197 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
198 set_debug_traps() and breakpoint().
199 * gdb.c++/misc.cc (main): Ditto.
200 * gdb.c++/templates.cc (main): Ditto.
201 * gdb.c++/virtfunc.cc (main): Ditto.
203 Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
205 * lib/gdb.exp(gdb_step_for_stub): New function.
206 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
207 exists, reload the executable and do a "continue" instead of
209 (runto_main): Use gdb_step_for_stub.
211 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
212 tests to have unique names.
213 * gdb.base/callfuncs.exp: Ditto.
214 * gdb.base/commands.exp: Ditto.
215 * gdb.base/default.exp: Ditto.
216 * gdb.base/help.exp: Ditto.
217 * gdb.base/list.exp: Ditto.
218 * gdb.base/opaque.exp: Ditto.
219 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
222 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
223 * gdb.c++/cplusfuncs.cc: Ditto.
224 * gdb.c++/virtfunc.cc: Ditto.
226 * config/monitor.exp: Keep track of the last file we saw, rather
227 than trying to get the info from gdb.
229 * gdb.fortran/types.exp: Move comment to previous line.
231 Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
233 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
236 Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
239 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
240 string from GDB when it connects.
242 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
244 Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
246 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
247 if we can't get a debug format from GDB (we may be testing an
248 older GDB). Use a 10 second timeout when checking for the format.
250 * gdb.stabs/weird.exp: Fix quoting.
252 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
254 Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
256 * config/arm-ice.exp: New file.
258 Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
260 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
261 until it has been modified to work with the new testsuite.
263 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
264 testcase won't compile, cause all of the testcases in the file to
267 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
268 (gdb_clear_suppressed): New procedure.
269 (gdb_stop_suppressing_tests): Only clear suppress_flag if
270 it contains a positive value.
272 Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
274 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
276 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
278 Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
280 * lib/gdb.exp (setup_xfail_format): New function.
281 (get_debug_format): New function to get debug format.
282 (debug_format): New global variable to hold last value set
284 * gdb.base/list.exp: Call get_debug_format and expect some
285 tests to fail for DWARF 1 and COFF formats.
286 * gdb.c++/ptype.exp: Ditto.
287 * gdb.c++/classes.exp: Ditto.
288 * gdb.c++/cplusfuncs.exp: Ditto.
289 * gdb.c++/inherit.exp: Ditto.
290 * gdb.c++/templates.exp: Ditto.
291 * gdb.c++/virtfunc.exp: Ditto.
293 Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
295 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
296 host doesn't have a currently-open connection.
298 * config/sparclet.exp: Cleanups and fixes to make it generic for
299 any gdb stub target. Handle cases where gdb doesn't respond when
300 interrupted in a sane fashion.
302 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
303 same thing in a totally different way.
305 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
307 (gdb_start): We set the global gdb_prompt variable in
308 default_gdb_init now.
310 Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
312 * gdb.base/printcmds.exp: Fix "check for floating addition"
313 regexp to accept results within approx +/- .01 of exact value.
314 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
316 Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
318 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
320 (gdb_expect): Add optional timeout parameter, and add timeout
321 value to various calls.
322 (gdb_suppress_tests): Only give one warning message per group.
324 Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
326 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
327 global variables. Handle getting a value for $timeout more
330 Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
332 * lib/gdb.exp: Close connection to remote host if gdb doesn't
334 (default_gdb_init): New procedure; allow gdb_init to be overridden
335 by a target configuration file.
336 (gdb_expect): Pass the timeout to remote_expect.
338 * config/monitor.exp(gdb_load): Fix typo in regexp.
340 Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
342 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
344 Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
346 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
347 here. Call gdb_target_exec before rebooting the target, to make
348 sure the connection to the target is closed.
349 (gdb_load): Pass the name of the executable to gdb_target_monitor.
350 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
351 Also detect "Timeout reading from remote" error.
353 * config/gdbserver.exp: Pass the executable being loaded to
354 gdb_target_monitor. Don't call gdb_file_cmd here; let
355 gdb_target_monitor do it.
357 * gdb.disasm/hppa.exp: Don't use exec_output.
359 Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
361 * gdb.base/list.exp: If we're debugging a non-native target,
362 try to set the pc register to point to the start of the
363 program before doing the first list command.
365 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
366 test_calls after restarting.
368 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
371 * gdb.base/watchpoint.exp: Fix typo.
373 * gdb.base/setshow.exp: Check for use_gdb_stub.
375 * gdb.base/break.exp: Fix continue until exit test for the gdb
377 * gdb.base/langs.exp: Ditto.
379 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
380 gdb_load_offset. If we weren't given a file to load, figure out
381 what the current file is and use it.
383 * config/i386-bozo.exp: New file.
385 Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
387 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
390 * config/proelf.exp: New entry.
392 Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
394 * lib/gdb.exp: Remove spurious .* patterns at the beginning
397 * gdb.base/watchpoint.exp: Don't run the test_stepping
398 tests if gdb can't call functions on the target.
400 * gdb.base/setshow.exp: Don't run the set prompt tests if
401 the board has gdb_prompt set.
403 Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
405 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
406 * gdb.base/commands.exp: Likewise.
407 * gdb.base/setshow.exp: Likewise.
409 Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
411 * config/monitor.exp(gdb_start): Look for gdb_prompt target
414 * config/i960.exp: New file.
416 Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
418 * gdb.base/funcargs.exp: Check for gdb,short_int target
419 feature instead of looking for explicit target triplets.
421 Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
423 * gdb.base/printcmds.exp: add a couple more tests a la
424 "p 123DEADBEEF", to check parse_number.
425 * top.c: change "to enable to enable" to "to enable" in a couple
428 Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
430 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
433 Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
435 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
436 where the test executable is run with explicit args.
437 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
439 Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
441 * gdb.base/run.c: Use FAKEARGV to build test executable that
442 does not require a command line arg, since most simulators
443 don't currently support passing such an arg into the simulated
445 * gdb.base/commands.exp: Change tests to insert the proper
446 value as the arg to the first recursive factorial call. Change
447 compilation line to define FAKEARGV at compile time.
449 Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
451 * gdb.base/recurse.exp: Enable these tests for the mn10300.
452 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
453 function with watchpoint enabled" test.
455 Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
457 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
458 Don't call gdb_test when the command doesn't return to a gdb prompt.
460 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
461 "Tests restarted" messages.
463 Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
465 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
467 Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
469 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
470 for INFO SYMBOL; add help tests for OVERLAY commands.
471 * gdb.base/default.exp: add tests for INFO SYMBOL command;
472 add tests for OVERLAY commands
473 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
474 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
475 * gdb.base/sigall.c: add usestubs code frag
476 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
478 Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
480 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
482 (gdb_stop_suppressing_tests): Note that tests have restarted.
484 Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
486 * config/h8300.exp: New file.
488 Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
490 * gdb.base/setshow.exp: Check for the existence of a
491 feature, not its value.
493 Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
495 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
497 * gdb.base/scope.exp: It's now init0(), not init().
499 * gdb.base/scope0.c: For now, change init() to be init0().
501 * config/monitor.exp: Use gdb_serial in preference to serial
504 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
505 and it's not already set.
507 Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
509 * gdb.base/setshow.exp: Only test the run command if the target
510 isn't using a stub and if it supports argument passing.
512 Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
514 * config/udi.exp(gdb_start): Make sure UDICONF is set
515 properly before starting gdb.
517 Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
519 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
520 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
521 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
523 Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
525 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
526 specialized code to reboot the board, use remote_reboot instead.
528 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
530 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
532 * config/monitor.exp: Make sure we disconnect from the target.
533 Also, try a reboot/reload cycle instead of failing if the
536 Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
538 * gdb.base/default.exp: Don't set match_max.
539 * gdb.base/help.exp: Ditto.
540 * gdb.base/list.exp: Ditto.
541 * gdb.base/signals.exp: Ditto.
543 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
544 set, use remote_ld to download the testcase instead of
547 Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
549 * config/vr5000.exp: New file.
551 * config/monitor.exp(gdb_target_monitor): Add pattern for
552 "Ending remote" to detect errors in connecting.
554 * gdb.base/setshow.exp: Add .* within auto language test.
556 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
559 * config/monitor.exp(gdb_load): Check for a failure when loading,
560 and reboot the board if necessary.
562 * gdb.base/setvar.exp(test_set): Handle multiple prints within
563 a set of tests. Remove print.* from the patterns being checked.
565 Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
567 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
568 refer to gdb_spawn_id.
570 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
572 * config/sparclet.exp: Ditto.
573 * config/sparclet-old.exp: Ditto.
574 * config/slite.exp: Ditto.
575 * config/sim.exp: Ditto.
576 * gdb.base/funcargs.exp: Ditto.
578 * lib/gdb.exp:Remove references to gdb_spawn_id.
579 (gdb_expect): Move to remote.exp.
581 Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
583 * config/monitor.exp: Detect the "Couldn't establish connection"
586 Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
588 * gdb.base/bitfields.exp: Use runto instead of explicit
589 gdb_run_cmd/gdb_expect sequences.
591 * gdb.base/break.exp(text_next_with_recursion): Add match for
594 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
595 We also need to handle the "A program is being debugged already"
596 prompt from gdb. Use gdb_test to set the baud rate.
598 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
599 to 20000. Really. I mean it.
601 Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
603 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
604 fails. If suppress_flag is set, skip perror message about not
605 being able to send to GDB.
606 (send_gdb): If suppress_flag is set, don't try to send commands to
608 (gdb_expect): If suppress_flag is set, always fail immediately.
609 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
610 (gdb_init): Call gdb_stop_suppressing_tests.
611 (default_gdb_exit): Ditto.
612 (default_gdb_start): Ditto.
614 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
615 gdb_stop_suppressing_tests as appropriate.
616 * gdb.base/break.exp: Ditto.
617 * gdb.base/callfuncs.exp: Ditto.
618 * gdb.base/commands.exp: Ditto.
619 * gdb.base/exprs.exp: Ditto.
620 * gdb.base/funcargs.exp: Ditto.
621 * gdb.base/list.exp: Ditto.
622 * gdb.base/recurse.exp: Ditto.
623 * gdb.base/scope.exp: Ditto.
624 * gdb.base/structs.exp: Ditto.
625 * gdb.c++/inherit.exp: Ditto.
627 Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
629 * config/vr4300.exp: New file.
631 * gdb.*/*.exp: Call gdb_expect instead of expect.
633 * lib/gdb.exp(gdb_expect): New function.
635 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
637 * lib/gdb.exp(gdb_init): New function.
639 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
640 for each individual variable set.
642 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
645 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
647 * gdb.base/scope.exp: Use gdb_test.
649 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
650 aborting; the testsuite driver will do that for us (see
651 gdb_finish). Also, use gdb_test in a few more places.
653 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
655 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
657 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
659 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
660 and "add_tests" are not at the same address.
662 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
664 * gdb.base/ptype.exp: Use gdb_test.
666 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
668 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
669 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
670 left in. No longer expect them to fail.
672 * gdb.stabs/*.mt; Deleted, no longer used.
673 * gdb.stabs/configure.in: Remove references to target makefile
675 * gdb.stabs/configure: Rebuilt.
677 * gdb.disasm/*.mt: Deleted, no longer used.
678 * gdb.disasm/configure.in: Remove references to target makefile
679 frags. Use "sh3.s" as the unique filename for this directory.
680 * gdb.disasm/configure: Rebuilt.
682 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
683 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
684 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
686 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
688 * config/udi.exp: Use mondfe,name instead of remote_host.
690 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
692 * gdb.base/watchpoint.exp: Don't expect a failure when calling
693 a function with a watchpoint enabled on the mn10200.
695 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
696 before trying to create it!
698 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
700 * config/vx.exp: Use hostname instead of netport.
702 * config/vxworks.exp: New file.
704 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
706 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
707 gdb before assuming everything worked. Send a ^C if a timeout
710 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
711 $gdb_spawn_id directly.
712 (gdb_run_cmd): Try _start as well as start. Use the target feature
713 gdb,start_symbol as the symbol to start from when jumping.
715 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
717 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
720 * gdb.base/recurse.exp: Relax final value test for 'b' so that
721 it doesn't lose for 16bit integer systems.
723 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
725 * gdb.fortran/types.exp: If the target doesn't support "double"
726 data types, then expect "real" types to only be 4 bytes.
728 * gdb.c++/virtfunc.exp: Expect failure for virtual function
729 call tests if the target doesn't support inferior function calls.
731 * gdb.base/printcmds.exp: Allow minor deviation in FP values
734 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
736 * gdb.base/help.exp: Disable "help set", "help show", and
737 "help support". Simplify regexp for "help stack".
739 * gdb.base/default.exp: Set match_max to 5000 and the timeout
740 to 60 seconds. Temporarily set match_max to 15000 around the
743 * gdb.base/nodebug.exp: Don't try to do an inferior function
744 call if the target doesn't support them.
745 * gdb.base/printcmds.exp: Likewise.
746 * gdb.base/setvar.exp: Likewise.
747 * gdb.base/structs.exp: Likewise.
748 * gdb.c++/templates.exp: Likewise.
749 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
751 * gdb.base/recurse.exp: Enable for the mn10200.
753 * configure.in: Do configure gdb.stabs directory for *-*-elf
755 * configure: Rebuilt.
757 * gdb.base/break.exp: Check for gdb,noresults before testing
758 exit status and/or results from the target.
759 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
760 * lib/gdb.exp: Remove old (now bogus) initialization of
761 noinferior, noargs, noresults and nosignals.
763 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
765 * config/sh.exp: New file.
767 * config/slite.exp: Try to connect multiple times to the board
768 before rebooting. Only send a "monitor run" if need_monitor_run
771 * gdb.base/break.exp: Don't do the "stub continue" test if
772 the target has gdb_stub set.
774 * gdb.base/callfuncs.exp: Increase the timeout.
776 * gdb.base/interrupt.exp: Don't even try to compile the testcase
777 if the target has gdb,noinferiorio set.
779 * gdb.base/list.exp: Increase match_max to 10000 characters.
781 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
783 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
786 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
788 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
790 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
791 trying to delete the copy of gdb. Catch the file delete so we
792 don't die if the delete fails; also, the file should be copied to
793 the host, not to the build.
795 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
797 * lib/gdb.exp(gdb_test): Surround the result pattern with
798 parenthesis in case it contains multiple regexps separated
801 * gdb.base/watchpoint.exp: Use gdb_test.
802 * gdb.base/default.exp: Ditto.
804 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
806 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
808 * gdb.base/scope.exp: Use gdb_test.
809 * gdb.c++/classes.exp: Ditto.
810 * gdb.c++/inherit.exp: Ditto.
812 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
814 * gdb.base/crossload.exp: Don't use execute_anywhere, use
816 * gdb.base/corefile.exp: Don't be ridiculous.
817 * gdb.base/*.c: Add missing stub invocations.
819 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
821 * config/slite.exp: Miscellaneous fixes.
823 * lib/gdb.exp: Fix runto.
825 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
828 * gdb.base/watchpoint.exp: Fix regexp.
830 * lib/gdb.exp(default_gdb_exit): Add a catch to the
831 close and wait commands, as the descriptor may now be
832 invalid. Always call "remote_close host".
834 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
836 Major rewrite for testsuite revision.
838 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
839 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
840 instead of relying on spawn_id to always contain a valid
842 (get_compiler_info): New procedure to build the ${binfile}.ci
843 file, instead of replicating this in N different places.
844 (gdb_compile): New procedure.
846 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
847 appropriate arguments) instead of compile. Use gdb_test in a lot
848 more places. Use send_gdb instead of send. Always run gdb_start
849 at the start of a testcase, as this is no longer done magically.
851 config/*-gdb.exp: Rename without the -gdb suffix.
853 config/mips.exp: Use remote_close instead of exit_remote_shell.
854 config/monitor.exp: Use target_info instead of looking at
856 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
858 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
860 * gdb.c++/templates.exp (test_ptype_of_templates),
861 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
862 Update expect patterns for destructors and assignment operators
863 to match corresponding c-typeprint.c changes.
864 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
865 to destructor breakpoint test, GDB should be able to set the
866 destructor breakpoint without specifying arguments.
868 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
870 * gdb.threads/pthreads.exp: Change result for failure to compile due
871 to lack of pthreads runtime support from an error to simply an
872 unsupported test, per dejagnu standards.
874 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
876 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
877 where GDB exits to reduce pattern match time.
878 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
880 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
882 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
884 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
885 * gdb.base/default.exp: ditto.
886 * gdb.base/nodebug.exp: ditto.
887 * gdb.base/printcmds.exp: ditto.
888 * gdb.base/ptype.exp: ditto.
889 * gdb.base/setvar.exp: ditto.
890 * gdb.base/structs.exp: ditto.
891 * gdb.base/setshow.c: Guard against uninitialized values of argc.
893 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
895 * configure, */configure: Rebuild with autoconf 2.12.
897 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
899 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
900 use new i*86-pc-linux*-gnu quads.
901 * gdb.base/corefile.exp: Ditto.
902 * gdb.base/signals.exp: Ditto.
903 * gdb.base/sigall.exp: Ditto.
904 * gdb.base/interrupt.exp: Ditto.
906 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
907 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
910 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
911 linux. This allows the test case to at least compile on latest
912 linux, but still not run due to missing the threads runtime library.
914 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
916 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
917 directory to search gdb directory. Accept and step over conditional
918 stack alignment code. Consume $prompt in failure cases.
919 Reset timeout to $oldtimeout instead of some arbitrary value.
920 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
921 timeout problems with infinite stack backtraces.
922 * gdb.base/ptype.exp (ptype struct link, union tu_link):
923 Accept function parameters for linkfunc member.
925 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
927 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
928 (CXXFLAGS): Remove, unreferenced.
929 (B_OPTIONS): Add for -B options and add code to initialize with
930 previous -B options and also add -B option to pick up cross compiled
932 (TARGET_INCLUDES): Add for -I options and add code to initialize when
933 doing cross compiles.
934 (target_alias): Declare global.
935 (xgcc): Set variable to full path of gcc in build tree. Use findfile
936 to verify that gcc exists in build tree, and if so set CC to that
937 gcc and to use B_OPTIONS and TARGET_INCLUDES.
939 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
941 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
942 ptype test for anonymous union. Fixup testcase to match
943 current gcc debug output.
945 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
947 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
948 force argument to an unsigned long type.
950 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
952 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
953 tests and anonymous union print/ptype tests.
954 * gdb.base/list.exp (test_forward-search): Increase timeout by
955 5 minutes for the "search extremely long line" case.
956 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
957 completely optional and that the pass/fail messages use the command as
958 the message if that third arg is a null string.
959 (gdb_test_exact): Arrange that a null string pattern means match a
960 null string output rather than any output, which might include random
962 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
964 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
965 always failing and failure is now exposed by gdb.exp changes.
967 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
969 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
972 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
974 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
975 * gdb.stabs/weird.exp: Remove v_comb xfails.
977 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
979 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
980 list.exp scope.exp watchpoint.exp]
981 Make all timeout error msgs explicitly say "(timeout)".
983 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
985 * config/monitor.exp: Increase download timeout to 1000 seconds.
987 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
989 * config/m32r.exp: Increase timeout to 120 seconds.
991 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
993 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
994 and accept older ordering as obsolescent gcc or gdb.
995 * gdb.c++/templates.exp: Ditto.
996 * gdb.c++/virtfunc.exp: Ditto.
998 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
1000 * gdb.base/coremaker.c: Add code to mmap some data so we
1001 can check that it ends up in the core file.
1002 * gdb.base/corefile.exp: Add test to read mmapped data
1005 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1007 * config/m32r.exp: New file.
1009 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
1011 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
1012 that cflags can contains -gstabs, and work correctly for other tests.
1014 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
1016 * gdb.base/setshow.exp: New file, tests show and set.
1017 * gdb.base/setshow.c: New file, tests show and set.
1018 * gdb.base/help.exp: Add test for help set|show annotate.
1019 * gdb.base/default.exp: Add test for set|show annotate.
1021 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
1023 * testsuite/gdb.base/break.exp: Make backtrace from factorial
1025 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
1028 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
1030 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
1031 and width commands. This is done elsewhere.
1032 * (gdb_start): Don't call gdb_start_sim here. That's already
1033 done in gdb_load. This fixes lots of failures in default.exp.
1035 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
1037 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
1038 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
1039 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
1040 in the same we we treat other failures (since it may be an expected
1041 condition), rather than as an error.
1042 * gdb.base/signals.exp (test_handle_all_print): Revert back to
1045 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
1047 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
1048 (distclean maintainer-clean realclean): No need to remove files
1049 twice. Nuke the duplicates.
1050 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
1051 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
1052 Remove config.h along with other config files.
1054 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
1056 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
1057 "p func1 ()" and note that rests of tests are skipped.
1058 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
1059 setup_xfails for "print func2::coremaker_local".
1060 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
1061 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
1062 affected by the previous run test.
1063 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
1064 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
1065 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
1066 "pass int powerset tuple" and "pass modeless int powerset tuple".
1067 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
1068 "real write 4" and "real write 8".
1069 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
1070 setup_xfails for "print vs1 after tuple assign 2",
1071 "print \$i after tuple assign 2", and
1072 "print vs2 after tuple assign 2".
1073 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
1074 meaningful error message and return -1 so the caller can
1075 suppress further tests and avoid a cascade of errors.
1077 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
1079 * gdb.base/a1-selftest.exp: Tweak tests to account for new
1080 format for printing version.
1081 * gdb.base/default.exp: Ditto.
1082 * gdb.base/interrupt.exp: Fix problem with cascade of
1083 errors if child process dies while calling a function.
1085 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
1087 * Makefile.in (VPATH): Add
1088 * Makefile.in (Makefile, config.status): Fix rules so things get
1089 remade when necessary.
1091 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
1093 * Makefile.in (just-check): Add path to sibling expect dir
1094 to environment variable specified by RPATH_ENVVAR.
1096 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
1098 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
1099 (just-check): Add shared library paths for libstdc++, tk,
1100 tcl, bfd, and opcodes to the environment variable specified
1102 * configure.in: Add support to recognize --enable-shared flag
1103 and generate correct value for RPATH_ENVVAR.
1104 * configure: Regenerated with autoconf.
1106 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
1108 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
1109 include all osf versions.
1110 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
1111 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
1112 when target is linux. When failing to build pthreads test
1113 executable, give more meaningful message.
1114 * gdb.threads/pthreads.c: Hpux also uses old definition of second
1115 arg for pthread_create.
1117 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
1119 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
1120 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
1121 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
1122 and -lpthreads (everybody else).
1123 (test_startup): Fail gracefully if threads are not supported.
1124 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
1125 "p/c array_index("abcdef",2)" when not gcc compiled.
1126 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
1127 "print func2::coremaker_local" when not gcc compiled.
1128 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
1129 "ptype on opaque struct tagname (statically)",
1130 "ptype on opaque struct tagname (dynamically) 1", and
1131 "ptype on opaque struct tagname (dynamically) 2"
1132 for not compiled with gcc.
1133 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
1134 backtrace when compiled with gcc.
1135 * lib/gdb.exp (runto_main): Return result of "runto main" rather
1136 than always return success.
1138 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
1140 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
1142 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
1144 * gdb.base/structs.exp: Undo last change.
1146 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
1148 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
1149 encapsulate all the steps/nexts done during self test, starting
1150 at main, and makes them less sensitive to optimization issues.
1151 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
1152 signal handler" test.
1153 * gdb.threads/pthreads.exp: Only run this for native configs.
1154 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
1155 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
1157 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
1158 for "runto test_calls(void)" test.
1160 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
1162 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
1163 and don't expect address info in breakpoint confirmations.
1165 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
1167 * gdb.base/list.exp (test_forward_search): Increase timeout
1168 temporarily by 60 seconds for searching extremely long line,
1169 and then reset to old value when done. Increase expect input
1172 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
1174 * gdb.base/list.exp (test_forward_search): Fix to handle very
1175 long source line without overflowing expect's input buffer.
1177 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
1179 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
1182 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
1185 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
1188 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
1191 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
1193 * configure.in (configdirs): Add gdb.threads.
1194 * configure: Regenerated with autoconf.
1195 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
1196 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
1197 * gdb.threads/configure: New, generated with autoconf.
1199 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
1201 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
1203 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
1205 * gdb.base/signals.exp (test_handle_all_print): Test separately for
1206 each signal's status in the output of "handle all print".
1207 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
1208 the \r\n sequence that immediately precedes the gdb prompt.
1209 * gdb.base/a1-selftest.exp: Save original timeout and restore
1212 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
1214 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
1217 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1219 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
1221 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
1223 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
1224 timeout by 60 seconds.
1226 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
1228 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
1229 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
1232 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
1234 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
1235 gdb initialization, also report how long dejagnu waited. Restore
1236 old timeout before doing error return. Temporarily increase timeout
1237 by 3 minutes to allow for slow startups over heavy NFS use.
1239 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
1241 * lib/gdb.exp: Report timeout value for verbosity level 2.
1242 * config/gdbserver.exp: Ditto.
1243 * config/hppro.exp: Ditto.
1244 * config/mips-gdb.exp: Ditto.
1245 * config/monitor.exp: Ditto.
1246 * config/netware.exp: Ditto.
1247 * config/sim-gdb.exp: Ditto.
1248 * config/slite-gdb.exp: Ditto.
1249 * config/udi-gdb.exp: Ditto.
1250 * config/unix-gdb.exp: Ditto.
1251 * config/vx-gdb.exp: Ditto.
1252 * gdb.base/a1-selftest.exp: Ditto.
1253 * gdb.base/a2-run.exp: Ditto.
1254 * gdb.base/break.exp: Ditto.
1255 * gdb.base/corefile.exp: Ditto.
1256 * gdb.base/list.exp: Ditto.
1257 * gdb.base/recurse.exp: Ditto.
1258 * gdb.base/scope.exp: Ditto.
1259 * gdb.base/signals.exp: Ditto.
1261 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1263 * gdb.threads/Makefile.in (docdir): Removed.
1265 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1267 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
1268 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
1270 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
1271 autoconf 2.5 or higher.
1272 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
1274 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
1276 * configure: Regenerated.
1277 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
1278 avoid name clashes with SunOS headers.
1280 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
1282 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
1284 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
1286 * gdb.base/callfuncs.exp: Finish last change -- make sure the
1287 prototype information ends up in the compiler info file.
1289 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
1291 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
1292 attempting to regenerate it. Eliminate use of a temporary file
1293 and just generate the info file directly. Source it immediately,
1294 for consistency of use.
1295 * gdb.base/corefile.exp: Ditto
1296 * gdb.base/exprs.exp: Ditto.
1297 * gdb.base/funcargs.exp: Ditto.
1298 * gdb.base/langs.exp: Ditto.
1299 * gdb.base/list.exp: Ditto.
1300 * gdb.base/mips_pro.exp: Ditto.
1301 * gdb.base/nodebug.exp: Ditto.
1302 * gdb.base/opaque.exp: Ditto.
1303 * gdb.base/ptype.exp: Ditto.
1304 * gdb.base/scope.exp: Ditto.
1305 * gdb.base/setvar.exp: Ditto.
1306 * gdb.base/signals.exp: Ditto.
1307 * gdb.base/whatis.exp: Ditto.
1308 * gdb.c++/templates.exp: Ditto.
1309 * gdb.c++/virtfunc.exp: Ditto.
1310 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
1311 whether or not to add -lstdc++ to the compile command line args.
1313 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1315 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
1316 it got fixed by the recent lookup_minimal_symbol_by_pc change.
1317 Increase timeout, a lot of single stepping might be needed if the
1318 target has no hardware watchpoints.
1320 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
1322 * gdb.base/break.exp: Ignore compiler warnings when compiling
1324 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
1325 * gdb.base/default.exp: Add h8300 xfails. Handle messages
1327 * gdb.base/exprs.exp: Add h8300 xfails.
1328 * gdb.base/funcargs.exp: Likewise.
1329 * gdb.base/nodebug.exp: Likewise.
1330 * gdb.base/printcmds.exp: Likewise.
1331 * gdb.base/ptype.exp: Likewise.
1332 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
1334 * gdb.base/return.exp: Handle float/double precision problems
1336 * gdb.base/funcargs.c: Explicitly make last constant argument to
1337 call_after_alloca_subr an unsigned long type.
1338 * gdb.base/return.c: Include stdio.h.
1340 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
1342 * config/abug.exp: New file for the older Motorola Bug monitor
1343 that runs on the mvme13x series VME boards.
1344 * config/monitor.exp: Use the new config array for target settings
1347 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1349 * sim-gdb.exp: Make the SH simulator allocate less space when
1352 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
1354 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
1357 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
1359 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
1360 "rs6000-*-*" for "list function in include file" when gcc compiled.
1361 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
1362 for "p ctable1[120]".
1363 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
1364 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
1365 Remove setup_xfail for "rs6000-*-*" for
1366 "print 'scope0.c'::filelocal before run".
1367 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
1368 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
1369 since some compilers don't allow both options to be given
1370 on the same command line. Create object file and move it.
1372 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
1374 * gdb.base/corefile.exp: Always regenerate the core file, since
1375 we always regenerate the coremaker program. Detect special case
1376 where registers cannot be read from core file.
1378 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
1380 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1381 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
1382 * gdb.c++/templates.exp: Only match on basename of file since
1383 some formats like xcoff don't encode directory information.
1384 * gdb.stabs/weird.exp: Use the right sed script for powerpc
1385 and rs6000 AIX xcoff targets.
1386 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
1387 * configure: Regenerate.
1388 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
1389 here, rather than in distclean.
1391 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
1393 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
1394 defined, and use it to compile the test case with -O2. The
1395 native compilation still uses no optimization.
1396 * gdb.base/mips_pro.c: Remove inline assembly code since
1397 it is compiled PIC by default, which results in assembler
1398 warnings that make the testsuite think the compilation
1401 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
1403 * gdb.c++/misc.exp: Add note to message for
1404 "print s.a for foo struct" that this is a known gcc 2.7.2
1407 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
1409 * gdb.base/break.exp: Fix pattern for matching "Delete all
1410 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
1411 setup_xfail for deleting all breakpoints test. Fix various
1412 timeout messages to include "(timeout)".
1413 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
1414 for "p t_float_values2(3.14159,float_val2)".
1415 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
1416 for "continue to call2g" when gcc compiled.
1417 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
1418 "up to foo in langs.exp", "show language at foo in langs.exp",
1419 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
1420 and "show language at fsub in langs.exp".
1421 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
1422 "list line 1 in include file", "list message for lines past EOF",
1423 "list function in include file", "list list0.h:foo", and
1424 "list filename:function; nonexistant function".
1425 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
1426 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
1427 and "ptype t_char_array" to be for native cc only.
1429 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
1431 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
1432 setup_xfail for "print coremaker_bss", "print coremaker_ro",
1433 "print func2::coremaker_local", and "backtrace in corefile.exp".
1435 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
1437 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
1438 "bt in signals.exp". This problem only appears when running
1439 the testsuite, and then only intermittently.
1441 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
1443 * gdb.base/return.exp (return_tests): Differentiate between
1444 two tests of continuing.
1446 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
1448 * */Makefile.in (maintainer-clean): Remove config.log.
1449 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
1450 * gdb.c++/Makefile.in (PROGS): Add inherit.
1451 (clean): Remove *.ci.
1453 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
1455 * gdb.c++/misc.cc: Add test code from Mike Stump.
1456 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
1458 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
1460 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
1461 to "alpha-*-osf2*" and add comment.
1462 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
1463 setup_xfail for "step over execarg initialization" and
1464 "step over corearg initialization".
1465 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
1466 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
1467 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
1468 gcc compiled for "print coremaker_bss", "print coremaker_ro",
1469 "print func2::coremaker_local", and "backtrace in corefile.exp".
1470 * gdb.base/signals.exp: Build and source signals.ci.
1471 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
1473 * lib/gdb.exp: Move verbose statements outside conditionals.
1475 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1477 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
1478 Feb 3 procfs.c change.
1480 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
1482 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
1484 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
1486 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
1487 from dejagnu's apparent default of 10 seconds, which gives random
1488 results when running the tests over NFS on moderately loaded systems.
1489 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
1491 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
1493 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
1494 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
1497 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
1499 * configure.in (CY_AC_PATH_TCLH): Remove.
1500 * configure: Regenerate.
1502 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
1504 * gdb.c++/Makefile.in (clean): Add missing '{'.
1506 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
1508 * lib/gdb.exp: Provide a default value for noinferior.
1510 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
1513 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
1515 * gdb.disasm/hppa.exp: Compile directly into an executable, use
1516 the executable, not the .o to run the tests from.
1518 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
1520 * gdb.base/break.exp: Don't test for program exit or exit status
1521 if $noresults if nonzero.
1522 * gdb.base/langs.exp: Likewise.
1523 * gdb.base/watchpoint.exp: Likewise.
1525 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
1526 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
1527 trying to compile the testcase.
1529 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
1531 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
1532 * gdb.base/signals.exp (continue to handler): Likewise.
1534 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
1536 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
1538 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
1540 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
1542 * gdb.base/corefile.exp: Recognize "not found" as failure
1543 when trying to determine if a core file was generated.
1544 If no core file was generate the first time, try again without
1545 the ulimit -c to work around braindamaged shells.
1547 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
1549 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
1550 [] tests with "test" and enclose string in quotes.
1551 * gdb.stabs/configure: Rebuild
1553 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
1555 Changes in sync with expect:
1556 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
1557 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
1558 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
1559 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
1560 argument to AC_REQUIRE.
1561 * configure: Regenerated.
1563 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
1565 * gdb.base/corefile.exp: When generating a core, discard any
1566 error messages about ulimit not found and the "core dumped"
1567 message from the shell that runs the coredumper.
1569 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
1571 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
1573 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
1574 which sed script to run. Expect failure for v_comb test
1577 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
1579 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
1580 "print func2::coremaker_local" and for "backtrace in corefile.exp"
1582 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
1584 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
1585 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
1586 "sparc-sun-solaris*" xfails for "p v_comb".
1587 * lib/gdb.exp (default_gdb_start): Fix typo.
1588 * gdb.base/corefile.exp: Allow "Core was generated by ..."
1589 messages to not include the full program name that caused
1590 the core dump since some systems (such as solaris) apparently
1591 truncate this path to about 80 characters.
1592 When generating a core file first try increasing the core file
1593 size limit to unlimited since some systems may default it to
1594 zero, and it is harmless to try it. Move the test for failing
1595 to generate a core file to where it will actually get executed.
1596 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
1597 new gdb result from g++ debug info improvements and make old
1598 pattern obsolescent. Also account for size_t differences
1599 (may be int or long).
1600 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
1601 initialization before function call is placed in the delay slot
1602 and thus appears to be skipped over by commands such as "next".
1604 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
1606 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
1608 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
1610 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
1611 input source file; fix code to compile test to deal with this
1613 * gdb.c++/*.exp: Likewise.
1615 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1617 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1618 "bt in signals.exp".
1620 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1622 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1623 "step over execarg initialization" and
1624 "step over corearg initialization".
1626 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1628 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1629 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1631 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1633 From Rob Savoye (rob@poseidon.cygnus.com)
1634 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1635 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1636 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1637 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1638 configure.in}: Major reworking for autoconfig.
1639 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1640 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1642 * config/unix-gdb.exp: Make GDB global.
1643 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1644 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1645 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1646 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1647 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1648 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1649 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1650 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1651 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1652 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1653 pr-8136.exp, result.exp, string.exp, tuples.exp},
1654 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1655 to returns as necessary, arrange for test to compile own testcase
1657 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1659 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1661 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1662 clear_xfail at end of test which might not call either pass or fail.
1663 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1664 "backtrace through signal handler".
1666 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1668 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1669 continuing from a job control stop signal.
1670 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1672 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1674 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1675 * gdb.base/corefile.exp: Likewise.
1676 * gdb.base/funcargs.exp: Likewise.
1678 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1680 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1681 * config/monitor.exp: Add support for setting baud rate.
1683 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1685 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1686 i*86-*-linux* xfails for "backtrace through signal handler".
1687 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1688 "print func2::coremaker_local".
1689 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1690 alpha-dec-osf2* xfail for
1691 "delete all breakpoints when none".
1693 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1695 * gdb.base/break.exp: Change test that deletes all breakpoints
1696 when no user breakpoints are installed. A post 4.15 change
1697 causes gdb to no longer prompt in this case.
1699 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1701 * gdb.base/return.exp (return_tests): Change xfail for test
1702 "correct value returned double test" to stop xfailing at
1703 Solaris 2.5. Apparently the bug has been fixed.
1705 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1707 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1708 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1710 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1712 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1713 * gdb.disasm/hppa.s: Corresponding changes.
1715 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1717 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1719 * config/mt-hpux: Deleted.
1721 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1723 * Many files: When warning about suppressed tests due to a
1724 nonexistant test binary, avoid incrementing the warning count.
1726 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1728 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1730 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1732 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1733 "sparc-*-solaris2*".
1735 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1737 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1738 Add global and local variables and initialize them.
1739 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1740 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1741 extracts the file name and terminating signal from the core file.
1742 * TODO: Remove note about tests for correct mapping of corefile.
1743 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1744 from optimizing it away.
1745 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1746 handles common blocks.
1748 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1750 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1751 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1753 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1755 * Makefile.in (maintainer-clean): New target, synonym for
1757 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1758 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1759 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1760 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1761 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1762 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1764 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1766 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1767 xfails when not gcc compiled for "print foo::funclocal".
1768 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1769 "print foo::funclocal at foo",
1770 "print 'scope1.c'::foo::funclocal at foo",
1771 "print foo::funclocal_bss at foo",
1772 "print 'scope1.c'::foo::funclocal_bss at foo",
1773 "print foo::funclocal_ro at foo",
1774 "print 'scope1.c'::foo::funclocal_ro at foo",
1775 "print bar::funclocal at foo" and
1776 "print 'scope1.c'::bar::funclocal at foo".
1777 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1778 gcc compiled for "print foo::funclocal at bar".
1779 Expand all messages to ensure that they identify that
1780 the test is at bar().
1781 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1783 "ptype on opaque struct pointer (statically)",
1784 "ptype on opaque struct tagname (statically)",
1785 "ptype on opaque struct pointer (dynamically) 1",
1786 "ptype on opaque struct tagname (dynamically) 1",
1787 "ptype on opaque struct pointer (dynamically) 2" and
1788 "ptype on opaque struct tagname (dynamically) 2
1789 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1795 "whatis bsslocal", and
1797 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1798 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1799 when not gcc compiled.
1800 * gdb.base/funcargs.exp (float_and_integral_args): Add
1801 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1803 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1804 "backtrace from call6a" when not gcc compiled.
1805 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1806 "backtrace from call7a" when not gcc compiled.
1807 * gdb.base/callfuncs.exp (do_function_calls):
1808 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1809 "p t_char_array_values(char_array_val2,char_array_val1)",
1810 "p t_char_array_values(char_array_val1,char_array_val2)",
1811 "p t_char_array_values("carray 1","carray 2")",
1812 "p t_char_array_values("carray 1",char_array_val2)",
1813 "p t_char_array_values(char_array_val1,"carray 2")",
1814 "p sum_args(1,{2})",
1815 "p sum_args(2,{2,3})",
1816 "p sum_args(3,{2,3,4})",
1817 "p sum_args(4,{2,3,4,5})"
1818 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1819 "backtrace in corefile.exp" when not gcc compiled.
1821 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1823 * gdb.base/signals.exp: Rewrite `handle all print' test as
1824 a procedure. Accept blanks or TABs as whitespace, increase
1825 timeout and expect input buffer size for the large output
1826 from the command. Remove "i*86-*-bsdi2.0" xfail.
1828 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1830 * gdb.base/setvar.exp: Add new testcases for truncation when
1831 assigning invalid values to bitfields.
1833 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1835 * gdb.base/callfuncs.exp (do_function_calls): Remove
1836 mips-sgi-irix* xfail for
1837 "call inferior func with struct - returns char *"
1838 and fix test so that an optional (unsigned char *) cast is
1839 accepted in the result.
1841 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1843 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1844 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1845 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1846 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1847 that accidentally got checked in.
1849 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1851 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1852 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1854 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1855 Add mips-sgi-irix5* xfail for not gcc compiled.
1856 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1857 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1858 "p top", "whatis top", "p middle", and "whatis middle".
1859 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1860 "whatis signed char" for not gcc compiled.
1861 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1862 "set variable signed char=-1 (-1)" and
1863 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1864 * gdb.base/funcargs.exp (float_and_integral_args):
1865 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1866 Add mips-sgi-irix* xfail when not gcc compiled for
1867 "continue to call2b".
1868 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1869 "continue to call2g".
1870 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1871 "backtrace from call6a"
1872 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1873 "backtrace from call7k".
1874 Add mips-sgi-irix5* xfail when not gcc compiled for
1875 "backtrace from call7a".
1876 (localvars_after_alloca): Fix gdb_test cmds for
1877 "print * after runto ...".
1878 Remove rs6000-*-* xfails for
1879 "print i after runto localvars_after_alloca" and
1880 "print l after runto localvars_after_alloca"
1882 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1883 when not compiled with gcc, for:
1884 "print signed char == (minus)",
1885 "print signed char != (minus)",
1886 "print signed char < (minus)",
1887 "print signed char > (minus)".
1888 * gdb.base/callfuncs.exp (do_function_calls):
1889 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1890 "call inferior func with struct - returns char *".
1891 * gdb.base/return.exp (return_tests): Change xfail for
1892 "correct value returned double test" to include Solaris 2.4.
1893 * gdb.base/funcargs.exp (float_and_integral_args):
1894 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1896 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1898 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1899 enumeration bitfields if compiling with GNU C.
1900 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1903 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1905 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1906 test for PRO targets.
1908 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1909 breakpoints in the inferior at any given time by making
1910 two groups of breakpoints for call2*, call6* and call7*
1913 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1915 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1916 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1917 from optimizing it away.
1918 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1919 "call inferior func with struct".
1921 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1923 * configure.in: Only configure gdb.chill for particular targets.
1925 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1927 * gdb.base/Makefile.in: Add action to .c.o transformation
1928 rule that generates a .ci file for each .o file and remove
1929 explicit .c.o rules except for callfuncs.o.
1930 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1931 generates a .ci file for each .o file and remove explicit
1933 (clean): Remove *.tmp *.ci files.
1934 (EXECUTABLES): Remove templ-info.exp.
1935 * gdb.base/compiler.c: New file.
1936 * gdb.c++/compiler.cc: New file
1937 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1938 Change rs6000-*-* xfail for
1939 "print 'scope0.c'::filelocal_ro" and
1940 "print 'scope1.c'::filelocal" and
1941 "print 'scope1.c'::filelocal_bss" and
1942 "print 'scope1.c'::filelocal_ro" and
1943 "print 'scope1.c'::foo::funclocal" and
1944 "print 'scope1.c'::foo::funclocal_ro" and
1945 "print 'scope1.c'::bar::funclocal" and
1946 "print 'scope0.c'::filelocal_ro" and
1947 "print 'scope1.c'::filelocal at foo" and
1948 "print 'scope1.c'::filelocal_bss at foo" and
1949 "print 'scope1.c'::filelocal_ro at foo" and
1950 "print 'scope1.c'::foo::funclocal at foo" and
1951 "print 'scope1.c'::foo::funclocal_bss at foo" and
1952 "print 'scope1.c'::foo::funclocal_ro at foo" and
1953 "print 'scope1.c'::bar::funclocal at foo" and
1954 "print 'scope0.c'::filelocal_ro" and
1955 "print 'scope1.c'::filelocal" and
1956 "print 'scope1.c'::filelocal_bss" and
1957 "print 'scope1.c'::filelocal_ro" and
1958 "print 'scope1.c'::foo::funclocal" and
1959 "print 'scope1.c'::foo::funclocal_bss" and
1960 "print 'scope1.c'::foo::funclocal_ro" and
1961 "print 'scope1.c'::bar::funclocal" and
1962 "print 'scope1.c'::bar::funclocal_bss"
1963 to only be xfail'd when not compiled with gcc.
1964 Add rs6000-*-* xfail for
1965 "print 'scope0.c'::filelocal_bss before run"
1966 when compiled with gcc.
1967 (test_at_main): Add rs6000-*-* xfail for
1968 "print filelocal_ro in test_at_main"
1969 when compiled with gcc.
1970 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1971 Add rs6000-*-aix* xfail for
1972 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1973 "ptype t_char_array", not compiled with gcc.
1974 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1975 xfail for "list foo (in include file)" when gcc compiled.
1976 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1977 (integral_args): Add rs6000-*-* xfail for
1978 "run to call0a" if not compiled with gcc.
1979 (unsigned_integral_args): Add rs6000-*-* xfail for
1980 "run to call1a" if not compiled with gcc.
1981 (float_and_integral_args): Add rs6000-*-* xfail for
1982 "run to call2a" if not compiled with gcc and for
1983 "continue to call2b" for any compiler.
1984 Add rs6000-*-* xfail to
1985 "print f1 after run to call2a" for gcc compiled.
1986 (discard_and_shuffle): Add rs6000-*-* xfail for
1988 (shuffle_round_robin): Add rs6000-*-* xfail for
1989 "backtrace from call7a" if not compiled with gcc.
1990 Add rs6000-*-* xfail for
1991 "backtrace from call7b" if compiled with gcc.
1992 (call_after_alloca): Add rs6000-*-* xfail for
1993 "print c in call_after_alloca" and
1994 "print s in call_after_alloca" and
1995 "backtrace from call_after_alloca_subr"
1996 if not compiled with gcc.
1997 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1998 "print c in localvars_in_indirect_call" and
1999 "print c in localvars_in_indirect_call" and
2000 "backtrace in indirectly called function" and
2001 "stepping into indirectly called function"
2002 if not compiled with gcc.
2003 (localvars_after_alloca): Add rs6000-*-* xfail for
2004 "print c after runto localvars_after_alloca" and
2005 "print s after runto localvars_after_alloca" and
2006 "print i after runto localvars_after_alloca" and
2007 "print l after runto localvars_after_alloca"
2009 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
2010 than whatis-info.exp.
2011 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
2012 than opaque-info.exp.
2013 Setup rs6000-*-* xfail for
2014 "ptype on opaque struct pointer (statically)" and
2015 "ptype on opaque struct pointer (dynamically)" when
2016 not compiled with gcc.
2017 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
2018 rather than callf-info.exp.
2019 (do_function_calls): Add clear_xfail for rs6000-*-* for
2020 "p t_float_values2(3.14159,float_val2)". Seems to work
2021 fine there, both with xlc and gcc. Need to find out what
2022 it is doing right and fix other platforms.
2023 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
2024 "call inferior func with struct - returns int",
2025 "call inferior func with struct - returns long",
2026 "call inferior func with struct - returns float",
2027 "call inferior func with struct - returns double",
2028 "call inferior func with struct - returns char *",
2029 but only if not gcc compiled (presumes xlc compiled).
2030 Change rs6000-*-* xfails for
2031 "call inferior func with struct - returns char" and
2032 " call inferior func with struct - returns short" to only
2033 xfail if not using gcc.
2034 (clean mostlyclean): Remove *.ci and *.tmp files.
2035 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
2036 than templ-info.exp.
2037 * gdb.base/langs.exp: Source gdb.base/langs.ci.
2038 Add rs6000-*-* xfail for "up to foo in langs.exp"
2039 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
2040 when not gcc compiled.
2042 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2044 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
2045 * gdb.base/corefile.exp: Likewise.
2046 * gdb.base/list.exp: Likewise.
2047 * gdb.base/scope.exp: Likewise.
2048 * gdb.base/siganls.exp: Likewise.
2050 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
2052 * gdb.base/whatis.exp: Likewise.
2054 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
2056 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
2057 failure (opcode table has been fixed to match reality).
2059 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
2061 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
2062 "call inferior func with struct - returns char",
2063 "call inferior func with struct - returns short"
2065 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
2066 "print 'scope0.c'::filelocal at main",
2067 "print 'scope0.c'::filelocal_bss in test_at_main",
2068 "print 'scope0.c'::filelocal at foo",
2069 "print 'scope0.c'::filelocal_bss in test_at_foo",
2070 "print 'scope0.c'::filelocal at bar",
2071 "print 'scope0.c'::filelocal_bss in test_at_bar"
2073 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
2074 in source file 1". This bug seems to have been fixed with both
2075 gcc and native cc (was native assembler bug?).
2077 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
2079 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
2080 "backtrace through signal handler" to "i*86-*-sysv4*".
2081 * gdb.base/signals.exp: Add xfail for "'next' behaved as
2082 continue" case. Add "known SVR4 bug" to fail message.
2083 Add "i*86-*-bsdi2.0" xfail for "handle all print".
2084 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
2085 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
2086 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
2087 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
2088 "up to foo in langs.exp", "show language at foo in
2089 langs.exp", "up to cppsub_ in langs.exp", "show
2090 language at cppsub_ in langs.exp", "up to fsub in
2091 langs.exp", and "show language at fsub in langs.exp".
2092 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
2093 "bactrace in corefile.exp".
2094 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
2095 "call inferior function with struct - returns float" and
2096 "call inferior function with struct - returns double".
2098 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
2100 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
2101 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
2102 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
2103 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
2105 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
2107 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
2108 (or overriden) "CHILL" macro rather then bare "gcc".
2109 Also look for ../../gcc/xgcc since that is what we will
2110 actually need, not "Makefile". Remove following assignment
2111 of CHILL to CHILL_FOR_TARGET because that results in
2112 recursive definition.
2114 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
2116 * gdb.base/corefile.exp: Change xfail for backtrace in
2117 corefile.exp from linuxaout to all linux.
2118 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
2119 cases where we miss the breakpoint at the signal handler
2120 for some reason. Setup xfail for linuxoldld/linuxaout and
2121 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
2122 hitting SIGURG breakpoint.
2123 * gdb.base/signals.exp: Setup xfail for "next" acting like
2124 continue to add linuxoldld. Setup xfail for all linux for
2125 "next to handler in signals_tests_1", "backtrace in
2126 signals_tests_1", "continue to func1", "pass SIGUSR1",
2127 and continue to handler".
2129 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
2131 * Update all FSF addresses except those in COPYING* files.
2133 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
2135 * gdb.base/a2-run.exp: Change messages to be more explicit about
2136 the status of args, and quote binfile in results.
2138 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
2140 * gdb.base/callfuncs.exp: Add tests for passing structs to
2141 inferior functions and return various types.
2142 * gdb.base/callfuncs.c: Add functions to receive a struct
2143 and return a member of the struct, in various types.
2145 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2147 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
2149 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
2151 * config/vxworks29k.exp: New file, sources vxworks.exp.
2153 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2155 * config/gdbremote.exp: New file. Testing framework using
2158 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
2160 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
2161 "call function when asleep" and "send end of file".
2162 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
2163 for "backtrace in corefile.exp".
2164 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
2165 for "backtrace through signal handler".
2166 * gdb.base/corefile.exp: Make sure we actually generate a core file
2167 before trying the core tests. Some systems allow the user to suppress
2168 generation of core files and default to that (linux for example).
2169 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
2170 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
2172 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2174 * gdb.threads: New directory with some crude multi-threaded
2175 gdb tests (step.exp and step2.exp).
2176 * config/mt-lynx (STEP_EXECUTABLE): Define.
2177 (THREADFLAGS): Define.
2179 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
2181 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
2183 * gdb.base/signals.exp: Disable whole file for lynx until
2186 * gdb.base/signals.exp: xfail test where "next" acts like
2187 "continue" for lynx.
2189 * gdb.base/interrupt.exp: xfail test for calling function while
2190 inferior is asleep for lynx.
2192 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
2193 than one cr-lf after each command.
2195 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2197 * configure.in: Reinstate setting of stabsdirs variable, fix
2198 typo in setting up configdirs for native builds.
2200 * gdb.base/return.exp: Fix typo in return double test.
2201 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
2202 compiler from optimizing them away.
2204 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
2206 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
2207 sequences to be echo'd by gdb when using gdb_test.
2208 * gdb.chill/chexp.exp: Likewise.
2209 * gdb.fortran/exprs.exp: Likewise
2211 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
2213 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
2214 after the inferior gdb has started.
2216 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
2218 * gdb.base/funcargs.exp: Likewise.
2219 * gdb.base/gdbvars.exp: Likewise.
2220 * gdb.base/interrupt.exp: Likewise.
2221 * gdb.base/list.exp: Likewise.
2222 * gdb.base/watchpoint.exp: Likewise.
2223 * gdb.c++/demangle.exp: Likewise.
2224 * gdb.c++/inherit.exp: Likewise.
2225 * gdb.chill/chexp.exp: Likewise.
2226 * gdb.fortran/exprs.exp: Likewise.
2228 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
2229 test if we can't handle IO to/from the inferior.
2231 * gdb.c++/misc.exp: Always check for a program already being
2232 started after sending a "run" command to gdb.
2234 * gdb.base/twice.exp: Start with a fresh gdb.
2236 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
2237 only depend on gdb's expression code, not the chill runtime.
2239 * gdb.base/return.c: Put return values into variables so we
2240 can have gdb print them rather than depending on the program
2242 * gdb.base/return.exp: Corresponding changes.
2244 * lib/gdb.exp: Provide default value for noinferiorio.
2245 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
2248 * gdb.base/break.exp: Always check for a program already being
2249 started after sending a "run" command to gdb.
2250 (text_next_with_recursion): Don't check the output from the
2251 program's printf statement. Instead just make sure the program
2254 * gdb.base/commands.exp: Protect tests which need arguments with
2255 $noargs conditionals.
2257 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2259 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
2260 of structure member arrays to match gdb/valops.c:value_addr change.
2262 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
2264 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
2267 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
2269 * configure.in (configdirs): Remove gdb.chill from default list
2270 of subdirs and then add it back in only if doing a native build.
2271 The current chill compiler does not yet work in any cross build.
2272 * Revert all signal changes from Jul 6.
2273 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
2274 for sh-hms targets, allowing these tests to link, with no other
2275 changes. Testing is suppressed by setting "nosignals" in site.exp.
2277 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
2279 * configure.in (signaldirs): Define and add to configdirs for all
2280 targets except some specific ones that are known to not support signals.
2281 Also clean up formatting.
2282 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
2283 (signals, sigall): Remove rules to build.
2284 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
2285 Moved to new gdb.signals directory.
2286 * gdb.signals: New test directory.
2287 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
2288 signals.c signals.exp}: New or moved files.
2290 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
2292 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
2294 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
2296 * gdb.base/return.exp: Xfail `return double' test failure
2297 on at least Solaris 2.3 and handle future/past versions on
2298 a case by case basis as appropriate. Also update message
2299 to include i*86 failures.
2301 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2303 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
2305 * lib/gdb.exp: Fix comment which erroneously identified
2306 gdb_file_cmd as gdb_load (the 19 May change was in fact to
2307 gdb_file_cmd not gdb_load).
2308 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
2310 * gdb.base/setvar.exp: Make test names consistent between pass and
2311 fail cases. Use gdb_test more.
2313 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2315 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
2317 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2319 * gdb.base/help.exp: Fix expected help string for `show commands'.
2321 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
2323 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
2325 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
2328 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
2330 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
2331 that loop eventually terminates. Fix Connection refused logic so
2332 that testsuite will expire nicely.
2334 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
2336 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
2337 config/rom68k.exp: New tcl glue for the appropriate monitors.
2338 These all just end up calling monitor.exp.
2339 * config/monitor.exp (gdb_target_monitor): Handle `Connection
2340 refused' by retrying. Cleanup some timeout issues.
2341 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
2342 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
2343 callers don't have to set/restore global timeout variable.
2345 * The following set of changes centralizes management of the global
2346 timeout variable. This way, it can be set in one target dependent
2347 place instead of dozens of places scattered throughout the test suite.
2348 If you need to lengthen a timeout, then you should either set timeout
2349 in one of the config/{target}.exp files, or multiply it by a factor.
2350 Setting it to an absolute value is always going to lose for some
2352 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
2353 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
2354 * gdb.base/funcargs.exp: Don't set timeout.
2355 * gdb.base/list.exp (test_forward_search): Only use local timeout.
2356 * gdb.base/printcmds.exp (test_print_string_constants
2357 test_print_array_constants): Don't set timeout.
2358 * gdb.base/ptype.exp: Don't set timeout.
2359 * gdb.base/recurse.exp: Don't set timeout.
2360 * gdb.base/return.exp: Don't set timeout.
2361 * gdb.base/watchpoint.exp: Don't set timeout.
2362 * gdb.c++/classes.exp (do_tests): Don't set timeout.
2363 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
2365 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
2367 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
2369 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2371 * lib/gdb.exp: Disable chill tests for irix5.
2373 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2375 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
2376 each test pass or fail.
2378 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2380 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
2383 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
2385 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
2387 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
2389 * config/est.exp: Fix copyright and comments. Remove dead code.
2390 Use targetname, serialport and baud variables instead of fixed
2392 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
2393 * config/cpu32bug.exp: New file to support cpu32bug monitors.
2395 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2397 * gdb.base/watchpoint.exp: Don't run
2398 test_watchpoint_triggered_in_syscall for sunos.
2400 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2402 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
2403 they don't seem to exist. Do include stdio.h.
2405 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2407 * gdb.base/a1-selftest.exp: Add alpha xfail.
2409 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2411 * gdb.base/watchpoint.c (main): Prompt before calling read().
2412 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
2413 Revise accordingly. Remove cruft about sending "123" several
2414 times, until it gets noticed. Clean up the "print buf[0]" stuff
2415 so that it passes or fails, and waits for prompts in the usual way.
2417 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2419 * gdb.base/recurse.exp: Fix comment.
2421 * TODO: Remove item about printing variables in nodebug.exp. Add
2422 item about enabling tests which are only run on some targets.
2424 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
2425 fail, make test names unique, use new gdb_test convention
2426 regarding pattern, use gdb_test more, etc.).
2428 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
2429 fail, make test names unique, etc.).
2431 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2433 * gdb.base/nodebug.c: Change return type of top and middle to
2435 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
2436 are fixed by the recent mdebugread.c changes. Allow `short ()'
2437 as type for top and middle.
2439 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2441 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
2442 nearly as I can tell, the whole thing was an accident in Stu's
2443 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
2444 to replace a send/expect pair with gdb_test, but ended up only
2445 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
2446 of 30 Mar 1995 took care of it, but left this vestigial comment
2447 which I am now nuking.
2449 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2451 * gdb.base/break.exp: Look for different line number for
2452 breakpoint at main depending on usestubs.
2454 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2456 * gdb.base/list.exp: Adjust some alternate expect patterns to
2457 match recent list0.c change. Add alternate expect pattern for
2458 output from `list default lines around main' for optimizing
2461 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2463 * lib/gdb.exp: If nosignals is not set, set it to 0.
2465 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
2467 * config/slite-gdb.exp: Responds to load symbol table prompt.
2468 * gdb.base/break.exp: Adjust line number, fix rerun.
2469 * gdb.base/langs0.c: Add #ifdef usestubs.
2471 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
2473 * gdb.base/list.exp: Adjust line contents after adding new lines in
2474 list0.c. Also fix a syntax error.
2476 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
2477 * gdb.base/break.exp: ditto.
2478 * gdb.base/list.exp: ditto.
2479 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
2480 * gdb.base/run.c: ditto.
2481 * gdb.base/list0.c: ditto.
2482 * gdb.base/funcargs.c: ditto.
2484 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
2486 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
2487 $targetname, $serialport and $baud instead of hardwired variables.
2488 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
2489 target doesn't support signals.
2491 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2493 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
2495 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2497 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
2498 Don't rely on the value of an auto variable before it has been
2499 initialized. Use gdb_test more.
2501 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2503 * lib/gdb.exp (default_gdb_version): A version number must start
2504 with a digit, but other than that contains all characters up to
2505 the first whitespace character.
2507 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2509 * gdb.base/commands.exp (breakpoint_command_test): New tests.
2511 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2513 * gdb.c++/*.exp: Warn if executable does not exist. The original
2514 reason for skipping the warning was that configure.in sometimes
2515 intentionally skipped building the executables but the tcl code
2516 had no way of knowing. That (a) was always bogus with respect to
2517 error handling, (b) is no longer true (right now there is no way
2520 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
2522 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2524 * gdb.base/list.exp: Add expect patterns for output from
2525 SunPRO compiled executables.
2526 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
2529 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2531 * gdb.base/break.exp (test_next_with_recursion): Accept any line
2532 number (we are already testing that the correct source line text
2535 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
2536 that is what is intended, but something needed to be done to get
2537 sunos4 native working again.
2539 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
2541 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
2542 apparently went with a (very) old xfail.
2544 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
2546 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
2547 runto_main is a proc in gdb.exp that will do 'step' for target use
2549 * gdb.base/exprs.exp: ditto.
2550 * gdb.base/interrupt.exp: ditto.
2551 * gdb.base/opaque.exp: ditto.
2552 * gdb.base/printcmds.exp: ditto.
2553 * gdb.base/ptype.exp: ditto.
2554 * gdb.base/scope.exp: ditto.
2555 * gdb.base/setvar.exp: ditto.
2556 * gdb.base/signals.exp: ditto.
2557 * gdb.base/twice.exp: ditto.
2558 * gdb.c++/classes.exp: ditto.
2559 * gdb.c++/inherit.exp: ditto.
2560 * gdb.c++/templates.exp: ditto.
2561 * gdb.base/break.exp: no run and hit main for stubs. Change line
2562 numbers for breakpoints and info breakpoint.
2563 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
2565 * gdb.base/callfuncs.c: ditto.
2566 * gdb.base/exprs: ditto.
2567 * gdb.base/interrupt.c: ditto.
2568 * gdb.base/opaque0.c: ditto.
2569 * gdb.base/printcmds.c: ditto.
2570 * gdb.base/ptype.c: ditto.
2571 * gdb.base/scope0.c: ditto.
2572 * gdb.base/setvar.c: ditto.
2573 * gdb.base/signals.c: ditto.
2574 * gdb.base/twice.c: ditto.
2575 * gdb.c++/misc.cc: ditto.
2576 * gdb.c++/templates.cc: ditto.
2578 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2580 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
2582 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
2583 somewhere between `read' and `main.c'. I'm pretty sure the
2584 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
2585 and it isn't particularly useful.
2587 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
2589 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2591 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
2593 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
2595 * config/mt-slite: add LIBS and -nostdlib.
2596 * config/slite-gdb.exp: add this new file to support sparclite target.
2598 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
2600 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
2602 * gdb.base/a2-run.exp: Change argument to istarget from
2603 "*-*-vxworks" to "*-*-vxworks*".
2604 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
2606 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
2608 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
2609 will not runto main but do a 'step' to step out of breakpoint().
2610 * config/mt-slite: add -Dusestubs.
2612 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2614 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2617 * gdb.base/signals.exp: Add test for "handle all print".
2618 * TODO: Remove "handle all print". Also remove item about
2619 checking copyright date (I don't like the idea of a spurious FAIL
2620 based on when we run the tests).
2622 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2623 for SunOS4 (reason for failure not investigated). Remove
2624 redundant test for $binfile.
2626 * gdb.base/nodebug.c (array_index): Call malloc.
2628 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2630 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2632 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2633 conventions and slightly simplify the matching regexp.
2635 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2637 * gdb.base/break.exp: Update gdb_test invocation to use new
2640 * lib/gdb.exp: If noargs is not set, set it to 0.
2642 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2645 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2647 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2649 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2650 one argument of type "<non-float parameter>".
2652 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2654 * config/rom68k.exp: New file to support Motorola IDP board.
2655 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2656 * gdb.base/break.c: Change things around so that this program
2657 doesn't depend upon args. This is necessary to make remote
2658 targets work (in general, they can't take args).
2659 * gdb.base/break.exp: Don't try to send args to program. Don't
2660 expect output. Also, replace lots of code with gdb_test.
2662 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2664 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2665 printing of '\'' (which is what the comment says we are testing,
2666 even though we were not), not '''.
2667 (test_integer_literals_rejected): Test that printing ''' is an error.
2669 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2670 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2671 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2672 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2673 Use gdb_test not test_print_accept.
2674 * lib/gdb.exp: Remove test_print_accept.
2676 * gdb.base/signals.exp (signal_tests_1): Make pass message
2677 consistent with fail message.
2679 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2680 unsigned char; the bug (PR 1821) is fixed.
2682 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2684 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2685 successful tests--makes xfailing them work right.
2687 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2689 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2690 only \r\n, not .*. The test can pass .* as the last thing in
2691 $pattern if that is what it wants. In addition to providing this
2692 flexibility, this change should speed up pattern matching in cases
2693 where the pattern already ended with .* (there were a number of
2694 them). This change also helps catch bad patterns--in the old
2695 scheme the typo "char \*" instead of "char \\*" would pass. Now
2697 * Many .exp files: Update callers.
2699 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2700 clearer and does not spuriously match multiple ('s. Likewise for
2703 * gdb.base/nodebug.exp: Test ability to call a function and pass
2704 it a string (even with no debugging info).
2706 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2707 "p '\'", which is the same as "p ''" once tcl gets done with
2708 quoting, to "p '\\'", which I suspect is what is intended (one
2709 backslash gets sent to GDB).
2711 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2713 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2715 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2716 1817) was fixed literally years ago.
2718 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2720 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2721 test, it causes stepping out of call_after_alloca_subr with
2722 optimizing compilers.
2723 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2726 * gdb.c++/templates.exp: Source templ-info.exp only if
2727 the templates executable exists.
2729 * gdb.c++/misc.cc (class Contains_static_instance,
2730 class Contains_nested_static_instance),
2731 gdb.c++/classes.exp (test_static_members): Test printing of
2732 a class that contains a static instance of the class.
2734 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2736 * gdb.base/langs2.c (cppsub_): Don't prototype.
2737 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2740 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2742 * lib/gdb.exp (skip_chill_tests): New procedure.
2744 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2746 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2748 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2749 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2751 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2753 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2755 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2756 disassemble 8, not 16, instructions for part 4.
2758 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2759 support the latter anymore.
2761 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2763 * gdb.base/callfuncs.c: Control use of prototypes based on
2764 NO_PROTOTYPES, not __STDC__.
2765 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2766 t_float_values2 tests if prototypes in use.
2768 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2769 t_double_values): When checking differences against DELTA, check
2770 that difference is within the range (-DELTA,DELTA), not just
2773 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2775 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2776 'file' command firts, then 'target', then 'load', this is due to gdb
2778 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2780 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2782 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2783 FP load/store variants.
2784 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2786 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2788 * gdb.base/term.exp: Do not give a warning if not native, it is
2789 not an abnormal condition.
2791 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2793 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2796 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2798 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2799 are getting the version number.
2801 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2802 if not native, it is not an abnormal condition.
2804 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2806 * lib/gdb.exp: Just use "file exists", rather than undocumented
2807 dejagnu procedure "findfile".
2809 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2811 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2812 (LDFLAGS): Set to -Xlinker -Ur.
2814 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2815 Removed, these values are set by lib/gdb.exp.
2817 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2819 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2821 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2822 of replicating gdb startup code.
2824 * config/mt-vxworks (LDFLAGS): Set to -r.
2825 (CFLAGS_FOR_TARGET): Removed.
2827 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2828 (gdb) and gdb for vxworks uses (vxgdb).
2830 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2831 executable is not in the tree and host != target, use sed and
2832 program_transform_name to determine the gdb name used by the
2835 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2836 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2838 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2840 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2841 floats, chars, and shorts where there are ANSI-style function
2844 * gdb.base/langs.exp, gdb.base/langs*: New test.
2845 * gdb.base/Makefile.in: Build it.
2846 * TODO: Remove item about checking that C names don't get C++
2847 demangling applied; this test tests it.
2849 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2851 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2852 went with the const70 xfail. The xfail went away a year ago.
2854 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2856 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2859 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2861 * gdb.base/a1-selftest.exp: Don't run on hp300.
2863 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2865 * Makefile.in (site.exp): Set host_alias and target_alias as well
2866 as host_triplet and target_triplet.
2868 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2870 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2872 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2873 places as other ecoff systems).
2875 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2878 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2880 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2882 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2883 variable and "variable" in addition to "data variable".
2884 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2886 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2888 * gdb.base/list1.c (long_line): Add additional statement at start
2890 * gdb.base/list.exp (test_forward_search): Update line number to
2891 reflect new statement.
2893 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2895 * gdb.base/signals.exp: Reinitialize searched source directories
2896 after gdb_start call.
2898 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2900 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2901 * gdb.stabs/Makefile.in: Likewise.
2903 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2904 change. Instead split the tests into smaller pieces.
2905 * gdb.disasm/hppa.s: Corresponding changes.
2907 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2909 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2910 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2912 * gdb.base/funcargs.exp: Modify many tests so that every test
2913 either passes or fails. Make some test names unique.
2915 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2917 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2918 Call stty to set interrupt character.
2920 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2921 for HP assembler versus GNU assembler based on actual behavior of
2922 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2924 * TODO: Suggest a few more stepping tests.
2926 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2928 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2929 restart GDB for h8300 after a continue.
2930 (return): Add pattern to match a29k-udi behavior.
2931 * gdb.base/nodebug.exp: Remove obsolete comment.
2932 * gdb.base/regs.exp: New file, testing of register displays.
2933 * gdb.base/return.exp: Fix typo in reference to $objdir.
2934 * gdb.base/whatis.exp: Always start with a fresh GDB.
2936 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2938 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2939 higher, these tests generate a lot of output.
2941 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2943 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2944 code following the catch silently ignored some errors; without the
2945 catch they should be thrown like any other tcl error. Also, the
2946 catch used "" instead of {} which meant all the callers who wanted
2947 to include one of the characters "[]$ had to quote it an extra time.
2948 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2949 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2950 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2951 Remove extra quoting.
2953 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2955 * gdb.base/commands.exp: Make test names unique; every test either
2956 passes or fails. Update some comments.
2958 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2960 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2962 The following fixes a FAIL caused by the fact that the alpha stabs
2963 configuration didn't use the ".if alpha" code in weird.def.
2964 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2965 bit pointer, so the 32 bit version works even on the alpha.
2966 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2967 Remove the stuff which allowed us to have separate versions for
2968 alpha and everything else.
2970 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2971 regexp which "info func operator\[\](" is supposed to match. Fix
2972 string to send to GDB. Note that GDB still doesn't work right. Add a
2973 new test for "info func .perator\[\](" which GDB does handle correctly.
2975 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2977 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2979 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2980 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2981 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2982 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2983 it makes the tests harder to understand and confuses test-o-matic.
2984 The preferred style is that each test provides a PASS or a FAIL,
2985 and has a unique message (e.g. "continue #54" not just "continue")
2986 which is the same for the pass and the fail.
2987 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2988 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2990 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2991 prt_accept which was basically the same thing. Likewise for
2992 test_print_reject and prt_reject.
2993 * lib/gdb.exp (test_print_reject): Add some more error message
2994 patterns to match from the former printcmds.exp (prt_reject).
2995 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2996 One defect of the passcount stuff is that some of it failed to
2997 report XPASS where appropriate.
2998 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2999 stuff before and after arg in expected pattern.
3000 (test_paddr_operator_functions): Re-do test without print_addr_of;
3001 this is the only test which seems to want extra stuff there.
3003 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3005 * gdb.base/nodebug.exp: Update new tests to reflect improved
3006 wording of gdb output.
3008 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
3009 and "ptype" work on variables in files compiled without -g.
3010 Replaces commented out "maint print msymbol" tests.
3012 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3014 * gdb.base/setvar.c (dummy): Call malloc.
3016 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
3017 losing with the irix4 sed.
3019 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
3022 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3024 * TODO: Remove items about corefile.exp testing new exec-file and
3025 backtrace; both are now done. Add items about printing enums.
3027 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3029 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
3030 "get signal $thissig" test fails.
3032 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
3034 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3036 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
3037 compiler warning with dec alpha compiler.
3039 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
3040 extra \n from gdb_test call (this explains why the prompt test
3041 that I removed yesterday was there).
3042 (user_defined_command_test): Remove extra \n and prompt test.
3044 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
3045 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
3047 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
3048 Also remove alpha workaround, which turns out to be because
3051 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
3053 * gdb.base/help.exp: Don't test "help show".
3055 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3057 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
3058 "set print address" is on.
3059 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
3060 pass prompt to gdb_test; gdb_test already looks for the prompt.
3062 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
3064 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
3065 was a vestige of the manual TESTSTRATEGY, and the purpose of it
3066 was to make sure that gdb can read a core file. But (a) the "read
3067 the corefile" part didn't make it to a1-selftest.exp, we just
3068 delete the corefile after creating it, and (b) we test reading
3069 corefiles in corefile.exp anyway. Also, this test left around a
3070 xgdb process on Solaris.
3072 * gdb.base/corefile.exp: Also test backtrace.
3074 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
3076 * gdb.base/commands.exp: Test a simple user defined command with
3077 arguments and if/while statements; verify the full user command is
3078 printed by "show user".
3080 * gdb.base/commands.exp: Test if/while commands as part of a
3081 breakpoint command list; verify they appear in breakpoint
3084 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3086 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
3087 than by dividing by zero.
3089 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
3091 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
3092 performing an inferior call with watchpoints enabled.
3093 * gdb.base/watchpoint.c (main): Delete second unnecessary read
3096 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3098 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
3101 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
3102 Add additional pattern for when "int operator int(void);" appears
3103 in a different order.
3105 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
3107 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
3109 * gdb.base/help.exp: Replace most of docstrings for "info signals"
3110 and "signal" with ".*".
3112 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
3114 * TODO: Add note about "handle all nostop".
3116 * gdb.base/{sigall.c, sigall.exp}: New test.
3117 * gdb.base/Makefile.in: Add it.
3119 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
3121 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
3122 when invoking GDB, suppresses any windowing interface.
3124 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
3126 * config/sim-gdb: New file, simulator testing support.
3128 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
3130 * gdb.base/interrupt.exp: Test calling func1 twice.
3132 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
3134 * gdb.base/list.exp (test_forward_search): Set timeout higher
3135 when we'll be getting lots of output from gdb.
3137 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
3138 "init_malloc" to after the expect statement. Run it if that
3139 regexp is taken, but also for two others which happen if source
3142 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3144 * gdb.base/printcmds.exp: New test, for printing register before
3147 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3149 * gdb.base/list.exp: Correct some alternate expect patterns
3150 to reflect changes in list1.c.
3152 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3154 * TODO: Add item regarding large frames.
3156 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
3158 * TODO: Remove item about enabling return.exp; it
3159 is enabled. Suggest a few more "return" tests.
3161 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3163 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
3166 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3168 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
3169 and pr-5646.o, so "make" is the same as "make all", not "make
3172 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
3174 * gdb.base/list.exp: Adjust expectations to reflect changes in
3176 (test_forward_search): New test proc.
3177 * gdb.base/list1.c (long_line): New function, has long source line.
3179 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
3181 * gdb.base/a1-selftest.exp: Change initial stepping to know about
3182 additional line of code that was added.
3184 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
3186 * gdb.disasm/hppa.s: Break the large branching tests into smaller
3187 tests so as not to overflow expect's input buffers.
3188 * gdb.disasm/hppa.exp: Corresponding changes.
3190 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3192 Beginnings of template debugging tests.
3193 * gdb.c++/templ-info.cc: New file to test for template
3194 debugging capability of the compiler.
3195 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
3197 * gdb.c++/templates.cc: Add explicit template instantiations
3198 to enable compiling with -fno-implicit-templates. Add destructor
3199 and 'value' method to T5 class for template tests.
3200 * gdb.c++/templates.exp: Add testcases for printing of template
3201 types, setting breakpoints on template methods and calling a
3204 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
3206 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
3207 branch target since some assemblers (gas-2.5) may emit a
3208 relocation for the branch instead of resolving it in the
3211 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3213 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
3214 through signal handler.
3216 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3218 * configure.in (*-*-netware): Use config/mt-netware.
3220 * config/mt-netware: New file.
3221 * config/mt-i386-netware: Removed, separate configs for different
3222 netware architectures are no longer needed now that we have
3225 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3227 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
3228 by the recent changes to use ANSI C arithmetic conversions.
3230 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3232 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
3233 bug involving using inferior_pid to figure out whether to select a
3236 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
3238 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
3239 match the current disassembler output.
3241 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
3243 * gdb.fortran/exprs.exp: Expect VOID instead of void.
3244 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
3245 types, expect "int" as type of integer values (for now).
3247 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
3249 * gdb.base/commands.exp: New tests for if/while commands.
3251 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
3253 * lib/gdb.exp (runto): Replace sub-pattern for hex value
3254 by .*, since hex values have different syntax in Chill mode.
3256 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3258 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
3259 linefeed from expect pattern for repeated types with indices > 9.
3261 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
3263 First part of Fortran test suite.
3264 * gdb.fortran: New directory.
3265 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
3267 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3269 * gdb.base/default.exp: Update expect pattern for load command
3272 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
3274 * configure.in: Change i386 to i[345]86.
3275 * gdb.base/configure.in: Likewise.
3276 * gdb.c++/configure.in: Likewise.
3277 * gdb.chill/configure.in: Likewise.
3279 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
3281 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
3282 patterns, since that is not a valid context for comments.
3284 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
3286 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
3287 repeated types and repeated types with indices > 9.
3289 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
3291 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
3292 2417; old bug has been fixed.
3294 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
3296 * gdb.base/interrupt.exp: When trying to wake up the inferior,
3297 send the newline ourselves instead of assuming gdb_test will do
3298 so when passed an empty input string.
3300 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
3303 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3305 * lib/gdb.exp (gdb_test): Don't send anything if the first
3306 argument is an empty string. This makes cases where we want to
3307 match output that is already in expect's buffers (for example,
3308 matching a breakpoint after gdb_run_cmd has been called) work
3311 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3313 * config/netware.exp: New file.
3315 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3317 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
3318 the -B and -L prefixes so we can find the debugging stub.
3320 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
3321 there and we are using the gcc from the tree.
3323 * gdb.base/types.c: Removed.
3325 * gdb.base/configure.in: Look for makefile fragments in ../config.
3326 Recognize i386-*-netware.
3327 * gdb.c++/configure.in: Likewise.
3329 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3331 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
3332 the correct TCL syntax.
3334 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3336 * gdb.base/opaque.exp: use runto instead of messing around with
3337 breakpoints. Simplify by using gdb_test.
3339 * gdb.base/bitfields.exp: restart between tests on netware targets
3340 because breakpoints aren't relocated after target death. Run
3341 processes to completion.
3343 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
3345 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
3347 * Makefile.in: Remove extra tabs that confuse some versions
3348 of "make". Use the newly built gdb to test with by default,
3349 rather than the first one in the tester's search path.
3351 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
3353 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
3355 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
3358 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3360 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
3362 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
3364 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
3365 * gdb.base/funcargs.exp: Likewise.
3367 * gdb.base/bitfields.exp: Simplify by using gdb_test.
3368 * gdb.base/funcargs.exp: Likewise.
3370 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
3373 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3375 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
3376 return,signals,twice}.exp: Handle non-existant binaries
3379 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
3380 * gdb.base/Makefile.in: Don't try to generate a core dump, we
3381 might testing a cross development system.
3383 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3385 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
3386 runtest script is relative to ${srcdir}, not ${rootdir}.
3388 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
3390 * gdb.base/signals.exp: Allow for optionality of breakpoint
3393 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3395 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
3397 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
3399 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
3400 for size_t definition.
3401 * gdb.c++/templates.cc: Likewise
3403 * config/mt-i386-netware: New file.
3405 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
3408 * gdb.base/Makefile.in: Added support for systems that name core
3409 files by appending "core" to the program name.
3410 * gdb.base/a1-selftest.exp: Likewise.
3412 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3414 * gdb.base/return.exp: Add comment and message for `return double'
3415 test failure on Sparc Solaris.
3417 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
3419 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
3421 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3423 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
3424 from optimizing them away.
3425 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
3426 patterns to include default constructors and assignment operators,
3427 to match gcc versions beyond 2.5.8. Accept any cplus demangling
3428 character in the output of the virtual base pointer.
3430 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3432 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
3433 expression match in print_addr_of to avoid unintented matches.
3434 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
3435 versions up to 2.5.8.
3437 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3439 * gdb.base/list.exp: Tweak alternate pattern for listing of an
3440 included file to run under newer versions of expect.
3441 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
3442 consecutive >'s in templates to accomodate recent cplus-dem.c change.
3443 Remove xfail for the virtual table of BDDHookV.
3445 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
3447 * lib/gdb.exp (string_to_regexp): Set a default result.
3448 (default_gdb_start): Fix misleading message.
3450 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
3452 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
3453 Remove all CC, etc definitions.
3454 * config/mt-hpux: New file.
3455 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
3456 (CFLAGS, LDFLAGS): Define.
3457 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
3459 * Makefile.in (site.exp): Don't insert host_os, etc.
3460 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
3461 (distclean): Check existence of subdir.
3462 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
3463 * gdb.base/Makefile.in: General cleanup and simplification.
3464 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3465 to build executables. Use default rule to build .o files.
3466 (EXPECT, RUNTEST, CC): Fix relative pathname.
3467 (site.exp): Don't insert host_os, etc.
3468 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
3469 and/or SIGUSR1 defined.
3470 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
3471 * gdb.c++/Makefile.in: General cleanup and simplification.
3472 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
3474 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
3476 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
3478 * gdb.base/recurse.exp: Misc changes to get tests running again
3479 after Kung's changes to the watchpoint code.
3480 * gdb.base/watchpoint.exp: Likewise.
3482 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
3484 * lib/gdb.exp (string_to_regexp): Convert {\} also.
3486 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
3488 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
3489 * lib/gdb.exp (default_gdb_start): Define.
3490 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
3491 gdb.base/funcargs.exp, gdb.base/opaque.exp,
3492 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
3493 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
3494 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
3495 Don't call gdb_target_udi in between tests.
3497 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3499 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
3500 (which was basically just a local version of the same thing). In
3501 addition to avoiding duplication, gdb_test_exact is faster.
3502 * lib/gdb.exp (gdb_test_exact): Fix typo.
3504 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
3505 don't give an error.
3507 * gdb.base/term.exp: Call delete_breakpoints before starting.
3509 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
3512 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3514 Reorganization of the GDB Test Suite.
3516 * gdb.base: New directory, contains all the basic tests.
3517 * gdb.c++: New directory, tests specific to C++.
3518 * gdb.chill: New directory, tests specific to Chill.
3519 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
3520 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
3521 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
3522 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
3523 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
3525 * */gdbme.*: Rename to match appropriate expect scripts.
3526 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
3527 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
3528 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
3529 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
3530 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
3531 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
3532 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
3533 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
3534 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
3535 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
3536 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
3537 gdb.c++/virtfunc.cc: New names of C++ files.
3538 * gdb.chill/chillvars.ch: New name of Chill file.
3539 * gdb.base/configure.in, gdb.c++/configure.in,
3540 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
3541 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
3542 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
3543 * configure.in (configdirs): Update to reflect directory changes.
3544 (target_abbrev): No longer define for any configuration.
3545 * Makefile.in: Cosmetic improvements to header comments.
3547 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
3549 Various changes to gdb.t31:
3551 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
3552 * gdbme.ch: Make all key-words and predefineds be upper-case.
3553 * chillvars.exp: Expect key-words and predefinds in upper-case.
3555 * chillvars.exp: Use gdb_test_exact many places.
3556 Change expected output for arrays (which now includes index labels).
3558 * pr-5020.exp, gdme.ch (module PR_5020):
3559 New test, for PR-5020.
3561 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
3563 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
3564 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
3566 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
3568 * Makefile.in: Fix bit-rot in definitions of CHILL,
3569 CHILL_FOR_TARGET and Chill_LIB.
3570 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
3571 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
3572 CHILL, and CHILL_LIB.
3574 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
3576 * Revert the previous changes. Please see Rob's directory
3577 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
3579 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
3581 * Makefile.in, configure.in, config/mips-gdb.exp,
3582 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
3583 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
3584 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
3585 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
3586 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
3587 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
3588 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
3589 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
3590 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
3591 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
3592 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
3593 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
3594 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
3595 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
3596 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
3599 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
3601 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
3602 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
3603 Rob's new testing fragments.
3605 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
3607 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
3608 lib/gdb.exp: Replace error proc calls with perror.
3610 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
3612 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
3613 version also, match on casted version strings, and match on
3614 gdb startup case where the line numbers might be messed up.
3616 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3618 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3619 (CFLAGS): Delete it from here.
3621 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3623 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3625 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3627 * Makefile.in (RUNTEST): Default to just "runtest".
3629 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3631 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3632 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3633 the code has been restructured.
3635 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3637 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3638 \n, not just one of each.
3640 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3641 /bin/cc gives a warning if you do.
3643 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3645 * gdb.t24/demangle.exp: change expect pattern of
3646 __t10ListS_link1ZUiRCUiPT0
3648 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3650 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3651 on local variables in recursive functions.
3653 * gdb.t07/Makefile.in: Build the new test.
3655 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3657 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3658 directly. Instead compare the return values from actual calls.
3660 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3662 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3664 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3666 * From Peter Schauer with minor modifications.
3667 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3668 stops in mid-line in the caller. Add xfail for returning a float
3669 value on X86 targets.
3671 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3673 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3674 to avoid expect lossage.
3675 (fmem_LRbug_tests): Likewise.
3676 * gdb.disasm/hppa.s: Corresponding changes.
3678 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3679 conditions to work with latest dejagnu/expect.
3681 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3682 expected to fail on the PA.
3683 (backtrace in call with trampolines): Explicitly require main
3684 to be frame #1 (no trampolines should show up in backtrace).
3686 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3688 * gdb.t06/break.exp: Likewise.
3689 * gdb.t07/watchpoint.exp: Likewise.
3690 * gdb.t13/bitfields.exp: Likewise.
3691 * gdb.t15/{funcargs,return}.exp: Likewise.
3692 * gdb.stabs/weird.exp: Likewise.
3693 * config/{mips,udi}-gdb.exp: Likewise.
3695 * hppa.sed: Enclose comments within a sed command to avoid
3696 losing with the old OSF1 sed.
3698 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3700 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3702 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3703 * gdb.t15/funcargs.exp: Conditionally step again to really
3704 finish from marker_call_with_trampolines. Handle the case where
3705 the first step from within call_with_trampolines already steps
3707 * gdb.t15/gdbme.c: Add comment to closing brace of
3708 call_with_trampolines for funcargs.exp.
3710 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3712 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3715 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3717 * gdb.t07/gdbme.c: More code for watchpoint testing.
3719 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3720 "Hardware watchpoint" throughout file.
3721 (test_watchpoint_triggered_in_syscall): New test.
3722 (test_complex_watchpoint): New test.
3724 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3726 * gdbme.c (call_with_trampolines): New function to try and step
3727 into. Tests trampoline problems on the PA.
3729 * funcargs.exp (localvars_in_indirect_call): No longer expect
3730 stepping into indirect call to fail on PAs.
3731 (test_stepping_over_trampolines): New test.
3733 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3735 * TODO: Add suggestions for static member function tests, and
3738 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3740 * TODO: Add suggestions for "p/a" tests.
3742 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3743 (default_gdb_exit): Replace all the hair with sending "quit" to
3744 the process with a simple close.
3746 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3748 * TODO: Add suggestions for shared library tests.
3750 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3752 * TODO: Add suggestions for x/s tests.
3754 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3756 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3757 "enable once", and "enable breakpoints once" with ".*".
3759 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3761 * TODO: Add suggestions about structure passing tests.
3763 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3765 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3766 the primary1 test, use work around if __GNUC__ < 2.
3767 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3768 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3769 Test for bad output rather than waiting for timeout. Issue
3770 second continue only if first continue failed.
3772 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3774 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3775 operator[] test with gdb_test because the old code didn't seem to
3776 be getting the quoting right with the new dejagnu.
3778 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3780 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3782 * Makefile.in: Use a fresh expect if there is one, use runtest
3783 from the src tree if there is one.
3785 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3787 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3788 next over recursive call. Revise the tests from that point on
3789 (which had been skipped) to match GDB's actual (correct) output.
3791 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3792 with next over a breakpoint whose condition is false.
3794 * gdb.t00/help.exp: Comment out "help set print" tests just like
3795 (and for same reason as) "help set" test.
3797 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3799 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3800 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3802 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3804 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3805 necessary gdb_target_udi.
3807 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3809 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3810 1838 and 2417; they are fixed.
3812 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3813 gdb.t03/ptype.exp (ptype structure, ptype union):
3814 Remove xfails; the test is looser than when the xfails were added.
3816 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3817 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3819 * gdb.t01/run.exp: Only run shell test if isnative.
3821 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3822 since "run" automatically loads if necessary. Call gdb_target_udi
3823 after the "file" since "file" kills any execution target.
3825 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3826 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3827 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3830 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3832 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3834 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3836 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3838 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3839 properly quoting regexps. This makes the second argument to
3840 demangle a fixed string, which matches the callers, instead of a
3841 shell-style pattern which is what the previous implementation
3842 used. Update some of the callers.
3844 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3846 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3847 (comib_nullified_tests): Fix typo.
3848 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3849 strings. No longer expected to fail.
3851 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3852 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3853 strings. No longer expected to fail.
3855 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3856 string. No longer expected to fail.
3858 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3860 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3861 No longer expected to fail.
3863 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3864 string. No longer expected to fail.
3866 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3868 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3869 only in the names (I probably got most of them). I was even
3870 generous with some which differed in underscores in names, and
3871 probably missed a few, and I *still* was able to remove almost a
3872 third of the file with almost no impact on testsuite coverage.
3874 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3876 * gdb.t00/default.exp: Match udi_attach error message as well as
3877 the one from child_attach.
3879 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3881 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3883 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3884 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3886 * Move test with enums and partial symbols back to
3887 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3888 Reverts the change of 26 May 93. Per today's change to
3889 stabs.texinfo, the behavior that weird.exp was expecting was
3890 unreasonable; what is important is that the compiler+gdb get
3891 things right, which happens with a recent gcc. Also fix the test
3892 to deal with native compilers which put out the stab gdb can't
3895 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3897 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3898 in the names. The main thing these accomplish is to slow things down.
3899 Many more such duplicates surely remain.
3901 * gdb.t00/help.exp: Comment out "help support" test just like
3902 (and for same reason as) "help set" test.
3904 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3906 * gdb.t06/break.exp: Remove setup_xfails for
3907 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3908 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3909 about known bug in gcc to include up through 2.5.8.
3910 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3912 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3913 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3914 with latest gcc and gdb.
3915 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3918 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3920 * configure.in (hppa*-*-*): Also configure and build stabs-only
3923 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3925 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3926 * gdb.t10/configure.in (hppa*-*-*): Use it.
3928 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3930 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3932 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3934 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3935 versions prior to 1.13.5.
3937 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3939 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3940 the prompt is at the start of a line.
3942 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3944 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3945 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3946 in the copr tests now.
3947 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3948 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3951 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3953 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3954 gdb.t31/chillvars.exp, lib/gdb.exp:
3955 Tweak to run under either version of expect.
3956 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3957 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3958 * gdb.t11/list.exp: Remove extraneous whitespace.
3960 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3962 * gdb.t16/printcmds.exp (test_print_strings): Accept
3963 "(unsigned char *) " before the string.
3965 * TODO: Add notes about printing of fancy types and GDB expressions.
3967 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3969 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3970 * gdb.t06/configure.in: Don't try to compile signals test program
3971 if doing mips-idt-ecoff.
3973 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3975 * Most .exp files: Tweak to run under either version of expect.
3977 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3979 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3980 xfails; I'm not sure why they are failing, but not because of PR 1806.
3982 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3984 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3985 defined in lib/gdb.exp.
3987 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3989 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3990 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3991 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3992 have to be typeless.
3994 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3996 * TODO: Add suggestion for copyright year test.
3998 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
4000 * configure.in (*-*-lynxos*): Add stabs tests.
4002 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4004 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
4005 so insert a tab before any assembler directive in column zero.
4007 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
4009 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
4011 (fpu_short_memory_tests): Likewise.
4013 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4015 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
4016 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
4017 .stabs directives in comments.
4019 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4021 * TODO: New file, describing tests we could write.
4022 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
4024 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4026 * gdb.t06/signals.exp: Add kludge to force re-sync.
4028 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
4029 to xgdb instead of gdb, get out of gdb.
4031 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
4033 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
4036 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
4038 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
4039 * gdb.stabs/configure.in (hppa*-*-*): Use it.
4040 * gdb.stabs/hppa.sed: New sed script for the PA.
4042 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4044 * gdb.stabs: Re-write weird.def and configuration to use sed
4045 instead of cpp. sed is portable and POSIX; cpp is neither.
4047 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4049 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
4051 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4053 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
4055 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4057 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
4059 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
4060 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
4062 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4064 * lib/gdb.exp: Comment out code which depends on non-existent
4065 `transform' procedure.
4067 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
4069 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
4070 * lib/gdb.exp: Transform tool name.
4071 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
4072 1.1's new error handling system.
4074 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4076 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
4078 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4080 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
4081 They made pattern matching so slow that timeouts happened on
4082 heavily loaded systems. Now any output from "show print" which
4083 gets us back to the GDB prompt is a PASS.
4085 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
4087 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
4089 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4091 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
4093 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
4094 It is not from PR 3220.
4096 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4098 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
4099 just started failing because they depended on the order the
4100 subcommands are presented, or exact docstring text. This kind of
4101 test is a pain and has minimal benefit.
4103 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4105 * gdb.t09/corefile.exp: At end of test, use "core" command with
4108 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
4110 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
4111 17}/Makefile.in: Make it possible to run the testsuite with Sun
4112 make and CC = cross gcc by adding explicit build rules for .o
4115 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4117 * gdb.t15/funcargs.exp: Don't put comments on same line as
4118 setup_xfail (@#$*%& tcl braindamage!).
4120 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4122 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
4124 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
4126 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
4127 * gdb.t20/inherit.exp: remove three dumplicate entries.
4129 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4131 * gdb.t06/break.exp: For "next over recursive call", fail on any
4132 incorrect output, not just on "factorial (value=2)".
4134 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4136 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
4137 working now. Add an xfail if accesing a bss variable causes
4138 a memory error if the target is not yet run.
4140 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4142 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
4143 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
4144 name of __st* demangling (2 strings). Did Kung really get the
4145 more than 95 others right without testing them?
4147 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
4149 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
4151 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
4153 * configure.in (configdirs): Add gdb.disasm
4154 * gdb.disasm: New directory for GDB disassembler tests.
4155 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
4157 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4159 * gdb.t00/help.exp: Don't test "help set".
4161 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
4162 from within expect statements. None of these happen anymore and
4163 they cause regressions to be silently unnoticed.
4165 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
4166 messages) about known failures with gcc cygnus-2.4.5-930417.
4168 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
4169 comp-info.exp so it gets built if it doesn't exist.
4171 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
4172 it is no longer used.
4173 * gdb.t13/comp-info.c: Removed.
4175 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4177 * gdb.t06/signals.exp: Add xfail for sun3.
4179 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4181 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
4182 relevant because ^C doesn't get sent but failure can be reproduced
4185 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4187 * gdb.stabs/alpha.mt: New configuration file for alpha.
4188 * gdb.stabs/configure.in: Use it.
4189 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
4190 sharing with alpha.mt, redefine long to word via preprocessor.
4191 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
4193 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
4195 * gdb.t00/teststrategy.exp: Change expect string so that we
4196 consume the `(xgdb)' from the command echo and from the gdb prompt.
4197 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
4198 gdb currently compares all values as long, so this failure probably
4199 applies to any configuration where LONGEST is bigger than a target int.
4200 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
4202 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
4203 to handle opaque pointers, gcc is.
4204 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
4205 as first argument. Include <sys/types.h> and change all operator
4206 new definitions to use size_t.
4207 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
4208 now that we use size_t.
4210 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4212 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
4213 a long or float array cast all array members to the same type.
4214 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
4216 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
4218 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
4220 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4222 * gdb.t24 (demangle.exp): Constructors of templates have names like
4223 vector<int>::vector(int) not vector<int>::vector<int>(int). See
4224 section 14.6 of the ARM.
4226 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
4227 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
4228 accomplish little and slow down the testsuite.
4230 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
4231 Accept spaces various places.
4233 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4235 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
4236 with watchpoint enabled.
4238 * Makefile.in: Remove definition of CC and remove the second
4239 definition of CXX (the "CXX = gcc" one remains). These definitions
4240 were causing backquotes to be expanded within backquotes, which
4243 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
4245 * gdb.t17/callfuncs.exp: Add "return 0" to end.
4247 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4249 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
4250 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
4251 by mips cc and contains no stabs entries.
4253 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
4255 * config/vx-gdb.exp: Use fake device to load files rather than
4257 * lib/gdb.exp: New proc to do "file" command.
4258 * config/unix-gdb.exp: Use new "file" proc.
4260 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4262 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
4263 Rework board rebooting slightly.
4264 (gdb_exit): Don't exit from the remote shell; there isn't one.
4265 * gdb.stabs/weird.exp: If a program is being debugged already,
4267 * gdb.t04/setvar.exp: Stop and restart gdb.
4268 * gdb.t05/expr.exp: Likewise.
4269 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
4270 restart gdb and reload the program.
4271 * gdb.t08/opaque.exp: Likewise.
4272 * gdb.t12/scope.exp: Likewise.
4273 * gdb.t13/bitfields.exp: Likewise.
4274 * gdb.t15/funcargs.exp: Likewise.
4275 * gdb.t20/classes.exp: Likewise.
4276 * gdb.t03/ptype.exp: Increase timeout.
4277 * gdb.t16/printcmds.exp (test_print_string_constants,
4278 test_print_array_constants): Likewise.
4279 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
4280 * gdb.t20/classes.exp (do_tests): Likewise.
4281 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
4283 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
4285 * gdb.stabs: Renamed *wierd* to *weird*.
4287 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4289 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
4290 for timeout. Add "known gcc 2.4.5 bug" to failure message.
4292 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
4294 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
4295 (do_tests): Remove xfail for whatis on one_var and two_var.
4297 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
4299 * Makefile.in: Made cross building work better by adding
4300 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
4302 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4304 * gdb.t15/{return.c,return.exp,Makefile.in}:
4305 New test, currently commented out.
4307 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
4309 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
4310 still running and removes the leftover named socket so GDb can do
4313 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
4315 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
4317 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
4318 cross testing works better with "make check"
4319 * config/unix-gdb: Use default procedures for exit and version.
4320 * config/vx-gdb.exp: Cleaned up and massaged back to working order
4321 with the newest VxWorks.
4323 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4325 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
4328 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
4329 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
4331 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
4333 * config/unix-gdb.exp: Remove this version of gdb_exit
4334 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
4335 Rob says he'll look at it when he gets back to testing boards.
4337 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
4339 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
4340 an expected fail for certain ptype commands.
4342 * gdb.t20/classes.exp: Update expected results of "ptype class
4343 Base1" to account for the constructor that now appears in the type.
4345 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
4347 * configure.in (configdirs): Restore gdb.t04, which mysteriously
4348 disappeared from list.
4349 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
4350 "alldone" proc with call to cleanup and exit.
4351 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
4352 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
4353 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
4354 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
4355 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
4356 "alldone" proc with simple returns that suppress remaining
4357 tests. The alldone proc went away many months ago.
4359 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4361 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
4363 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
4365 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4367 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
4368 as vax gdb will display them.
4370 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4372 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
4375 * scope.exp: Change "bad value for localval" messages so each one
4378 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
4379 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
4381 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
4383 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4385 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
4386 doesn't exist (due to optimization).
4388 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4390 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
4391 contains \r because the filename is long.
4393 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
4394 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
4396 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4398 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
4399 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
4401 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
4403 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
4405 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
4407 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
4409 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
4410 to match does not match the passing case but still matches the
4413 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4415 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
4417 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
4419 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
4420 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
4421 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
4422 Remove various versions of gdb_exit.
4423 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
4425 * config/unix-gdb.exp: gdb_exit remains here, and should override
4426 the generic version, since it's doing a lot of wierd stuff that
4427 the other versions aren't. FIXME, fold it in, or abandon this
4430 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4432 * gdb.t24/demangle.exp: Add tests for PR 3220.
4434 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4436 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
4438 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
4440 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
4441 "i386-*-*". Works for i486 as well.
4443 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
4444 bug, and expand domain of xfail to all SVR4 systems, since the
4445 actual problem is likely to be in generic SVR4 /proc support.
4447 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4449 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
4451 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
4453 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
4454 xfails for other systems. Match a missing 'Continuing.' as an
4455 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
4457 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
4458 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
4459 Only issue warning for missing executables if -all option is used.
4461 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
4462 file if -all option is used. It's like an unpredictable XFAIL.
4464 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4466 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
4467 for dynamically linked binaries.
4469 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
4471 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4473 * gdb.t20/inherit.exp: Change message for "print tagless struct"
4474 to state that this is a known bug in old versions of g++.
4476 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4478 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
4479 while waiting for `Continuing'.
4481 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
4483 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
4484 in text, data, and bss.
4485 * gdb.t10/nodebug.c: Add local and global test variables for
4486 initialized and uninitialized data.
4488 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4490 * config/unix-gdb.exp (gdb_exit): Add "wait".
4492 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4494 * gdb.t06/signals.exp: xfail the continue from the handler for all
4497 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
4498 function with watchpoints enabled, the i386 call dummy starts with
4501 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
4502 386 bsd names its corefiles.
4504 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
4506 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
4507 compilers don't grok it.
4508 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
4509 with small octal ints rather than character constants, which
4510 are signed and might not fit if first promoted to int.
4512 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
4514 * gdb.t09/Makefile.in (clean): Remove corefile.
4516 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4518 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
4520 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4521 and Jim Kingdon (kingdon@cygnus.com)
4523 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
4524 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
4525 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
4527 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4529 * gdb.t17/interrupt.exp: Add xfail for hppa.
4531 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4533 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
4534 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
4535 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
4536 to determine signed-ness of bitfields and use the result to setup
4538 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
4539 * gdb.t15/funcargs.exp: Use them to step until the second indirect
4540 call line is reached if necessary.
4542 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4544 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
4546 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4548 * gdb.t06/break.exp: Also test `clear' command.
4550 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4552 * gdb.t00/teststrategy.exp: Remove extra quote.
4554 * gdb.t07/watchpoint.exp: Change xfail for calling function with
4555 watchpoint enabled to be for all non-68k machines.
4557 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
4559 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4561 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
4562 targets use aout.mt instead of ecoff.mt as gas understands
4563 standard aout format.
4565 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
4567 * lib/gdb.exp (runto): Don't insist that function we are running to
4568 was compiled with -g.
4570 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
4572 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
4573 to get back into the read system call.
4574 Accept leading newline in case where we woke it up.
4576 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4578 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
4579 to make the stabs test work on ecoff systems using gcc and -with-stabs.
4580 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
4581 enable ecoff configuration.
4583 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4585 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
4587 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4589 * gdb.t16/printcmds.exp: Add another printf test.
4591 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
4593 * configure.in: If configured -with-stabs on any target, add
4594 stabsdirs to configdirs.
4596 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4598 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
4599 fun" so pattern does not match the command itself.
4601 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4603 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
4605 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4607 * gdb.t17/interrupt.exp: Test for more things.
4609 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4611 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
4612 compiler arranges the code and line numbers.
4614 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4616 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4618 * gdb.t00/help.exp: Increase expect input buffer size.
4620 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4622 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4624 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4626 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4628 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4629 [0-9]*, not just [0-9].
4631 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4633 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4635 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4637 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4639 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4641 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4643 * gdb.t06/signals.c: Add xfails for sun3.
4645 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4647 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4648 test_stepping tests.
4650 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4652 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4654 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4656 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4657 rather than actually putting it through cpp twice.
4659 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4661 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4663 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4666 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4668 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4670 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4671 C++ features prints as "struct", make it a pass, not an xfail.
4673 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4675 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4676 Don't require VA to print as "class" rather than "struct".
4678 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4680 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4682 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4684 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4686 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4688 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4691 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4693 * gdb.t16/printcmds.exp: Add printf tests.
4695 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4697 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4699 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4701 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4702 pass counts, to counteract any existing or future setup_xfails.
4704 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4706 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4707 {BEGIN,END}_COMMON for common block instead of STAB.
4708 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4710 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4711 intp_var should be N_GSYM not N_LSYM.
4712 wierd-aout.S: Use a label for the value of the N_SO.
4713 wierd.def: Remove all backslashes.
4714 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4716 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4718 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4719 get the expected next to inheritance3.
4721 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4723 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4724 now that gcc-2.4 gets it right.
4726 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4728 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4730 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4731 generating comp-info.exp which works for cross-compilation.
4733 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4735 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4738 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4740 * gdb.t01/run.exp: Start with a fresh gdb.
4741 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4744 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4746 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4747 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4748 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4749 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4752 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4754 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4755 test cases from bug reports.
4757 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4759 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4760 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4761 avoid spurious xfails.
4762 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4763 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4764 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4766 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4768 * gdb.t00/teststrategy.exp: Rework to provide more useful
4769 description of each test, fix problem with systems that define
4770 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4771 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4772 results for "next over recursive call" so timeouts aren't taken
4775 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4777 * gdb.t12/scope.exp: Test printing of variables before run.
4779 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4780 printed in wrong order due to sorting.
4782 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4784 * gdb.t00/teststrategy.exp: Fix expected results for printing
4785 user entered string constant. Is array of char, prints with no
4788 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4790 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4791 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4792 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4793 of struct of char arrays.
4794 * gdb.t00/radix.exp: New tests for radix commands.
4796 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4798 * gdb.t16/printcmd.exp: Print a variable before running program
4799 (with xfail for AIX).
4801 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4803 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4805 * gdb.t16/printcmd.exp: Don't print variables before running program.
4807 * gdb.t06/break.exp: Don't require envp argument to main.
4809 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4811 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4812 Add xfails for rs6000.
4814 * gdb.t02/whatis.exp: Change other tests not to re-test something
4817 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4818 each type used has a variable of that type.
4820 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4822 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4824 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4826 * configure.in: change srctrigger to be a file, not a directory
4828 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4830 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4832 * gdb.t11/list.exp: Fixed a couple of typos.
4834 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4836 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4837 is fixed and PR is closed.
4838 * gdb.t16 (gdbme.c): Add simple test string variable.
4839 * gdb.t16 (printcmds.exp): Add tests with simple test string
4840 variable, primarily for boundaries on "set print elements".
4842 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4844 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4845 Make leading 0's optional and don't expect a tab in the middle
4848 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4850 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4851 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4852 don't end command passed to gdb_test with newline.
4854 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4855 signed keyword away, don't expect signed bitfields to be signed.
4857 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4858 printing with only as many 1's as are in the field as well as printing
4859 with 32 1's (see comment).
4861 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4863 * gdb.t00/default.exp: Start with a fresh gdb.
4864 * configure.in (configdirs): Remove gdb.t31 until the chill
4865 compiler works again. It no longer is able to find chillrt0
4866 since it isn't in libchill.a anymore.
4867 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4868 wierd.o, make more modular.
4869 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4870 spurious newlines that caused problems.
4872 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4874 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4875 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4876 gdb.stabs/wierd.{exp,def}: Many new tests.
4878 * gdb.t00/default.exp: update info line for new message.
4880 * gdb.t02/{whatis.exp,gdbme.c}:
4881 Test that "char *" doesn't print as "caddr_t".
4883 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4885 * gdb.t00/help.exp: Use .* in place of some help messages which
4887 gdb.t00/default.exp: Update "info frame" test for new message.
4888 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4891 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4893 * gdb.t03/{gdbme.c,ptype.exp}:
4894 Add tests for typedef'd struct and union without tags.
4895 Also check "whatis" on a variable of a typedef'd enum without a tag.
4897 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4898 PRMS 1823; the bug still exists but isn't reproduced by this test
4899 anymore), and remove rs6000 XFAIL (the bug is fixed).
4901 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4902 duplicated from whatis.exp. For those that are left, accept
4903 "long", "long int", or "int" for long variables (whatis.exp already
4904 has an XFAIL for "int", so no need to fail it here).
4906 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4907 Deal with GCC's names for types now that GDB uses the compiler's names.
4909 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4910 setup_xfail's for sunos4. If we #defined the signed keyword away,
4911 don't expect GDB to know that char it is signed.
4913 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4915 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4917 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4918 should work on any system, regardless of debugging format.
4919 * gdb.t21/demangle.exp: Move to gdb.t24.
4920 * gdb.t24/demangle.exp: Move from gdb.t21.
4921 * gdb.t24/{Makefile.in, configure.in}: New files.
4923 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4925 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4926 * gdb.stabs: New directory.
4928 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4930 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4931 not just "Quit anyway?".
4933 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4935 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4936 that all setup_xfails are immediately followed by clear_xfails.
4938 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4940 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4941 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4942 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4943 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4944 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4945 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4946 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4947 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4948 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4949 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4950 gdb.t31/chillvars.exp, lib/gdb.exp:
4951 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4952 bug-gdb@prep.ai.mit.edu.
4954 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4956 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4957 with 0.0, not integer 0.
4959 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4961 * gdb.t06/break.exp: Update for "Kill the program" message change.
4963 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4965 * Makefile.in (GDBFLAGS): Set to -nx.
4966 * Makefile.in (site.exp): Use GDBFLAGS.
4968 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4970 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4972 (check): depend on just-check.
4973 (just-check): added so that tests can be run without a noop
4976 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4978 Switch to using configure's configdirs.
4979 * Makefile.in (Makefile): add configure.in dependency.
4980 (SUBDIRS): removed redundant assignment.
4981 * configure.in: switch subdirs assignment to configdirs.
4982 * gdb.t*/configure.in: new files.
4984 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4986 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4989 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4991 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4992 in explicit rules. Apparently this is not supported by some makes.
4994 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4996 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4998 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5000 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
5003 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
5005 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
5007 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
5009 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
5010 watchpoint problem that is now fixed.
5011 * gdb.t30/chexp.exp: Remove setup_xfail for printing
5012 uninitialized convenience variables.
5013 * gdb.t31/chillvars.exp: Fix expected patterns for printing
5016 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5018 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
5019 which causes expect to get out of sync with gdb on long output
5021 * gdb.t09/corefile.exp: Make expected pattern for core file
5022 failing signal and frame output format less sun specific.
5024 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
5026 * gdb.t31/chillvars.exp: Add and remove initial dummy
5027 breakpoint, so that symbol table is forced in.
5028 (Needed at least on Sunos4, though it seems not SVR4.)
5029 * gdb.t31/chillvars.exp: Update for changed output format.
5031 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
5033 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
5035 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
5037 * Makefile.in: Added --srcdir when invoking runtest, removed the
5038 need for a local config file. (optional now)
5040 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
5042 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
5043 failure count used to force early termination. Add some more
5044 expected failures for gnu style demangling.
5046 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5048 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
5049 pmi variable from gdb.t20/gdbme to get optimized away.
5050 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
5051 Check for written corefile upon timeout _and_ eof.
5053 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5055 * config/unix-gdb.exp: Add missing return 0.
5057 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5059 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
5062 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
5064 * configure.in (subdirs): Put back gdb.t17 which mysteriously
5067 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
5069 * gdb.t10/crossload.exp: Disable the i860-elf test until such
5070 time as i860 support works.
5072 * gdb.t15/funcargs.exp: Fix expected outputs to include
5073 "backtrace 100\r" rather than just "backtrace\r", to match last
5076 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
5078 * config/udi-gdb.exp (gdb_exit): Remove close command.
5079 (gdb_target_udi): New procedure to set the UDI target.
5080 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
5081 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
5082 Added waits for prompts after several question responses. Added
5083 some more responses used by a29k-amd-udi-gdb.
5084 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
5085 pass different arguments, restart UDI connection after program
5087 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
5088 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
5089 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
5090 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
5091 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
5092 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
5093 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
5094 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
5095 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
5096 after program completion.
5097 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
5098 compiled with a SELECT_VECS setting.
5099 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
5102 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
5103 Added checks for COFF results, and made them expected failures for
5104 all targets. It would be better to make them expected failures
5105 for COFF targets only.
5107 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
5109 * Makefile.in: add null dvi target, don't bother to recurse
5110 through test directories for info and install-info; rename
5111 $(datadir) to be dejagnu instead of deja-gnu
5113 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
5115 * gdb.t31/gdbme.ch: Re-enable code that previously caused
5116 compiler to coredump.
5117 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
5120 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
5122 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
5124 * gdb.t31/chillvars.exp: Comment out tests that depend on that
5127 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
5129 * gdb.t03/ptype.exp: tests for return code from gdb_test.
5130 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
5131 which in a shell. Deletes xgdb when done.
5132 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
5133 Tests the return from the "set height" or "set width" commands.
5134 Added a few return codes where needed.
5136 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
5138 * Makefile.in (SUBDIRS): Add gdb.t17.
5139 * configure.in (subdirs): Add gdb.t17.
5140 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
5141 files to test gdb's calling of functions in the inferior with
5142 the correct arguments and gdb's ability to retrieve any
5145 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
5147 * config/unix-gdb.exp (gdb_exit): Remove close commands that
5148 may be called after gdb goes away. Previous versions of expect
5149 needed these to avoid file descriptor leaks, but they cause
5150 errors with the current revision of expect.
5151 * gdb.t00/gdbvars.exp: Use -re on expected output after
5152 setting sevenbit-strings.
5153 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
5154 to set sevenbit-strings consistent across tests.
5155 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
5156 set sevenbit-strings consistent across tests.
5158 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
5160 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
5161 expected output to match current "expect" expectations.
5163 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
5165 * gdb.t00/default.exp: Change expected output for default "source"
5166 command, to match new gdb behavior which requires a filename to
5169 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
5171 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
5172 expected fail for i486-*-* that misses the marker2 function.
5173 * gdb.t10/crossload.exp (bfddefault): Allow successful
5174 recognition of a format to pass even if no symbols are found.
5175 Explicitly catch failures where the format is not recognized
5176 or is ambiguous, and add the reason to the fail message.
5177 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
5178 the cause is and invalid target and add reason to failure message.
5179 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
5180 elf32-i386, elf32-sparc, and elf32-i860.
5181 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
5182 Set up expected failure for 'filename'::variable scope resolution,
5183 which is now apparently broken on all targets.
5184 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
5185 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
5186 gdb.t23/templates.exp: Change failure for missing binfile into
5188 gdb.t21/demangle.exp: Change all cfront references to 'arm'
5191 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
5193 * gdb.t00/default.exp: Add expected output for default "source"
5194 command, to match new gdb behavior.
5195 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
5197 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
5199 * config/*-gdb.exp: returns an error, rather than exiting on
5202 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
5204 * gdb.t03/gdbme.c: Add pointer to struct variable.
5205 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
5206 referencing struct members.
5208 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
5210 * configure.in (mips-idt-ecoff): New target.
5211 * config/mips-gdb.exp: New file for remote board using MIPS remote
5214 * Redid configuration scheme. Removed gdb.t*/configure.in.
5215 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
5216 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
5217 distclean targets. Built executables via .o files. Adjusted
5218 tests to account for source files in $(srcdir) rather than
5220 * lib/gdb.exp (runto): Don't expect () after the function name,
5221 because it may have arguments.
5223 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
5225 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
5226 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
5227 expected failures for mips-idt-* and mips-sgi-*.
5228 * gdb.t00/default.exp (attach): Kill process if requested.
5229 * gdb.t00/help.exp (help target core, help target): Accept a gdb
5230 that does not read core files.
5231 * gdb.t01/run.exp: Removed checks for exit status code.
5232 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
5234 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
5235 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
5236 appropriate, rather than doing it by hand.
5237 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
5239 * gdb.t10/crossload.exp: Kill existing program if needed.
5240 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
5241 appropriate, rather than doing it by hand. Always increase
5242 timeout for this test, not just for VxWorks.
5244 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
5246 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
5247 of Chill STRUCT types and STRUCT values.
5248 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
5250 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
5251 struct2): New struct definitions and initializations to test
5252 simple Chill STRUCT types.
5254 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
5256 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
5257 the null byte at the end of strings.
5258 * gdb.t00/default.exp: Make show version insensitive to copyright
5260 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
5261 to avoid dependencies on target char signedness.
5262 * gdb.t16/printcmds.exp: Update expected results for explicitly
5264 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
5266 * gdb.t21/demangle.exp: Add many more patterns for template
5267 demangling, most of them being expected failures.
5268 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
5269 string we are matching for, to match on the whole string.
5270 * gdb.t21/demangle.exp: Add many new test strings to demangle,
5271 and fix a whole bunch that had incorrect expected output but were
5272 passing anyway because of the bug in "proc demangle".
5273 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
5275 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
5277 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
5279 * gdb/testsuite: made modifications to testcases, etc., to allow
5280 them to work properly given the reorganization of deja-gnu and the
5281 relocation of the testcases from deja-gnu to a "tool" subdirectory.
5283 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
5285 * gdb/testsuite: Initial creation of gdb/testsuite.
5286 Migrated dejagnu testcases and support files for testing nm to
5287 gdb/testsuite from deja-gnu. These files were moved "as is"
5288 with no modifications. This migration is part of a major overhaul
5289 of dejagnu. The modifications to these testcases, etc., which
5290 will allow them to work with the new version of dejagnu will be
5291 made in a future update.
5297 version-control: never