* gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
2
3 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
4 for each individual variable set.
5
6 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
7 name.
8
9 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
10
11 * gdb.base/scope.exp: Use gdb_test.
12
13 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
14 aborting; the testsuite driver will do that for us (see
15 gdb_finish). Also, use gdb_test in a few more places.
16
17 Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
18
19 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
20
21 Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
22
23 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
24 and "add_tests" are not at the same address.
25
26 Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
27
28 * gdb.base/ptype.exp: Use gdb_test.
29
30 Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
31
32 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
33 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
34 left in. No longer expect them to fail.
35
36 * gdb.stabs/*.mt; Deleted, no longer used.
37 * gdb.stabs/configure.in: Remove references to target makefile
38 frags.
39 * gdb.stabs/configure: Rebuilt.
40
41 * gdb.disasm/*.mt: Deleted, no longer used.
42 * gdb.disasm/configure.in: Remove references to target makefile
43 frags. Use "sh3.s" as the unique filename for this directory.
44 * gdb.disasm/configure: Rebuilt.
45
46 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
47 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
48 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
49
50 Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
51
52 * config/udi.exp: Use mondfe,name instead of remote_host.
53
54 Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
55
56 * gdb.base/watchpoint.exp: Don't expect a failure when calling
57 a function with a watchpoint enabled on the mn10200.
58
59 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
60 before trying to create it!
61
62 Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
63
64 * config/vx.exp: Use hostname instead of netport.
65
66 * config/vxworks.exp: New file.
67
68 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
69
70 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
71 gdb before assuming everything worked. Send a ^C if a timeout
72 occurs.
73
74 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
75 $gdb_spawn_id directly.
76 (gdb_run_cmd): Try _start as well as start. Use the target feature
77 gdb,start_symbol as the symbol to start from when jumping.
78
79 Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
80
81 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
82 redundant) test.
83
84 * gdb.base/recurse.exp: Relax final value test for 'b' so that
85 it doesn't lose for 16bit integer systems.
86
87 Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
88
89 * gdb.fortran/types.exp: If the target doesn't support "double"
90 data types, then expect "real" types to only be 4 bytes.
91
92 * gdb.c++/virtfunc.exp: Expect failure for virtual function
93 call tests if the target doesn't support inferior function calls.
94
95 * gdb.base/printcmds.exp: Allow minor deviation in FP values
96 in printf tests.
97
98 Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
99
100 * gdb.base/help.exp: Disable "help set", "help show", and
101 "help support". Simplify regexp for "help stack".
102
103 * gdb.base/default.exp: Set match_max to 5000 and the timeout
104 to 60 seconds. Temporarily set match_max to 15000 around the
105 "info copying" test.
106
107 * gdb.base/nodebug.exp: Don't try to do an inferior function
108 call if the target doesn't support them.
109 * gdb.base/printcmds.exp: Likewise.
110 * gdb.base/setvar.exp: Likewise.
111 * gdb.base/structs.exp: Likewise.
112 * gdb.c++/templates.exp: Likewise.
113 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
114
115 * gdb.base/recurse.exp: Enable for the mn10200.
116
117 * configure.in: Do configure gdb.stabs directory for *-*-elf
118 targets.
119 * configure: Rebuilt.
120
121 * gdb.base/break.exp: Check for gdb,noresults before testing
122 exit status and/or results from the target.
123 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
124 * lib/gdb.exp: Remove old (now bogus) initialization of
125 noinferior, noargs, noresults and nosignals.
126
127 Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
128
129 * config/sh.exp: New file.
130
131 * config/slite.exp: Try to connect multiple times to the board
132 before rebooting. Only send a "monitor run" if need_monitor_run
133 is set.
134
135 * gdb.base/break.exp: Don't do the "stub continue" test if
136 the target has gdb_stub set.
137
138 * gdb.base/callfuncs.exp: Increase the timeout.
139
140 * gdb.base/interrupt.exp: Don't even try to compile the testcase
141 if the target has gdb,noinferiorio set.
142
143 * gdb.base/list.exp: Increase match_max to 10000 characters.
144
145 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
146
147 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
148 target.
149
150 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
151
152 Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
153
154 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
155 trying to delete the copy of gdb. Catch the file delete so we
156 don't die if the delete fails; also, the file should be copied to
157 the host, not to the build.
158
159 Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
160
161 * lib/gdb.exp(gdb_test): Surround the result pattern with
162 parenthesis in case it contains multiple regexps separated
163 with |.
164
165 * gdb.base/watchpoint.exp: Use gdb_test.
166 * gdb.base/default.exp: Ditto.
167
168 Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
169
170 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
171
172 * gdb.base/scope.exp: Use gdb_test.
173 * gdb.c++/classes.exp: Ditto.
174 * gdb.c++/inherit.exp: Ditto.
175
176 Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
177
178 * gdb.base/crossload.exp: Don't use execute_anywhere, use
179 remote_exec instead.
180 * gdb.base/corefile.exp: Don't be ridiculous.
181 * gdb.base/*.c: Add missing stub invocations.
182
183 Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
184
185 * config/slite.exp: Miscellaneous fixes.
186
187 * lib/gdb.exp: Fix runto.
188
189 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
190 the target.
191
192 * gdb.base/watchpoint.exp: Fix regexp.
193
194 * lib/gdb.exp(default_gdb_exit): Add a catch to the
195 close and wait commands, as the descriptor may now be
196 invalid. Always call "remote_close host".
197
198 Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
199
200 Major rewrite for testsuite revision.
201
202 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
203 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
204 instead of relying on spawn_id to always contain a valid
205 spawn id.
206 (get_compiler_info): New procedure to build the ${binfile}.ci
207 file, instead of replicating this in N different places.
208 (gdb_compile): New procedure.
209
210 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
211 appropriate arguments) instead of compile. Use gdb_test in a lot
212 more places. Use send_gdb instead of send. Always run gdb_start
213 at the start of a testcase, as this is no longer done magically.
214
215 config/*-gdb.exp: Rename without the -gdb suffix.
216
217 config/mips.exp: Use remote_close instead of exit_remote_shell.
218 config/monitor.exp: Use target_info instead of looking at
219 baud, timeout, etc.
220 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
221
222 Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
223
224 * gdb.c++/templates.exp (test_ptype_of_templates),
225 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
226 Update expect patterns for destructors and assignment operators
227 to match corresponding c-typeprint.c changes.
228 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
229 to destructor breakpoint test, GDB should be able to set the
230 destructor breakpoint without specifying arguments.
231
232 Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
233
234 * gdb.threads/pthreads.exp: Change result for failure to compile due
235 to lack of pthreads runtime support from an error to simply an
236 unsupported test, per dejagnu standards.
237
238 Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
239
240 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
241 where GDB exits to reduce pattern match time.
242 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
243
244 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
245
246 Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
247
248 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
249 * gdb.base/default.exp: ditto.
250 * gdb.base/nodebug.exp: ditto.
251 * gdb.base/printcmds.exp: ditto.
252 * gdb.base/ptype.exp: ditto.
253 * gdb.base/setvar.exp: ditto.
254 * gdb.base/structs.exp: ditto.
255 * gdb.base/setshow.c: Guard against uninitialized values of argc.
256
257 Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
258
259 * configure, */configure: Rebuild with autoconf 2.12.
260
261 Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
262
263 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
264 use new i*86-pc-linux*-gnu quads.
265 * gdb.base/corefile.exp: Ditto.
266 * gdb.base/signals.exp: Ditto.
267 * gdb.base/sigall.exp: Ditto.
268 * gdb.base/interrupt.exp: Ditto.
269
270 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
271 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
272 RedHat 4.0.
273
274 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
275 linux. This allows the test case to at least compile on latest
276 linux, but still not run due to missing the threads runtime library.
277
278 Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
279
280 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
281 directory to search gdb directory. Accept and step over conditional
282 stack alignment code. Consume $prompt in failure cases.
283 Reset timeout to $oldtimeout instead of some arbitrary value.
284 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
285 timeout problems with infinite stack backtraces.
286 * gdb.base/ptype.exp (ptype struct link, union tu_link):
287 Accept function parameters for linkfunc member.
288
289 Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
290
291 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
292 (CXXFLAGS): Remove, unreferenced.
293 (B_OPTIONS): Add for -B options and add code to initialize with
294 previous -B options and also add -B option to pick up cross compiled
295 runtime.
296 (TARGET_INCLUDES): Add for -I options and add code to initialize when
297 doing cross compiles.
298 (target_alias): Declare global.
299 (xgcc): Set variable to full path of gcc in build tree. Use findfile
300 to verify that gcc exists in build tree, and if so set CC to that
301 gcc and to use B_OPTIONS and TARGET_INCLUDES.
302
303 Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
304
305 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
306 ptype test for anonymous union. Fixup testcase to match
307 current gcc debug output.
308
309 Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
310
311 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
312 force argument to an unsigned long type.
313
314 Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
315
316 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
317 tests and anonymous union print/ptype tests.
318 * gdb.base/list.exp (test_forward-search): Increase timeout by
319 5 minutes for the "search extremely long line" case.
320 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
321 completely optional and that the pass/fail messages use the command as
322 the message if that third arg is a null string.
323 (gdb_test_exact): Arrange that a null string pattern means match a
324 null string output rather than any output, which might include random
325 errors.
326 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
327 backtrace test.
328 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
329 always failing and failure is now exposed by gdb.exp changes.
330
331 Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
332
333 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
334 weren't being noted.
335
336 Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
337
338 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
339 * gdb.stabs/weird.exp: Remove v_comb xfails.
340
341 start-sanitize-m32r
342 Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
343
344 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
345 list.exp scope.exp watchpoint.exp]
346 Make all timeout error msgs explicitly say "(timeout)".
347
348 end-sanitize-m32r
349 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
350
351 * config/monitor.exp: Increase download timeout to 1000 seconds.
352
353 start-sanitize-m32r
354 Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
355
356 * config/m32r.exp: Increase timeout to 120 seconds.
357
358 end-sanitize-m32r
359
360 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
361
362 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
363 and accept older ordering as obsolescent gcc or gdb.
364 * gdb.c++/templates.exp: Ditto.
365 * gdb.c++/virtfunc.exp: Ditto.
366
367 Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
368
369 * gdb.base/coremaker.c: Add code to mmap some data so we
370 can check that it ends up in the core file.
371 * gdb.base/corefile.exp: Add test to read mmapped data
372 from core file.
373
374 start-sanitize-m32r
375 Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
376
377 * config/m32r.exp: New file.
378 end-sanitize-m32r
379
380 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
381
382 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
383 that cflags can contains -gstabs, and work correctly for other tests.
384
385 Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
386
387 * gdb.base/setshow.exp: New file, tests show and set.
388 * gdb.base/setshow.c: New file, tests show and set.
389 * gdb.base/help.exp: Add test for help set|show annotate.
390 * gdb.base/default.exp: Add test for set|show annotate.
391
392 Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
393
394 * testsuite/gdb.base/break.exp: Make backtrace from factorial
395 errors unique.
396 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
397 explicitly.
398
399 Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
400
401 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
402 and width commands. This is done elsewhere.
403 * (gdb_start): Don't call gdb_start_sim here. That's already
404 done in gdb_load. This fixes lots of failures in default.exp.
405
406 Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
407
408 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
409 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
410 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
411 in the same we we treat other failures (since it may be an expected
412 condition), rather than as an error.
413 * gdb.base/signals.exp (test_handle_all_print): Revert back to
414 old test format.
415
416 Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
417
418 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
419 (distclean maintainer-clean realclean): No need to remove files
420 twice. Nuke the duplicates.
421 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
422 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
423 Remove config.h along with other config files.
424
425 Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
426
427 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
428 "p func1 ()" and note that rests of tests are skipped.
429 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
430 setup_xfails for "print func2::coremaker_local".
431 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
432 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
433 affected by the previous run test.
434 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
435 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
436 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
437 "pass int powerset tuple" and "pass modeless int powerset tuple".
438 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
439 "real write 4" and "real write 8".
440 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
441 setup_xfails for "print vs1 after tuple assign 2",
442 "print \$i after tuple assign 2", and
443 "print vs2 after tuple assign 2".
444 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
445 meaningful error message and return -1 so the caller can
446 suppress further tests and avoid a cascade of errors.
447
448 Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
449
450 * gdb.base/a1-selftest.exp: Tweak tests to account for new
451 format for printing version.
452 * gdb.base/default.exp: Ditto.
453 * gdb.base/interrupt.exp: Fix problem with cascade of
454 errors if child process dies while calling a function.
455
456 Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
457
458 * Makefile.in (VPATH): Add
459 * Makefile.in (Makefile, config.status): Fix rules so things get
460 remade when necessary.
461
462 Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
463
464 * Makefile.in (just-check): Add path to sibling expect dir
465 to environment variable specified by RPATH_ENVVAR.
466
467 Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
468
469 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
470 (just-check): Add shared library paths for libstdc++, tk,
471 tcl, bfd, and opcodes to the environment variable specified
472 in RPATH_ENVVAR.
473 * configure.in: Add support to recognize --enable-shared flag
474 and generate correct value for RPATH_ENVVAR.
475 * configure: Regenerated with autoconf.
476
477 Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
478
479 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
480 include all osf versions.
481 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
482 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
483 when target is linux. When failing to build pthreads test
484 executable, give more meaningful message.
485 * gdb.threads/pthreads.c: Hpux also uses old definition of second
486 arg for pthread_create.
487
488 Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
489
490 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
491 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
492 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
493 and -lpthreads (everybody else).
494 (test_startup): Fail gracefully if threads are not supported.
495 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
496 "p/c array_index("abcdef",2)" when not gcc compiled.
497 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
498 "print func2::coremaker_local" when not gcc compiled.
499 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
500 "ptype on opaque struct tagname (statically)",
501 "ptype on opaque struct tagname (dynamically) 1", and
502 "ptype on opaque struct tagname (dynamically) 2"
503 for not compiled with gcc.
504 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
505 backtrace when compiled with gcc.
506 * lib/gdb.exp (runto_main): Return result of "runto main" rather
507 than always return success.
508
509 Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
510
511 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
512
513 Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
514
515 * gdb.base/structs.exp: Undo last change.
516
517 Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
518
519 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
520 encapsulate all the steps/nexts done during self test, starting
521 at main, and makes them less sensitive to optimization issues.
522 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
523 signal handler" test.
524 * gdb.threads/pthreads.exp: Only run this for native configs.
525 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
526 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
527 tests.
528 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
529 for "runto test_calls(void)" test.
530
531 Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
532
533 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
534 and don't expect address info in breakpoint confirmations.
535
536 Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
537
538 * gdb.base/list.exp (test_forward_search): Increase timeout
539 temporarily by 60 seconds for searching extremely long line,
540 and then reset to old value when done. Increase expect input
541 buffer to 10000.
542
543 Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
544
545 * gdb.base/list.exp (test_forward_search): Fix to handle very
546 long source line without overflowing expect's input buffer.
547
548 Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
549
550 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
551 "buffer_full".
552
553 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
554 "buffer_full".
555
556 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
557 "buffer_full".
558
559 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
560 "buffer_full".
561
562 Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
563
564 * configure.in (configdirs): Add gdb.threads.
565 * configure: Regenerated with autoconf.
566 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
567 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
568 * gdb.threads/configure: New, generated with autoconf.
569
570 Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
571
572 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
573
574 Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
575
576 * gdb.base/signals.exp (test_handle_all_print): Test separately for
577 each signal's status in the output of "handle all print".
578 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
579 the \r\n sequence that immediately precedes the gdb prompt.
580 * gdb.base/a1-selftest.exp: Save original timeout and restore
581 after test.
582
583 Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
584
585 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
586 symbol.
587
588 Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
589
590 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
591
592 Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
593
594 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
595 timeout by 60 seconds.
596
597 Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
598
599 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
600 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
601 error return.
602
603 Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
604
605 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
606 gdb initialization, also report how long dejagnu waited. Restore
607 old timeout before doing error return. Temporarily increase timeout
608 by 3 minutes to allow for slow startups over heavy NFS use.
609
610 Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
611
612 * lib/gdb.exp: Report timeout value for verbosity level 2.
613 * config/gdbserver.exp: Ditto.
614 * config/hppro.exp: Ditto.
615 * config/mips-gdb.exp: Ditto.
616 * config/monitor.exp: Ditto.
617 * config/netware.exp: Ditto.
618 * config/sim-gdb.exp: Ditto.
619 * config/slite-gdb.exp: Ditto.
620 * config/udi-gdb.exp: Ditto.
621 * config/unix-gdb.exp: Ditto.
622 * config/vx-gdb.exp: Ditto.
623 * gdb.base/a1-selftest.exp: Ditto.
624 * gdb.base/a2-run.exp: Ditto.
625 * gdb.base/break.exp: Ditto.
626 * gdb.base/corefile.exp: Ditto.
627 * gdb.base/list.exp: Ditto.
628 * gdb.base/recurse.exp: Ditto.
629 * gdb.base/scope.exp: Ditto.
630 * gdb.base/signals.exp: Ditto.
631
632 Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
633
634 * gdb.threads/Makefile.in (docdir): Removed.
635
636 Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
637
638 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
639 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
640 @srcdir@.
641 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
642 autoconf 2.5 or higher.
643 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
644
645 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
646
647 * configure: Regenerated.
648 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
649 avoid name clashes with SunOS headers.
650
651 Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
652
653 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
654
655 Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
656
657 * gdb.base/callfuncs.exp: Finish last change -- make sure the
658 prototype information ends up in the compiler info file.
659
660 Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
661
662 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
663 attempting to regenerate it. Eliminate use of a temporary file
664 and just generate the info file directly. Source it immediately,
665 for consistency of use.
666 * gdb.base/corefile.exp: Ditto
667 * gdb.base/exprs.exp: Ditto.
668 * gdb.base/funcargs.exp: Ditto.
669 * gdb.base/langs.exp: Ditto.
670 * gdb.base/list.exp: Ditto.
671 * gdb.base/mips_pro.exp: Ditto.
672 * gdb.base/nodebug.exp: Ditto.
673 * gdb.base/opaque.exp: Ditto.
674 * gdb.base/ptype.exp: Ditto.
675 * gdb.base/scope.exp: Ditto.
676 * gdb.base/setvar.exp: Ditto.
677 * gdb.base/signals.exp: Ditto.
678 * gdb.base/whatis.exp: Ditto.
679 * gdb.c++/templates.exp: Ditto.
680 * gdb.c++/virtfunc.exp: Ditto.
681 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
682 whether or not to add -lstdc++ to the compile command line args.
683
684 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
685
686 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
687 it got fixed by the recent lookup_minimal_symbol_by_pc change.
688 Increase timeout, a lot of single stepping might be needed if the
689 target has no hardware watchpoints.
690
691 Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
692
693 * gdb.base/break.exp: Ignore compiler warnings when compiling
694 break.c.
695 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
696 * gdb.base/default.exp: Add h8300 xfails. Handle messages
697 from remote-sim.
698 * gdb.base/exprs.exp: Add h8300 xfails.
699 * gdb.base/funcargs.exp: Likewise.
700 * gdb.base/nodebug.exp: Likewise.
701 * gdb.base/printcmds.exp: Likewise.
702 * gdb.base/ptype.exp: Likewise.
703 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
704 h8300 xfails.
705 * gdb.base/return.exp: Handle float/double precision problems
706 on the h8300.
707 * gdb.base/funcargs.c: Explicitly make last constant argument to
708 call_after_alloca_subr an unsigned long type.
709 * gdb.base/return.c: Include stdio.h.
710
711 Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
712
713 * config/abug.exp: New file for the older Motorola Bug monitor
714 that runs on the mvme13x series VME boards.
715 * config/monitor.exp: Use the new config array for target settings
716 if they exist.
717
718 Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
719
720 * sim-gdb.exp: Make the SH simulator allocate less space when
721 it is targeted.
722
723 Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
724
725 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
726 test.
727
728 Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
729
730 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
731 "rs6000-*-*" for "list function in include file" when gcc compiled.
732 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
733 for "p ctable1[120]".
734 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
735 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
736 Remove setup_xfail for "rs6000-*-*" for
737 "print 'scope0.c'::filelocal before run".
738 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
739 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
740 since some compilers don't allow both options to be given
741 on the same command line. Create object file and move it.
742
743 Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
744
745 * gdb.base/corefile.exp: Always regenerate the core file, since
746 we always regenerate the coremaker program. Detect special case
747 where registers cannot be read from core file.
748
749 Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
750
751 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
752 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
753 * gdb.c++/templates.exp: Only match on basename of file since
754 some formats like xcoff don't encode directory information.
755 * gdb.stabs/weird.exp: Use the right sed script for powerpc
756 and rs6000 AIX xcoff targets.
757 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
758 * configure: Regenerate.
759 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
760 here, rather than in distclean.
761
762 Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
763
764 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
765 defined, and use it to compile the test case with -O2. The
766 native compilation still uses no optimization.
767 * gdb.base/mips_pro.c: Remove inline assembly code since
768 it is compiled PIC by default, which results in assembler
769 warnings that make the testsuite think the compilation
770 was unsuccessful.
771
772 Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
773
774 * gdb.c++/misc.exp: Add note to message for
775 "print s.a for foo struct" that this is a known gcc 2.7.2
776 and earlier bug.
777
778 Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
779
780 * gdb.base/break.exp: Fix pattern for matching "Delete all
781 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
782 setup_xfail for deleting all breakpoints test. Fix various
783 timeout messages to include "(timeout)".
784 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
785 for "p t_float_values2(3.14159,float_val2)".
786 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
787 for "continue to call2g" when gcc compiled.
788 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
789 "up to foo in langs.exp", "show language at foo in langs.exp",
790 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
791 and "show language at fsub in langs.exp".
792 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
793 "list line 1 in include file", "list message for lines past EOF",
794 "list function in include file", "list list0.h:foo", and
795 "list filename:function; nonexistant function".
796 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
797 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
798 and "ptype t_char_array" to be for native cc only.
799
800 Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
801
802 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
803 setup_xfail for "print coremaker_bss", "print coremaker_ro",
804 "print func2::coremaker_local", and "backtrace in corefile.exp".
805
806 Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
807
808 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
809 "bt in signals.exp". This problem only appears when running
810 the testsuite, and then only intermittently.
811
812 Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
813
814 * gdb.base/return.exp (return_tests): Differentiate between
815 two tests of continuing.
816
817 Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
818
819 * */Makefile.in (maintainer-clean): Remove config.log.
820 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
821 * gdb.c++/Makefile.in (PROGS): Add inherit.
822 (clean): Remove *.ci.
823
824 Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
825
826 * gdb.c++/misc.cc: Add test code from Mike Stump.
827 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
828
829 Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
830
831 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
832 to "alpha-*-osf2*" and add comment.
833 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
834 setup_xfail for "step over execarg initialization" and
835 "step over corearg initialization".
836 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
837 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
838 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
839 gcc compiled for "print coremaker_bss", "print coremaker_ro",
840 "print func2::coremaker_local", and "backtrace in corefile.exp".
841 * gdb.base/signals.exp: Build and source signals.ci.
842 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
843 to be for gcc only.
844 * lib/gdb.exp: Move verbose statements outside conditionals.
845
846 Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
847
848 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
849 Feb 3 procfs.c change.
850
851 Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
852
853 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
854
855 Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
856
857 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
858 from dejagnu's apparent default of 10 seconds, which gives random
859 results when running the tests over NFS on moderately loaded systems.
860 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
861
862 Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
863
864 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
865 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
866 result reports.
867
868 Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
869
870 * configure.in (CY_AC_PATH_TCLH): Remove.
871 * configure: Regenerate.
872
873 Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
874
875 * gdb.c++/Makefile.in (clean): Add missing '{'.
876
877 Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
878
879 * lib/gdb.exp: Provide a default value for noinferior.
880
881 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
882 Load libgloss.exp.
883
884 Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
885
886 * gdb.disasm/hppa.exp: Compile directly into an executable, use
887 the executable, not the .o to run the tests from.
888
889 Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
890
891 * gdb.base/break.exp: Don't test for program exit or exit status
892 if $noresults if nonzero.
893 * gdb.base/langs.exp: Likewise.
894 * gdb.base/watchpoint.exp: Likewise.
895
896 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
897 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
898 trying to compile the testcase.
899
900 Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
901
902 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
903 * gdb.base/signals.exp (continue to handler): Likewise.
904
905 Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
906
907 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
908
909 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
910
911 Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
912
913 * gdb.base/corefile.exp: Recognize "not found" as failure
914 when trying to determine if a core file was generated.
915 If no core file was generate the first time, try again without
916 the ulimit -c to work around braindamaged shells.
917
918 Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
919
920 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
921 [] tests with "test" and enclose string in quotes.
922 * gdb.stabs/configure: Rebuild
923
924 Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
925
926 Changes in sync with expect:
927 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
928 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
929 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
930 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
931 argument to AC_REQUIRE.
932 * configure: Regenerated.
933
934 Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
935
936 * gdb.base/corefile.exp: When generating a core, discard any
937 error messages about ulimit not found and the "core dumped"
938 message from the shell that runs the coredumper.
939
940 Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
941
942 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
943
944 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
945 which sed script to run. Expect failure for v_comb test
946 on PA targets too.
947
948 Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
949
950 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
951 "print func2::coremaker_local" and for "backtrace in corefile.exp"
952
953 Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
954
955 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
956 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
957 "sparc-sun-solaris*" xfails for "p v_comb".
958 * lib/gdb.exp (default_gdb_start): Fix typo.
959 * gdb.base/corefile.exp: Allow "Core was generated by ..."
960 messages to not include the full program name that caused
961 the core dump since some systems (such as solaris) apparently
962 truncate this path to about 80 characters.
963 When generating a core file first try increasing the core file
964 size limit to unlimited since some systems may default it to
965 zero, and it is harmless to try it. Move the test for failing
966 to generate a core file to where it will actually get executed.
967 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
968 new gdb result from g++ debug info improvements and make old
969 pattern obsolescent. Also account for size_t differences
970 (may be int or long).
971 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
972 initialization before function call is placed in the delay slot
973 and thus appears to be skipped over by commands such as "next".
974
975 Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
976
977 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
978
979 Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
980
981 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
982 input source file; fix code to compile test to deal with this
983 convention.
984 * gdb.c++/*.exp: Likewise.
985
986 Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
987
988 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
989 "bt in signals.exp".
990
991 Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
992
993 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
994 "step over execarg initialization" and
995 "step over corearg initialization".
996
997 Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
998
999 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1000 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1001
1002 Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1003
1004 From Rob Savoye (rob@poseidon.cygnus.com)
1005 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
1006 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1007 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1008 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1009 configure.in}: Major reworking for autoconfig.
1010 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
1011 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1012 New files.
1013 * config/unix-gdb.exp: Make GDB global.
1014 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1015 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1016 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1017 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1018 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1019 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1020 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1021 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1022 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1023 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1024 pr-8136.exp, result.exp, string.exp, tuples.exp},
1025 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
1026 to returns as necessary, arrange for test to compile own testcase
1027 executable.
1028 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1029
1030 Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1031
1032 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1033 clear_xfail at end of test which might not call either pass or fail.
1034 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1035 "backtrace through signal handler".
1036
1037 Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1038
1039 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1040 continuing from a job control stop signal.
1041 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1042
1043 Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1044
1045 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1046 * gdb.base/corefile.exp: Likewise.
1047 * gdb.base/funcargs.exp: Likewise.
1048
1049 Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1050
1051 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1052 * config/monitor.exp: Add support for setting baud rate.
1053
1054 Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
1055
1056 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1057 i*86-*-linux* xfails for "backtrace through signal handler".
1058 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1059 "print func2::coremaker_local".
1060 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
1061 alpha-dec-osf2* xfail for
1062 "delete all breakpoints when none".
1063
1064 Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1065
1066 * gdb.base/break.exp: Change test that deletes all breakpoints
1067 when no user breakpoints are installed. A post 4.15 change
1068 causes gdb to no longer prompt in this case.
1069
1070 Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1071
1072 * gdb.base/return.exp (return_tests): Change xfail for test
1073 "correct value returned double test" to stop xfailing at
1074 Solaris 2.5. Apparently the bug has been fixed.
1075
1076 Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1077
1078 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1079 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1080
1081 Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1082
1083 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1084 * gdb.disasm/hppa.s: Corresponding changes.
1085
1086 Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1087
1088 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1089 makefile fragment.
1090 * config/mt-hpux: Deleted.
1091
1092 Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1093
1094 * Many files: When warning about suppressed tests due to a
1095 nonexistant test binary, avoid incrementing the warning count.
1096
1097 Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1098
1099 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1100
1101 Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1102
1103 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1104 "sparc-*-solaris2*".
1105
1106 Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1107
1108 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1109 Add global and local variables and initialize them.
1110 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1111 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1112 extracts the file name and terminating signal from the core file.
1113 * TODO: Remove note about tests for correct mapping of corefile.
1114 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1115 from optimizing it away.
1116 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1117 handles common blocks.
1118
1119 Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1120
1121 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1122 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1123
1124 Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1125
1126 * Makefile.in (maintainer-clean): New target, synonym for
1127 realclean.
1128 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1129 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1130 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1131 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1132 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1133 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1134
1135 Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1136
1137 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1138 xfails when not gcc compiled for "print foo::funclocal".
1139 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1140 "print foo::funclocal at foo",
1141 "print 'scope1.c'::foo::funclocal at foo",
1142 "print foo::funclocal_bss at foo",
1143 "print 'scope1.c'::foo::funclocal_bss at foo",
1144 "print foo::funclocal_ro at foo",
1145 "print 'scope1.c'::foo::funclocal_ro at foo",
1146 "print bar::funclocal at foo" and
1147 "print 'scope1.c'::bar::funclocal at foo".
1148 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1149 gcc compiled for "print foo::funclocal at bar".
1150 Expand all messages to ensure that they identify that
1151 the test is at bar().
1152 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1153 gcc compiled for:
1154 "ptype on opaque struct pointer (statically)",
1155 "ptype on opaque struct tagname (statically)",
1156 "ptype on opaque struct pointer (dynamically) 1",
1157 "ptype on opaque struct tagname (dynamically) 1",
1158 "ptype on opaque struct pointer (dynamically) 2" and
1159 "ptype on opaque struct tagname (dynamically) 2
1160 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1161 gcc compiled for:
1162 "p datalocal"
1163 "whatis datalocal",
1164 "ptype datalocal",
1165 "p bsslocal",
1166 "whatis bsslocal", and
1167 "ptype bsslocal".
1168 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1169 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1170 when not gcc compiled.
1171 * gdb.base/funcargs.exp (float_and_integral_args): Add
1172 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1173 compiled.
1174 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1175 "backtrace from call6a" when not gcc compiled.
1176 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1177 "backtrace from call7a" when not gcc compiled.
1178 * gdb.base/callfuncs.exp (do_function_calls):
1179 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1180 "p t_char_array_values(char_array_val2,char_array_val1)",
1181 "p t_char_array_values(char_array_val1,char_array_val2)",
1182 "p t_char_array_values("carray 1","carray 2")",
1183 "p t_char_array_values("carray 1",char_array_val2)",
1184 "p t_char_array_values(char_array_val1,"carray 2")",
1185 "p sum_args(1,{2})",
1186 "p sum_args(2,{2,3})",
1187 "p sum_args(3,{2,3,4})",
1188 "p sum_args(4,{2,3,4,5})"
1189 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1190 "backtrace in corefile.exp" when not gcc compiled.
1191
1192 Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1193
1194 * gdb.base/signals.exp: Rewrite `handle all print' test as
1195 a procedure. Accept blanks or TABs as whitespace, increase
1196 timeout and expect input buffer size for the large output
1197 from the command. Remove "i*86-*-bsdi2.0" xfail.
1198
1199 Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1200
1201 * gdb.base/setvar.exp: Add new testcases for truncation when
1202 assigning invalid values to bitfields.
1203
1204 Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1205
1206 * gdb.base/callfuncs.exp (do_function_calls): Remove
1207 mips-sgi-irix* xfail for
1208 "call inferior func with struct - returns char *"
1209 and fix test so that an optional (unsigned char *) cast is
1210 accepted in the result.
1211
1212 Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1213
1214 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1215 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1216 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1217 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1218 that accidentally got checked in.
1219
1220 Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1221
1222 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1223 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1224 compiled test.
1225 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1226 Add mips-sgi-irix5* xfail for not gcc compiled.
1227 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1228 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1229 "p top", "whatis top", "p middle", and "whatis middle".
1230 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1231 "whatis signed char" for not gcc compiled.
1232 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1233 "set variable signed char=-1 (-1)" and
1234 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1235 * gdb.base/funcargs.exp (float_and_integral_args):
1236 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1237 Add mips-sgi-irix* xfail when not gcc compiled for
1238 "continue to call2b".
1239 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1240 "continue to call2g".
1241 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1242 "backtrace from call6a"
1243 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1244 "backtrace from call7k".
1245 Add mips-sgi-irix5* xfail when not gcc compiled for
1246 "backtrace from call7a".
1247 (localvars_after_alloca): Fix gdb_test cmds for
1248 "print * after runto ...".
1249 Remove rs6000-*-* xfails for
1250 "print i after runto localvars_after_alloca" and
1251 "print l after runto localvars_after_alloca"
1252 for all compilers.
1253 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1254 when not compiled with gcc, for:
1255 "print signed char == (minus)",
1256 "print signed char != (minus)",
1257 "print signed char < (minus)",
1258 "print signed char > (minus)".
1259 * gdb.base/callfuncs.exp (do_function_calls):
1260 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1261 "call inferior func with struct - returns char *".
1262 * gdb.base/return.exp (return_tests): Change xfail for
1263 "correct value returned double test" to include Solaris 2.4.
1264 * gdb.base/funcargs.exp (float_and_integral_args):
1265 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1266
1267 Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1268
1269 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1270 enumeration bitfields if compiling with GNU C.
1271 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1272 to empty' prompt.
1273
1274 Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1275
1276 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1277 test for PRO targets.
1278
1279 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1280 breakpoints in the inferior at any given time by making
1281 two groups of breakpoints for call2*, call6* and call7*
1282 tests.
1283
1284 Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1285
1286 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1287 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1288 from optimizing it away.
1289 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1290 "call inferior func with struct".
1291
1292 Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1293
1294 * configure.in: Only configure gdb.chill for particular targets.
1295
1296 Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1297
1298 * gdb.base/Makefile.in: Add action to .c.o transformation
1299 rule that generates a .ci file for each .o file and remove
1300 explicit .c.o rules except for callfuncs.o.
1301 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1302 generates a .ci file for each .o file and remove explicit
1303 .cc.o rules.
1304 (clean): Remove *.tmp *.ci files.
1305 (EXECUTABLES): Remove templ-info.exp.
1306 * gdb.base/compiler.c: New file.
1307 * gdb.c++/compiler.cc: New file
1308 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1309 Change rs6000-*-* xfail for
1310 "print 'scope0.c'::filelocal_ro" and
1311 "print 'scope1.c'::filelocal" and
1312 "print 'scope1.c'::filelocal_bss" and
1313 "print 'scope1.c'::filelocal_ro" and
1314 "print 'scope1.c'::foo::funclocal" and
1315 "print 'scope1.c'::foo::funclocal_ro" and
1316 "print 'scope1.c'::bar::funclocal" and
1317 "print 'scope0.c'::filelocal_ro" and
1318 "print 'scope1.c'::filelocal at foo" and
1319 "print 'scope1.c'::filelocal_bss at foo" and
1320 "print 'scope1.c'::filelocal_ro at foo" and
1321 "print 'scope1.c'::foo::funclocal at foo" and
1322 "print 'scope1.c'::foo::funclocal_bss at foo" and
1323 "print 'scope1.c'::foo::funclocal_ro at foo" and
1324 "print 'scope1.c'::bar::funclocal at foo" and
1325 "print 'scope0.c'::filelocal_ro" and
1326 "print 'scope1.c'::filelocal" and
1327 "print 'scope1.c'::filelocal_bss" and
1328 "print 'scope1.c'::filelocal_ro" and
1329 "print 'scope1.c'::foo::funclocal" and
1330 "print 'scope1.c'::foo::funclocal_bss" and
1331 "print 'scope1.c'::foo::funclocal_ro" and
1332 "print 'scope1.c'::bar::funclocal" and
1333 "print 'scope1.c'::bar::funclocal_bss"
1334 to only be xfail'd when not compiled with gcc.
1335 Add rs6000-*-* xfail for
1336 "print 'scope0.c'::filelocal_bss before run"
1337 when compiled with gcc.
1338 (test_at_main): Add rs6000-*-* xfail for
1339 "print filelocal_ro in test_at_main"
1340 when compiled with gcc.
1341 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1342 Add rs6000-*-aix* xfail for
1343 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1344 "ptype t_char_array", not compiled with gcc.
1345 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1346 xfail for "list foo (in include file)" when gcc compiled.
1347 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1348 (integral_args): Add rs6000-*-* xfail for
1349 "run to call0a" if not compiled with gcc.
1350 (unsigned_integral_args): Add rs6000-*-* xfail for
1351 "run to call1a" if not compiled with gcc.
1352 (float_and_integral_args): Add rs6000-*-* xfail for
1353 "run to call2a" if not compiled with gcc and for
1354 "continue to call2b" for any compiler.
1355 Add rs6000-*-* xfail to
1356 "print f1 after run to call2a" for gcc compiled.
1357 (discard_and_shuffle): Add rs6000-*-* xfail for
1358 "run to call6a".
1359 (shuffle_round_robin): Add rs6000-*-* xfail for
1360 "backtrace from call7a" if not compiled with gcc.
1361 Add rs6000-*-* xfail for
1362 "backtrace from call7b" if compiled with gcc.
1363 (call_after_alloca): Add rs6000-*-* xfail for
1364 "print c in call_after_alloca" and
1365 "print s in call_after_alloca" and
1366 "backtrace from call_after_alloca_subr"
1367 if not compiled with gcc.
1368 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1369 "print c in localvars_in_indirect_call" and
1370 "print c in localvars_in_indirect_call" and
1371 "backtrace in indirectly called function" and
1372 "stepping into indirectly called function"
1373 if not compiled with gcc.
1374 (localvars_after_alloca): Add rs6000-*-* xfail for
1375 "print c after runto localvars_after_alloca" and
1376 "print s after runto localvars_after_alloca" and
1377 "print i after runto localvars_after_alloca" and
1378 "print l after runto localvars_after_alloca"
1379 for all compilers.
1380 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1381 than whatis-info.exp.
1382 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1383 than opaque-info.exp.
1384 Setup rs6000-*-* xfail for
1385 "ptype on opaque struct pointer (statically)" and
1386 "ptype on opaque struct pointer (dynamically)" when
1387 not compiled with gcc.
1388 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1389 rather than callf-info.exp.
1390 (do_function_calls): Add clear_xfail for rs6000-*-* for
1391 "p t_float_values2(3.14159,float_val2)". Seems to work
1392 fine there, both with xlc and gcc. Need to find out what
1393 it is doing right and fix other platforms.
1394 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1395 "call inferior func with struct - returns int",
1396 "call inferior func with struct - returns long",
1397 "call inferior func with struct - returns float",
1398 "call inferior func with struct - returns double",
1399 "call inferior func with struct - returns char *",
1400 but only if not gcc compiled (presumes xlc compiled).
1401 Change rs6000-*-* xfails for
1402 "call inferior func with struct - returns char" and
1403 " call inferior func with struct - returns short" to only
1404 xfail if not using gcc.
1405 (clean mostlyclean): Remove *.ci and *.tmp files.
1406 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1407 than templ-info.exp.
1408 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1409 Add rs6000-*-* xfail for "up to foo in langs.exp"
1410 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1411 when not gcc compiled.
1412
1413 Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1414
1415 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1416 * gdb.base/corefile.exp: Likewise.
1417 * gdb.base/list.exp: Likewise.
1418 * gdb.base/scope.exp: Likewise.
1419 * gdb.base/siganls.exp: Likewise.
1420
1421 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1422 compiler output.
1423 * gdb.base/whatis.exp: Likewise.
1424
1425 Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1426
1427 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1428 failure (opcode table has been fixed to match reality).
1429
1430 Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
1431
1432 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1433 "call inferior func with struct - returns char",
1434 "call inferior func with struct - returns short"
1435
1436 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1437 "print 'scope0.c'::filelocal at main",
1438 "print 'scope0.c'::filelocal_bss in test_at_main",
1439 "print 'scope0.c'::filelocal at foo",
1440 "print 'scope0.c'::filelocal_bss in test_at_foo",
1441 "print 'scope0.c'::filelocal at bar",
1442 "print 'scope0.c'::filelocal_bss in test_at_bar"
1443
1444 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1445 in source file 1". This bug seems to have been fixed with both
1446 gcc and native cc (was native assembler bug?).
1447
1448 Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1449
1450 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1451 "backtrace through signal handler" to "i*86-*-sysv4*".
1452 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1453 continue" case. Add "known SVR4 bug" to fail message.
1454 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1455 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1456 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1457 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1458 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1459 "up to foo in langs.exp", "show language at foo in
1460 langs.exp", "up to cppsub_ in langs.exp", "show
1461 language at cppsub_ in langs.exp", "up to fsub in
1462 langs.exp", and "show language at fsub in langs.exp".
1463 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1464 "bactrace in corefile.exp".
1465 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1466 "call inferior function with struct - returns float" and
1467 "call inferior function with struct - returns double".
1468
1469 Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1470
1471 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1472 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1473 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1474 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1475
1476 Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1477
1478 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1479 (or overriden) "CHILL" macro rather then bare "gcc".
1480 Also look for ../../gcc/xgcc since that is what we will
1481 actually need, not "Makefile". Remove following assignment
1482 of CHILL to CHILL_FOR_TARGET because that results in
1483 recursive definition.
1484
1485 Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1486
1487 * gdb.base/corefile.exp: Change xfail for backtrace in
1488 corefile.exp from linuxaout to all linux.
1489 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1490 cases where we miss the breakpoint at the signal handler
1491 for some reason. Setup xfail for linuxoldld/linuxaout and
1492 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1493 hitting SIGURG breakpoint.
1494 * gdb.base/signals.exp: Setup xfail for "next" acting like
1495 continue to add linuxoldld. Setup xfail for all linux for
1496 "next to handler in signals_tests_1", "backtrace in
1497 signals_tests_1", "continue to func1", "pass SIGUSR1",
1498 and continue to handler".
1499
1500 Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1501
1502 * Update all FSF addresses except those in COPYING* files.
1503
1504 Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1505
1506 * gdb.base/a2-run.exp: Change messages to be more explicit about
1507 the status of args, and quote binfile in results.
1508
1509 Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1510
1511 * gdb.base/callfuncs.exp: Add tests for passing structs to
1512 inferior functions and return various types.
1513 * gdb.base/callfuncs.c: Add functions to receive a struct
1514 and return a member of the struct, in various types.
1515
1516 Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1517
1518 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1519
1520 Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1521
1522 * config/vxworks29k.exp: New file, sources vxworks.exp.
1523
1524 Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1525
1526 * config/gdbremote.exp: New file. Testing framework using
1527 gdbserver.
1528
1529 Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1530
1531 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1532 "call function when asleep" and "send end of file".
1533 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1534 for "backtrace in corefile.exp".
1535 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1536 for "backtrace through signal handler".
1537 * gdb.base/corefile.exp: Make sure we actually generate a core file
1538 before trying the core tests. Some systems allow the user to suppress
1539 generation of core files and default to that (linux for example).
1540 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1541 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1542
1543 Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1544
1545 * gdb.threads: New directory with some crude multi-threaded
1546 gdb tests (step.exp and step2.exp).
1547 * config/mt-lynx (STEP_EXECUTABLE): Define.
1548 (THREADFLAGS): Define.
1549
1550 Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1551
1552 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1553
1554 * gdb.base/signals.exp: Disable whole file for lynx until
1555 further notice.
1556
1557 * gdb.base/signals.exp: xfail test where "next" acts like
1558 "continue" for lynx.
1559
1560 * gdb.base/interrupt.exp: xfail test for calling function while
1561 inferior is asleep for lynx.
1562
1563 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1564 than one cr-lf after each command.
1565
1566 Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1567
1568 * configure.in: Reinstate setting of stabsdirs variable, fix
1569 typo in setting up configdirs for native builds.
1570
1571 * gdb.base/return.exp: Fix typo in return double test.
1572 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1573 compiler from optimizing them away.
1574
1575 Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1576
1577 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1578 sequences to be echo'd by gdb when using gdb_test.
1579 * gdb.chill/chexp.exp: Likewise.
1580 * gdb.fortran/exprs.exp: Likewise
1581
1582 Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1583
1584 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1585 after the inferior gdb has started.
1586
1587 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1588 after each command.
1589 * gdb.base/funcargs.exp: Likewise.
1590 * gdb.base/gdbvars.exp: Likewise.
1591 * gdb.base/interrupt.exp: Likewise.
1592 * gdb.base/list.exp: Likewise.
1593 * gdb.base/watchpoint.exp: Likewise.
1594 * gdb.c++/demangle.exp: Likewise.
1595 * gdb.c++/inherit.exp: Likewise.
1596 * gdb.chill/chexp.exp: Likewise.
1597 * gdb.fortran/exprs.exp: Likewise.
1598
1599 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1600 test if we can't handle IO to/from the inferior.
1601
1602 * gdb.c++/misc.exp: Always check for a program already being
1603 started after sending a "run" command to gdb.
1604
1605 * gdb.base/twice.exp: Start with a fresh gdb.
1606
1607 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1608 only depend on gdb's expression code, not the chill runtime.
1609
1610 * gdb.base/return.c: Put return values into variables so we
1611 can have gdb print them rather than depending on the program
1612 to print them.
1613 * gdb.base/return.exp: Corresponding changes.
1614
1615 * lib/gdb.exp: Provide default value for noinferiorio.
1616 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1617 the inferior.
1618
1619 * gdb.base/break.exp: Always check for a program already being
1620 started after sending a "run" command to gdb.
1621 (text_next_with_recursion): Don't check the output from the
1622 program's printf statement. Instead just make sure the program
1623 exited.
1624
1625 * gdb.base/commands.exp: Protect tests which need arguments with
1626 $noargs conditionals.
1627
1628 Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1629
1630 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1631 of structure member arrays to match gdb/valops.c:value_addr change.
1632
1633 Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1634
1635 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1636 cases.
1637
1638 Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
1639
1640 * configure.in (configdirs): Remove gdb.chill from default list
1641 of subdirs and then add it back in only if doing a native build.
1642 The current chill compiler does not yet work in any cross build.
1643 * Revert all signal changes from Jul 6.
1644 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1645 for sh-hms targets, allowing these tests to link, with no other
1646 changes. Testing is suppressed by setting "nosignals" in site.exp.
1647
1648 Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1649
1650 * configure.in (signaldirs): Define and add to configdirs for all
1651 targets except some specific ones that are known to not support signals.
1652 Also clean up formatting.
1653 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1654 (signals, sigall): Remove rules to build.
1655 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1656 Moved to new gdb.signals directory.
1657 * gdb.signals: New test directory.
1658 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1659 signals.c signals.exp}: New or moved files.
1660
1661 Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1662
1663 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1664
1665 Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
1666
1667 * gdb.base/return.exp: Xfail `return double' test failure
1668 on at least Solaris 2.3 and handle future/past versions on
1669 a case by case basis as appropriate. Also update message
1670 to include i*86 failures.
1671
1672 Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1673
1674 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1675
1676 * lib/gdb.exp: Fix comment which erroneously identified
1677 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1678 gdb_file_cmd not gdb_load).
1679 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1680
1681 * gdb.base/setvar.exp: Make test names consistent between pass and
1682 fail cases. Use gdb_test more.
1683
1684 Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1685
1686 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1687
1688 Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1689
1690 * gdb.base/help.exp: Fix expected help string for `show commands'.
1691
1692 Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1693
1694 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1695
1696 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1697 of a text section.
1698
1699 Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1700
1701 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
1702 that loop eventually terminates. Fix Connection refused logic so
1703 that testsuite will expire nicely.
1704
1705 Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1706
1707 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1708 config/rom68k.exp: New tcl glue for the appropriate monitors.
1709 These all just end up calling monitor.exp.
1710 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1711 refused' by retrying. Cleanup some timeout issues.
1712 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1713 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1714 callers don't have to set/restore global timeout variable.
1715
1716 * The following set of changes centralizes management of the global
1717 timeout variable. This way, it can be set in one target dependent
1718 place instead of dozens of places scattered throughout the test suite.
1719 If you need to lengthen a timeout, then you should either set timeout
1720 in one of the config/{target}.exp files, or multiply it by a factor.
1721 Setting it to an absolute value is always going to lose for some
1722 targets.
1723 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1724 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1725 * gdb.base/funcargs.exp: Don't set timeout.
1726 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1727 * gdb.base/printcmds.exp (test_print_string_constants
1728 test_print_array_constants): Don't set timeout.
1729 * gdb.base/ptype.exp: Don't set timeout.
1730 * gdb.base/recurse.exp: Don't set timeout.
1731 * gdb.base/return.exp: Don't set timeout.
1732 * gdb.base/watchpoint.exp: Don't set timeout.
1733 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1734 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1735
1736 Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1737
1738 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1739
1740 Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1741
1742 * lib/gdb.exp: Disable chill tests for irix5.
1743
1744 Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1745
1746 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1747 each test pass or fail.
1748
1749 Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1750
1751 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1752 xlc not gcc.
1753
1754 Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1755
1756 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1757
1758 Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1759
1760 * config/est.exp: Fix copyright and comments. Remove dead code.
1761 Use targetname, serialport and baud variables instead of fixed
1762 constants.
1763 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1764 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1765
1766 Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1767
1768 * gdb.base/watchpoint.exp: Don't run
1769 test_watchpoint_triggered_in_syscall for sunos.
1770
1771 Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1772
1773 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1774 they don't seem to exist. Do include stdio.h.
1775
1776 Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1777
1778 * gdb.base/a1-selftest.exp: Add alpha xfail.
1779
1780 Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1781
1782 * gdb.base/watchpoint.c (main): Prompt before calling read().
1783 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1784 Revise accordingly. Remove cruft about sending "123" several
1785 times, until it gets noticed. Clean up the "print buf[0]" stuff
1786 so that it passes or fails, and waits for prompts in the usual way.
1787
1788 Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1789
1790 * gdb.base/recurse.exp: Fix comment.
1791
1792 * TODO: Remove item about printing variables in nodebug.exp. Add
1793 item about enabling tests which are only run on some targets.
1794
1795 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1796 fail, make test names unique, use new gdb_test convention
1797 regarding pattern, use gdb_test more, etc.).
1798
1799 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1800 fail, make test names unique, etc.).
1801
1802 Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1803
1804 * gdb.base/nodebug.c: Change return type of top and middle to
1805 short.
1806 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1807 are fixed by the recent mdebugread.c changes. Allow `short ()'
1808 as type for top and middle.
1809
1810 Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1811
1812 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1813 nearly as I can tell, the whole thing was an accident in Stu's
1814 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1815 to replace a send/expect pair with gdb_test, but ended up only
1816 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1817 of 30 Mar 1995 took care of it, but left this vestigial comment
1818 which I am now nuking.
1819
1820 Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1821
1822 * gdb.base/break.exp: Look for different line number for
1823 breakpoint at main depending on usestubs.
1824
1825 Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1826
1827 * gdb.base/list.exp: Adjust some alternate expect patterns to
1828 match recent list0.c change. Add alternate expect pattern for
1829 output from `list default lines around main' for optimizing
1830 compilers.
1831
1832 Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1833
1834 * lib/gdb.exp: If nosignals is not set, set it to 0.
1835
1836 Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
1837
1838 * config/slite-gdb.exp: Responds to load symbol table prompt.
1839 * gdb.base/break.exp: Adjust line number, fix rerun.
1840 * gdb.base/langs0.c: Add #ifdef usestubs.
1841
1842 Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
1843
1844 * gdb.base/list.exp: Adjust line contents after adding new lines in
1845 list0.c. Also fix a syntax error.
1846
1847 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1848 * gdb.base/break.exp: ditto.
1849 * gdb.base/list.exp: ditto.
1850 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1851 * gdb.base/run.c: ditto.
1852 * gdb.base/list0.c: ditto.
1853 * gdb.base/funcargs.c: ditto.
1854
1855 Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1856
1857 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1858 $targetname, $serialport and $baud instead of hardwired variables.
1859 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1860 target doesn't support signals.
1861
1862 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
1863
1864 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
1865
1866 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1867
1868 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
1869 Don't rely on the value of an auto variable before it has been
1870 initialized. Use gdb_test more.
1871
1872 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1873
1874 * lib/gdb.exp (default_gdb_version): A version number must start
1875 with a digit, but other than that contains all characters up to
1876 the first whitespace character.
1877
1878 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1879
1880 * gdb.base/commands.exp (breakpoint_command_test): New tests.
1881
1882 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1883
1884 * gdb.c++/*.exp: Warn if executable does not exist. The original
1885 reason for skipping the warning was that configure.in sometimes
1886 intentionally skipped building the executables but the tcl code
1887 had no way of knowing. That (a) was always bogus with respect to
1888 error handling, (b) is no longer true (right now there is no way
1889 to skip C++ tests).
1890
1891 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1892
1893 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1894
1895 * gdb.base/list.exp: Add expect patterns for output from
1896 SunPRO compiled executables.
1897 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
1898 types.
1899
1900 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1901
1902 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1903 number (we are already testing that the correct source line text
1904 gets printed).
1905
1906 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1907 that is what is intended, but something needed to be done to get
1908 sunos4 native working again.
1909
1910 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1911
1912 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
1913 apparently went with a (very) old xfail.
1914
1915 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
1916
1917 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
1918 runto_main is a proc in gdb.exp that will do 'step' for target use
1919 stubs.
1920 * gdb.base/exprs.exp: ditto.
1921 * gdb.base/interrupt.exp: ditto.
1922 * gdb.base/opaque.exp: ditto.
1923 * gdb.base/printcmds.exp: ditto.
1924 * gdb.base/ptype.exp: ditto.
1925 * gdb.base/scope.exp: ditto.
1926 * gdb.base/setvar.exp: ditto.
1927 * gdb.base/signals.exp: ditto.
1928 * gdb.base/twice.exp: ditto.
1929 * gdb.c++/classes.exp: ditto.
1930 * gdb.c++/inherit.exp: ditto.
1931 * gdb.c++/templates.exp: ditto.
1932 * gdb.base/break.exp: no run and hit main for stubs. Change line
1933 numbers for breakpoints and info breakpoint.
1934 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1935 breakpoint().
1936 * gdb.base/callfuncs.c: ditto.
1937 * gdb.base/exprs: ditto.
1938 * gdb.base/interrupt.c: ditto.
1939 * gdb.base/opaque0.c: ditto.
1940 * gdb.base/printcmds.c: ditto.
1941 * gdb.base/ptype.c: ditto.
1942 * gdb.base/scope0.c: ditto.
1943 * gdb.base/setvar.c: ditto.
1944 * gdb.base/signals.c: ditto.
1945 * gdb.base/twice.c: ditto.
1946 * gdb.c++/misc.cc: ditto.
1947 * gdb.c++/templates.cc: ditto.
1948
1949 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1950
1951 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1952
1953 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1954 somewhere between `read' and `main.c'. I'm pretty sure the
1955 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1956 and it isn't particularly useful.
1957
1958 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1959
1960 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1961
1962 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1963
1964 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1965
1966 * config/mt-slite: add LIBS and -nostdlib.
1967 * config/slite-gdb.exp: add this new file to support sparclite target.
1968
1969 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1970
1971 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
1972
1973 * gdb.base/a2-run.exp: Change argument to istarget from
1974 "*-*-vxworks" to "*-*-vxworks*".
1975 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1976
1977 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1978
1979 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1980 will not runto main but do a 'step' to step out of breakpoint().
1981 * config/mt-slite: add -Dusestubs.
1982
1983 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1984
1985 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
1986 instead of just @.
1987
1988 * gdb.base/signals.exp: Add test for "handle all print".
1989 * TODO: Remove "handle all print". Also remove item about
1990 checking copyright date (I don't like the idea of a spurious FAIL
1991 based on when we run the tests).
1992
1993 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
1994 for SunOS4 (reason for failure not investigated). Remove
1995 redundant test for $binfile.
1996
1997 * gdb.base/nodebug.c (array_index): Call malloc.
1998
1999 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2000
2001 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2002
2003 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2004 conventions and slightly simplify the matching regexp.
2005
2006 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2007
2008 * gdb.base/break.exp: Update gdb_test invocation to use new
2009 convention.
2010
2011 * lib/gdb.exp: If noargs is not set, set it to 0.
2012
2013 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
2014 tests unique.
2015
2016 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
2017
2018 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2019
2020 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2021 one argument of type "<non-float parameter>".
2022
2023 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2024
2025 * config/rom68k.exp: New file to support Motorola IDP board.
2026 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2027 * gdb.base/break.c: Change things around so that this program
2028 doesn't depend upon args. This is necessary to make remote
2029 targets work (in general, they can't take args).
2030 * gdb.base/break.exp: Don't try to send args to program. Don't
2031 expect output. Also, replace lots of code with gdb_test.
2032
2033 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2034
2035 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2036 printing of '\'' (which is what the comment says we are testing,
2037 even though we were not), not '''.
2038 (test_integer_literals_rejected): Test that printing ''' is an error.
2039
2040 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2041 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2042 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2043 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2044 Use gdb_test not test_print_accept.
2045 * lib/gdb.exp: Remove test_print_accept.
2046
2047 * gdb.base/signals.exp (signal_tests_1): Make pass message
2048 consistent with fail message.
2049
2050 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2051 unsigned char; the bug (PR 1821) is fixed.
2052
2053 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2054
2055 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2056 successful tests--makes xfailing them work right.
2057
2058 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2059
2060 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2061 only \r\n, not .*. The test can pass .* as the last thing in
2062 $pattern if that is what it wants. In addition to providing this
2063 flexibility, this change should speed up pattern matching in cases
2064 where the pattern already ended with .* (there were a number of
2065 them). This change also helps catch bad patterns--in the old
2066 scheme the typo "char \*" instead of "char \\*" would pass. Now
2067 it is caught.
2068 * Many .exp files: Update callers.
2069
2070 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2071 clearer and does not spuriously match multiple ('s. Likewise for
2072 ) and *.
2073
2074 * gdb.base/nodebug.exp: Test ability to call a function and pass
2075 it a string (even with no debugging info).
2076
2077 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2078 "p '\'", which is the same as "p ''" once tcl gets done with
2079 quoting, to "p '\\'", which I suspect is what is intended (one
2080 backslash gets sent to GDB).
2081
2082 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2083
2084 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2085
2086 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2087 1817) was fixed literally years ago.
2088
2089 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2090
2091 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2092 test, it causes stepping out of call_after_alloca_subr with
2093 optimizing compilers.
2094 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2095 fails.
2096
2097 * gdb.c++/templates.exp: Source templ-info.exp only if
2098 the templates executable exists.
2099
2100 * gdb.c++/misc.cc (class Contains_static_instance,
2101 class Contains_nested_static_instance),
2102 gdb.c++/classes.exp (test_static_members): Test printing of
2103 a class that contains a static instance of the class.
2104
2105 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2106
2107 * gdb.base/langs2.c (cppsub_): Don't prototype.
2108 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2109 only, I believe).
2110
2111 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2112
2113 * lib/gdb.exp (skip_chill_tests): New procedure.
2114
2115 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2116
2117 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2118
2119 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2120 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2121
2122 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2123
2124 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2125
2126 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2127 disassemble 8, not 16, instructions for part 4.
2128
2129 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2130 support the latter anymore.
2131
2132 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2133 -DNO_PROTOTYPES.
2134 * gdb.base/callfuncs.c: Control use of prototypes based on
2135 NO_PROTOTYPES, not __STDC__.
2136 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2137 t_float_values2 tests if prototypes in use.
2138
2139 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2140 t_double_values): When checking differences against DELTA, check
2141 that difference is within the range (-DELTA,DELTA), not just
2142 (-infinity,DELTA).
2143
2144 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2145
2146 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2147 'file' command firts, then 'target', then 'load', this is due to gdb
2148 target set up.
2149 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2150
2151 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2152
2153 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2154 FP load/store variants.
2155 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2156
2157 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2158
2159 * gdb.base/term.exp: Do not give a warning if not native, it is
2160 not an abnormal condition.
2161
2162 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2163
2164 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2165 t_char_array".
2166
2167 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2168
2169 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2170 are getting the version number.
2171
2172 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2173 if not native, it is not an abnormal condition.
2174
2175 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2176
2177 * lib/gdb.exp: Just use "file exists", rather than undocumented
2178 dejagnu procedure "findfile".
2179
2180 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2181
2182 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2183 (LDFLAGS): Set to -Xlinker -Ur.
2184
2185 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2186 Removed, these values are set by lib/gdb.exp.
2187
2188 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2189
2190 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2191
2192 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2193 of replicating gdb startup code.
2194
2195 * config/mt-vxworks (LDFLAGS): Set to -r.
2196 (CFLAGS_FOR_TARGET): Removed.
2197
2198 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2199 (gdb) and gdb for vxworks uses (vxgdb).
2200
2201 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2202 executable is not in the tree and host != target, use sed and
2203 program_transform_name to determine the gdb name used by the
2204 target.
2205
2206 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2207 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2208
2209 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2210
2211 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2212 floats, chars, and shorts where there are ANSI-style function
2213 definitions.
2214
2215 * gdb.base/langs.exp, gdb.base/langs*: New test.
2216 * gdb.base/Makefile.in: Build it.
2217 * TODO: Remove item about checking that C names don't get C++
2218 demangling applied; this test tests it.
2219
2220 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2221
2222 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2223 went with the const70 xfail. The xfail went away a year ago.
2224
2225 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2226
2227 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2228 for hp300.
2229
2230 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2231
2232 * gdb.base/a1-selftest.exp: Don't run on hp300.
2233
2234 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2235
2236 * Makefile.in (site.exp): Set host_alias and target_alias as well
2237 as host_triplet and target_triplet.
2238
2239 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2240
2241 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2242
2243 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2244 places as other ecoff systems).
2245
2246 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2247 ultrix.
2248
2249 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2250
2251 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2252 remove them.
2253 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2254 variable and "variable" in addition to "data variable".
2255 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2256
2257 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2258 2.
2259 * gdb.base/list1.c (long_line): Add additional statement at start
2260 of function.
2261 * gdb.base/list.exp (test_forward_search): Update line number to
2262 reflect new statement.
2263
2264 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2265
2266 * gdb.base/signals.exp: Reinitialize searched source directories
2267 after gdb_start call.
2268
2269 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2270
2271 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2272 * gdb.stabs/Makefile.in: Likewise.
2273
2274 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2275 change. Instead split the tests into smaller pieces.
2276 * gdb.disasm/hppa.s: Corresponding changes.
2277
2278 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2279
2280 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2281 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2282
2283 * gdb.base/funcargs.exp: Modify many tests so that every test
2284 either passes or fails. Make some test names unique.
2285
2286 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2287
2288 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2289 Call stty to set interrupt character.
2290
2291 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2292 for HP assembler versus GNU assembler based on actual behavior of
2293 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2294
2295 * TODO: Suggest a few more stepping tests.
2296
2297 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2298
2299 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2300 restart GDB for h8300 after a continue.
2301 (return): Add pattern to match a29k-udi behavior.
2302 * gdb.base/nodebug.exp: Remove obsolete comment.
2303 * gdb.base/regs.exp: New file, testing of register displays.
2304 * gdb.base/return.exp: Fix typo in reference to $objdir.
2305 * gdb.base/whatis.exp: Always start with a fresh GDB.
2306
2307 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2308
2309 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2310 higher, these tests generate a lot of output.
2311
2312 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2313
2314 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2315 code following the catch silently ignored some errors; without the
2316 catch they should be thrown like any other tcl error. Also, the
2317 catch used "" instead of {} which meant all the callers who wanted
2318 to include one of the characters "[]$ had to quote it an extra time.
2319 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2320 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2321 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2322 Remove extra quoting.
2323
2324 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2325
2326 * gdb.base/commands.exp: Make test names unique; every test either
2327 passes or fails. Update some comments.
2328
2329 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2330
2331 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2332
2333 The following fixes a FAIL caused by the fact that the alpha stabs
2334 configuration didn't use the ".if alpha" code in weird.def.
2335 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2336 bit pointer, so the 32 bit version works even on the alpha.
2337 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2338 Remove the stuff which allowed us to have separate versions for
2339 alpha and everything else.
2340
2341 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2342 regexp which "info func operator\[\](" is supposed to match. Fix
2343 string to send to GDB. Note that GDB still doesn't work right. Add a
2344 new test for "info func .perator\[\](" which GDB does handle correctly.
2345
2346 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2347
2348 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2349
2350 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2351 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2352 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2353 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2354 it makes the tests harder to understand and confuses test-o-matic.
2355 The preferred style is that each test provides a PASS or a FAIL,
2356 and has a unique message (e.g. "continue #54" not just "continue")
2357 which is the same for the pass and the fail.
2358 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2359 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2360 to lib/gdb.exp.
2361 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2362 prt_accept which was basically the same thing. Likewise for
2363 test_print_reject and prt_reject.
2364 * lib/gdb.exp (test_print_reject): Add some more error message
2365 patterns to match from the former printcmds.exp (prt_reject).
2366 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2367 One defect of the passcount stuff is that some of it failed to
2368 report XPASS where appropriate.
2369 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2370 stuff before and after arg in expected pattern.
2371 (test_paddr_operator_functions): Re-do test without print_addr_of;
2372 this is the only test which seems to want extra stuff there.
2373
2374 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2375
2376 * gdb.base/nodebug.exp: Update new tests to reflect improved
2377 wording of gdb output.
2378
2379 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2380 and "ptype" work on variables in files compiled without -g.
2381 Replaces commented out "maint print msymbol" tests.
2382
2383 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2384
2385 * gdb.base/setvar.c (dummy): Call malloc.
2386
2387 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2388 losing with the irix4 sed.
2389
2390 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2391 ALRM" on irix4.
2392
2393 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2394
2395 * TODO: Remove items about corefile.exp testing new exec-file and
2396 backtrace; both are now done. Add items about printing enums.
2397
2398 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2399
2400 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2401 "get signal $thissig" test fails.
2402
2403 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2404
2405 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2406
2407 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2408 compiler warning with dec alpha compiler.
2409
2410 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2411 extra \n from gdb_test call (this explains why the prompt test
2412 that I removed yesterday was there).
2413 (user_defined_command_test): Remove extra \n and prompt test.
2414
2415 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2416 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2417 doesn't exist.
2418 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2419 Also remove alpha workaround, which turns out to be because
2420 SIGABRT == SIGLOST.
2421
2422 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2423
2424 * gdb.base/help.exp: Don't test "help show".
2425
2426 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2427
2428 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2429 "set print address" is on.
2430 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2431 pass prompt to gdb_test; gdb_test already looks for the prompt.
2432
2433 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2434
2435 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2436 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2437 was to make sure that gdb can read a core file. But (a) the "read
2438 the corefile" part didn't make it to a1-selftest.exp, we just
2439 delete the corefile after creating it, and (b) we test reading
2440 corefiles in corefile.exp anyway. Also, this test left around a
2441 xgdb process on Solaris.
2442
2443 * gdb.base/corefile.exp: Also test backtrace.
2444
2445 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2446
2447 * gdb.base/commands.exp: Test a simple user defined command with
2448 arguments and if/while statements; verify the full user command is
2449 printed by "show user".
2450
2451 * gdb.base/commands.exp: Test if/while commands as part of a
2452 breakpoint command list; verify they appear in breakpoint
2453 information.
2454
2455 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2456
2457 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2458 than by dividing by zero.
2459
2460 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2461
2462 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2463 performing an inferior call with watchpoints enabled.
2464 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2465 call.
2466
2467 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2468
2469 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2470 of "file" command.
2471
2472 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2473 Add additional pattern for when "int operator int(void);" appears
2474 in a different order.
2475
2476 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2477
2478 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2479
2480 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2481 and "signal" with ".*".
2482
2483 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2484
2485 * TODO: Add note about "handle all nostop".
2486
2487 * gdb.base/{sigall.c, sigall.exp}: New test.
2488 * gdb.base/Makefile.in: Add it.
2489
2490 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2491
2492 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2493 when invoking GDB, suppresses any windowing interface.
2494
2495 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2496
2497 * config/sim-gdb: New file, simulator testing support.
2498
2499 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2500
2501 * gdb.base/interrupt.exp: Test calling func1 twice.
2502
2503 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2504
2505 * gdb.base/list.exp (test_forward_search): Set timeout higher
2506 when we'll be getting lots of output from gdb.
2507
2508 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2509 "init_malloc" to after the expect statement. Run it if that
2510 regexp is taken, but also for two others which happen if source
2511 cannot be found.
2512
2513 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2514
2515 * gdb.base/printcmds.exp: New test, for printing register before
2516 program is running.
2517
2518 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2519
2520 * gdb.base/list.exp: Correct some alternate expect patterns
2521 to reflect changes in list1.c.
2522
2523 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2524
2525 * TODO: Add item regarding large frames.
2526
2527 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2528
2529 * TODO: Remove item about enabling return.exp; it
2530 is enabled. Suggest a few more "return" tests.
2531
2532 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2533
2534 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2535 anonymous unions.
2536
2537 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2538
2539 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
2540 and pr-5646.o, so "make" is the same as "make all", not "make
2541 pr-4975.o".
2542
2543 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2544
2545 * gdb.base/list.exp: Adjust expectations to reflect changes in
2546 list1.c.
2547 (test_forward_search): New test proc.
2548 * gdb.base/list1.c (long_line): New function, has long source line.
2549
2550 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2551
2552 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2553 additional line of code that was added.
2554
2555 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2556
2557 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2558 tests so as not to overflow expect's input buffers.
2559 * gdb.disasm/hppa.exp: Corresponding changes.
2560
2561 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2562
2563 Beginnings of template debugging tests.
2564 * gdb.c++/templ-info.cc: New file to test for template
2565 debugging capability of the compiler.
2566 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2567 templ-info.cc.
2568 * gdb.c++/templates.cc: Add explicit template instantiations
2569 to enable compiling with -fno-implicit-templates. Add destructor
2570 and 'value' method to T5 class for template tests.
2571 * gdb.c++/templates.exp: Add testcases for printing of template
2572 types, setting breakpoints on template methods and calling a
2573 template method.
2574
2575 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2576
2577 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2578 branch target since some assemblers (gas-2.5) may emit a
2579 relocation for the branch instead of resolving it in the
2580 assembler.
2581
2582 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2583
2584 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2585 through signal handler.
2586
2587 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2588
2589 * configure.in (*-*-netware): Use config/mt-netware.
2590
2591 * config/mt-netware: New file.
2592 * config/mt-i386-netware: Removed, separate configs for different
2593 netware architectures are no longer needed now that we have
2594 --with-headers.
2595
2596 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2597
2598 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2599 by the recent changes to use ANSI C arithmetic conversions.
2600
2601 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2602
2603 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2604 bug involving using inferior_pid to figure out whether to select a
2605 frame.
2606
2607 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2608
2609 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2610 match the current disassembler output.
2611
2612 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2613
2614 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2615 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2616 types, expect "int" as type of integer values (for now).
2617
2618 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2619
2620 * gdb.base/commands.exp: New tests for if/while commands.
2621
2622 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2623
2624 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2625 by .*, since hex values have different syntax in Chill mode.
2626
2627 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2628
2629 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2630 linefeed from expect pattern for repeated types with indices > 9.
2631
2632 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2633
2634 First part of Fortran test suite.
2635 * gdb.fortran: New directory.
2636 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2637
2638 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2639
2640 * gdb.base/default.exp: Update expect pattern for load command
2641 without arguments.
2642
2643 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2644
2645 * configure.in: Change i386 to i[345]86.
2646 * gdb.base/configure.in: Likewise.
2647 * gdb.c++/configure.in: Likewise.
2648 * gdb.chill/configure.in: Likewise.
2649
2650 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2651
2652 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2653 patterns, since that is not a valid context for comments.
2654
2655 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2656
2657 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2658 repeated types and repeated types with indices > 9.
2659
2660 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2661
2662 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2663 2417; old bug has been fixed.
2664
2665 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2666
2667 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2668 send the newline ourselves instead of assuming gdb_test will do
2669 so when passed an empty input string.
2670
2671 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2672 stabs testcode.
2673
2674 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2675
2676 * lib/gdb.exp (gdb_test): Don't send anything if the first
2677 argument is an empty string. This makes cases where we want to
2678 match output that is already in expect's buffers (for example,
2679 matching a breakpoint after gdb_run_cmd has been called) work
2680 reliably.
2681
2682 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2683
2684 * config/netware.exp: New file.
2685
2686 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2687
2688 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2689 the -B and -L prefixes so we can find the debugging stub.
2690
2691 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2692 there and we are using the gcc from the tree.
2693
2694 * gdb.base/types.c: Removed.
2695
2696 * gdb.base/configure.in: Look for makefile fragments in ../config.
2697 Recognize i386-*-netware.
2698 * gdb.c++/configure.in: Likewise.
2699
2700 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2701
2702 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2703 the correct TCL syntax.
2704
2705 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2706
2707 * gdb.base/opaque.exp: use runto instead of messing around with
2708 breakpoints. Simplify by using gdb_test.
2709
2710 * gdb.base/bitfields.exp: restart between tests on netware targets
2711 because breakpoints aren't relocated after target death. Run
2712 processes to completion.
2713
2714 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2715
2716 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2717
2718 * Makefile.in: Remove extra tabs that confuse some versions
2719 of "make". Use the newly built gdb to test with by default,
2720 rather than the first one in the tester's search path.
2721
2722 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2723
2724 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2725
2726 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2727 condition help.
2728
2729 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2730
2731 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2732
2733 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2734 running.
2735 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
2736 * gdb.base/funcargs.exp: Likewise.
2737
2738 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2739 * gdb.base/funcargs.exp: Likewise.
2740
2741 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2742 message is "".
2743
2744 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2745
2746 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2747 return,signals,twice}.exp: Handle non-existant binaries
2748 consistantly.
2749
2750 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2751 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2752 might testing a cross development system.
2753
2754 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2755
2756 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2757 runtest script is relative to ${srcdir}, not ${rootdir}.
2758
2759 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2760
2761 * gdb.base/signals.exp: Allow for optionality of breakpoint
2762 address.
2763
2764 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2765
2766 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2767
2768 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2769
2770 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2771 for size_t definition.
2772 * gdb.c++/templates.cc: Likewise
2773
2774 * config/mt-i386-netware: New file.
2775
2776 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2777 defined.
2778
2779 * gdb.base/Makefile.in: Added support for systems that name core
2780 files by appending "core" to the program name.
2781 * gdb.base/a1-selftest.exp: Likewise.
2782
2783 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2784
2785 * gdb.base/return.exp: Add comment and message for `return double'
2786 test failure on Sparc Solaris.
2787
2788 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
2789
2790 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2791
2792 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2793
2794 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2795 from optimizing them away.
2796 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2797 patterns to include default constructors and assignment operators,
2798 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2799 character in the output of the virtual base pointer.
2800
2801 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2802
2803 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2804 expression match in print_addr_of to avoid unintented matches.
2805 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2806 versions up to 2.5.8.
2807
2808 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2809
2810 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2811 included file to run under newer versions of expect.
2812 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2813 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2814 Remove xfail for the virtual table of BDDHookV.
2815
2816 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2817
2818 * lib/gdb.exp (string_to_regexp): Set a default result.
2819 (default_gdb_start): Fix misleading message.
2820
2821 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2822
2823 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2824 Remove all CC, etc definitions.
2825 * config/mt-hpux: New file.
2826 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2827 (CFLAGS, LDFLAGS): Define.
2828 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2829
2830 * Makefile.in (site.exp): Don't insert host_os, etc.
2831 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2832 (distclean): Check existence of subdir.
2833 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2834 * gdb.base/Makefile.in: General cleanup and simplification.
2835 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2836 to build executables. Use default rule to build .o files.
2837 (EXPECT, RUNTEST, CC): Fix relative pathname.
2838 (site.exp): Don't insert host_os, etc.
2839 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2840 and/or SIGUSR1 defined.
2841 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2842 * gdb.c++/Makefile.in: General cleanup and simplification.
2843 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2844 (CFLAGS): Remove.
2845 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2846
2847 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
2848
2849 * gdb.base/recurse.exp: Misc changes to get tests running again
2850 after Kung's changes to the watchpoint code.
2851 * gdb.base/watchpoint.exp: Likewise.
2852
2853 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
2854
2855 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2856
2857 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
2858
2859 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2860 * lib/gdb.exp (default_gdb_start): Define.
2861 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
2862 gdb.base/funcargs.exp, gdb.base/opaque.exp,
2863 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
2864 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
2865 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
2866 Don't call gdb_target_udi in between tests.
2867
2868 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2869
2870 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
2871 (which was basically just a local version of the same thing). In
2872 addition to avoiding duplication, gdb_test_exact is faster.
2873 * lib/gdb.exp (gdb_test_exact): Fix typo.
2874
2875 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
2876 don't give an error.
2877
2878 * gdb.base/term.exp: Call delete_breakpoints before starting.
2879
2880 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
2881 (t10): Add comment.
2882
2883 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2884
2885 Reorganization of the GDB Test Suite.
2886
2887 * gdb.base: New directory, contains all the basic tests.
2888 * gdb.c++: New directory, tests specific to C++.
2889 * gdb.chill: New directory, tests specific to Chill.
2890 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
2891 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
2892 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
2893 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
2894 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
2895 t30-31 to chill).
2896 * */gdbme.*: Rename to match appropriate expect scripts.
2897 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
2898 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
2899 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
2900 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
2901 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2902 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2903 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2904 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2905 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2906 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2907 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2908 gdb.c++/virtfunc.cc: New names of C++ files.
2909 * gdb.chill/chillvars.ch: New name of Chill file.
2910 * gdb.base/configure.in, gdb.c++/configure.in,
2911 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
2912 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2913 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
2914 * configure.in (configdirs): Update to reflect directory changes.
2915 (target_abbrev): No longer define for any configuration.
2916 * Makefile.in: Cosmetic improvements to header comments.
2917
2918 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
2919
2920 Various changes to gdb.t31:
2921
2922 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2923 * gdbme.ch: Make all key-words and predefineds be upper-case.
2924 * chillvars.exp: Expect key-words and predefinds in upper-case.
2925
2926 * chillvars.exp: Use gdb_test_exact many places.
2927 Change expected output for arrays (which now includes index labels).
2928
2929 * pr-5020.exp, gdme.ch (module PR_5020):
2930 New test, for PR-5020.
2931
2932 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
2933
2934 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2935 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2936
2937 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
2938
2939 * Makefile.in: Fix bit-rot in definitions of CHILL,
2940 CHILL_FOR_TARGET and Chill_LIB.
2941 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2942 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2943 CHILL, and CHILL_LIB.
2944
2945 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
2946
2947 * Revert the previous changes. Please see Rob's directory
2948 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2949
2950 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2951
2952 * Makefile.in, configure.in, config/mips-gdb.exp,
2953 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2954 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2955 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2956 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2957 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2958 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2959 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2960 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2961 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2962 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2963 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2964 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2965 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2966 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2967 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2968 changes from 94Q1.
2969
2970 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
2971
2972 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2973 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2974 Rob's new testing fragments.
2975
2976 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2977
2978 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2979 lib/gdb.exp: Replace error proc calls with perror.
2980
2981 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2982
2983 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2984 version also, match on casted version strings, and match on
2985 gdb startup case where the line numbers might be messed up.
2986
2987 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
2988
2989 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
2990 (CFLAGS): Delete it from here.
2991
2992 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
2993
2994 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
2995
2996 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
2997
2998 * Makefile.in (RUNTEST): Default to just "runtest".
2999
3000 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3001
3002 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3003 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3004 the code has been restructured.
3005
3006 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3007
3008 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3009 \n, not just one of each.
3010
3011 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3012 /bin/cc gives a warning if you do.
3013
3014 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3015
3016 * gdb.t24/demangle.exp: change expect pattern of
3017 __t10ListS_link1ZUiRCUiPT0
3018
3019 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3020
3021 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3022 on local variables in recursive functions.
3023
3024 * gdb.t07/Makefile.in: Build the new test.
3025
3026 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3027
3028 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
3029 directly. Instead compare the return values from actual calls.
3030
3031 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3032
3033 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3034
3035 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3036
3037 * From Peter Schauer with minor modifications.
3038 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3039 stops in mid-line in the caller. Add xfail for returning a float
3040 value on X86 targets.
3041
3042 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3043
3044 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3045 to avoid expect lossage.
3046 (fmem_LRbug_tests): Likewise.
3047 * gdb.disasm/hppa.s: Corresponding changes.
3048
3049 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3050 conditions to work with latest dejagnu/expect.
3051
3052 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3053 expected to fail on the PA.
3054 (backtrace in call with trampolines): Explicitly require main
3055 to be frame #1 (no trampolines should show up in backtrace).
3056
3057 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3058 "continue -expect".
3059 * gdb.t06/break.exp: Likewise.
3060 * gdb.t07/watchpoint.exp: Likewise.
3061 * gdb.t13/bitfields.exp: Likewise.
3062 * gdb.t15/{funcargs,return}.exp: Likewise.
3063 * gdb.stabs/weird.exp: Likewise.
3064 * config/{mips,udi}-gdb.exp: Likewise.
3065
3066 * hppa.sed: Enclose comments within a sed command to avoid
3067 losing with the old OSF1 sed.
3068
3069 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3070
3071 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3072 sequent dynix.
3073 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3074 * gdb.t15/funcargs.exp: Conditionally step again to really
3075 finish from marker_call_with_trampolines. Handle the case where
3076 the first step from within call_with_trampolines already steps
3077 us back to main.
3078 * gdb.t15/gdbme.c: Add comment to closing brace of
3079 call_with_trampolines for funcargs.exp.
3080
3081 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3082
3083 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3084 Fix typo(s).
3085
3086 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3087
3088 * gdb.t07/gdbme.c: More code for watchpoint testing.
3089
3090 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3091 "Hardware watchpoint" throughout file.
3092 (test_watchpoint_triggered_in_syscall): New test.
3093 (test_complex_watchpoint): New test.
3094
3095 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3096
3097 * gdbme.c (call_with_trampolines): New function to try and step
3098 into. Tests trampoline problems on the PA.
3099
3100 * funcargs.exp (localvars_in_indirect_call): No longer expect
3101 stepping into indirect call to fail on PAs.
3102 (test_stepping_over_trampolines): New test.
3103
3104 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3105
3106 * TODO: Add suggestions for static member function tests, and
3107 completion tests.
3108
3109 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3110
3111 * TODO: Add suggestions for "p/a" tests.
3112
3113 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3114 (default_gdb_exit): Replace all the hair with sending "quit" to
3115 the process with a simple close.
3116
3117 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3118
3119 * TODO: Add suggestions for shared library tests.
3120
3121 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3122
3123 * TODO: Add suggestions for x/s tests.
3124
3125 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3126
3127 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3128 "enable once", and "enable breakpoints once" with ".*".
3129
3130 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3131
3132 * TODO: Add suggestions about structure passing tests.
3133
3134 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3135
3136 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3137 the primary1 test, use work around if __GNUC__ < 2.
3138 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3139 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3140 Test for bad output rather than waiting for timeout. Issue
3141 second continue only if first continue failed.
3142
3143 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3144
3145 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3146 operator[] test with gdb_test because the old code didn't seem to
3147 be getting the quoting right with the new dejagnu.
3148
3149 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3150
3151 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3152 one from the path.
3153 * Makefile.in: Use a fresh expect if there is one, use runtest
3154 from the src tree if there is one.
3155
3156 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3157
3158 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3159 next over recursive call. Revise the tests from that point on
3160 (which had been skipped) to match GDB's actual (correct) output.
3161
3162 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3163 with next over a breakpoint whose condition is false.
3164
3165 * gdb.t00/help.exp: Comment out "help set print" tests just like
3166 (and for same reason as) "help set" test.
3167
3168 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3169
3170 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3171 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3172
3173 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3174
3175 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3176 necessary gdb_target_udi.
3177
3178 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3179
3180 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3181 1838 and 2417; they are fixed.
3182
3183 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3184 gdb.t03/ptype.exp (ptype structure, ptype union):
3185 Remove xfails; the test is looser than when the xfails were added.
3186
3187 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3188 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3189
3190 * gdb.t01/run.exp: Only run shell test if isnative.
3191
3192 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
3193 since "run" automatically loads if necessary. Call gdb_target_udi
3194 after the "file" since "file" kills any execution target.
3195
3196 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3197 GDB. GDB doesn't work that way (not anymore at least) on UDI.
3198 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3199 argument for UDI.
3200
3201 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3202
3203 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3204
3205 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3206
3207 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3208
3209 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3210 properly quoting regexps. This makes the second argument to
3211 demangle a fixed string, which matches the callers, instead of a
3212 shell-style pattern which is what the previous implementation
3213 used. Update some of the callers.
3214
3215 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3216
3217 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3218 (comib_nullified_tests): Fix typo.
3219 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3220 strings. No longer expected to fail.
3221
3222 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3223 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3224 strings. No longer expected to fail.
3225
3226 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3227 string. No longer expected to fail.
3228
3229 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3230
3231 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3232 No longer expected to fail.
3233
3234 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3235 string. No longer expected to fail.
3236
3237 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3238
3239 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3240 only in the names (I probably got most of them). I was even
3241 generous with some which differed in underscores in names, and
3242 probably missed a few, and I *still* was able to remove almost a
3243 third of the file with almost no impact on testsuite coverage.
3244
3245 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3246
3247 * gdb.t00/default.exp: Match udi_attach error message as well as
3248 the one from child_attach.
3249
3250 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3251
3252 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3253
3254 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3255 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3256
3257 * Move test with enums and partial symbols back to
3258 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3259 Reverts the change of 26 May 93. Per today's change to
3260 stabs.texinfo, the behavior that weird.exp was expecting was
3261 unreasonable; what is important is that the compiler+gdb get
3262 things right, which happens with a recent gcc. Also fix the test
3263 to deal with native compilers which put out the stab gdb can't
3264 deal with.
3265
3266 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3267
3268 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3269 in the names. The main thing these accomplish is to slow things down.
3270 Many more such duplicates surely remain.
3271
3272 * gdb.t00/help.exp: Comment out "help support" test just like
3273 (and for same reason as) "help set" test.
3274
3275 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3276
3277 * gdb.t06/break.exp: Remove setup_xfails for
3278 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3279 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3280 about known bug in gcc to include up through 2.5.8.
3281 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3282 well as "_vb$".
3283 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
3284 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
3285 with latest gcc and gdb.
3286 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3287 well as "_vb$".
3288
3289 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3290
3291 * configure.in (hppa*-*-*): Also configure and build stabs-only
3292 tests.
3293
3294 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3295
3296 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3297 * gdb.t10/configure.in (hppa*-*-*): Use it.
3298
3299 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3300
3301 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3302
3303 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3304
3305 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3306 versions prior to 1.13.5.
3307
3308 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3309
3310 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3311 the prompt is at the start of a line.
3312
3313 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3314
3315 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3316 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3317 in the copr tests now.
3318 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3319 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3320 expected to fail.
3321
3322 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3323
3324 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3325 gdb.t31/chillvars.exp, lib/gdb.exp:
3326 Tweak to run under either version of expect.
3327 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3328 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3329 * gdb.t11/list.exp: Remove extraneous whitespace.
3330
3331 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3332
3333 * gdb.t16/printcmds.exp (test_print_strings): Accept
3334 "(unsigned char *) " before the string.
3335
3336 * TODO: Add notes about printing of fancy types and GDB expressions.
3337
3338 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3339
3340 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3341 * gdb.t06/configure.in: Don't try to compile signals test program
3342 if doing mips-idt-ecoff.
3343
3344 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3345
3346 * Most .exp files: Tweak to run under either version of expect.
3347
3348 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3349
3350 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3351 xfails; I'm not sure why they are failing, but not because of PR 1806.
3352
3353 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3354
3355 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3356 defined in lib/gdb.exp.
3357
3358 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3359
3360 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3361 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3362 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3363 have to be typeless.
3364
3365 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3366
3367 * TODO: Add suggestion for copyright year test.
3368
3369 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3370
3371 * configure.in (*-*-lynxos*): Add stabs tests.
3372
3373 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3374
3375 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3376 so insert a tab before any assembler directive in column zero.
3377
3378 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3379 stores.
3380 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3381 stores.
3382 (fpu_short_memory_tests): Likewise.
3383
3384 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3385
3386 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3387 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3388 .stabs directives in comments.
3389
3390 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3391
3392 * TODO: New file, describing tests we could write.
3393 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
3394
3395 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3396
3397 * gdb.t06/signals.exp: Add kludge to force re-sync.
3398
3399 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3400 to xgdb instead of gdb, get out of gdb.
3401
3402 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3403
3404 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3405 for info.
3406
3407 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3408
3409 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3410 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3411 * gdb.stabs/hppa.sed: New sed script for the PA.
3412
3413 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3414
3415 * gdb.stabs: Re-write weird.def and configuration to use sed
3416 instead of cpp. sed is portable and POSIX; cpp is neither.
3417
3418 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3419
3420 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3421
3422 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3423
3424 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3425
3426 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3427
3428 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3429 "_vb$".
3430 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3431 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3432
3433 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3434
3435 * lib/gdb.exp: Comment out code which depends on non-existent
3436 `transform' procedure.
3437
3438 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3439
3440 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
3441 * lib/gdb.exp: Transform tool name.
3442 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3443 1.1's new error handling system.
3444
3445 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3446
3447 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3448
3449 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3450
3451 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3452 They made pattern matching so slow that timeouts happened on
3453 heavily loaded systems. Now any output from "show print" which
3454 gets us back to the GDB prompt is a PASS.
3455
3456 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3457
3458 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3459
3460 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3461
3462 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3463
3464 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3465 It is not from PR 3220.
3466
3467 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3468
3469 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3470 just started failing because they depended on the order the
3471 subcommands are presented, or exact docstring text. This kind of
3472 test is a pain and has minimal benefit.
3473
3474 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3475
3476 * gdb.t09/corefile.exp: At end of test, use "core" command with
3477 no arguments.
3478
3479 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3480
3481 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3482 17}/Makefile.in: Make it possible to run the testsuite with Sun
3483 make and CC = cross gcc by adding explicit build rules for .o
3484 files.
3485
3486 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3487
3488 * gdb.t15/funcargs.exp: Don't put comments on same line as
3489 setup_xfail (@#$*%& tcl braindamage!).
3490
3491 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3492
3493 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3494
3495 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3496
3497 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3498 * gdb.t20/inherit.exp: remove three dumplicate entries.
3499
3500 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3501
3502 * gdb.t06/break.exp: For "next over recursive call", fail on any
3503 incorrect output, not just on "factorial (value=2)".
3504
3505 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3506
3507 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3508 working now. Add an xfail if accesing a bss variable causes
3509 a memory error if the target is not yet run.
3510
3511 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3512
3513 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3514 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3515 name of __st* demangling (2 strings). Did Kung really get the
3516 more than 95 others right without testing them?
3517
3518 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3519
3520 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3521
3522 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3523
3524 * configure.in (configdirs): Add gdb.disasm
3525 * gdb.disasm: New directory for GDB disassembler tests.
3526 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3527
3528 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3529
3530 * gdb.t00/help.exp: Don't test "help set".
3531
3532 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3533 from within expect statements. None of these happen anymore and
3534 they cause regressions to be silently unnoticed.
3535
3536 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3537 messages) about known failures with gcc cygnus-2.4.5-930417.
3538
3539 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3540 comp-info.exp so it gets built if it doesn't exist.
3541
3542 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3543 it is no longer used.
3544 * gdb.t13/comp-info.c: Removed.
3545
3546 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3547
3548 * gdb.t06/signals.exp: Add xfail for sun3.
3549
3550 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3551
3552 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3553 relevant because ^C doesn't get sent but failure can be reproduced
3554 interactively).
3555
3556 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3557
3558 * gdb.stabs/alpha.mt: New configuration file for alpha.
3559 * gdb.stabs/configure.in: Use it.
3560 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3561 sharing with alpha.mt, redefine long to word via preprocessor.
3562 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3563 for alpha.
3564 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3565 native cc.
3566 * gdb.t00/teststrategy.exp: Change expect string so that we
3567 consume the `(xgdb)' from the command echo and from the gdb prompt.
3568 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3569 gdb currently compares all values as long, so this failure probably
3570 applies to any configuration where LONGEST is bigger than a target int.
3571 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3572 with gcc.
3573 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3574 to handle opaque pointers, gcc is.
3575 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3576 as first argument. Include <sys/types.h> and change all operator
3577 new definitions to use size_t.
3578 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3579 now that we use size_t.
3580
3581 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3582
3583 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3584 a long or float array cast all array members to the same type.
3585 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3586 with 64 bit longs.
3587 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3588 on alpha.
3589 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3590
3591 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3592
3593 * gdb.t24 (demangle.exp): Constructors of templates have names like
3594 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3595 section 14.6 of the ARM.
3596
3597 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3598 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3599 accomplish little and slow down the testsuite.
3600
3601 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3602 Accept spaces various places.
3603
3604 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3605
3606 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3607 with watchpoint enabled.
3608
3609 * Makefile.in: Remove definition of CC and remove the second
3610 definition of CXX (the "CXX = gcc" one remains). These definitions
3611 were causing backquotes to be expanded within backquotes, which
3612 doesn't work.
3613
3614 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3615
3616 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3617
3618 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3619
3620 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3621 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3622 by mips cc and contains no stabs entries.
3623
3624 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3625
3626 * config/vx-gdb.exp: Use fake device to load files rather than
3627 NFS.
3628 * lib/gdb.exp: New proc to do "file" command.
3629 * config/unix-gdb.exp: Use new "file" proc.
3630
3631 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3632
3633 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3634 Rework board rebooting slightly.
3635 (gdb_exit): Don't exit from the remote shell; there isn't one.
3636 * gdb.stabs/weird.exp: If a program is being debugged already,
3637 kill it.
3638 * gdb.t04/setvar.exp: Stop and restart gdb.
3639 * gdb.t05/expr.exp: Likewise.
3640 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3641 restart gdb and reload the program.
3642 * gdb.t08/opaque.exp: Likewise.
3643 * gdb.t12/scope.exp: Likewise.
3644 * gdb.t13/bitfields.exp: Likewise.
3645 * gdb.t15/funcargs.exp: Likewise.
3646 * gdb.t20/classes.exp: Likewise.
3647 * gdb.t03/ptype.exp: Increase timeout.
3648 * gdb.t16/printcmds.exp (test_print_string_constants,
3649 test_print_array_constants): Likewise.
3650 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3651 * gdb.t20/classes.exp (do_tests): Likewise.
3652 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3653
3654 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3655
3656 * gdb.stabs: Renamed *wierd* to *weird*.
3657
3658 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3659
3660 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3661 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3662
3663 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3664
3665 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3666 (do_tests): Remove xfail for whatis on one_var and two_var.
3667
3668 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3669
3670 * Makefile.in: Made cross building work better by adding
3671 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3672
3673 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3674
3675 * gdb.t15/{return.c,return.exp,Makefile.in}:
3676 New test, currently commented out.
3677
3678 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3679
3680 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3681 still running and removes the leftover named socket so GDb can do
3682 clean restarts.
3683
3684 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3685
3686 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3687 console, not GDB.
3688 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3689 cross testing works better with "make check"
3690 * config/unix-gdb: Use default procedures for exit and version.
3691 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3692 with the newest VxWorks.
3693
3694 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3695
3696 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3697 old form.
3698
3699 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3700 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3701
3702 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3703
3704 * config/unix-gdb.exp: Remove this version of gdb_exit
3705 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3706 Rob says he'll look at it when he gets back to testing boards.
3707
3708 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3709
3710 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3711 an expected fail for certain ptype commands.
3712
3713 * gdb.t20/classes.exp: Update expected results of "ptype class
3714 Base1" to account for the constructor that now appears in the type.
3715
3716 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3717
3718 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3719 disappeared from list.
3720 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3721 "alldone" proc with call to cleanup and exit.
3722 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3723 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3724 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3725 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3726 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3727 "alldone" proc with simple returns that suppress remaining
3728 tests. The alldone proc went away many months ago.
3729
3730 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3731
3732 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3733
3734 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3735
3736 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3737
3738 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3739 as vax gdb will display them.
3740
3741 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3742
3743 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3744 optimizers.
3745
3746 * scope.exp: Change "bad value for localval" messages so each one
3747 is unique.
3748
3749 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3750 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3751
3752 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3753
3754 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3755
3756 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3757 doesn't exist (due to optimization).
3758
3759 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3760
3761 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3762 contains \r because the filename is long.
3763
3764 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3765 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3766
3767 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3768
3769 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3770 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3771 Ultrix.
3772 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3773 int tests.
3774 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3775
3776 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
3777
3778 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3779
3780 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3781 to match does not match the passing case but still matches the
3782 failing case.
3783
3784 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3785
3786 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3787
3788 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
3789
3790 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
3791 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
3792 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3793 Remove various versions of gdb_exit.
3794 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3795 gdb_exit.
3796 * config/unix-gdb.exp: gdb_exit remains here, and should override
3797 the generic version, since it's doing a lot of wierd stuff that
3798 the other versions aren't. FIXME, fold it in, or abandon this
3799 version.
3800
3801 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3802
3803 * gdb.t24/demangle.exp: Add tests for PR 3220.
3804
3805 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3806
3807 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
3808
3809 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3810
3811 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3812 "i386-*-*". Works for i486 as well.
3813
3814 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3815 bug, and expand domain of xfail to all SVR4 systems, since the
3816 actual problem is likely to be in generic SVR4 /proc support.
3817
3818 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3819
3820 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3821
3822 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3823
3824 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3825 xfails for other systems. Match a missing 'Continuing.' as an
3826 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3827
3828 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3829 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3830 Only issue warning for missing executables if -all option is used.
3831
3832 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3833 file if -all option is used. It's like an unpredictable XFAIL.
3834
3835 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3836
3837 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3838 for dynamically linked binaries.
3839
3840 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3841
3842 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3843
3844 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3845 to state that this is a known bug in old versions of g++.
3846
3847 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3848
3849 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3850 while waiting for `Continuing'.
3851
3852 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
3853
3854 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3855 in text, data, and bss.
3856 * gdb.t10/nodebug.c: Add local and global test variables for
3857 initialized and uninitialized data.
3858
3859 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3860
3861 * config/unix-gdb.exp (gdb_exit): Add "wait".
3862
3863 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3864
3865 * gdb.t06/signals.exp: xfail the continue from the handler for all
3866 targets.
3867
3868 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
3869 function with watchpoints enabled, the i386 call dummy starts with
3870 a call.
3871
3872 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
3873 386 bsd names its corefiles.
3874
3875 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
3876
3877 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
3878 compilers don't grok it.
3879 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
3880 with small octal ints rather than character constants, which
3881 are signed and might not fit if first promoted to int.
3882
3883 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
3884
3885 * gdb.t09/Makefile.in (clean): Remove corefile.
3886
3887 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3888
3889 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
3890
3891 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3892 and Jim Kingdon (kingdon@cygnus.com)
3893
3894 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
3895 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
3896 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
3897
3898 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3899
3900 * gdb.t17/interrupt.exp: Add xfail for hppa.
3901
3902 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3903
3904 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3905 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3906 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3907 to determine signed-ness of bitfields and use the result to setup
3908 the xfail.
3909 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
3910 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3911 call line is reached if necessary.
3912
3913 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3914
3915 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
3916
3917 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3918
3919 * gdb.t06/break.exp: Also test `clear' command.
3920
3921 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3922
3923 * gdb.t00/teststrategy.exp: Remove extra quote.
3924
3925 * gdb.t07/watchpoint.exp: Change xfail for calling function with
3926 watchpoint enabled to be for all non-68k machines.
3927
3928 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3929
3930 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3931
3932 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3933 targets use aout.mt instead of ecoff.mt as gas understands
3934 standard aout format.
3935
3936 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3937
3938 * lib/gdb.exp (runto): Don't insist that function we are running to
3939 was compiled with -g.
3940
3941 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3942
3943 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3944 to get back into the read system call.
3945 Accept leading newline in case where we woke it up.
3946
3947 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3948
3949 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3950 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3951 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3952 enable ecoff configuration.
3953
3954 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3955
3956 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3957
3958 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3959
3960 * gdb.t16/printcmds.exp: Add another printf test.
3961
3962 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3963
3964 * configure.in: If configured -with-stabs on any target, add
3965 stabsdirs to configdirs.
3966
3967 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3968
3969 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3970 fun" so pattern does not match the command itself.
3971
3972 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3973
3974 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3975
3976 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3977
3978 * gdb.t17/interrupt.exp: Test for more things.
3979
3980 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3981
3982 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3983 compiler arranges the code and line numbers.
3984
3985 * gdb.t17/interrupt.exp: Don't send \n after ^C.
3986
3987 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3988
3989 * gdb.t00/help.exp: Increase expect input buffer size.
3990
3991 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3992
3993 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
3994
3995 * gdb.t07/watchpoint.exp: Add xfail for hppa.
3996
3997 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
3998
3999 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4000 [0-9]*, not just [0-9].
4001
4002 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4003
4004 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4005
4006 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4007
4008 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4009
4010 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4011
4012 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4013
4014 * gdb.t06/signals.c: Add xfails for sun3.
4015
4016 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4017
4018 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4019 test_stepping tests.
4020
4021 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4022
4023 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4024
4025 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4026
4027 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4028 rather than actually putting it through cpp twice.
4029
4030 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4031
4032 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4033
4034 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4035 no longer needed.
4036
4037 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4038
4039 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4040
4041 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4042 C++ features prints as "struct", make it a pass, not an xfail.
4043
4044 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4045
4046 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4047 Don't require VA to print as "class" rather than "struct".
4048
4049 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4050
4051 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4052
4053 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4054
4055 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4056
4057 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4058
4059 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4060 order.
4061
4062 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4063
4064 * gdb.t16/printcmds.exp: Add printf tests.
4065
4066 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4067
4068 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4069
4070 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4071
4072 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4073 pass counts, to counteract any existing or future setup_xfails.
4074
4075 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4076
4077 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4078 {BEGIN,END}_COMMON for common block instead of STAB.
4079 * gdb.stabs/wierd.exp: Add xfail for rs6000.
4080
4081 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4082 intp_var should be N_GSYM not N_LSYM.
4083 wierd-aout.S: Use a label for the value of the N_SO.
4084 wierd.def: Remove all backslashes.
4085 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4086
4087 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4088
4089 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4090 get the expected next to inheritance3.
4091
4092 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4093
4094 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4095 now that gcc-2.4 gets it right.
4096
4097 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4098
4099 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4100
4101 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4102 generating comp-info.exp which works for cross-compilation.
4103
4104 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4105
4106 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4107 "*-*-sysv4.*".
4108
4109 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4110
4111 * gdb.t01/run.exp: Start with a fresh gdb.
4112 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4113 SVR4.x.
4114
4115 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4116
4117 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4118 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4119 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4120 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4121 things to remove.
4122
4123 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4124
4125 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4126 test cases from bug reports.
4127
4128 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4129
4130 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4131 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4132 avoid spurious xfails.
4133 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4134 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4135 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4136
4137 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4138
4139 * gdb.t00/teststrategy.exp: Rework to provide more useful
4140 description of each test, fix problem with systems that define
4141 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4142 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4143 results for "next over recursive call" so timeouts aren't taken
4144 by error.
4145
4146 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4147
4148 * gdb.t12/scope.exp: Test printing of variables before run.
4149
4150 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4151 printed in wrong order due to sorting.
4152
4153 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4154
4155 * gdb.t00/teststrategy.exp: Fix expected results for printing
4156 user entered string constant. Is array of char, prints with no
4157 address.
4158
4159 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4160 commands.
4161 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4162 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4163 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4164 of struct of char arrays.
4165 * gdb.t00/radix.exp: New tests for radix commands.
4166
4167 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4168
4169 * gdb.t16/printcmd.exp: Print a variable before running program
4170 (with xfail for AIX).
4171
4172 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4173
4174 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4175
4176 * gdb.t16/printcmd.exp: Don't print variables before running program.
4177
4178 * gdb.t06/break.exp: Don't require envp argument to main.
4179
4180 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4181
4182 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4183 Add xfails for rs6000.
4184
4185 * gdb.t02/whatis.exp: Change other tests not to re-test something
4186 we already tested.
4187
4188 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4189 each type used has a variable of that type.
4190
4191 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4192
4193 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4194
4195 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4196
4197 * configure.in: change srctrigger to be a file, not a directory
4198
4199 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4200
4201 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4202
4203 * gdb.t11/list.exp: Fixed a couple of typos.
4204
4205 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4206
4207 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4208 is fixed and PR is closed.
4209 * gdb.t16 (gdbme.c): Add simple test string variable.
4210 * gdb.t16 (printcmds.exp): Add tests with simple test string
4211 variable, primarily for boundaries on "set print elements".
4212
4213 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4214
4215 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4216 Make leading 0's optional and don't expect a tab in the middle
4217 of the number.
4218
4219 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4220
4221 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4222 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4223 don't end command passed to gdb_test with newline.
4224
4225 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4226 signed keyword away, don't expect signed bitfields to be signed.
4227
4228 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4229 printing with only as many 1's as are in the field as well as printing
4230 with 32 1's (see comment).
4231
4232 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4233
4234 * gdb.t00/default.exp: Start with a fresh gdb.
4235 * configure.in (configdirs): Remove gdb.t31 until the chill
4236 compiler works again. It no longer is able to find chillrt0
4237 since it isn't in libchill.a anymore.
4238 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4239 wierd.o, make more modular.
4240 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4241 spurious newlines that caused problems.
4242
4243 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4244
4245 * Move test with enums and partial symbols from gdb.t03/ptype.exp
4246 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4247 gdb.stabs/wierd.{exp,def}: Many new tests.
4248
4249 * gdb.t00/default.exp: update info line for new message.
4250
4251 * gdb.t02/{whatis.exp,gdbme.c}:
4252 Test that "char *" doesn't print as "caddr_t".
4253
4254 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4255
4256 * gdb.t00/help.exp: Use .* in place of some help messages which
4257 just changed.
4258 gdb.t00/default.exp: Update "info frame" test for new message.
4259 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
4260 Remove some xfails
4261
4262 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4263
4264 * gdb.t03/{gdbme.c,ptype.exp}:
4265 Add tests for typedef'd struct and union without tags.
4266 Also check "whatis" on a variable of a typedef'd enum without a tag.
4267
4268 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4269 PRMS 1823; the bug still exists but isn't reproduced by this test
4270 anymore), and remove rs6000 XFAIL (the bug is fixed).
4271
4272 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4273 duplicated from whatis.exp. For those that are left, accept
4274 "long", "long int", or "int" for long variables (whatis.exp already
4275 has an XFAIL for "int", so no need to fail it here).
4276
4277 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4278 Deal with GCC's names for types now that GDB uses the compiler's names.
4279
4280 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4281 setup_xfail's for sunos4. If we #defined the signed keyword away,
4282 don't expect GDB to know that char it is signed.
4283
4284 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4285
4286 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4287
4288 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4289 should work on any system, regardless of debugging format.
4290 * gdb.t21/demangle.exp: Move to gdb.t24.
4291 * gdb.t24/demangle.exp: Move from gdb.t21.
4292 * gdb.t24/{Makefile.in, configure.in}: New files.
4293
4294 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4295
4296 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4297 * gdb.stabs: New directory.
4298
4299 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4300
4301 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4302 not just "Quit anyway?".
4303
4304 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4305
4306 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4307 that all setup_xfails are immediately followed by clear_xfails.
4308
4309 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4310
4311 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4312 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4313 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4314 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4315 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4316 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4317 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4318 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4319 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4320 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4321 gdb.t31/chillvars.exp, lib/gdb.exp:
4322 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4323 bug-gdb@prep.ai.mit.edu.
4324
4325 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4326
4327 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4328 with 0.0, not integer 0.
4329
4330 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4331
4332 * gdb.t06/break.exp: Update for "Kill the program" message change.
4333
4334 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4335
4336 * Makefile.in (GDBFLAGS): Set to -nx.
4337 * Makefile.in (site.exp): Use GDBFLAGS.
4338
4339 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4340
4341 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4342 Makefiles.
4343 (check): depend on just-check.
4344 (just-check): added so that tests can be run without a noop
4345 build pass.
4346
4347 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4348
4349 Switch to using configure's configdirs.
4350 * Makefile.in (Makefile): add configure.in dependency.
4351 (SUBDIRS): removed redundant assignment.
4352 * configure.in: switch subdirs assignment to configdirs.
4353 * gdb.t*/configure.in: new files.
4354
4355 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4356
4357 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4358 works.
4359
4360 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4361
4362 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4363 in explicit rules. Apparently this is not supported by some makes.
4364
4365 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4366
4367 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4368
4369 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4370
4371 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4372 disappeared.
4373
4374 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4375
4376 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4377
4378 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4379
4380 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4381 watchpoint problem that is now fixed.
4382 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4383 uninitialized convenience variables.
4384 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4385 structures.
4386
4387 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4388
4389 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4390 which causes expect to get out of sync with gdb on long output
4391 from help set.
4392 * gdb.t09/corefile.exp: Make expected pattern for core file
4393 failing signal and frame output format less sun specific.
4394
4395 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4396
4397 * gdb.t31/chillvars.exp: Add and remove initial dummy
4398 breakpoint, so that symbol table is forced in.
4399 (Needed at least on Sunos4, though it seems not SVR4.)
4400 * gdb.t31/chillvars.exp: Update for changed output format.
4401
4402 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4403
4404 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4405
4406 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4407
4408 * Makefile.in: Added --srcdir when invoking runtest, removed the
4409 need for a local config file. (optional now)
4410
4411 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4412
4413 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4414 failure count used to force early termination. Add some more
4415 expected failures for gnu style demangling.
4416
4417 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4418
4419 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4420 pmi variable from gdb.t20/gdbme to get optimized away.
4421 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4422 Check for written corefile upon timeout _and_ eof.
4423
4424 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4425
4426 * config/unix-gdb.exp: Add missing return 0.
4427
4428 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4429
4430 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4431 test termination.
4432
4433 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4434
4435 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4436 disappeared.
4437
4438 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4439
4440 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4441 time as i860 support works.
4442
4443 * gdb.t15/funcargs.exp: Fix expected outputs to include
4444 "backtrace 100\r" rather than just "backtrace\r", to match last
4445 change.
4446
4447 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4448
4449 * config/udi-gdb.exp (gdb_exit): Remove close command.
4450 (gdb_target_udi): New procedure to set the UDI target.
4451 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4452 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4453 Added waits for prompts after several question responses. Added
4454 some more responses used by a29k-amd-udi-gdb.
4455 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4456 pass different arguments, restart UDI connection after program
4457 completion.
4458 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4459 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4460 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4461 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4462 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4463 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4464 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4465 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4466 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4467 after program completion.
4468 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4469 compiled with a SELECT_VECS setting.
4470 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4471 infinite recursion.
4472
4473 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4474 Added checks for COFF results, and made them expected failures for
4475 all targets. It would be better to make them expected failures
4476 for COFF targets only.
4477
4478 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4479
4480 * Makefile.in: add null dvi target, don't bother to recurse
4481 through test directories for info and install-info; rename
4482 $(datadir) to be dejagnu instead of deja-gnu
4483
4484 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4485
4486 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4487 compiler to coredump.
4488 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4489 code.
4490
4491 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4492
4493 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4494 coredump.
4495 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4496 code.
4497
4498 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4499
4500 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4501 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4502 which in a shell. Deletes xgdb when done.
4503 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4504 Tests the return from the "set height" or "set width" commands.
4505 Added a few return codes where needed.
4506
4507 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4508
4509 * Makefile.in (SUBDIRS): Add gdb.t17.
4510 * configure.in (subdirs): Add gdb.t17.
4511 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4512 files to test gdb's calling of functions in the inferior with
4513 the correct arguments and gdb's ability to retrieve any
4514 result returned.
4515
4516 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4517
4518 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4519 may be called after gdb goes away. Previous versions of expect
4520 needed these to avoid file descriptor leaks, but they cause
4521 errors with the current revision of expect.
4522 * gdb.t00/gdbvars.exp: Use -re on expected output after
4523 setting sevenbit-strings.
4524 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4525 to set sevenbit-strings consistent across tests.
4526 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4527 set sevenbit-strings consistent across tests.
4528
4529 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4530
4531 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4532 expected output to match current "expect" expectations.
4533
4534 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4535
4536 * gdb.t00/default.exp: Change expected output for default "source"
4537 command, to match new gdb behavior which requires a filename to
4538 source.
4539
4540 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4541
4542 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4543 expected fail for i486-*-* that misses the marker2 function.
4544 * gdb.t10/crossload.exp (bfddefault): Allow successful
4545 recognition of a format to pass even if no symbols are found.
4546 Explicitly catch failures where the format is not recognized
4547 or is ambiguous, and add the reason to the fail message.
4548 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4549 the cause is and invalid target and add reason to failure message.
4550 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4551 elf32-i386, elf32-sparc, and elf32-i860.
4552 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4553 Set up expected failure for 'filename'::variable scope resolution,
4554 which is now apparently broken on all targets.
4555 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4556 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4557 gdb.t23/templates.exp: Change failure for missing binfile into
4558 just a warning.
4559 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4560 references.
4561
4562 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4563
4564 * gdb.t00/default.exp: Add expected output for default "source"
4565 command, to match new gdb behavior.
4566 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4567
4568 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4569
4570 * config/*-gdb.exp: returns an error, rather than exiting on
4571 internal errors.
4572
4573 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4574
4575 * gdb.t03/gdbme.c: Add pointer to struct variable.
4576 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4577 referencing struct members.
4578
4579 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4580
4581 * configure.in (mips-idt-ecoff): New target.
4582 * config/mips-gdb.exp: New file for remote board using MIPS remote
4583 debugging protocol.
4584
4585 * Redid configuration scheme. Removed gdb.t*/configure.in.
4586 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4587 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4588 distclean targets. Built executables via .o files. Adjusted
4589 tests to account for source files in $(srcdir) rather than
4590 $(objdir).
4591 * lib/gdb.exp (runto): Don't expect () after the function name,
4592 because it may have arguments.
4593
4594 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4595
4596 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4597 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4598 expected failures for mips-idt-* and mips-sgi-*.
4599 * gdb.t00/default.exp (attach): Kill process if requested.
4600 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4601 that does not read core files.
4602 * gdb.t01/run.exp: Removed checks for exit status code.
4603 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4604 it is linked in.
4605 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4606 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4607 appropriate, rather than doing it by hand.
4608 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4609 execution.
4610 * gdb.t10/crossload.exp: Kill existing program if needed.
4611 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4612 appropriate, rather than doing it by hand. Always increase
4613 timeout for this test, not just for VxWorks.
4614
4615 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4616
4617 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4618 of Chill STRUCT types and STRUCT values.
4619 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4620 than "char".
4621 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4622 struct2): New struct definitions and initializations to test
4623 simple Chill STRUCT types.
4624
4625 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4626
4627 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4628 the null byte at the end of strings.
4629 * gdb.t00/default.exp: Make show version insensitive to copyright
4630 date.
4631 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4632 to avoid dependencies on target char signedness.
4633 * gdb.t16/printcmds.exp: Update expected results for explicitly
4634 unsigned char.
4635 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4636 now work.
4637 * gdb.t21/demangle.exp: Add many more patterns for template
4638 demangling, most of them being expected failures.
4639 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4640 string we are matching for, to match on the whole string.
4641 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4642 and fix a whole bunch that had incorrect expected output but were
4643 passing anyway because of the bug in "proc demangle".
4644 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4645 type.
4646 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
4647
4648 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4649
4650 * gdb/testsuite: made modifications to testcases, etc., to allow
4651 them to work properly given the reorganization of deja-gnu and the
4652 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4653
4654 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4655
4656 * gdb/testsuite: Initial creation of gdb/testsuite.
4657 Migrated dejagnu testcases and support files for testing nm to
4658 gdb/testsuite from deja-gnu. These files were moved "as is"
4659 with no modifications. This migration is part of a major overhaul
4660 of dejagnu. The modifications to these testcases, etc., which
4661 will allow them to work with the new version of dejagnu will be
4662 made in a future update.
4663 \f
4664 Local Variables:
4665 mode: indented-text
4666 left-margin: 8
4667 fill-column: 74
4668 version-control: never
4669 End:
This page took 0.130023 seconds and 4 git commands to generate.