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