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