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