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