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