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