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