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