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