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