1 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@rtl.cygnus.com)
3 * configure.in (configdirs): Remove gdb.chill from default list
4 of subdirs and then add it back in only if doing a native build.
5 The current chill compiler does not yet work in any cross build.
6 * Revert all signal changes from Jul 6.
7 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
8 for sh-hms targets, allowing these tests to link, with no other
9 changes. Testing is suppressed by setting "nosignals" in site.exp.
11 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
13 * configure.in (signaldirs): Define and add to configdirs for all
14 targets except some specific ones that are known to not support signals.
15 Also clean up formatting.
16 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
17 (signals, sigall): Remove rules to build.
18 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
19 Moved to new gdb.signals directory.
20 * gdb.signals: New test directory.
21 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
22 signals.c signals.exp}: New or moved files.
24 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
26 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
28 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
30 * gdb.base/return.exp: Xfail `return double' test failure
31 on at least Solaris 2.3 and handle future/past versions on
32 a case by case basis as appropriate. Also update message
33 to include i*86 failures.
35 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
37 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
39 * lib/gdb.exp: Fix comment which erroneously identified
40 gdb_file_cmd as gdb_load (the 19 May change was in fact to
41 gdb_file_cmd not gdb_load).
42 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
44 * gdb.base/setvar.exp: Make test names consistent between pass and
45 fail cases. Use gdb_test more.
47 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
49 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
51 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
53 * gdb.base/help.exp: Fix expected help string for `show commands'.
55 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
57 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
59 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
62 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
64 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
65 that loop eventually terminates. Fix Connection refused logic so
66 that testsuite will expire nicely.
68 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
70 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
71 config/rom68k.exp: New tcl glue for the appropriate monitors.
72 These all just end up calling monitor.exp.
73 * config/monitor.exp (gdb_target_monitor): Handle `Connection
74 refused' by retrying. Cleanup some timeout issues.
75 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
76 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
77 callers don't have to set/restore global timeout variable.
79 * The following set of changes centralizes management of the global
80 timeout variable. This way, it can be set in one target dependent
81 place instead of dozens of places scattered throughout the test suite.
82 If you need to lengthen a timeout, then you should either set timeout
83 in one of the config/{target}.exp files, or multiply it by a factor.
84 Setting it to an absolute value is always going to lose for some
86 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
87 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
88 * gdb.base/funcargs.exp: Don't set timeout.
89 * gdb.base/list.exp (test_forward_search): Only use local timeout.
90 * gdb.base/printcmds.exp (test_print_string_constants
91 test_print_array_constants): Don't set timeout.
92 * gdb.base/ptype.exp: Don't set timeout.
93 * gdb.base/recurse.exp: Don't set timeout.
94 * gdb.base/return.exp: Don't set timeout.
95 * gdb.base/watchpoint.exp: Don't set timeout.
96 * gdb.c++/classes.exp (do_tests): Don't set timeout.
97 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
99 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
101 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
103 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
105 * lib/gdb.exp: Disable chill tests for irix5.
107 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
109 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
110 each test pass or fail.
112 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
114 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
117 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
119 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
121 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
123 * config/est.exp: Fix copyright and comments. Remove dead code.
124 Use targetname, serialport and baud variables instead of fixed
126 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
127 * config/cpu32bug.exp: New file to support cpu32bug monitors.
129 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
131 * gdb.base/watchpoint.exp: Don't run
132 test_watchpoint_triggered_in_syscall for sunos.
134 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
136 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
137 they don't seem to exist. Do include stdio.h.
139 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
141 * gdb.base/a1-selftest.exp: Add alpha xfail.
143 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
145 * gdb.base/watchpoint.c (main): Prompt before calling read().
146 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
147 Revise accordingly. Remove cruft about sending "123" several
148 times, until it gets noticed. Clean up the "print buf[0]" stuff
149 so that it passes or fails, and waits for prompts in the usual way.
151 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
153 * gdb.base/recurse.exp: Fix comment.
155 * TODO: Remove item about printing variables in nodebug.exp. Add
156 item about enabling tests which are only run on some targets.
158 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
159 fail, make test names unique, use new gdb_test convention
160 regarding pattern, use gdb_test more, etc.).
162 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
163 fail, make test names unique, etc.).
165 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
167 * gdb.base/nodebug.c: Change return type of top and middle to
169 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
170 are fixed by the recent mdebugread.c changes. Allow `short ()'
171 as type for top and middle.
173 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
175 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
176 nearly as I can tell, the whole thing was an accident in Stu's
177 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
178 to replace a send/expect pair with gdb_test, but ended up only
179 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
180 of 30 Mar 1995 took care of it, but left this vestigial comment
181 which I am now nuking.
183 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
185 * gdb.base/break.exp: Look for different line number for
186 breakpoint at main depending on usestubs.
188 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
190 * gdb.base/list.exp: Adjust some alternate expect patterns to
191 match recent list0.c change. Add alternate expect pattern for
192 output from `list default lines around main' for optimizing
195 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
197 * lib/gdb.exp: If nosignals is not set, set it to 0.
199 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
201 * config/slite-gdb.exp: Responds to load symbol table prompt.
202 * gdb.base/break.exp: Adjust line number, fix rerun.
203 * gdb.base/langs0.c: Add #ifdef usestubs.
205 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
207 * gdb.base/list.exp: Adjust line contents after adding new lines in
208 list0.c. Also fix a syntax error.
210 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
211 * gdb.base/break.exp: ditto.
212 * gdb.base/list.exp: ditto.
213 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
214 * gdb.base/run.c: ditto.
215 * gdb.base/list0.c: ditto.
216 * gdb.base/funcargs.c: ditto.
218 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
220 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
221 $targetname, $serialport and $baud instead of hardwired variables.
222 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
223 target doesn't support signals.
225 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
227 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
229 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
231 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
232 Don't rely on the value of an auto variable before it has been
233 initialized. Use gdb_test more.
235 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
237 * lib/gdb.exp (default_gdb_version): A version number must start
238 with a digit, but other than that contains all characters up to
239 the first whitespace character.
241 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
243 * gdb.base/commands.exp (breakpoint_command_test): New tests.
245 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
247 * gdb.c++/*.exp: Warn if executable does not exist. The original
248 reason for skipping the warning was that configure.in sometimes
249 intentionally skipped building the executables but the tcl code
250 had no way of knowing. That (a) was always bogus with respect to
251 error handling, (b) is no longer true (right now there is no way
254 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
256 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
258 * gdb.base/list.exp: Add expect patterns for output from
259 SunPRO compiled executables.
260 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
263 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
265 * gdb.base/break.exp (test_next_with_recursion): Accept any line
266 number (we are already testing that the correct source line text
269 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
270 that is what is intended, but something needed to be done to get
271 sunos4 native working again.
273 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
275 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
276 apparently went with a (very) old xfail.
278 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
280 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
281 runto_main is a proc in gdb.exp that will do 'step' for target use
283 * gdb.base/exprs.exp: ditto.
284 * gdb.base/interrupt.exp: ditto.
285 * gdb.base/opaque.exp: ditto.
286 * gdb.base/printcmds.exp: ditto.
287 * gdb.base/ptype.exp: ditto.
288 * gdb.base/scope.exp: ditto.
289 * gdb.base/setvar.exp: ditto.
290 * gdb.base/signals.exp: ditto.
291 * gdb.base/twice.exp: ditto.
292 * gdb.c++/classes.exp: ditto.
293 * gdb.c++/inherit.exp: ditto.
294 * gdb.c++/templates.exp: ditto.
295 * gdb.base/break.exp: no run and hit main for stubs. Change line
296 numbers for breakpoints and info breakpoint.
297 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
299 * gdb.base/callfuncs.c: ditto.
300 * gdb.base/exprs: ditto.
301 * gdb.base/interrupt.c: ditto.
302 * gdb.base/opaque0.c: ditto.
303 * gdb.base/printcmds.c: ditto.
304 * gdb.base/ptype.c: ditto.
305 * gdb.base/scope0.c: ditto.
306 * gdb.base/setvar.c: ditto.
307 * gdb.base/signals.c: ditto.
308 * gdb.base/twice.c: ditto.
309 * gdb.c++/misc.cc: ditto.
310 * gdb.c++/templates.cc: ditto.
312 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
314 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
316 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
317 somewhere between `read' and `main.c'. I'm pretty sure the
318 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
319 and it isn't particularly useful.
321 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
323 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
325 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
327 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
329 * config/mt-slite: add LIBS and -nostdlib.
330 * config/slite-gdb.exp: add this new file to support sparclite target.
332 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
334 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
336 * gdb.base/a2-run.exp: Change argument to istarget from
337 "*-*-vxworks" to "*-*-vxworks*".
338 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
340 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
342 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
343 will not runto main but do a 'step' to step out of breakpoint().
344 * config/mt-slite: add -Dusestubs.
346 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
348 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
351 * gdb.base/signals.exp: Add test for "handle all print".
352 * TODO: Remove "handle all print". Also remove item about
353 checking copyright date (I don't like the idea of a spurious FAIL
354 based on when we run the tests).
356 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
357 for SunOS4 (reason for failure not investigated). Remove
358 redundant test for $binfile.
360 * gdb.base/nodebug.c (array_index): Call malloc.
362 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
364 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
366 * gdb.base/recurse.exp: Update gdb_test invocation to use new
367 conventions and slightly simplify the matching regexp.
369 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
371 * gdb.base/break.exp: Update gdb_test invocation to use new
374 * lib/gdb.exp: If noargs is not set, set it to 0.
376 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
379 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
381 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
383 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
384 one argument of type "<non-float parameter>".
386 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
388 * config/rom68k.exp: New file to support Motorola IDP board.
389 * gdb.base/a2-run.exp: Skip this file if noargs is set.
390 * gdb.base/break.c: Change things around so that this program
391 doesn't depend upon args. This is necessary to make remote
392 targets work (in general, they can't take args).
393 * gdb.base/break.exp: Don't try to send args to program. Don't
394 expect output. Also, replace lots of code with gdb_test.
396 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
398 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
399 printing of '\'' (which is what the comment says we are testing,
400 even though we were not), not '''.
401 (test_integer_literals_rejected): Test that printing ''' is an error.
403 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
404 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
405 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
406 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
407 Use gdb_test not test_print_accept.
408 * lib/gdb.exp: Remove test_print_accept.
410 * gdb.base/signals.exp (signal_tests_1): Make pass message
411 consistent with fail message.
413 * gdb.base/whatis.exp: Remove xfails for printing char vs.
414 unsigned char; the bug (PR 1821) is fixed.
416 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
418 * gdb.base/scope.exp (test_at_localscopes): Call pass for
419 successful tests--makes xfailing them work right.
421 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
423 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
424 only \r\n, not .*. The test can pass .* as the last thing in
425 $pattern if that is what it wants. In addition to providing this
426 flexibility, this change should speed up pattern matching in cases
427 where the pattern already ended with .* (there were a number of
428 them). This change also helps catch bad patterns--in the old
429 scheme the typo "char \*" instead of "char \\*" would pass. Now
431 * Many .exp files: Update callers.
433 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
434 clearer and does not spuriously match multiple ('s. Likewise for
437 * gdb.base/nodebug.exp: Test ability to call a function and pass
438 it a string (even with no debugging info).
440 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
441 "p '\'", which is the same as "p ''" once tcl gets done with
442 quoting, to "p '\\'", which I suspect is what is intended (one
443 backslash gets sent to GDB).
445 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
447 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
449 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
450 1817) was fixed literally years ago.
452 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
454 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
455 test, it causes stepping out of call_after_alloca_subr with
456 optimizing compilers.
457 (localvars_in_indirect_call): Consume GDB prompt if `finish'
460 * gdb.c++/templates.exp: Source templ-info.exp only if
461 the templates executable exists.
463 * gdb.c++/misc.cc (class Contains_static_instance,
464 class Contains_nested_static_instance),
465 gdb.c++/classes.exp (test_static_members): Test printing of
466 a class that contains a static instance of the class.
468 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
470 * gdb.base/langs2.c (cppsub_): Don't prototype.
471 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
474 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
476 * lib/gdb.exp (skip_chill_tests): New procedure.
478 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
480 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
482 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
483 each expect pattern. Cuts runtime from 12 to about 4 seconds.
485 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
487 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
489 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
490 disassemble 8, not 16, instructions for part 4.
492 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
493 support the latter anymore.
495 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
497 * gdb.base/callfuncs.c: Control use of prototypes based on
498 NO_PROTOTYPES, not __STDC__.
499 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
500 t_float_values2 tests if prototypes in use.
502 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
503 t_double_values): When checking differences against DELTA, check
504 that difference is within the range (-DELTA,DELTA), not just
507 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
509 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
510 'file' command firts, then 'target', then 'load', this is due to gdb
512 * config/mips-gdb.exp: Fix a couple regular exp bugs.
514 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
516 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
517 FP load/store variants.
518 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
520 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
522 * gdb.base/term.exp: Do not give a warning if not native, it is
523 not an abnormal condition.
525 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
527 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
530 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
532 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
533 are getting the version number.
535 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
536 if not native, it is not an abnormal condition.
538 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
540 * lib/gdb.exp: Just use "file exists", rather than undocumented
541 dejagnu procedure "findfile".
543 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
545 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
546 (LDFLAGS): Set to -Xlinker -Ur.
548 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
549 Removed, these values are set by lib/gdb.exp.
551 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
553 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
555 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
556 of replicating gdb startup code.
558 * config/mt-vxworks (LDFLAGS): Set to -r.
559 (CFLAGS_FOR_TARGET): Removed.
561 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
562 (gdb) and gdb for vxworks uses (vxgdb).
564 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
565 executable is not in the tree and host != target, use sed and
566 program_transform_name to determine the gdb name used by the
569 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
570 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
572 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
574 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
575 floats, chars, and shorts where there are ANSI-style function
578 * gdb.base/langs.exp, gdb.base/langs*: New test.
579 * gdb.base/Makefile.in: Build it.
580 * TODO: Remove item about checking that C names don't get C++
581 demangling applied; this test tests it.
583 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
585 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
586 went with the const70 xfail. The xfail went away a year ago.
588 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
590 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
593 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
595 * gdb.base/a1-selftest.exp: Don't run on hp300.
597 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
599 * Makefile.in (site.exp): Set host_alias and target_alias as well
600 as host_triplet and target_triplet.
602 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
604 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
606 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
607 places as other ecoff systems).
609 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
612 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
614 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
616 * gdb.base/nodebug.exp: Accept "function" in addition to "text
617 variable and "variable" in addition to "data variable".
618 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
620 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
622 * gdb.base/list1.c (long_line): Add additional statement at start
624 * gdb.base/list.exp (test_forward_search): Update line number to
625 reflect new statement.
627 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
629 * gdb.base/signals.exp: Reinitialize searched source directories
630 after gdb_start call.
632 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
634 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
635 * gdb.stabs/Makefile.in: Likewise.
637 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
638 change. Instead split the tests into smaller pieces.
639 * gdb.disasm/hppa.s: Corresponding changes.
641 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
643 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
644 Quote ^C when passing it to stty. For some shells ^ is a pipe.
646 * gdb.base/funcargs.exp: Modify many tests so that every test
647 either passes or fails. Make some test names unique.
649 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
651 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
652 Call stty to set interrupt character.
654 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
655 for HP assembler versus GNU assembler based on actual behavior of
656 $(CC), rather than assuming that $(AS) is always the GNU assembler.
658 * TODO: Suggest a few more stepping tests.
660 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
662 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
663 restart GDB for h8300 after a continue.
664 (return): Add pattern to match a29k-udi behavior.
665 * gdb.base/nodebug.exp: Remove obsolete comment.
666 * gdb.base/regs.exp: New file, testing of register displays.
667 * gdb.base/return.exp: Fix typo in reference to $objdir.
668 * gdb.base/whatis.exp: Always start with a fresh GDB.
670 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
672 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
673 higher, these tests generate a lot of output.
675 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
677 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
678 code following the catch silently ignored some errors; without the
679 catch they should be thrown like any other tcl error. Also, the
680 catch used "" instead of {} which meant all the callers who wanted
681 to include one of the characters "[]$ had to quote it an extra time.
682 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
683 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
684 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
685 Remove extra quoting.
687 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
689 * gdb.base/commands.exp: Make test names unique; every test either
690 passes or fails. Update some comments.
692 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
694 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
696 The following fixes a FAIL caused by the fact that the alpha stabs
697 configuration didn't use the ".if alpha" code in weird.def.
698 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
699 bit pointer, so the 32 bit version works even on the alpha.
700 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
701 Remove the stuff which allowed us to have separate versions for
702 alpha and everything else.
704 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
705 regexp which "info func operator\[\](" is supposed to match. Fix
706 string to send to GDB. Note that GDB still doesn't work right. Add a
707 new test for "info func .perator\[\](" which GDB does handle correctly.
709 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
711 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
713 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
714 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
715 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
716 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
717 it makes the tests harder to understand and confuses test-o-matic.
718 The preferred style is that each test provides a PASS or a FAIL,
719 and has a unique message (e.g. "continue #54" not just "continue")
720 which is the same for the pass and the fail.
721 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
722 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
724 * gdb.base/printcmds.exp: Use test_print_accept. Remove
725 prt_accept which was basically the same thing. Likewise for
726 test_print_reject and prt_reject.
727 * lib/gdb.exp (test_print_reject): Add some more error message
728 patterns to match from the former printcmds.exp (prt_reject).
729 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
730 One defect of the passcount stuff is that some of it failed to
731 report XPASS where appropriate.
732 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
733 stuff before and after arg in expected pattern.
734 (test_paddr_operator_functions): Re-do test without print_addr_of;
735 this is the only test which seems to want extra stuff there.
737 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
739 * gdb.base/nodebug.exp: Update new tests to reflect improved
740 wording of gdb output.
742 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
743 and "ptype" work on variables in files compiled without -g.
744 Replaces commented out "maint print msymbol" tests.
746 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
748 * gdb.base/setvar.c (dummy): Call malloc.
750 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
751 losing with the irix4 sed.
753 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
756 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
758 * TODO: Remove items about corefile.exp testing new exec-file and
759 backtrace; both are now done. Add items about printing enums.
761 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
763 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
764 "get signal $thissig" test fails.
766 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
768 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
770 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
771 compiler warning with dec alpha compiler.
773 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
774 extra \n from gdb_test call (this explains why the prompt test
775 that I removed yesterday was there).
776 (user_defined_command_test): Remove extra \n and prompt test.
778 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
779 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
781 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
782 Also remove alpha workaround, which turns out to be because
785 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
787 * gdb.base/help.exp: Don't test "help show".
789 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
791 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
792 "set print address" is on.
793 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
794 pass prompt to gdb_test; gdb_test already looks for the prompt.
796 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
798 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
799 was a vestige of the manual TESTSTRATEGY, and the purpose of it
800 was to make sure that gdb can read a core file. But (a) the "read
801 the corefile" part didn't make it to a1-selftest.exp, we just
802 delete the corefile after creating it, and (b) we test reading
803 corefiles in corefile.exp anyway. Also, this test left around a
804 xgdb process on Solaris.
806 * gdb.base/corefile.exp: Also test backtrace.
808 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
810 * gdb.base/commands.exp: Test a simple user defined command with
811 arguments and if/while statements; verify the full user command is
812 printed by "show user".
814 * gdb.base/commands.exp: Test if/while commands as part of a
815 breakpoint command list; verify they appear in breakpoint
818 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
820 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
821 than by dividing by zero.
823 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
825 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
826 performing an inferior call with watchpoints enabled.
827 * gdb.base/watchpoint.c (main): Delete second unnecessary read
830 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
832 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
835 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
836 Add additional pattern for when "int operator int(void);" appears
837 in a different order.
839 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
841 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
843 * gdb.base/help.exp: Replace most of docstrings for "info signals"
844 and "signal" with ".*".
846 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
848 * TODO: Add note about "handle all nostop".
850 * gdb.base/{sigall.c, sigall.exp}: New test.
851 * gdb.base/Makefile.in: Add it.
853 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
855 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
856 when invoking GDB, suppresses any windowing interface.
858 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
860 * config/sim-gdb: New file, simulator testing support.
862 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
864 * gdb.base/interrupt.exp: Test calling func1 twice.
866 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
868 * gdb.base/list.exp (test_forward_search): Set timeout higher
869 when we'll be getting lots of output from gdb.
871 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
872 "init_malloc" to after the expect statement. Run it if that
873 regexp is taken, but also for two others which happen if source
876 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
878 * gdb.base/printcmds.exp: New test, for printing register before
881 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
883 * gdb.base/list.exp: Correct some alternate expect patterns
884 to reflect changes in list1.c.
886 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
888 * TODO: Add item regarding large frames.
890 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
892 * TODO: Remove item about enabling return.exp; it
893 is enabled. Suggest a few more "return" tests.
895 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
897 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
900 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
902 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
903 and pr-5646.o, so "make" is the same as "make all", not "make
906 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
908 * gdb.base/list.exp: Adjust expectations to reflect changes in
910 (test_forward_search): New test proc.
911 * gdb.base/list1.c (long_line): New function, has long source line.
913 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
915 * gdb.base/a1-selftest.exp: Change initial stepping to know about
916 additional line of code that was added.
918 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
920 * gdb.disasm/hppa.s: Break the large branching tests into smaller
921 tests so as not to overflow expect's input buffers.
922 * gdb.disasm/hppa.exp: Corresponding changes.
924 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
926 Beginnings of template debugging tests.
927 * gdb.c++/templ-info.cc: New file to test for template
928 debugging capability of the compiler.
929 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
931 * gdb.c++/templates.cc: Add explicit template instantiations
932 to enable compiling with -fno-implicit-templates. Add destructor
933 and 'value' method to T5 class for template tests.
934 * gdb.c++/templates.exp: Add testcases for printing of template
935 types, setting breakpoints on template methods and calling a
938 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
940 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
941 branch target since some assemblers (gas-2.5) may emit a
942 relocation for the branch instead of resolving it in the
945 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
947 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
948 through signal handler.
950 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
952 * configure.in (*-*-netware): Use config/mt-netware.
954 * config/mt-netware: New file.
955 * config/mt-i386-netware: Removed, separate configs for different
956 netware architectures are no longer needed now that we have
959 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
961 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
962 by the recent changes to use ANSI C arithmetic conversions.
964 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
966 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
967 bug involving using inferior_pid to figure out whether to select a
970 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
972 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
973 match the current disassembler output.
975 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
977 * gdb.fortran/exprs.exp: Expect VOID instead of void.
978 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
979 types, expect "int" as type of integer values (for now).
981 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
983 * gdb.base/commands.exp: New tests for if/while commands.
985 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
987 * lib/gdb.exp (runto): Replace sub-pattern for hex value
988 by .*, since hex values have different syntax in Chill mode.
990 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
992 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
993 linefeed from expect pattern for repeated types with indices > 9.
995 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
997 First part of Fortran test suite.
998 * gdb.fortran: New directory.
999 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
1001 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1003 * gdb.base/default.exp: Update expect pattern for load command
1006 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1008 * configure.in: Change i386 to i[345]86.
1009 * gdb.base/configure.in: Likewise.
1010 * gdb.c++/configure.in: Likewise.
1011 * gdb.chill/configure.in: Likewise.
1013 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
1015 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
1016 patterns, since that is not a valid context for comments.
1018 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
1020 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
1021 repeated types and repeated types with indices > 9.
1023 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
1025 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
1026 2417; old bug has been fixed.
1028 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
1030 * gdb.base/interrupt.exp: When trying to wake up the inferior,
1031 send the newline ourselves instead of assuming gdb_test will do
1032 so when passed an empty input string.
1034 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
1037 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1039 * lib/gdb.exp (gdb_test): Don't send anything if the first
1040 argument is an empty string. This makes cases where we want to
1041 match output that is already in expect's buffers (for example,
1042 matching a breakpoint after gdb_run_cmd has been called) work
1045 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1047 * config/netware.exp: New file.
1049 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1051 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
1052 the -B and -L prefixes so we can find the debugging stub.
1054 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
1055 there and we are using the gcc from the tree.
1057 * gdb.base/types.c: Removed.
1059 * gdb.base/configure.in: Look for makefile fragments in ../config.
1060 Recognize i386-*-netware.
1061 * gdb.c++/configure.in: Likewise.
1063 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1065 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
1066 the correct TCL syntax.
1068 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1070 * gdb.base/opaque.exp: use runto instead of messing around with
1071 breakpoints. Simplify by using gdb_test.
1073 * gdb.base/bitfields.exp: restart between tests on netware targets
1074 because breakpoints aren't relocated after target death. Run
1075 processes to completion.
1077 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
1079 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
1081 * Makefile.in: Remove extra tabs that confuse some versions
1082 of "make". Use the newly built gdb to test with by default,
1083 rather than the first one in the tester's search path.
1085 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
1087 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
1089 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
1092 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1094 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
1096 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
1098 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
1099 * gdb.base/funcargs.exp: Likewise.
1101 * gdb.base/bitfields.exp: Simplify by using gdb_test.
1102 * gdb.base/funcargs.exp: Likewise.
1104 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
1107 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1109 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
1110 return,signals,twice}.exp: Handle non-existant binaries
1113 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
1114 * gdb.base/Makefile.in: Don't try to generate a core dump, we
1115 might testing a cross development system.
1117 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1119 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
1120 runtest script is relative to ${srcdir}, not ${rootdir}.
1122 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
1124 * gdb.base/signals.exp: Allow for optionality of breakpoint
1127 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1129 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
1131 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
1133 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
1134 for size_t definition.
1135 * gdb.c++/templates.cc: Likewise
1137 * config/mt-i386-netware: New file.
1139 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
1142 * gdb.base/Makefile.in: Added support for systems that name core
1143 files by appending "core" to the program name.
1144 * gdb.base/a1-selftest.exp: Likewise.
1146 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1148 * gdb.base/return.exp: Add comment and message for `return double'
1149 test failure on Sparc Solaris.
1151 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
1153 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
1155 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1157 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
1158 from optimizing them away.
1159 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
1160 patterns to include default constructors and assignment operators,
1161 to match gcc versions beyond 2.5.8. Accept any cplus demangling
1162 character in the output of the virtual base pointer.
1164 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1166 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
1167 expression match in print_addr_of to avoid unintented matches.
1168 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
1169 versions up to 2.5.8.
1171 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1173 * gdb.base/list.exp: Tweak alternate pattern for listing of an
1174 included file to run under newer versions of expect.
1175 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
1176 consecutive >'s in templates to accomodate recent cplus-dem.c change.
1177 Remove xfail for the virtual table of BDDHookV.
1179 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
1181 * lib/gdb.exp (string_to_regexp): Set a default result.
1182 (default_gdb_start): Fix misleading message.
1184 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
1186 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
1187 Remove all CC, etc definitions.
1188 * config/mt-hpux: New file.
1189 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
1190 (CFLAGS, LDFLAGS): Define.
1191 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
1193 * Makefile.in (site.exp): Don't insert host_os, etc.
1194 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
1195 (distclean): Check existence of subdir.
1196 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
1197 * gdb.base/Makefile.in: General cleanup and simplification.
1198 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1199 to build executables. Use default rule to build .o files.
1200 (EXPECT, RUNTEST, CC): Fix relative pathname.
1201 (site.exp): Don't insert host_os, etc.
1202 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
1203 and/or SIGUSR1 defined.
1204 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
1205 * gdb.c++/Makefile.in: General cleanup and simplification.
1206 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
1208 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
1210 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
1212 * gdb.base/recurse.exp: Misc changes to get tests running again
1213 after Kung's changes to the watchpoint code.
1214 * gdb.base/watchpoint.exp: Likewise.
1216 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
1218 * lib/gdb.exp (string_to_regexp): Convert {\} also.
1220 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
1222 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
1223 * lib/gdb.exp (default_gdb_start): Define.
1224 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
1225 gdb.base/funcargs.exp, gdb.base/opaque.exp,
1226 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
1227 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
1228 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
1229 Don't call gdb_target_udi in between tests.
1231 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1233 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
1234 (which was basically just a local version of the same thing). In
1235 addition to avoiding duplication, gdb_test_exact is faster.
1236 * lib/gdb.exp (gdb_test_exact): Fix typo.
1238 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
1239 don't give an error.
1241 * gdb.base/term.exp: Call delete_breakpoints before starting.
1243 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
1246 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1248 Reorganization of the GDB Test Suite.
1250 * gdb.base: New directory, contains all the basic tests.
1251 * gdb.c++: New directory, tests specific to C++.
1252 * gdb.chill: New directory, tests specific to Chill.
1253 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
1254 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
1255 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
1256 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
1257 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
1259 * */gdbme.*: Rename to match appropriate expect scripts.
1260 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
1261 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
1262 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
1263 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
1264 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
1265 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
1266 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
1267 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
1268 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
1269 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
1270 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
1271 gdb.c++/virtfunc.cc: New names of C++ files.
1272 * gdb.chill/chillvars.ch: New name of Chill file.
1273 * gdb.base/configure.in, gdb.c++/configure.in,
1274 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
1275 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
1276 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
1277 * configure.in (configdirs): Update to reflect directory changes.
1278 (target_abbrev): No longer define for any configuration.
1279 * Makefile.in: Cosmetic improvements to header comments.
1281 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
1283 Various changes to gdb.t31:
1285 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
1286 * gdbme.ch: Make all key-words and predefineds be upper-case.
1287 * chillvars.exp: Expect key-words and predefinds in upper-case.
1289 * chillvars.exp: Use gdb_test_exact many places.
1290 Change expected output for arrays (which now includes index labels).
1292 * pr-5020.exp, gdme.ch (module PR_5020):
1293 New test, for PR-5020.
1295 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
1297 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
1298 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
1300 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
1302 * Makefile.in: Fix bit-rot in definitions of CHILL,
1303 CHILL_FOR_TARGET and Chill_LIB.
1304 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
1305 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
1306 CHILL, and CHILL_LIB.
1308 Wed May 25 17:10:38 1994 Per Bothner (bothner@kalessin.cygnus.com)
1310 * Makefile.in (TARGET_FLAGS_TO_PASS): Fix syntax of
1311 sanitize-chill comments.
1313 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
1315 * Revert the previous changes. Please see Rob's directory
1316 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
1318 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
1320 * Makefile.in, configure.in, config/mips-gdb.exp,
1321 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
1322 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
1323 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
1324 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
1325 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
1326 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
1327 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
1328 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
1329 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
1330 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
1331 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
1332 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
1333 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
1334 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
1335 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
1338 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
1340 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
1341 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
1342 Rob's new testing fragments.
1344 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
1346 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
1347 lib/gdb.exp: Replace error proc calls with perror.
1349 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1351 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
1352 version also, match on casted version strings, and match on
1353 gdb startup case where the line numbers might be messed up.
1355 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
1357 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
1358 (CFLAGS): Delete it from here.
1360 Thu May 12 14:06:34 1994 Bill Cox (bill@rtl.cygnus.com)
1362 * .Sanitize: Drop the gdb.t30 and gdb.t31 directories
1363 unless keep-chill was specified on the command line.
1364 * Makefile.in, config/makefile.rel.in: : Add comment lines
1365 to Sanitize out CHILL references unless keep-chill
1368 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
1370 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
1372 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
1374 * Makefile.in (RUNTEST): Default to just "runtest".
1376 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1378 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
1379 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
1380 the code has been restructured.
1382 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1384 * gdb.t00/default.exp (set write): Allow any number of \r and/or
1385 \n, not just one of each.
1387 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
1388 /bin/cc gives a warning if you do.
1390 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
1392 * gdb.t24/demangle.exp: change expect pattern of
1393 __t10ListS_link1ZUiRCUiPT0
1395 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1397 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
1398 on local variables in recursive functions.
1400 * gdb.t07/Makefile.in: Build the new test.
1402 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1404 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
1405 directly. Instead compare the return values from actual calls.
1407 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
1409 * Makefile.in (check): Set TCL_LIBRARY for runtest.
1411 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1413 * From Peter Schauer with minor modifications.
1414 * gdb.t15/return.exp (return_tests): Handle targets where "return"
1415 stops in mid-line in the caller. Add xfail for returning a float
1416 value on X86 targets.
1418 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1420 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
1421 to avoid expect lossage.
1422 (fmem_LRbug_tests): Likewise.
1423 * gdb.disasm/hppa.s: Corresponding changes.
1425 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
1426 conditions to work with latest dejagnu/expect.
1428 * gdb.t15/funcargs.exp (finish from indirect call): No longer
1429 expected to fail on the PA.
1430 (backtrace in call with trampolines): Explicitly require main
1431 to be frame #1 (no trampolines should show up in backtrace).
1433 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
1435 * gdb.t06/break.exp: Likewise.
1436 * gdb.t07/watchpoint.exp: Likewise.
1437 * gdb.t13/bitfields.exp: Likewise.
1438 * gdb.t15/{funcargs,return}.exp: Likewise.
1439 * gdb.stabs/weird.exp: Likewise.
1440 * config/{mips,udi}-gdb.exp: Likewise.
1442 * hppa.sed: Enclose comments within a sed command to avoid
1443 losing with the old OSF1 sed.
1445 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1447 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
1449 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
1450 * gdb.t15/funcargs.exp: Conditionally step again to really
1451 finish from marker_call_with_trampolines. Handle the case where
1452 the first step from within call_with_trampolines already steps
1454 * gdb.t15/gdbme.c: Add comment to closing brace of
1455 call_with_trampolines for funcargs.exp.
1457 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1459 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1462 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1464 * gdb.t07/gdbme.c: More code for watchpoint testing.
1466 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
1467 "Hardware watchpoint" throughout file.
1468 (test_watchpoint_triggered_in_syscall): New test.
1469 (test_complex_watchpoint): New test.
1471 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1473 * gdbme.c (call_with_trampolines): New function to try and step
1474 into. Tests trampoline problems on the PA.
1476 * funcargs.exp (localvars_in_indirect_call): No longer expect
1477 stepping into indirect call to fail on PAs.
1478 (test_stepping_over_trampolines): New test.
1480 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1482 * TODO: Add suggestions for static member function tests, and
1485 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1487 * TODO: Add suggestions for "p/a" tests.
1489 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
1490 (default_gdb_exit): Replace all the hair with sending "quit" to
1491 the process with a simple close.
1493 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1495 * TODO: Add suggestions for shared library tests.
1497 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1499 * TODO: Add suggestions for x/s tests.
1501 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1503 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
1504 "enable once", and "enable breakpoints once" with ".*".
1506 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1508 * TODO: Add suggestions about structure passing tests.
1510 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1512 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
1513 the primary1 test, use work around if __GNUC__ < 2.
1514 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
1515 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
1516 Test for bad output rather than waiting for timeout. Issue
1517 second continue only if first continue failed.
1519 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1521 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
1522 operator[] test with gdb_test because the old code didn't seem to
1523 be getting the quoting right with the new dejagnu.
1525 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
1527 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
1529 * Makefile.in: Use a fresh expect if there is one, use runtest
1530 from the src tree if there is one.
1532 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1534 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
1535 next over recursive call. Revise the tests from that point on
1536 (which had been skipped) to match GDB's actual (correct) output.
1538 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
1539 with next over a breakpoint whose condition is false.
1541 * gdb.t00/help.exp: Comment out "help set print" tests just like
1542 (and for same reason as) "help set" test.
1544 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1546 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
1547 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
1549 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1551 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
1552 necessary gdb_target_udi.
1554 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
1556 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
1557 1838 and 2417; they are fixed.
1559 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
1560 gdb.t03/ptype.exp (ptype structure, ptype union):
1561 Remove xfails; the test is looser than when the xfails were added.
1563 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
1564 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1566 * gdb.t01/run.exp: Only run shell test if isnative.
1568 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
1569 since "run" automatically loads if necessary. Call gdb_target_udi
1570 after the "file" since "file" kills any execution target.
1572 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
1573 GDB. GDB doesn't work that way (not anymore at least) on UDI.
1574 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
1577 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1579 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
1581 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
1583 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1585 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
1586 properly quoting regexps. This makes the second argument to
1587 demangle a fixed string, which matches the callers, instead of a
1588 shell-style pattern which is what the previous implementation
1589 used. Update some of the callers.
1591 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1593 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
1594 (comib_nullified_tests): Fix typo.
1595 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
1596 strings. No longer expected to fail.
1598 * gdb.disasm/hppa.s (addib_tests): Fix typo.
1599 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
1600 strings. No longer expected to fail.
1602 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
1603 string. No longer expected to fail.
1605 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1607 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
1608 No longer expected to fail.
1610 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
1611 string. No longer expected to fail.
1613 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1615 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
1616 only in the names (I probably got most of them). I was even
1617 generous with some which differed in underscores in names, and
1618 probably missed a few, and I *still* was able to remove almost a
1619 third of the file with almost no impact on testsuite coverage.
1621 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1623 * gdb.t00/default.exp: Match udi_attach error message as well as
1624 the one from child_attach.
1626 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1628 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
1630 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
1631 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
1633 * Move test with enums and partial symbols back to
1634 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
1635 Reverts the change of 26 May 93. Per today's change to
1636 stabs.texinfo, the behavior that weird.exp was expecting was
1637 unreasonable; what is important is that the compiler+gdb get
1638 things right, which happens with a recent gcc. Also fix the test
1639 to deal with native compilers which put out the stab gdb can't
1642 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1644 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
1645 in the names. The main thing these accomplish is to slow things down.
1646 Many more such duplicates surely remain.
1648 * gdb.t00/help.exp: Comment out "help support" test just like
1649 (and for same reason as) "help set" test.
1651 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
1653 * gdb.t06/break.exp: Remove setup_xfails for
1654 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
1655 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
1656 about known bug in gcc to include up through 2.5.8.
1657 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
1659 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
1660 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
1661 with latest gcc and gdb.
1662 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
1665 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1667 * configure.in (hppa*-*-*): Also configure and build stabs-only
1670 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1672 * gdb.t10/hppa.mt: A makefile fragment for the PA.
1673 * gdb.t10/configure.in (hppa*-*-*): Use it.
1675 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1677 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
1679 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1681 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
1682 versions prior to 1.13.5.
1684 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1686 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
1687 the prompt is at the start of a line.
1689 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1691 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
1692 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
1693 in the copr tests now.
1694 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
1695 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
1698 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
1700 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
1701 gdb.t31/chillvars.exp, lib/gdb.exp:
1702 Tweak to run under either version of expect.
1703 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
1704 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
1705 * gdb.t11/list.exp: Remove extraneous whitespace.
1707 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1709 * gdb.t16/printcmds.exp (test_print_strings): Accept
1710 "(unsigned char *) " before the string.
1712 * TODO: Add notes about printing of fancy types and GDB expressions.
1714 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
1716 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
1717 * gdb.t06/configure.in: Don't try to compile signals test program
1718 if doing mips-idt-ecoff.
1720 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
1722 * Most .exp files: Tweak to run under either version of expect.
1724 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1726 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
1727 xfails; I'm not sure why they are failing, but not because of PR 1806.
1729 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
1731 * config/unix-gdb.exp: Remove gdb_unload cause it's already
1732 defined in lib/gdb.exp.
1734 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1736 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
1737 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
1738 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
1739 have to be typeless.
1741 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1743 * TODO: Add suggestion for copyright year test.
1745 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
1747 * configure.in (*-*-lynxos*): Add stabs tests.
1749 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
1751 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
1752 so insert a tab before any assembler directive in column zero.
1754 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
1756 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
1758 (fpu_short_memory_tests): Likewise.
1760 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1762 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
1763 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
1764 .stabs directives in comments.
1766 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1768 * TODO: New file, describing tests we could write.
1769 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
1771 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1773 * gdb.t06/signals.exp: Add kludge to force re-sync.
1775 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
1776 to xgdb instead of gdb, get out of gdb.
1778 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
1780 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
1783 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
1785 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
1786 * gdb.stabs/configure.in (hppa*-*-*): Use it.
1787 * gdb.stabs/hppa.sed: New sed script for the PA.
1789 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1791 * gdb.stabs: Re-write weird.def and configuration to use sed
1792 instead of cpp. sed is portable and POSIX; cpp is neither.
1794 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1796 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
1798 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1800 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
1802 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1804 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
1806 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
1807 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
1809 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1811 * lib/gdb.exp: Comment out code which depends on non-existent
1812 `transform' procedure.
1814 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
1816 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
1817 * lib/gdb.exp: Transform tool name.
1818 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
1819 1.1's new error handling system.
1821 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1823 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
1825 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1827 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
1828 They made pattern matching so slow that timeouts happened on
1829 heavily loaded systems. Now any output from "show print" which
1830 gets us back to the GDB prompt is a PASS.
1832 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
1834 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
1836 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1838 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
1840 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
1841 It is not from PR 3220.
1843 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1845 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
1846 just started failing because they depended on the order the
1847 subcommands are presented, or exact docstring text. This kind of
1848 test is a pain and has minimal benefit.
1850 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1852 * gdb.t09/corefile.exp: At end of test, use "core" command with
1855 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
1857 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
1858 17}/Makefile.in: Make it possible to run the testsuite with Sun
1859 make and CC = cross gcc by adding explicit build rules for .o
1862 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1864 * gdb.t15/funcargs.exp: Don't put comments on same line as
1865 setup_xfail (@#$*%& tcl braindamage!).
1867 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1869 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
1871 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
1873 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
1874 * gdb.t20/inherit.exp: remove three dumplicate entries.
1876 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1878 * gdb.t06/break.exp: For "next over recursive call", fail on any
1879 incorrect output, not just on "factorial (value=2)".
1881 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1883 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
1884 working now. Add an xfail if accesing a bss variable causes
1885 a memory error if the target is not yet run.
1887 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1889 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
1890 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
1891 name of __st* demangling (2 strings). Did Kung really get the
1892 more than 95 others right without testing them?
1894 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
1896 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
1898 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
1900 * configure.in (configdirs): Add gdb.disasm
1901 * gdb.disasm: New directory for GDB disassembler tests.
1902 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1904 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1906 * gdb.t00/help.exp: Don't test "help set".
1908 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
1909 from within expect statements. None of these happen anymore and
1910 they cause regressions to be silently unnoticed.
1912 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
1913 messages) about known failures with gcc cygnus-2.4.5-930417.
1915 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
1916 comp-info.exp so it gets built if it doesn't exist.
1918 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
1919 it is no longer used.
1920 * gdb.t13/comp-info.c: Removed.
1922 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1924 * gdb.t06/signals.exp: Add xfail for sun3.
1926 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1928 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
1929 relevant because ^C doesn't get sent but failure can be reproduced
1932 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1934 * gdb.stabs/alpha.mt: New configuration file for alpha.
1935 * gdb.stabs/configure.in: Use it.
1936 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
1937 sharing with alpha.mt, redefine long to word via preprocessor.
1938 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
1940 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
1942 * gdb.t00/teststrategy.exp: Change expect string so that we
1943 consume the `(xgdb)' from the command echo and from the gdb prompt.
1944 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
1945 gdb currently compares all values as long, so this failure probably
1946 applies to any configuration where LONGEST is bigger than a target int.
1947 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
1949 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
1950 to handle opaque pointers, gcc is.
1951 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
1952 as first argument. Include <sys/types.h> and change all operator
1953 new definitions to use size_t.
1954 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
1955 now that we use size_t.
1957 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1959 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
1960 a long or float array cast all array members to the same type.
1961 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
1963 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
1965 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
1967 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1969 * gdb.t24 (demangle.exp): Constructors of templates have names like
1970 vector<int>::vector(int) not vector<int>::vector<int>(int). See
1971 section 14.6 of the ARM.
1973 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
1974 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
1975 accomplish little and slow down the testsuite.
1977 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
1978 Accept spaces various places.
1980 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1982 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
1983 with watchpoint enabled.
1985 * Makefile.in: Remove definition of CC and remove the second
1986 definition of CXX (the "CXX = gcc" one remains). These definitions
1987 were causing backquotes to be expanded within backquotes, which
1990 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
1992 * gdb.t17/callfuncs.exp: Add "return 0" to end.
1994 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1996 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
1997 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
1998 by mips cc and contains no stabs entries.
2000 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
2002 * config/vx-gdb.exp: Use fake device to load files rather than
2004 * lib/gdb.exp: New proc to do "file" command.
2005 * config/unix-gdb.exp: Use new "file" proc.
2007 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2009 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
2010 Rework board rebooting slightly.
2011 (gdb_exit): Don't exit from the remote shell; there isn't one.
2012 * gdb.stabs/weird.exp: If a program is being debugged already,
2014 * gdb.t04/setvar.exp: Stop and restart gdb.
2015 * gdb.t05/expr.exp: Likewise.
2016 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
2017 restart gdb and reload the program.
2018 * gdb.t08/opaque.exp: Likewise.
2019 * gdb.t12/scope.exp: Likewise.
2020 * gdb.t13/bitfields.exp: Likewise.
2021 * gdb.t15/funcargs.exp: Likewise.
2022 * gdb.t20/classes.exp: Likewise.
2023 * gdb.t03/ptype.exp: Increase timeout.
2024 * gdb.t16/printcmds.exp (test_print_string_constants,
2025 test_print_array_constants): Likewise.
2026 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
2027 * gdb.t20/classes.exp (do_tests): Likewise.
2028 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
2030 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
2032 * gdb.stabs: Renamed *wierd* to *weird*.
2034 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2036 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
2037 for timeout. Add "known gcc 2.4.5 bug" to failure message.
2039 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
2041 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
2042 (do_tests): Remove xfail for whatis on one_var and two_var.
2044 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
2046 * Makefile.in: Made cross building work better by adding
2047 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
2049 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2051 * gdb.t15/{return.c,return.exp,Makefile.in}:
2052 New test, currently commented out.
2054 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
2056 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
2057 still running and removes the leftover named socket so GDb can do
2060 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
2062 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
2064 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
2065 cross testing works better with "make check"
2066 * config/unix-gdb: Use default procedures for exit and version.
2067 * config/vx-gdb.exp: Cleaned up and massaged back to working order
2068 with the newest VxWorks.
2070 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2072 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
2075 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
2076 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
2078 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
2080 * config/unix-gdb.exp: Remove this version of gdb_exit
2081 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
2082 Rob says he'll look at it when he gets back to testing boards.
2084 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
2086 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
2087 an expected fail for certain ptype commands.
2089 * gdb.t20/classes.exp: Update expected results of "ptype class
2090 Base1" to account for the constructor that now appears in the type.
2092 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
2094 * configure.in (configdirs): Restore gdb.t04, which mysteriously
2095 disappeared from list.
2096 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
2097 "alldone" proc with call to cleanup and exit.
2098 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
2099 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
2100 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
2101 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
2102 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
2103 "alldone" proc with simple returns that suppress remaining
2104 tests. The alldone proc went away many months ago.
2106 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2108 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
2110 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
2112 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2114 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
2115 as vax gdb will display them.
2117 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2119 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
2122 * scope.exp: Change "bad value for localval" messages so each one
2125 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
2126 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
2128 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
2130 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2132 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
2133 doesn't exist (due to optimization).
2135 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2137 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
2138 contains \r because the filename is long.
2140 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
2141 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
2143 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2145 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
2146 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
2148 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
2150 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
2152 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
2154 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
2156 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
2157 to match does not match the passing case but still matches the
2160 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2162 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
2164 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
2166 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
2167 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
2168 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
2169 Remove various versions of gdb_exit.
2170 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
2172 * config/unix-gdb.exp: gdb_exit remains here, and should override
2173 the generic version, since it's doing a lot of wierd stuff that
2174 the other versions aren't. FIXME, fold it in, or abandon this
2177 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2179 * gdb.t24/demangle.exp: Add tests for PR 3220.
2181 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2183 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
2185 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
2187 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
2188 "i386-*-*". Works for i486 as well.
2190 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
2191 bug, and expand domain of xfail to all SVR4 systems, since the
2192 actual problem is likely to be in generic SVR4 /proc support.
2194 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2196 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
2198 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
2200 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
2201 xfails for other systems. Match a missing 'Continuing.' as an
2202 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
2204 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
2205 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
2206 Only issue warning for missing executables if -all option is used.
2208 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
2209 file if -all option is used. It's like an unpredictable XFAIL.
2211 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2213 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
2214 for dynamically linked binaries.
2216 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
2218 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2220 * gdb.t20/inherit.exp: Change message for "print tagless struct"
2221 to state that this is a known bug in old versions of g++.
2223 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2225 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
2226 while waiting for `Continuing'.
2228 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
2230 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
2231 in text, data, and bss.
2232 * gdb.t10/nodebug.c: Add local and global test variables for
2233 initialized and uninitialized data.
2235 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2237 * config/unix-gdb.exp (gdb_exit): Add "wait".
2239 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2241 * gdb.t06/signals.exp: xfail the continue from the handler for all
2244 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
2245 function with watchpoints enabled, the i386 call dummy starts with
2248 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
2249 386 bsd names its corefiles.
2251 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
2253 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
2254 compilers don't grok it.
2255 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
2256 with small octal ints rather than character constants, which
2257 are signed and might not fit if first promoted to int.
2259 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
2261 * gdb.t09/Makefile.in (clean): Remove corefile.
2263 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2265 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
2267 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2268 and Jim Kingdon (kingdon@cygnus.com)
2270 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
2271 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
2272 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
2274 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2276 * gdb.t17/interrupt.exp: Add xfail for hppa.
2278 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2280 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
2281 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
2282 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
2283 to determine signed-ness of bitfields and use the result to setup
2285 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
2286 * gdb.t15/funcargs.exp: Use them to step until the second indirect
2287 call line is reached if necessary.
2289 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2291 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
2293 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2295 * gdb.t06/break.exp: Also test `clear' command.
2297 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2299 * gdb.t00/teststrategy.exp: Remove extra quote.
2301 * gdb.t07/watchpoint.exp: Change xfail for calling function with
2302 watchpoint enabled to be for all non-68k machines.
2304 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
2306 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2308 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
2309 targets use aout.mt instead of ecoff.mt as gas understands
2310 standard aout format.
2312 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2314 * lib/gdb.exp (runto): Don't insist that function we are running to
2315 was compiled with -g.
2317 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
2319 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
2320 to get back into the read system call.
2321 Accept leading newline in case where we woke it up.
2323 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2325 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
2326 to make the stabs test work on ecoff systems using gcc and -with-stabs.
2327 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
2328 enable ecoff configuration.
2330 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2332 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
2334 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2336 * gdb.t16/printcmds.exp: Add another printf test.
2338 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
2340 * configure.in: If configured -with-stabs on any target, add
2341 stabsdirs to configdirs.
2343 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2345 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
2346 fun" so pattern does not match the command itself.
2348 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2350 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
2352 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2354 * gdb.t17/interrupt.exp: Test for more things.
2356 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2358 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
2359 compiler arranges the code and line numbers.
2361 * gdb.t17/interrupt.exp: Don't send \n after ^C.
2363 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2365 * gdb.t00/help.exp: Increase expect input buffer size.
2367 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2369 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
2371 * gdb.t07/watchpoint.exp: Add xfail for hppa.
2373 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
2375 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
2376 [0-9]*, not just [0-9].
2378 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2380 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
2382 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
2384 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2386 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
2388 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2390 * gdb.t06/signals.c: Add xfails for sun3.
2392 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
2394 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
2395 test_stepping tests.
2397 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2399 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
2401 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
2403 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
2404 rather than actually putting it through cpp twice.
2406 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
2408 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
2410 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
2413 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2415 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
2417 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
2418 C++ features prints as "struct", make it a pass, not an xfail.
2420 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2422 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
2423 Don't require VA to print as "class" rather than "struct".
2425 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
2427 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
2429 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2431 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
2433 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2435 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
2438 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2440 * gdb.t16/printcmds.exp: Add printf tests.
2442 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
2444 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
2446 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
2448 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
2449 pass counts, to counteract any existing or future setup_xfails.
2451 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2453 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
2454 {BEGIN,END}_COMMON for common block instead of STAB.
2455 * gdb.stabs/wierd.exp: Add xfail for rs6000.
2457 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
2458 intp_var should be N_GSYM not N_LSYM.
2459 wierd-aout.S: Use a label for the value of the N_SO.
2460 wierd.def: Remove all backslashes.
2461 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
2463 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2465 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
2466 get the expected next to inheritance3.
2468 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2470 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
2471 now that gcc-2.4 gets it right.
2473 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2475 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
2477 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
2478 generating comp-info.exp which works for cross-compilation.
2480 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
2482 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
2485 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
2487 * gdb.t01/run.exp: Start with a fresh gdb.
2488 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
2491 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
2493 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
2494 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
2495 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
2496 Makefile.in (distclean, realclean): Remove gdbme.c from list of
2499 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
2501 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
2502 test cases from bug reports.
2504 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
2506 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
2507 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
2508 avoid spurious xfails.
2509 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
2510 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
2511 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
2513 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
2515 * gdb.t00/teststrategy.exp: Rework to provide more useful
2516 description of each test, fix problem with systems that define
2517 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
2518 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
2519 results for "next over recursive call" so timeouts aren't taken
2522 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
2524 * gdb.t12/scope.exp: Test printing of variables before run.
2526 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
2527 printed in wrong order due to sorting.
2529 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
2531 * gdb.t00/teststrategy.exp: Fix expected results for printing
2532 user entered string constant. Is array of char, prints with no
2535 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
2537 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
2538 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
2539 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
2540 of struct of char arrays.
2541 * gdb.t00/radix.exp: New tests for radix commands.
2543 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
2545 * gdb.t16/printcmd.exp: Print a variable before running program
2546 (with xfail for AIX).
2548 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
2550 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
2552 * gdb.t16/printcmd.exp: Don't print variables before running program.
2554 * gdb.t06/break.exp: Don't require envp argument to main.
2556 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
2558 * gdb.t02/whatis.exp, gdb.t11/list.exp:
2559 Add xfails for rs6000.
2561 * gdb.t02/whatis.exp: Change other tests not to re-test something
2564 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
2565 each type used has a variable of that type.
2567 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2569 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
2571 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2573 * configure.in: change srctrigger to be a file, not a directory
2575 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
2577 * configure.in (mips-idt-ecoff*): Added trailing '*'.
2579 * gdb.t11/list.exp: Fixed a couple of typos.
2581 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
2583 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
2584 is fixed and PR is closed.
2585 * gdb.t16 (gdbme.c): Add simple test string variable.
2586 * gdb.t16 (printcmds.exp): Add tests with simple test string
2587 variable, primarily for boundaries on "set print elements".
2589 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
2591 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
2592 Make leading 0's optional and don't expect a tab in the middle
2595 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
2597 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
2598 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
2599 don't end command passed to gdb_test with newline.
2601 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
2602 signed keyword away, don't expect signed bitfields to be signed.
2604 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
2605 printing with only as many 1's as are in the field as well as printing
2606 with 32 1's (see comment).
2608 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
2610 * gdb.t00/default.exp: Start with a fresh gdb.
2611 * configure.in (configdirs): Remove gdb.t31 until the chill
2612 compiler works again. It no longer is able to find chillrt0
2613 since it isn't in libchill.a anymore.
2614 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
2615 wierd.o, make more modular.
2616 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
2617 spurious newlines that caused problems.
2619 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2621 * Move test with enums and partial symbols from gdb.t03/ptype.exp
2622 to gdb.stabs/wierd.exp since GCC has worked around the bug.
2623 gdb.stabs/wierd.{exp,def}: Many new tests.
2625 * gdb.t00/default.exp: update info line for new message.
2627 * gdb.t02/{whatis.exp,gdbme.c}:
2628 Test that "char *" doesn't print as "caddr_t".
2630 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2632 * gdb.t00/help.exp: Use .* in place of some help messages which
2634 gdb.t00/default.exp: Update "info frame" test for new message.
2635 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
2638 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2640 * gdb.t03/{gdbme.c,ptype.exp}:
2641 Add tests for typedef'd struct and union without tags.
2642 Also check "whatis" on a variable of a typedef'd enum without a tag.
2644 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
2645 PRMS 1823; the bug still exists but isn't reproduced by this test
2646 anymore), and remove rs6000 XFAIL (the bug is fixed).
2648 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
2649 duplicated from whatis.exp. For those that are left, accept
2650 "long", "long int", or "int" for long variables (whatis.exp already
2651 has an XFAIL for "int", so no need to fail it here).
2653 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
2654 Deal with GCC's names for types now that GDB uses the compiler's names.
2656 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
2657 setup_xfail's for sunos4. If we #defined the signed keyword away,
2658 don't expect GDB to know that char it is signed.
2660 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
2662 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
2664 * configure.in (configdirs): Add gdb.t24 for C++ tests that
2665 should work on any system, regardless of debugging format.
2666 * gdb.t21/demangle.exp: Move to gdb.t24.
2667 * gdb.t24/demangle.exp: Move from gdb.t21.
2668 * gdb.t24/{Makefile.in, configure.in}: New files.
2670 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2672 * configure.in: Do gdb.stabs and C++ tests only for stabs.
2673 * gdb.stabs: New directory.
2675 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2677 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
2678 not just "Quit anyway?".
2680 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
2682 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
2683 that all setup_xfails are immediately followed by clear_xfails.
2685 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
2687 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
2688 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
2689 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
2690 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
2691 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
2692 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
2693 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
2694 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
2695 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
2696 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
2697 gdb.t31/chillvars.exp, lib/gdb.exp:
2698 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
2699 bug-gdb@prep.ai.mit.edu.
2701 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
2703 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
2704 with 0.0, not integer 0.
2706 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
2708 * gdb.t06/break.exp: Update for "Kill the program" message change.
2710 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
2712 * Makefile.in (GDBFLAGS): Set to -nx.
2713 * Makefile.in (site.exp): Use GDBFLAGS.
2715 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2717 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
2719 (check): depend on just-check.
2720 (just-check): added so that tests can be run without a noop
2723 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2725 Switch to using configure's configdirs.
2726 * Makefile.in (Makefile): add configure.in dependency.
2727 (SUBDIRS): removed redundant assignment.
2728 * configure.in: switch subdirs assignment to configdirs.
2729 * gdb.t*/configure.in: new files.
2731 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
2733 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
2736 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
2738 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
2739 in explicit rules. Apparently this is not supported by some makes.
2741 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
2743 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
2745 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2747 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
2750 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
2752 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
2754 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
2756 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
2757 watchpoint problem that is now fixed.
2758 * gdb.t30/chexp.exp: Remove setup_xfail for printing
2759 uninitialized convenience variables.
2760 * gdb.t31/chillvars.exp: Fix expected patterns for printing
2763 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2765 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
2766 which causes expect to get out of sync with gdb on long output
2768 * gdb.t09/corefile.exp: Make expected pattern for core file
2769 failing signal and frame output format less sun specific.
2771 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
2773 * gdb.t31/chillvars.exp: Add and remove initial dummy
2774 breakpoint, so that symbol table is forced in.
2775 (Needed at least on Sunos4, though it seems not SVR4.)
2776 * gdb.t31/chillvars.exp: Update for changed output format.
2778 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
2780 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
2782 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
2784 * Makefile.in: Added --srcdir when invoking runtest, removed the
2785 need for a local config file. (optional now)
2787 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
2789 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
2790 failure count used to force early termination. Add some more
2791 expected failures for gnu style demangling.
2793 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2795 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
2796 pmi variable from gdb.t20/gdbme to get optimized away.
2797 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
2798 Check for written corefile upon timeout _and_ eof.
2800 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2802 * config/unix-gdb.exp: Add missing return 0.
2804 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2806 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
2809 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
2811 * configure.in (subdirs): Put back gdb.t17 which mysteriously
2814 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
2816 * gdb.t10/crossload.exp: Disable the i860-elf test until such
2817 time as i860 support works.
2819 * gdb.t15/funcargs.exp: Fix expected outputs to include
2820 "backtrace 100\r" rather than just "backtrace\r", to match last
2823 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
2825 * config/udi-gdb.exp (gdb_exit): Remove close command.
2826 (gdb_target_udi): New procedure to set the UDI target.
2827 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
2828 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
2829 Added waits for prompts after several question responses. Added
2830 some more responses used by a29k-amd-udi-gdb.
2831 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
2832 pass different arguments, restart UDI connection after program
2834 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
2835 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
2836 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
2837 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
2838 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
2839 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
2840 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
2841 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
2842 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
2843 after program completion.
2844 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
2845 compiled with a SELECT_VECS setting.
2846 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
2849 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
2850 Added checks for COFF results, and made them expected failures for
2851 all targets. It would be better to make them expected failures
2852 for COFF targets only.
2854 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2856 * Makefile.in: add null dvi target, don't bother to recurse
2857 through test directories for info and install-info; rename
2858 $(datadir) to be dejagnu instead of deja-gnu
2860 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
2862 * gdb.t31/gdbme.ch: Re-enable code that previously caused
2863 compiler to coredump.
2864 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
2867 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
2869 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
2871 * gdb.t31/chillvars.exp: Comment out tests that depend on that
2874 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
2876 * gdb.t03/ptype.exp: tests for return code from gdb_test.
2877 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
2878 which in a shell. Deletes xgdb when done.
2879 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
2880 Tests the return from the "set height" or "set width" commands.
2881 Added a few return codes where needed.
2883 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
2885 * Makefile.in (SUBDIRS): Add gdb.t17.
2886 * configure.in (subdirs): Add gdb.t17.
2887 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
2888 files to test gdb's calling of functions in the inferior with
2889 the correct arguments and gdb's ability to retrieve any
2892 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
2894 * config/unix-gdb.exp (gdb_exit): Remove close commands that
2895 may be called after gdb goes away. Previous versions of expect
2896 needed these to avoid file descriptor leaks, but they cause
2897 errors with the current revision of expect.
2898 * gdb.t00/gdbvars.exp: Use -re on expected output after
2899 setting sevenbit-strings.
2900 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
2901 to set sevenbit-strings consistent across tests.
2902 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
2903 set sevenbit-strings consistent across tests.
2905 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
2907 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
2908 expected output to match current "expect" expectations.
2910 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
2912 * gdb.t00/default.exp: Change expected output for default "source"
2913 command, to match new gdb behavior which requires a filename to
2916 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
2918 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
2919 expected fail for i486-*-* that misses the marker2 function.
2920 * gdb.t10/crossload.exp (bfddefault): Allow successful
2921 recognition of a format to pass even if no symbols are found.
2922 Explicitly catch failures where the format is not recognized
2923 or is ambiguous, and add the reason to the fail message.
2924 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
2925 the cause is and invalid target and add reason to failure message.
2926 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
2927 elf32-i386, elf32-sparc, and elf32-i860.
2928 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
2929 Set up expected failure for 'filename'::variable scope resolution,
2930 which is now apparently broken on all targets.
2931 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
2932 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
2933 gdb.t23/templates.exp: Change failure for missing binfile into
2935 gdb.t21/demangle.exp: Change all cfront references to 'arm'
2938 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
2940 * gdb.t00/default.exp: Add expected output for default "source"
2941 command, to match new gdb behavior.
2942 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
2944 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
2946 * config/*-gdb.exp: returns an error, rather than exiting on
2949 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
2951 * gdb.t03/gdbme.c: Add pointer to struct variable.
2952 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
2953 referencing struct members.
2955 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
2957 * configure.in (mips-idt-ecoff): New target.
2958 * config/mips-gdb.exp: New file for remote board using MIPS remote
2961 * Redid configuration scheme. Removed gdb.t*/configure.in.
2962 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
2963 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
2964 distclean targets. Built executables via .o files. Adjusted
2965 tests to account for source files in $(srcdir) rather than
2967 * lib/gdb.exp (runto): Don't expect () after the function name,
2968 because it may have arguments.
2970 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
2972 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
2973 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
2974 expected failures for mips-idt-* and mips-sgi-*.
2975 * gdb.t00/default.exp (attach): Kill process if requested.
2976 * gdb.t00/help.exp (help target core, help target): Accept a gdb
2977 that does not read core files.
2978 * gdb.t01/run.exp: Removed checks for exit status code.
2979 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
2981 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
2982 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
2983 appropriate, rather than doing it by hand.
2984 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
2986 * gdb.t10/crossload.exp: Kill existing program if needed.
2987 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
2988 appropriate, rather than doing it by hand. Always increase
2989 timeout for this test, not just for VxWorks.
2991 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
2993 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
2994 of Chill STRUCT types and STRUCT values.
2995 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
2997 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
2998 struct2): New struct definitions and initializations to test
2999 simple Chill STRUCT types.
3001 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
3003 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
3004 the null byte at the end of strings.
3005 * gdb.t00/default.exp: Make show version insensitive to copyright
3007 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
3008 to avoid dependencies on target char signedness.
3009 * gdb.t16/printcmds.exp: Update expected results for explicitly
3011 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
3013 * gdb.t21/demangle.exp: Add many more patterns for template
3014 demangling, most of them being expected failures.
3015 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
3016 string we are matching for, to match on the whole string.
3017 * gdb.t21/demangle.exp: Add many new test strings to demangle,
3018 and fix a whole bunch that had incorrect expected output but were
3019 passing anyway because of the bug in "proc demangle".
3020 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
3022 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
3024 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
3026 * gdb/testsuite: made modifications to testcases, etc., to allow
3027 them to work properly given the reorganization of deja-gnu and the
3028 relocation of the testcases from deja-gnu to a "tool" subdirectory.
3030 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
3032 * gdb/testsuite: Initial creation of gdb/testsuite.
3033 Migrated dejagnu testcases and support files for testing nm to
3034 gdb/testsuite from deja-gnu. These files were moved "as is"
3035 with no modifications. This migration is part of a major overhaul
3036 of dejagnu. The modifications to these testcases, etc., which
3037 will allow them to work with the new version of dejagnu will be
3038 made in a future update.
3044 version-control: never