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