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