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