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