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