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