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