* lib/gdb.exp(gdb_test): Generate a FAIL message when
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3c0af8a0
BM
1Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
2
3 * lib/gdb.exp(gdb_test): Generate a FAIL message when
4 send_gdb fails.
5
40ac1624
BM
6Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
7
8 * config/vr4300.exp: New file.
9
10 * gdb.*/*.exp: Call gdb_expect instead of expect.
11
12 * lib/gdb.exp(gdb_expect): New function.
13
dadace26
BM
14Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
15
c309781f
BM
16 * lib/gdb.exp(gdb_init): New function.
17
eb659148
BM
18 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
19 for each individual variable set.
20
38ee47dc
BM
21 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
22 name.
23
42c254c9
BM
24 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
25
dadace26
BM
26 * gdb.base/scope.exp: Use gdb_test.
27
28 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
29 aborting; the testsuite driver will do that for us (see
30 gdb_finish). Also, use gdb_test in a few more places.
31
3fe49560
SS
32Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
33
34 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
35
66a5e0e9
JL
36Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
37
38 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
39 and "add_tests" are not at the same address.
40
41Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
42
43 * gdb.base/ptype.exp: Use gdb_test.
44
f43e619c
JL
45Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
46
66a5e0e9
JL
47 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
48 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
49 left in. No longer expect them to fail.
50
f8cc5c61
JL
51 * gdb.stabs/*.mt; Deleted, no longer used.
52 * gdb.stabs/configure.in: Remove references to target makefile
53 frags.
54 * gdb.stabs/configure: Rebuilt.
55
f43e619c
JL
56 * gdb.disasm/*.mt: Deleted, no longer used.
57 * gdb.disasm/configure.in: Remove references to target makefile
58 frags. Use "sh3.s" as the unique filename for this directory.
59 * gdb.disasm/configure: Rebuilt.
60
61 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
62 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
63 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
64
76abb184
BM
65Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
66
67 * config/udi.exp: Use mondfe,name instead of remote_host.
68
9e40b4f1
JL
69Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
70
3d6ab69f
JL
71 * gdb.base/watchpoint.exp: Don't expect a failure when calling
72 a function with a watchpoint enabled on the mn10200.
73
9e40b4f1
JL
74 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
75 before trying to create it!
76
6a590607
BM
77Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
78
dba77cd7
BM
79 * config/vx.exp: Use hostname instead of netport.
80
81 * config/vxworks.exp: New file.
82
83 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
84
85 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
86 gdb before assuming everything worked. Send a ^C if a timeout
87 occurs.
88
6a590607
BM
89 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
90 $gdb_spawn_id directly.
dba77cd7
BM
91 (gdb_run_cmd): Try _start as well as start. Use the target feature
92 gdb,start_symbol as the symbol to start from when jumping.
6a590607 93
797b43f6
JL
94Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
95
66e7ce0a
JL
96 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
97 redundant) test.
98
797b43f6
JL
99 * gdb.base/recurse.exp: Relax final value test for 'b' so that
100 it doesn't lose for 16bit integer systems.
101
ad9f858a
JL
102Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
103
28ec59b4
JL
104 * gdb.fortran/types.exp: If the target doesn't support "double"
105 data types, then expect "real" types to only be 4 bytes.
106
2f54eeea
JL
107 * gdb.c++/virtfunc.exp: Expect failure for virtual function
108 call tests if the target doesn't support inferior function calls.
109
ad9f858a
JL
110 * gdb.base/printcmds.exp: Allow minor deviation in FP values
111 in printf tests.
112
0979e7bd
JL
113Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
114
6382554a
JL
115 * gdb.base/help.exp: Disable "help set", "help show", and
116 "help support". Simplify regexp for "help stack".
117
fed72bef
JL
118 * gdb.base/default.exp: Set match_max to 5000 and the timeout
119 to 60 seconds. Temporarily set match_max to 15000 around the
120 "info copying" test.
121
dada5105
JL
122 * gdb.base/nodebug.exp: Don't try to do an inferior function
123 call if the target doesn't support them.
124 * gdb.base/printcmds.exp: Likewise.
125 * gdb.base/setvar.exp: Likewise.
126 * gdb.base/structs.exp: Likewise.
127 * gdb.c++/templates.exp: Likewise.
128 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
129
130 * gdb.base/recurse.exp: Enable for the mn10200.
131
132 * configure.in: Do configure gdb.stabs directory for *-*-elf
133 targets.
134 * configure: Rebuilt.
135
0979e7bd
JL
136 * gdb.base/break.exp: Check for gdb,noresults before testing
137 exit status and/or results from the target.
138 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
139 * lib/gdb.exp: Remove old (now bogus) initialization of
140 noinferior, noargs, noresults and nosignals.
141
5d05bf0d
BM
142Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
143
144 * config/sh.exp: New file.
145
146 * config/slite.exp: Try to connect multiple times to the board
147 before rebooting. Only send a "monitor run" if need_monitor_run
148 is set.
149
150 * gdb.base/break.exp: Don't do the "stub continue" test if
151 the target has gdb_stub set.
152
153 * gdb.base/callfuncs.exp: Increase the timeout.
154
155 * gdb.base/interrupt.exp: Don't even try to compile the testcase
156 if the target has gdb,noinferiorio set.
157
158 * gdb.base/list.exp: Increase match_max to 10000 characters.
159
160 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
161
162 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
163 target.
164
165 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
166
94b25813
BM
167Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
168
169 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
170 trying to delete the copy of gdb. Catch the file delete so we
171 don't die if the delete fails; also, the file should be copied to
172 the host, not to the build.
173
0d8017ba
BM
174Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
175
176 * lib/gdb.exp(gdb_test): Surround the result pattern with
177 parenthesis in case it contains multiple regexps separated
178 with |.
179
180 * gdb.base/watchpoint.exp: Use gdb_test.
181 * gdb.base/default.exp: Ditto.
182
85fbaa74
BM
183Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
184
185 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
186
187 * gdb.base/scope.exp: Use gdb_test.
188 * gdb.c++/classes.exp: Ditto.
189 * gdb.c++/inherit.exp: Ditto.
190
05a21390
BM
191Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
192
193 * gdb.base/crossload.exp: Don't use execute_anywhere, use
194 remote_exec instead.
195 * gdb.base/corefile.exp: Don't be ridiculous.
196 * gdb.base/*.c: Add missing stub invocations.
197
83b1cc25
BM
198Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
199
0e865b39
BM
200 * config/slite.exp: Miscellaneous fixes.
201
ef87597c
BM
202 * lib/gdb.exp: Fix runto.
203
204 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
205 the target.
206
207 * gdb.base/watchpoint.exp: Fix regexp.
208
83b1cc25
BM
209 * lib/gdb.exp(default_gdb_exit): Add a catch to the
210 close and wait commands, as the descriptor may now be
211 invalid. Always call "remote_close host".
212
787f6220
BM
213Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
214
215 Major rewrite for testsuite revision.
216
217 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
218 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
219 instead of relying on spawn_id to always contain a valid
220 spawn id.
221 (get_compiler_info): New procedure to build the ${binfile}.ci
222 file, instead of replicating this in N different places.
223 (gdb_compile): New procedure.
224
225 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
226 appropriate arguments) instead of compile. Use gdb_test in a lot
227 more places. Use send_gdb instead of send. Always run gdb_start
228 at the start of a testcase, as this is no longer done magically.
229
230 config/*-gdb.exp: Rename without the -gdb suffix.
231
232 config/mips.exp: Use remote_close instead of exit_remote_shell.
233 config/monitor.exp: Use target_info instead of looking at
234 baud, timeout, etc.
235 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
236
237Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
238
239 * gdb.c++/templates.exp (test_ptype_of_templates),
240 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
241 Update expect patterns for destructors and assignment operators
242 to match corresponding c-typeprint.c changes.
243 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
244 to destructor breakpoint test, GDB should be able to set the
245 destructor breakpoint without specifying arguments.
246
247Tue Dec 3 20:17:52 1996 Fred Fish <fnf@ninemoons.com>
248
249 * gdb.threads/pthreads.exp: Change result for failure to compile due
250 to lack of pthreads runtime support from an error to simply an
251 unsupported test, per dejagnu standards.
252
253Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
254
255 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
256 where GDB exits to reduce pattern match time.
257 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
258
259 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
260
50f04a5a
MS
261Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
262
263 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
264 * gdb.base/default.exp: ditto.
265 * gdb.base/nodebug.exp: ditto.
266 * gdb.base/printcmds.exp: ditto.
267 * gdb.base/ptype.exp: ditto.
268 * gdb.base/setvar.exp: ditto.
269 * gdb.base/structs.exp: ditto.
270 * gdb.base/setshow.c: Guard against uninitialized values of argc.
271
d45358c6
ILT
272Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
273
274 * configure, */configure: Rebuild with autoconf 2.12.
275
276Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
277
278 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
279 use new i*86-pc-linux*-gnu quads.
280 * gdb.base/corefile.exp: Ditto.
281 * gdb.base/signals.exp: Ditto.
282 * gdb.base/sigall.exp: Ditto.
283 * gdb.base/interrupt.exp: Ditto.
284
285 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
286 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
287 RedHat 4.0.
288
289 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
290 linux. This allows the test case to at least compile on latest
291 linux, but still not run due to missing the threads runtime library.
292
49c7ee7b
PS
293Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
294
295 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
296 directory to search gdb directory. Accept and step over conditional
297 stack alignment code. Consume $prompt in failure cases.
298 Reset timeout to $oldtimeout instead of some arbitrary value.
299 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
300 timeout problems with infinite stack backtraces.
301 * gdb.base/ptype.exp (ptype struct link, union tu_link):
302 Accept function parameters for linkfunc member.
303
af4a96bc
FF
304Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
305
306 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
307 (CXXFLAGS): Remove, unreferenced.
d45358c6
ILT
308 (B_OPTIONS): Add for -B options and add code to initialize with
309 previous -B options and also add -B option to pick up cross compiled
310 runtime.
af4a96bc
FF
311 (TARGET_INCLUDES): Add for -I options and add code to initialize when
312 doing cross compiles.
313 (target_alias): Declare global.
314 (xgcc): Set variable to full path of gcc in build tree. Use findfile
315 to verify that gcc exists in build tree, and if so set CC to that
316 gcc and to use B_OPTIONS and TARGET_INCLUDES.
317
318Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
319
320 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
321 ptype test for anonymous union. Fixup testcase to match
322 current gcc debug output.
323
d5e51b25
JL
324Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
325
326 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
327 force argument to an unsigned long type.
328
77814fa8
FF
329Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
330
331 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
332 tests and anonymous union print/ptype tests.
333 * gdb.base/list.exp (test_forward-search): Increase timeout by
334 5 minutes for the "search extremely long line" case.
335 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
336 completely optional and that the pass/fail messages use the command as
337 the message if that third arg is a null string.
338 (gdb_test_exact): Arrange that a null string pattern means match a
339 null string output rather than any output, which might include random
340 errors.
341 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
342 backtrace test.
343 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
344 always failing and failure is now exposed by gdb.exp changes.
345
cb87e99f
FF
346Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
347
348 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
349 weren't being noted.
350
134a3f78
PS
351Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
352
353 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
354 * gdb.stabs/weird.exp: Remove v_comb xfails.
355
7d03ae5e
MS
356start-sanitize-m32r
357Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
358
359 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
360 list.exp scope.exp watchpoint.exp]
361 Make all timeout error msgs explicitly say "(timeout)".
7d03ae5e 362
134a3f78 363end-sanitize-m32r
7d03ae5e
MS
364 Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
365
366 * config/monitor.exp: Increase download timeout to 1000 seconds.
367
368start-sanitize-m32r
369Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
370
371 * config/m32r.exp: Increase timeout to 120 seconds.
372
373end-sanitize-m32r
374
375 Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
1c9e6690
FF
376
377 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
378 and accept older ordering as obsolescent gcc or gdb.
379 * gdb.c++/templates.exp: Ditto.
380 * gdb.c++/virtfunc.exp: Ditto.
381
7a6e9133
FF
382Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
383
384 * gdb.base/coremaker.c: Add code to mmap some data so we
385 can check that it ends up in the core file.
386 * gdb.base/corefile.exp: Add test to read mmapped data
387 from core file.
388
f8931413
MS
389start-sanitize-m32r
390Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
391
392 * config/m32r.exp: New file.
393end-sanitize-m32r
394
395Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
396
397 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
398 that cflags can contains -gstabs, and work correctly for other tests.
399
79654d0b
MS
400Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
401
402 * gdb.base/setshow.exp: New file, tests show and set.
403 * gdb.base/setshow.c: New file, tests show and set.
404 * gdb.base/help.exp: Add test for help set|show annotate.
405 * gdb.base/default.exp: Add test for set|show annotate.
406
f8931413
MS
407Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
408
409 * testsuite/gdb.base/break.exp: Make backtrace from factorial
410 errors unique.
411 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
412 explicitly.
413
4ed1437f
SG
414Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
415
416 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
417 and width commands. This is done elsewhere.
418 * (gdb_start): Don't call gdb_start_sim here. That's already
419 done in gdb_load. This fixes lots of failures in default.exp.
420
421Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
422
423 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
424 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
425 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
426 in the same we we treat other failures (since it may be an expected
427 condition), rather than as an error.
428 * gdb.base/signals.exp (test_handle_all_print): Revert back to
429 old test format.
430
90a0f3aa
FF
431Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
432
433 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
434 (distclean maintainer-clean realclean): No need to remove files
435 twice. Nuke the duplicates.
436 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
437 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
438 Remove config.h along with other config files.
439
f646eef4
FF
440Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
441
442 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
443 "p func1 ()" and note that rests of tests are skipped.
444 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
445 setup_xfails for "print func2::coremaker_local".
446 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
447 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
448 affected by the previous run test.
449 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
450 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
451 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
452 "pass int powerset tuple" and "pass modeless int powerset tuple".
453 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
454 "real write 4" and "real write 8".
455 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
456 setup_xfails for "print vs1 after tuple assign 2",
457 "print \$i after tuple assign 2", and
458 "print vs2 after tuple assign 2".
459 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
460 meaningful error message and return -1 so the caller can
461 suppress further tests and avoid a cascade of errors.
462
463Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
464
465 * gdb.base/a1-selftest.exp: Tweak tests to account for new
466 format for printing version.
467 * gdb.base/default.exp: Ditto.
468 * gdb.base/interrupt.exp: Fix problem with cascade of
469 errors if child process dies while calling a function.
470
471Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
472
473 * Makefile.in (VPATH): Add
474 * Makefile.in (Makefile, config.status): Fix rules so things get
475 remade when necessary.
476
c03e48e8
FF
477Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
478
479 * Makefile.in (just-check): Add path to sibling expect dir
480 to environment variable specified by RPATH_ENVVAR.
481
20ece597
FF
482Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
483
484 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
485 (just-check): Add shared library paths for libstdc++, tk,
486 tcl, bfd, and opcodes to the environment variable specified
487 in RPATH_ENVVAR.
488 * configure.in: Add support to recognize --enable-shared flag
489 and generate correct value for RPATH_ENVVAR.
490 * configure: Regenerated with autoconf.
491
492Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
493
494 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
495 include all osf versions.
496 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
497 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
498 when target is linux. When failing to build pthreads test
499 executable, give more meaningful message.
500 * gdb.threads/pthreads.c: Hpux also uses old definition of second
501 arg for pthread_create.
502
503Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
504
505 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
506 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
507 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
508 and -lpthreads (everybody else).
509 (test_startup): Fail gracefully if threads are not supported.
510 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
511 "p/c array_index("abcdef",2)" when not gcc compiled.
512 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
513 "print func2::coremaker_local" when not gcc compiled.
514 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
515 "ptype on opaque struct tagname (statically)",
516 "ptype on opaque struct tagname (dynamically) 1", and
517 "ptype on opaque struct tagname (dynamically) 2"
518 for not compiled with gcc.
519 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
520 backtrace when compiled with gcc.
521 * lib/gdb.exp (runto_main): Return result of "runto main" rather
522 than always return success.
523
524Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
525
526 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
527
528Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
529
530 * gdb.base/structs.exp: Undo last change.
531
d9538961
FF
532Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
533
534 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
535 encapsulate all the steps/nexts done during self test, starting
536 at main, and makes them less sensitive to optimization issues.
537 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
538 signal handler" test.
539 * gdb.threads/pthreads.exp: Only run this for native configs.
d9538961
FF
540 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
541 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
542 tests.
543 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
544 for "runto test_calls(void)" test.
545
10e3e339
FF
546Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
547
548 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
549 and don't expect address info in breakpoint confirmations.
550
ab5aa3dc
FF
551Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
552
553 * gdb.base/list.exp (test_forward_search): Increase timeout
554 temporarily by 60 seconds for searching extremely long line,
555 and then reset to old value when done. Increase expect input
556 buffer to 10000.
557
74945486
FF
558Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
559
560 * gdb.base/list.exp (test_forward_search): Fix to handle very
561 long source line without overflowing expect's input buffer.
562
7b2e7e89
TT
563Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
564
565 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
566 "buffer_full".
567
568 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
569 "buffer_full".
570
571 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
572 "buffer_full".
573
574 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
575 "buffer_full".
576
e0effbae
FF
577Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
578
579 * configure.in (configdirs): Add gdb.threads.
580 * configure: Regenerated with autoconf.
581 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
582 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
583 * gdb.threads/configure: New, generated with autoconf.
584
e7dc69ff
FF
585Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
586
587 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
588
5fac6a39
FF
589Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
590
591 * gdb.base/signals.exp (test_handle_all_print): Test separately for
592 each signal's status in the output of "handle all print".
593 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
594 the \r\n sequence that immediately precedes the gdb prompt.
595 * gdb.base/a1-selftest.exp: Save original timeout and restore
596 after test.
597
61e842ad
JL
598Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
599
600 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
601 symbol.
602
e95a45af
BK
603Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
604
605 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
606
5fc34cfd
FF
607Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
608
609 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
610 timeout by 60 seconds.
611
c137ee97
FF
612Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
613
614 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
615 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
616 error return.
617
302fcffb
FF
618Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
619
620 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
621 gdb initialization, also report how long dejagnu waited. Restore
622 old timeout before doing error return. Temporarily increase timeout
623 by 3 minutes to allow for slow startups over heavy NFS use.
624
a26fa899
FF
625Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
626
627 * lib/gdb.exp: Report timeout value for verbosity level 2.
628 * config/gdbserver.exp: Ditto.
629 * config/hppro.exp: Ditto.
630 * config/mips-gdb.exp: Ditto.
631 * config/monitor.exp: Ditto.
632 * config/netware.exp: Ditto.
633 * config/sim-gdb.exp: Ditto.
634 * config/slite-gdb.exp: Ditto.
635 * config/udi-gdb.exp: Ditto.
636 * config/unix-gdb.exp: Ditto.
637 * config/vx-gdb.exp: Ditto.
638 * gdb.base/a1-selftest.exp: Ditto.
639 * gdb.base/a2-run.exp: Ditto.
640 * gdb.base/break.exp: Ditto.
641 * gdb.base/corefile.exp: Ditto.
642 * gdb.base/list.exp: Ditto.
643 * gdb.base/recurse.exp: Ditto.
644 * gdb.base/scope.exp: Ditto.
645 * gdb.base/signals.exp: Ditto.
646
f09c6a96
JM
647Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
648
649 * gdb.threads/Makefile.in (docdir): Removed.
650
6c890568
JM
651Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
652
653 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
654 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
655 @srcdir@.
656 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
657 autoconf 2.5 or higher.
658 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
659
660Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
661
662 * configure: Regenerated.
663 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
664 avoid name clashes with SunOS headers.
665
666Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
667
668 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
669
551f3fbb
JL
670Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
671
672 * gdb.base/callfuncs.exp: Finish last change -- make sure the
673 prototype information ends up in the compiler info file.
674
04d5f3d6
FF
675Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
676
677 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
678 attempting to regenerate it. Eliminate use of a temporary file
679 and just generate the info file directly. Source it immediately,
680 for consistency of use.
681 * gdb.base/corefile.exp: Ditto
682 * gdb.base/exprs.exp: Ditto.
683 * gdb.base/funcargs.exp: Ditto.
684 * gdb.base/langs.exp: Ditto.
685 * gdb.base/list.exp: Ditto.
686 * gdb.base/mips_pro.exp: Ditto.
687 * gdb.base/nodebug.exp: Ditto.
688 * gdb.base/opaque.exp: Ditto.
689 * gdb.base/ptype.exp: Ditto.
690 * gdb.base/scope.exp: Ditto.
691 * gdb.base/setvar.exp: Ditto.
692 * gdb.base/signals.exp: Ditto.
693 * gdb.base/whatis.exp: Ditto.
694 * gdb.c++/templates.exp: Ditto.
695 * gdb.c++/virtfunc.exp: Ditto.
696 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
697 whether or not to add -lstdc++ to the compile command line args.
698
699Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
700
701 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
702 it got fixed by the recent lookup_minimal_symbol_by_pc change.
703 Increase timeout, a lot of single stepping might be needed if the
704 target has no hardware watchpoints.
705
cca075fb
JL
706Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
707
708 * gdb.base/break.exp: Ignore compiler warnings when compiling
709 break.c.
710 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
711 * gdb.base/default.exp: Add h8300 xfails. Handle messages
712 from remote-sim.
713 * gdb.base/exprs.exp: Add h8300 xfails.
714 * gdb.base/funcargs.exp: Likewise.
715 * gdb.base/nodebug.exp: Likewise.
716 * gdb.base/printcmds.exp: Likewise.
717 * gdb.base/ptype.exp: Likewise.
718 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
719 h8300 xfails.
720 * gdb.base/return.exp: Handle float/double precision problems
721 on the h8300.
722 * gdb.base/funcargs.c: Explicitly make last constant argument to
723 call_after_alloca_subr an unsigned long type.
724 * gdb.base/return.c: Include stdio.h.
725
4db6401f
RS
726Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
727
728 * config/abug.exp: New file for the older Motorola Bug monitor
729 that runs on the mvme13x series VME boards.
730 * config/monitor.exp: Use the new config array for target settings
731 if they exist.
732
ec6239dc
SS
733Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
734
735 * sim-gdb.exp: Make the SH simulator allocate less space when
736 it is targeted.
737
d124785e
JL
738Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
739
740 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
741 test.
742
743Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
744
745 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
746 "rs6000-*-*" for "list function in include file" when gcc compiled.
747 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
748 for "p ctable1[120]".
749 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
750 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
751 Remove setup_xfail for "rs6000-*-*" for
752 "print 'scope0.c'::filelocal before run".
753 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
754 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
755 since some compilers don't allow both options to be given
756 on the same command line. Create object file and move it.
757
8ce1c210
FF
758Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
759
760 * gdb.base/corefile.exp: Always regenerate the core file, since
761 we always regenerate the coremaker program. Detect special case
d2309db1 762 where registers cannot be read from core file.
8ce1c210 763
a9424716
FF
764Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
765
766 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
767 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
768 * gdb.c++/templates.exp: Only match on basename of file since
769 some formats like xcoff don't encode directory information.
770 * gdb.stabs/weird.exp: Use the right sed script for powerpc
771 and rs6000 AIX xcoff targets.
772 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
773 * configure: Regenerate.
774 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
775 here, rather than in distclean.
776
9b4df2e5
FF
777Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
778
779 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
780 defined, and use it to compile the test case with -O2. The
781 native compilation still uses no optimization.
782 * gdb.base/mips_pro.c: Remove inline assembly code since
783 it is compiled PIC by default, which results in assembler
784 warnings that make the testsuite think the compilation
785 was unsuccessful.
786
6991e957
FF
787Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
788
789 * gdb.c++/misc.exp: Add note to message for
790 "print s.a for foo struct" that this is a known gcc 2.7.2
791 and earlier bug.
792
1b5b9581
FF
793Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
794
795 * gdb.base/break.exp: Fix pattern for matching "Delete all
796 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
797 setup_xfail for deleting all breakpoints test. Fix various
798 timeout messages to include "(timeout)".
799 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
800 for "p t_float_values2(3.14159,float_val2)".
801 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
802 for "continue to call2g" when gcc compiled.
803 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
804 "up to foo in langs.exp", "show language at foo in langs.exp",
805 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
806 and "show language at fsub in langs.exp".
807 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
808 "list line 1 in include file", "list message for lines past EOF",
809 "list function in include file", "list list0.h:foo", and
810 "list filename:function; nonexistant function".
811 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
812 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
813 and "ptype t_char_array" to be for native cc only.
814
a1cdb717
FF
815Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
816
817 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
818 setup_xfail for "print coremaker_bss", "print coremaker_ro",
819 "print func2::coremaker_local", and "backtrace in corefile.exp".
820
38b92747
FF
821Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
822
823 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
824 "bt in signals.exp". This problem only appears when running
825 the testsuite, and then only intermittently.
826
063c5ee0
SS
827Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
828
829 * gdb.base/return.exp (return_tests): Differentiate between
830 two tests of continuing.
831
832Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
833
834 * */Makefile.in (maintainer-clean): Remove config.log.
835 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
836 * gdb.c++/Makefile.in (PROGS): Add inherit.
837 (clean): Remove *.ci.
838
839Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
840
841 * gdb.c++/misc.cc: Add test code from Mike Stump.
842 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
843
8a25c34c
FF
844Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
845
846 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
847 to "alpha-*-osf2*" and add comment.
848 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
849 setup_xfail for "step over execarg initialization" and
850 "step over corearg initialization".
851 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
852 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
853 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
854 gcc compiled for "print coremaker_bss", "print coremaker_ro",
855 "print func2::coremaker_local", and "backtrace in corefile.exp".
856 * gdb.base/signals.exp: Build and source signals.ci.
8a25c34c
FF
857 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
858 to be for gcc only.
859 * lib/gdb.exp: Move verbose statements outside conditionals.
860
8b495156
FF
861Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
862
863 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
864 Feb 3 procfs.c change.
865
a7e254ec
FF
866Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
867
868 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
869
5c7516ee 870Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
baa833b9 871
5c7516ee 872 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
a7e254ec
FF
873 from dejagnu's apparent default of 10 seconds, which gives random
874 results when running the tests over NFS on moderately loaded systems.
5c7516ee
FF
875 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
876
877Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
878
879 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
880 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
881 result reports.
baa833b9 882
950251de
FF
883Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
884
885 * configure.in (CY_AC_PATH_TCLH): Remove.
886 * configure: Regenerate.
887
2f4e239c
FF
888Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
889
890 * gdb.c++/Makefile.in (clean): Add missing '{'.
891
4771fe15
JL
892Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
893
2f4e239c
FF
894 * lib/gdb.exp: Provide a default value for noinferior.
895
4771fe15
JL
896 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
897 Load libgloss.exp.
898
a827a33f
JL
899Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
900
901 * gdb.disasm/hppa.exp: Compile directly into an executable, use
902 the executable, not the .o to run the tests from.
903
9b2ceeb1
JL
904Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
905
1be1bc38
JL
906 * gdb.base/break.exp: Don't test for program exit or exit status
907 if $noresults if nonzero.
908 * gdb.base/langs.exp: Likewise.
909 * gdb.base/watchpoint.exp: Likewise.
910
9b2ceeb1
JL
911 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
912 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
913 trying to compile the testcase.
914
eb47fd9d
DE
915Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
916
917 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
9b2ceeb1 918 * gdb.base/signals.exp (continue to handler): Likewise.
eb47fd9d 919
a4ff5d33
PB
920Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
921
ef11a529
PB
922 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
923
a4ff5d33
PB
924 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
925
546bfba8
JL
926Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
927
928 * gdb.base/corefile.exp: Recognize "not found" as failure
929 when trying to determine if a core file was generated.
930 If no core file was generate the first time, try again without
931 the ulimit -c to work around braindamaged shells.
932
8dd0158f
FF
933Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
934
c4e13a27
FF
935 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
936 [] tests with "test" and enclose string in quotes.
937 * gdb.stabs/configure: Rebuild
938
4e327047
TT
939Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
940
941 Changes in sync with expect:
942 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
943 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
944 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
945 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
946 argument to AC_REQUIRE.
947 * configure: Regenerated.
948
4b2dd778
FF
949Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
950
951 * gdb.base/corefile.exp: When generating a core, discard any
952 error messages about ulimit not found and the "core dumped"
953 message from the shell that runs the coredumper.
954
0069d9a0
JL
955Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
956
978be38e
JL
957 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
958
0069d9a0
JL
959 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
960 which sed script to run. Expect failure for v_comb test
961 on PA targets too.
962
963Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
964
965 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
966 "print func2::coremaker_local" and for "backtrace in corefile.exp"
967
89e6c70d
FF
968Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
969
af6d4d16
FF
970 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
971 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
972 "sparc-sun-solaris*" xfails for "p v_comb".
89e6c70d
FF
973 * lib/gdb.exp (default_gdb_start): Fix typo.
974 * gdb.base/corefile.exp: Allow "Core was generated by ..."
975 messages to not include the full program name that caused
976 the core dump since some systems (such as solaris) apparently
977 truncate this path to about 80 characters.
978 When generating a core file first try increasing the core file
979 size limit to unlimited since some systems may default it to
980 zero, and it is harmless to try it. Move the test for failing
981 to generate a core file to where it will actually get executed.
982 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
983 new gdb result from g++ debug info improvements and make old
984 pattern obsolescent. Also account for size_t differences
985 (may be int or long).
986 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
987 initialization before function call is placed in the delay slot
988 and thus appears to be skipped over by commands such as "next".
989
f526457c
SS
990Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
991
992 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
993
994Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
995
996 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
997 input source file; fix code to compile test to deal with this
998 convention.
999 * gdb.c++/*.exp: Likewise.
1000
edc1ccab
FF
1001Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
1002
1003 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
1004 "bt in signals.exp".
1005
1006Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
1007
1008 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
1009 "step over execarg initialization" and
1010 "step over corearg initialization".
1011
1012Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
1013
1014 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
1015 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
1016
782445c7
FF
1017Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
1018
1019 From Rob Savoye (rob@poseidon.cygnus.com)
1020 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
edc1ccab
FF
1021 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
1022 configure.in}, gdb.disasm/{Makefile.in, configure.in},
1023 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
1024 configure.in}: Major reworking for autoconfig.
782445c7 1025 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
edc1ccab
FF
1026 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
1027 New files.
782445c7 1028 * config/unix-gdb.exp: Make GDB global.
edc1ccab
FF
1029 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
1030 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
1031 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
1032 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
1033 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
1034 term.exp, twice.exp, watchpoint.exp, whatis.exp},
1035 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
1036 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
1037 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
1038 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
1039 pr-8136.exp, result.exp, string.exp, tuples.exp},
782445c7 1040 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
edc1ccab
FF
1041 to returns as necessary, arrange for test to compile own testcase
1042 executable.
782445c7
FF
1043 * lib/gdb.exp: Changes for testsuite to compile own test cases.
1044
1045Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
1046
1047 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
1048 clear_xfail at end of test which might not call either pass or fail.
1049 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
1050 "backtrace through signal handler".
1051
1052Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1053
1054 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
1055 continuing from a job control stop signal.
1056 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
1057
dfbb1a26
JL
1058Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
1059
1060 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
1061 * gdb.base/corefile.exp: Likewise.
1062 * gdb.base/funcargs.exp: Likewise.
1063
1064Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
1065
1066 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
1067 * config/monitor.exp: Add support for setting baud rate.
1068
1069Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
536a7a16
FF
1070
1071 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
1072 i*86-*-linux* xfails for "backtrace through signal handler".
1073 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
1074 "print func2::coremaker_local".
1075 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
dfbb1a26 1076 alpha-dec-osf2* xfail for
536a7a16 1077 "delete all breakpoints when none".
536a7a16 1078
b998e7b8
FF
1079Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
1080
1081 * gdb.base/break.exp: Change test that deletes all breakpoints
1082 when no user breakpoints are installed. A post 4.15 change
1083 causes gdb to no longer prompt in this case.
1084
c7c26058
FF
1085Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
1086
1087 * gdb.base/return.exp (return_tests): Change xfail for test
1088 "correct value returned double test" to stop xfailing at
1089 Solaris 2.5. Apparently the bug has been fixed.
1090
1130734d
FF
1091Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
1092
1093 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
1094 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
1095
cb016f01
JL
1096Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
1097
1098 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
1099 * gdb.disasm/hppa.s: Corresponding changes.
1100
1101Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
1102
1103 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
1104 makefile fragment.
1105 * config/mt-hpux: Deleted.
1106
00c916f4
JL
1107Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
1108
1109 * Many files: When warning about suppressed tests due to a
1110 nonexistant test binary, avoid incrementing the warning count.
1111
1112Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
1113
1114 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
1115
56040190
PS
1116Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1117
1118 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
1119 "sparc-*-solaris2*".
1120
1121Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1122
1123 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
1124 Add global and local variables and initialize them.
1125 * gdb.base/corefile.exp: Test correct mapping of corefile sections
1126 by printing variables. Remove rs6000 and powerpc xfails, BFD now
1127 extracts the file name and terminating signal from the core file.
1128 * TODO: Remove note about tests for correct mapping of corefile.
1129 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
1130 from optimizing it away.
1131 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
1132 handles common blocks.
1133
d4f1e4ee
JL
1134Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
1135
1136 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
1137 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
1138
582433a8
ILT
1139Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
1140
1141 * Makefile.in (maintainer-clean): New target, synonym for
1142 realclean.
1143 * gdb.base/Makefile.in (maintainer-clean): Likewise.
1144 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
1145 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
1146 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
1147 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
1148 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
1149
462bde03
FF
1150Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
1151
1152 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
1153 xfails when not gcc compiled for "print foo::funclocal".
1154 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
1155 "print foo::funclocal at foo",
1156 "print 'scope1.c'::foo::funclocal at foo",
1157 "print foo::funclocal_bss at foo",
1158 "print 'scope1.c'::foo::funclocal_bss at foo",
1159 "print foo::funclocal_ro at foo",
1160 "print 'scope1.c'::foo::funclocal_ro at foo",
1161 "print bar::funclocal at foo" and
1162 "print 'scope1.c'::bar::funclocal at foo".
1163 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
1164 gcc compiled for "print foo::funclocal at bar".
1165 Expand all messages to ensure that they identify that
1166 the test is at bar().
1167 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
1168 gcc compiled for:
1169 "ptype on opaque struct pointer (statically)",
1170 "ptype on opaque struct tagname (statically)",
1171 "ptype on opaque struct pointer (dynamically) 1",
1172 "ptype on opaque struct tagname (dynamically) 1",
1173 "ptype on opaque struct pointer (dynamically) 2" and
1174 "ptype on opaque struct tagname (dynamically) 2
1175 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
1176 gcc compiled for:
1177 "p datalocal"
1178 "whatis datalocal",
1179 "ptype datalocal",
1180 "p bsslocal",
1181 "whatis bsslocal", and
1182 "ptype bsslocal".
1183 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
1184 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
1185 when not gcc compiled.
1186 * gdb.base/funcargs.exp (float_and_integral_args): Add
1187 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
1188 compiled.
1189 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
1190 "backtrace from call6a" when not gcc compiled.
1191 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
1192 "backtrace from call7a" when not gcc compiled.
1193 * gdb.base/callfuncs.exp (do_function_calls):
1194 Add "hppa*-*-hpux*" xfail when not gcc compiled for
1195 "p t_char_array_values(char_array_val2,char_array_val1)",
1196 "p t_char_array_values(char_array_val1,char_array_val2)",
1197 "p t_char_array_values("carray 1","carray 2")",
1198 "p t_char_array_values("carray 1",char_array_val2)",
1199 "p t_char_array_values(char_array_val1,"carray 2")",
1200 "p sum_args(1,{2})",
1201 "p sum_args(2,{2,3})",
1202 "p sum_args(3,{2,3,4})",
1203 "p sum_args(4,{2,3,4,5})"
1204 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
1205 "backtrace in corefile.exp" when not gcc compiled.
1206
7eb10f9a
PS
1207Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1208
1209 * gdb.base/signals.exp: Rewrite `handle all print' test as
1210 a procedure. Accept blanks or TABs as whitespace, increase
1211 timeout and expect input buffer size for the large output
1212 from the command. Remove "i*86-*-bsdi2.0" xfail.
1213
5b1748d4
PS
1214Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1215
1216 * gdb.base/setvar.exp: Add new testcases for truncation when
1217 assigning invalid values to bitfields.
1218
218f9f03
FF
1219Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
1220
1221 * gdb.base/callfuncs.exp (do_function_calls): Remove
1222 mips-sgi-irix* xfail for
1223 "call inferior func with struct - returns char *"
1224 and fix test so that an optional (unsigned char *) cast is
1225 accepted in the result.
1226
c08e5694
FF
1227Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
1228
1229 * gdb.base/funcargs.exp (float_and_integral_args): Remove
1230 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1231 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
1232 * gdb.base/signals.exp: Remove duplicate "handle all print" test
1233 that accidentally got checked in.
1234
5762d8c6
FF
1235Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
1236
1237 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
1238 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
1239 compiled test.
1240 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
1241 Add mips-sgi-irix5* xfail for not gcc compiled.
1242 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
1243 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
1244 "p top", "whatis top", "p middle", and "whatis middle".
1245 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
1246 "whatis signed char" for not gcc compiled.
1247 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
1248 "set variable signed char=-1 (-1)" and
1249 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
1250 * gdb.base/funcargs.exp (float_and_integral_args):
1251 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
1252 Add mips-sgi-irix* xfail when not gcc compiled for
1253 "continue to call2b".
1254 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
1255 "continue to call2g".
1256 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
1257 "backtrace from call6a"
1258 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
1259 "backtrace from call7k".
1260 Add mips-sgi-irix5* xfail when not gcc compiled for
1261 "backtrace from call7a".
1262 (localvars_after_alloca): Fix gdb_test cmds for
1263 "print * after runto ...".
1264 Remove rs6000-*-* xfails for
1265 "print i after runto localvars_after_alloca" and
1266 "print l after runto localvars_after_alloca"
1267 for all compilers.
1268 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
1269 when not compiled with gcc, for:
1270 "print signed char == (minus)",
1271 "print signed char != (minus)",
1272 "print signed char < (minus)",
1273 "print signed char > (minus)".
1274 * gdb.base/callfuncs.exp (do_function_calls):
1275 Add mips-sgi-irix* xfail, when compiled with native compiler, for
1276 "call inferior func with struct - returns char *".
1277 * gdb.base/return.exp (return_tests): Change xfail for
1278 "correct value returned double test" to include Solaris 2.4.
1279 * gdb.base/funcargs.exp (float_and_integral_args):
1280 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
1281
3c88a10a
PS
1282Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1283
1284 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
1285 enumeration bitfields if compiling with GNU C.
1286 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
1287 to empty' prompt.
1288
80d28979
JL
1289Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
1290
b9ba33e6
JL
1291 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
1292 test for PRO targets.
1293
80d28979
JL
1294 * gdb.base/funcargs.exp: Avoid ever setting more than 8
1295 breakpoints in the inferior at any given time by making
1296 two groups of breakpoints for call2*, call6* and call7*
1297 tests.
1298
71568251
PS
1299Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1300
1301 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
1302 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
1303 from optimizing it away.
1304 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
1305 "call inferior func with struct".
1306
46ce3de0
SS
1307Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
1308
1309 * configure.in: Only configure gdb.chill for particular targets.
1310
ce102e96
FF
1311Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
1312
1313 * gdb.base/Makefile.in: Add action to .c.o transformation
1314 rule that generates a .ci file for each .o file and remove
1315 explicit .c.o rules except for callfuncs.o.
1316 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
1317 generates a .ci file for each .o file and remove explicit
1318 .cc.o rules.
1319 (clean): Remove *.tmp *.ci files.
1320 (EXECUTABLES): Remove templ-info.exp.
1321 * gdb.base/compiler.c: New file.
1322 * gdb.c++/compiler.cc: New file
1323 * gdb.base/scope.exp: Source gdb.base/scope.ci.
1324 Change rs6000-*-* xfail for
1325 "print 'scope0.c'::filelocal_ro" and
1326 "print 'scope1.c'::filelocal" and
1327 "print 'scope1.c'::filelocal_bss" and
1328 "print 'scope1.c'::filelocal_ro" and
1329 "print 'scope1.c'::foo::funclocal" and
1330 "print 'scope1.c'::foo::funclocal_ro" and
1331 "print 'scope1.c'::bar::funclocal" and
1332 "print 'scope0.c'::filelocal_ro" and
1333 "print 'scope1.c'::filelocal at foo" and
1334 "print 'scope1.c'::filelocal_bss at foo" and
1335 "print 'scope1.c'::filelocal_ro at foo" and
1336 "print 'scope1.c'::foo::funclocal at foo" and
1337 "print 'scope1.c'::foo::funclocal_bss at foo" and
1338 "print 'scope1.c'::foo::funclocal_ro at foo" and
1339 "print 'scope1.c'::bar::funclocal at foo" and
1340 "print 'scope0.c'::filelocal_ro" and
1341 "print 'scope1.c'::filelocal" and
1342 "print 'scope1.c'::filelocal_bss" and
1343 "print 'scope1.c'::filelocal_ro" and
1344 "print 'scope1.c'::foo::funclocal" and
1345 "print 'scope1.c'::foo::funclocal_bss" and
1346 "print 'scope1.c'::foo::funclocal_ro" and
1347 "print 'scope1.c'::bar::funclocal" and
1348 "print 'scope1.c'::bar::funclocal_bss"
1349 to only be xfail'd when not compiled with gcc.
1350 Add rs6000-*-* xfail for
1351 "print 'scope0.c'::filelocal_bss before run"
1352 when compiled with gcc.
1353 (test_at_main): Add rs6000-*-* xfail for
1354 "print filelocal_ro in test_at_main"
1355 when compiled with gcc.
1356 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
1357 Add rs6000-*-aix* xfail for
1358 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
1359 "ptype t_char_array", not compiled with gcc.
1360 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
1361 xfail for "list foo (in include file)" when gcc compiled.
1362 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
1363 (integral_args): Add rs6000-*-* xfail for
1364 "run to call0a" if not compiled with gcc.
1365 (unsigned_integral_args): Add rs6000-*-* xfail for
1366 "run to call1a" if not compiled with gcc.
1367 (float_and_integral_args): Add rs6000-*-* xfail for
1368 "run to call2a" if not compiled with gcc and for
1369 "continue to call2b" for any compiler.
1370 Add rs6000-*-* xfail to
1371 "print f1 after run to call2a" for gcc compiled.
1372 (discard_and_shuffle): Add rs6000-*-* xfail for
1373 "run to call6a".
1374 (shuffle_round_robin): Add rs6000-*-* xfail for
1375 "backtrace from call7a" if not compiled with gcc.
1376 Add rs6000-*-* xfail for
1377 "backtrace from call7b" if compiled with gcc.
1378 (call_after_alloca): Add rs6000-*-* xfail for
1379 "print c in call_after_alloca" and
1380 "print s in call_after_alloca" and
1381 "backtrace from call_after_alloca_subr"
1382 if not compiled with gcc.
1383 (localvars_in_indirect_call): Add rs6000-*-* xfail for
1384 "print c in localvars_in_indirect_call" and
1385 "print c in localvars_in_indirect_call" and
1386 "backtrace in indirectly called function" and
1387 "stepping into indirectly called function"
1388 if not compiled with gcc.
1389 (localvars_after_alloca): Add rs6000-*-* xfail for
1390 "print c after runto localvars_after_alloca" and
1391 "print s after runto localvars_after_alloca" and
1392 "print i after runto localvars_after_alloca" and
1393 "print l after runto localvars_after_alloca"
1394 for all compilers.
1395 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
1396 than whatis-info.exp.
1397 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
1398 than opaque-info.exp.
1399 Setup rs6000-*-* xfail for
1400 "ptype on opaque struct pointer (statically)" and
1401 "ptype on opaque struct pointer (dynamically)" when
1402 not compiled with gcc.
1403 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
1404 rather than callf-info.exp.
1405 (do_function_calls): Add clear_xfail for rs6000-*-* for
1406 "p t_float_values2(3.14159,float_val2)". Seems to work
1407 fine there, both with xlc and gcc. Need to find out what
1408 it is doing right and fix other platforms.
1409 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
1410 "call inferior func with struct - returns int",
1411 "call inferior func with struct - returns long",
1412 "call inferior func with struct - returns float",
1413 "call inferior func with struct - returns double",
1414 "call inferior func with struct - returns char *",
1415 but only if not gcc compiled (presumes xlc compiled).
1416 Change rs6000-*-* xfails for
1417 "call inferior func with struct - returns char" and
1418 " call inferior func with struct - returns short" to only
1419 xfail if not using gcc.
1420 (clean mostlyclean): Remove *.ci and *.tmp files.
1421 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
1422 than templ-info.exp.
1423 * gdb.base/langs.exp: Source gdb.base/langs.ci.
1424 Add rs6000-*-* xfail for "up to foo in langs.exp"
1425 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
1426 when not gcc compiled.
1427
5c6f833b
JL
1428Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1429
1430 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
1431 * gdb.base/corefile.exp: Likewise.
1432 * gdb.base/list.exp: Likewise.
1433 * gdb.base/scope.exp: Likewise.
1434 * gdb.base/siganls.exp: Likewise.
1435
1436 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
1437 compiler output.
1438 * gdb.base/whatis.exp: Likewise.
1439
e334d7ea
JL
1440Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
1441
1442 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
1443 failure (opcode table has been fixed to match reality).
1444
c08e5694 1445Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
ce102e96
FF
1446
1447 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
1448 "call inferior func with struct - returns char",
1449 "call inferior func with struct - returns short"
1450
1451 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
1452 "print 'scope0.c'::filelocal at main",
1453 "print 'scope0.c'::filelocal_bss in test_at_main",
1454 "print 'scope0.c'::filelocal at foo",
1455 "print 'scope0.c'::filelocal_bss in test_at_foo",
1456 "print 'scope0.c'::filelocal at bar",
1457 "print 'scope0.c'::filelocal_bss in test_at_bar"
1458
1459 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
1460 in source file 1". This bug seems to have been fixed with both
1461 gcc and native cc (was native assembler bug?).
1462
06c87bef
FF
1463Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
1464
1465 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
1466 "backtrace through signal handler" to "i*86-*-sysv4*".
1467 * gdb.base/signals.exp: Add xfail for "'next' behaved as
1468 continue" case. Add "known SVR4 bug" to fail message.
1469 Add "i*86-*-bsdi2.0" xfail for "handle all print".
1470 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
1471 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
1472 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
1473 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
1474 "up to foo in langs.exp", "show language at foo in
1475 langs.exp", "up to cppsub_ in langs.exp", "show
1476 language at cppsub_ in langs.exp", "up to fsub in
1477 langs.exp", and "show language at fsub in langs.exp".
1478 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
1479 "bactrace in corefile.exp".
1480 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
1481 "call inferior function with struct - returns float" and
1482 "call inferior function with struct - returns double".
1483
98395eaf
JL
1484Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
1485
1486 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
1487 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
1488 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
1489 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
1490
06c87bef
FF
1491Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
1492
1493 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
1494 (or overriden) "CHILL" macro rather then bare "gcc".
1495 Also look for ../../gcc/xgcc since that is what we will
1496 actually need, not "Makefile". Remove following assignment
1497 of CHILL to CHILL_FOR_TARGET because that results in
1498 recursive definition.
1499
db186b3d
FF
1500Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
1501
1502 * gdb.base/corefile.exp: Change xfail for backtrace in
1503 corefile.exp from linuxaout to all linux.
1504 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
1505 cases where we miss the breakpoint at the signal handler
1506 for some reason. Setup xfail for linuxoldld/linuxaout and
1507 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
1508 hitting SIGURG breakpoint.
1509 * gdb.base/signals.exp: Setup xfail for "next" acting like
1510 continue to add linuxoldld. Setup xfail for all linux for
1511 "next to handler in signals_tests_1", "backtrace in
1512 signals_tests_1", "continue to func1", "pass SIGUSR1",
1513 and continue to handler".
1514
1515Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
1516
1517 * Update all FSF addresses except those in COPYING* files.
1518
87544f53
FF
1519Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
1520
1521 * gdb.base/a2-run.exp: Change messages to be more explicit about
1522 the status of args, and quote binfile in results.
1523
eed4066f
FF
1524Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
1525
1526 * gdb.base/callfuncs.exp: Add tests for passing structs to
1527 inferior functions and return various types.
1528 * gdb.base/callfuncs.c: Add functions to receive a struct
1529 and return a member of the struct, in various types.
1530
96fd3d08
PS
1531Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1532
1533 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
1534
1535Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1536
1537 * config/vxworks29k.exp: New file, sources vxworks.exp.
1538
e72d8622
JL
1539Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1540
1541 * config/gdbremote.exp: New file. Testing framework using
1542 gdbserver.
1543
3b013a3a
FF
1544Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
1545
1546 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
1547 "call function when asleep" and "send end of file".
1548 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
1549 for "backtrace in corefile.exp".
1550 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
1551 for "backtrace through signal handler".
1552 * gdb.base/corefile.exp: Make sure we actually generate a core file
1553 before trying the core tests. Some systems allow the user to suppress
1554 generation of core files and default to that (linux for example).
1555 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
1556 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
1557
1558Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1559
1560 * gdb.threads: New directory with some crude multi-threaded
1561 gdb tests (step.exp and step2.exp).
1562 * config/mt-lynx (STEP_EXECUTABLE): Define.
1563 (THREADFLAGS): Define.
1564
2f11e8d4
JL
1565Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
1566
d9d9e563
JL
1567 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
1568
8b67f01d
JL
1569 * gdb.base/signals.exp: Disable whole file for lynx until
1570 further notice.
1571
2f11e8d4
JL
1572 * gdb.base/signals.exp: xfail test where "next" acts like
1573 "continue" for lynx.
23843691 1574
92d9020d
JL
1575 * gdb.base/interrupt.exp: xfail test for calling function while
1576 inferior is asleep for lynx.
1577
23843691
JL
1578 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
1579 than one cr-lf after each command.
1580
fe3c360b
PS
1581Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1582
1583 * configure.in: Reinstate setting of stabsdirs variable, fix
1584 typo in setting up configdirs for native builds.
1585
1586 * gdb.base/return.exp: Fix typo in return double test.
1587 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
1588 compiler from optimizing them away.
1589
1590Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
1591
1592 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
1593 sequences to be echo'd by gdb when using gdb_test.
1594 * gdb.chill/chexp.exp: Likewise.
1595 * gdb.fortran/exprs.exp: Likewise
1596
f1c9e446
JL
1597Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
1598
1599 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
1600 after the inferior gdb has started.
1601
1602 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
1603 after each command.
1604 * gdb.base/funcargs.exp: Likewise.
1605 * gdb.base/gdbvars.exp: Likewise.
1606 * gdb.base/interrupt.exp: Likewise.
1607 * gdb.base/list.exp: Likewise.
1608 * gdb.base/watchpoint.exp: Likewise.
1609 * gdb.c++/demangle.exp: Likewise.
1610 * gdb.c++/inherit.exp: Likewise.
1611 * gdb.chill/chexp.exp: Likewise.
1612 * gdb.fortran/exprs.exp: Likewise.
f4c40a88 1613
9ce4ab84
JL
1614 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
1615 test if we can't handle IO to/from the inferior.
1616
35e7ac7f
JL
1617 * gdb.c++/misc.exp: Always check for a program already being
1618 started after sending a "run" command to gdb.
1619
b2620293
JL
1620 * gdb.base/twice.exp: Start with a fresh gdb.
1621
780f9763
JL
1622 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
1623 only depend on gdb's expression code, not the chill runtime.
1624
f20dfd56
JL
1625 * gdb.base/return.c: Put return values into variables so we
1626 can have gdb print them rather than depending on the program
1627 to print them.
1628 * gdb.base/return.exp: Corresponding changes.
1629
46e8d411
JL
1630 * lib/gdb.exp: Provide default value for noinferiorio.
1631 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
1632 the inferior.
1633
8c72d4fc
JL
1634 * gdb.base/break.exp: Always check for a program already being
1635 started after sending a "run" command to gdb.
1636 (text_next_with_recursion): Don't check the output from the
1637 program's printf statement. Instead just make sure the program
1638 exited.
1639
f4c40a88
JL
1640 * gdb.base/commands.exp: Protect tests which need arguments with
1641 $noargs conditionals.
1642
4bbec291
PS
1643Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1644
1645 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
1646 of structure member arrays to match gdb/valops.c:value_addr change.
1647
1648Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
1649
1650 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
1651 cases.
1652
c08e5694 1653Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
b49f423b 1654
69423808
FF
1655 * configure.in (configdirs): Remove gdb.chill from default list
1656 of subdirs and then add it back in only if doing a native build.
1657 The current chill compiler does not yet work in any cross build.
b49f423b
FF
1658 * Revert all signal changes from Jul 6.
1659 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
1660 for sh-hms targets, allowing these tests to link, with no other
1661 changes. Testing is suppressed by setting "nosignals" in site.exp.
1662
1663Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
1664
1665 * configure.in (signaldirs): Define and add to configdirs for all
1666 targets except some specific ones that are known to not support signals.
1667 Also clean up formatting.
1668 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
1669 (signals, sigall): Remove rules to build.
1670 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
1671 Moved to new gdb.signals directory.
1672 * gdb.signals: New test directory.
1673 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
1674 signals.c signals.exp}: New or moved files.
1675
c9f7cd7b
JL
1676Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
1677
1678 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
1679
b49f423b 1680Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
b9f12fd9
FF
1681
1682 * gdb.base/return.exp: Xfail `return double' test failure
1683 on at least Solaris 2.3 and handle future/past versions on
1684 a case by case basis as appropriate. Also update message
1685 to include i*86 failures.
1686
0835edd6
JK
1687Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1688
b9f12fd9
FF
1689 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
1690
1691 * lib/gdb.exp: Fix comment which erroneously identified
1692 gdb_file_cmd as gdb_load (the 19 May change was in fact to
1693 gdb_file_cmd not gdb_load).
1694 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1695
0835edd6
JK
1696 * gdb.base/setvar.exp: Make test names consistent between pass and
1697 fail cases. Use gdb_test more.
1698
1699Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1700
1701 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
1702
1703Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1704
1705 * gdb.base/help.exp: Fix expected help string for `show commands'.
1706
fe5d4b85
JK
1707Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
1708
1709 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
1710
1711 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
1712 of a text section.
1713
f031fc2c
SG
1714Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
1715
1716 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7c71315c
SG
1717 that loop eventually terminates. Fix Connection refused logic so
1718 that testsuite will expire nicely.
f031fc2c 1719
7e7b4a02
SG
1720Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
1721
1722 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
1723 config/rom68k.exp: New tcl glue for the appropriate monitors.
1724 These all just end up calling monitor.exp.
1725 * config/monitor.exp (gdb_target_monitor): Handle `Connection
1726 refused' by retrying. Cleanup some timeout issues.
1727 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
1728 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
1729 callers don't have to set/restore global timeout variable.
1730
1731 * The following set of changes centralizes management of the global
1732 timeout variable. This way, it can be set in one target dependent
1733 place instead of dozens of places scattered throughout the test suite.
1734 If you need to lengthen a timeout, then you should either set timeout
1735 in one of the config/{target}.exp files, or multiply it by a factor.
1736 Setting it to an absolute value is always going to lose for some
1737 targets.
1738 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
1739 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
1740 * gdb.base/funcargs.exp: Don't set timeout.
1741 * gdb.base/list.exp (test_forward_search): Only use local timeout.
1742 * gdb.base/printcmds.exp (test_print_string_constants
1743 test_print_array_constants): Don't set timeout.
1744 * gdb.base/ptype.exp: Don't set timeout.
1745 * gdb.base/recurse.exp: Don't set timeout.
1746 * gdb.base/return.exp: Don't set timeout.
1747 * gdb.base/watchpoint.exp: Don't set timeout.
1748 * gdb.c++/classes.exp (do_tests): Don't set timeout.
1749 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1750
5c36767e
TG
1751Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
1752
1753 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
1754
1755Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1756
1757 * lib/gdb.exp: Disable chill tests for irix5.
1758
7da20c11
JK
1759Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1760
1761 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
1762 each test pass or fail.
1763
b074fd2f
JK
1764Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1765
1766 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
1767 xlc not gcc.
1768
1e2bb164
SG
1769Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
1770
1771 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
1772
43967a76
SG
1773Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
1774
1775 * config/est.exp: Fix copyright and comments. Remove dead code.
1776 Use targetname, serialport and baud variables instead of fixed
1777 constants.
1778 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
1779 * config/cpu32bug.exp: New file to support cpu32bug monitors.
1780
4c5eefab
JK
1781Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1782
1783 * gdb.base/watchpoint.exp: Don't run
1784 test_watchpoint_triggered_in_syscall for sunos.
1785
1786Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1787
1788 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
1789 they don't seem to exist. Do include stdio.h.
1790
9b86fdca
JK
1791Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1792
1793 * gdb.base/a1-selftest.exp: Add alpha xfail.
1794
1795Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1796
1797 * gdb.base/watchpoint.c (main): Prompt before calling read().
1798 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1799 Revise accordingly. Remove cruft about sending "123" several
1800 times, until it gets noticed. Clean up the "print buf[0]" stuff
1801 so that it passes or fails, and waits for prompts in the usual way.
1802
06ce5be9
JK
1803Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1804
4dc75a28
JK
1805 * gdb.base/recurse.exp: Fix comment.
1806
1807 * TODO: Remove item about printing variables in nodebug.exp. Add
1808 item about enabling tests which are only run on some targets.
1809
1810 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
1811 fail, make test names unique, use new gdb_test convention
1812 regarding pattern, use gdb_test more, etc.).
1813
06ce5be9
JK
1814 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
1815 fail, make test names unique, etc.).
1816
6b61e21d
PS
1817Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1818
1819 * gdb.base/nodebug.c: Change return type of top and middle to
1820 short.
1821 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
1822 are fixed by the recent mdebugread.c changes. Allow `short ()'
1823 as type for top and middle.
1824
84ccb887
JK
1825Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1826
1827 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
1828 nearly as I can tell, the whole thing was an accident in Stu's
1829 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
1830 to replace a send/expect pair with gdb_test, but ended up only
1831 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
1832 of 30 Mar 1995 took care of it, but left this vestigial comment
1833 which I am now nuking.
1834
1835Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1836
1837 * gdb.base/break.exp: Look for different line number for
1838 breakpoint at main depending on usestubs.
1839
4507de2d
PS
1840Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1841
1842 * gdb.base/list.exp: Adjust some alternate expect patterns to
1843 match recent list0.c change. Add alternate expect pattern for
1844 output from `list default lines around main' for optimizing
1845 compilers.
1846
24b26999
JK
1847Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1848
1849 * lib/gdb.exp: If nosignals is not set, set it to 0.
1850
241b4dff
KH
1851Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
1852
1853 * config/slite-gdb.exp: Responds to load symbol table prompt.
1854 * gdb.base/break.exp: Adjust line number, fix rerun.
1855 * gdb.base/langs0.c: Add #ifdef usestubs.
1856
6413ee42
KH
1857Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
1858
a04abecc
KH
1859 * gdb.base/list.exp: Adjust line contents after adding new lines in
1860 list0.c. Also fix a syntax error.
1861
6413ee42
KH
1862 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
1863 * gdb.base/break.exp: ditto.
1864 * gdb.base/list.exp: ditto.
1865 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
1866 * gdb.base/run.c: ditto.
1867 * gdb.base/list0.c: ditto.
1868 * gdb.base/funcargs.c: ditto.
1869
f66a7902
SG
1870Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
1871
1872 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
1873 $targetname, $serialport and $baud instead of hardwired variables.
1874 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
1875 target doesn't support signals.
1876
3c23a941
KH
1877Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
1878
1879 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
1880
d87e7706
JK
1881Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1882
1883 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
1884 Don't rely on the value of an auto variable before it has been
1885 initialized. Use gdb_test more.
1886
b34b32e7
JK
1887Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1888
1889 * lib/gdb.exp (default_gdb_version): A version number must start
1890 with a digit, but other than that contains all characters up to
1891 the first whitespace character.
1892
d894a6e9
JK
1893Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1894
1895 * gdb.base/commands.exp (breakpoint_command_test): New tests.
1896
74cb8a36
JK
1897Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1898
1899 * gdb.c++/*.exp: Warn if executable does not exist. The original
1900 reason for skipping the warning was that configure.in sometimes
1901 intentionally skipped building the executables but the tcl code
1902 had no way of knowing. That (a) was always bogus with respect to
1903 error handling, (b) is no longer true (right now there is no way
1904 to skip C++ tests).
1905
1906 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
1907
766de354
PS
1908Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1909
1910 * gdb.base/list.exp: Add expect patterns for output from
1911 SunPRO compiled executables.
1912 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
1913 types.
1914
1ef0c066
JK
1915Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1916
62f2c808
JK
1917 * gdb.base/break.exp (test_next_with_recursion): Accept any line
1918 number (we are already testing that the correct source line text
1919 gets printed).
1920
1921 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
1922 that is what is intended, but something needed to be done to get
1923 sunos4 native working again.
1924
1925 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
1926
1ef0c066
JK
1927 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
1928 apparently went with a (very) old xfail.
1929
a302b5c2
KH
1930Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
1931
1932 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
1933 runto_main is a proc in gdb.exp that will do 'step' for target use
1934 stubs.
1935 * gdb.base/exprs.exp: ditto.
1936 * gdb.base/interrupt.exp: ditto.
1937 * gdb.base/opaque.exp: ditto.
1938 * gdb.base/printcmds.exp: ditto.
1939 * gdb.base/ptype.exp: ditto.
1940 * gdb.base/scope.exp: ditto.
1941 * gdb.base/setvar.exp: ditto.
1942 * gdb.base/signals.exp: ditto.
1943 * gdb.base/twice.exp: ditto.
1944 * gdb.c++/classes.exp: ditto.
1945 * gdb.c++/inherit.exp: ditto.
1946 * gdb.c++/templates.exp: ditto.
1947 * gdb.base/break.exp: no run and hit main for stubs. Change line
1948 numbers for breakpoints and info breakpoint.
1949 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
1950 breakpoint().
1951 * gdb.base/callfuncs.c: ditto.
1952 * gdb.base/exprs: ditto.
1953 * gdb.base/interrupt.c: ditto.
1954 * gdb.base/opaque0.c: ditto.
1955 * gdb.base/printcmds.c: ditto.
1956 * gdb.base/ptype.c: ditto.
1957 * gdb.base/scope0.c: ditto.
1958 * gdb.base/setvar.c: ditto.
1959 * gdb.base/signals.c: ditto.
1960 * gdb.base/twice.c: ditto.
1961 * gdb.c++/misc.cc: ditto.
1962 * gdb.c++/templates.cc: ditto.
1963
6e131ad8
JK
1964Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1965
8c7ab5da
JK
1966 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
1967
ac35a003
JK
1968 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
1969 somewhere between `read' and `main.c'. I'm pretty sure the
1970 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
1971 and it isn't particularly useful.
1972
6e131ad8
JK
1973 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
1974
91e3c246
JK
1975Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1976
1977 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
1978
40ee1402
KH
1979Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
1980
1981 * config/mt-slite: add LIBS and -nostdlib.
1982 * config/slite-gdb.exp: add this new file to support sparclite target.
1983
11c54b4f
DE
1984Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
1985
1986 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
948121f2
DE
1987
1988 * gdb.base/a2-run.exp: Change argument to istarget from
1989 "*-*-vxworks" to "*-*-vxworks*".
1990 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
1991
1c2258cc
KH
1992Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
1993
1994 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
1995 will not runto main but do a 'step' to step out of breakpoint().
1996 * config/mt-slite: add -Dusestubs.
1997
1d30b948
JK
1998Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1999
8abe0b3d
JK
2000 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
2001 instead of just @.
2002
0926990e
JK
2003 * gdb.base/signals.exp: Add test for "handle all print".
2004 * TODO: Remove "handle all print". Also remove item about
2005 checking copyright date (I don't like the idea of a spurious FAIL
2006 based on when we run the tests).
2007
31a425c3
JK
2008 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
2009 for SunOS4 (reason for failure not investigated). Remove
2010 redundant test for $binfile.
2011
edcea375
JK
2012 * gdb.base/nodebug.c (array_index): Call malloc.
2013
1d30b948
JK
2014 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
2015
eead772b
JL
2016Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
2017
2018 * gdb.base/recurse.exp: Update gdb_test invocation to use new
2019 conventions and slightly simplify the matching regexp.
2020
96528ad5
JK
2021Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2022
eead772b
JL
2023 * gdb.base/break.exp: Update gdb_test invocation to use new
2024 convention.
2025
2026 * lib/gdb.exp: If noargs is not set, set it to 0.
2027
c793c274 2028 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
9d96ecba 2029 tests unique.
c793c274 2030
f2ee99a4 2031 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
96528ad5 2032
3c727f72
JK
2033Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2034
2035 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
2036 one argument of type "<non-float parameter>".
2037
e8a256f8
SG
2038Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
2039
2040 * config/rom68k.exp: New file to support Motorola IDP board.
2041 * gdb.base/a2-run.exp: Skip this file if noargs is set.
2042 * gdb.base/break.c: Change things around so that this program
2043 doesn't depend upon args. This is necessary to make remote
2044 targets work (in general, they can't take args).
2045 * gdb.base/break.exp: Don't try to send args to program. Don't
2046 expect output. Also, replace lots of code with gdb_test.
2047
67f35633
JK
2048Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2049
a59f104e
JK
2050 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
2051 printing of '\'' (which is what the comment says we are testing,
2052 even though we were not), not '''.
2053 (test_integer_literals_rejected): Test that printing ''' is an error.
2054
2055 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2056 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
2057 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
2058 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
2059 Use gdb_test not test_print_accept.
2060 * lib/gdb.exp: Remove test_print_accept.
2061
82f14c54
JK
2062 * gdb.base/signals.exp (signal_tests_1): Make pass message
2063 consistent with fail message.
2064
67f35633
JK
2065 * gdb.base/whatis.exp: Remove xfails for printing char vs.
2066 unsigned char; the bug (PR 1821) is fixed.
2067
2068 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
2069
2070 * gdb.base/scope.exp (test_at_localscopes): Call pass for
2071 successful tests--makes xfailing them work right.
2072
05918905
JK
2073Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2074
4081daa1
JK
2075 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
2076 only \r\n, not .*. The test can pass .* as the last thing in
2077 $pattern if that is what it wants. In addition to providing this
2078 flexibility, this change should speed up pattern matching in cases
2079 where the pattern already ended with .* (there were a number of
2080 them). This change also helps catch bad patterns--in the old
2081 scheme the typo "char \*" instead of "char \\*" would pass. Now
2082 it is caught.
2083 * Many .exp files: Update callers.
2084
9be82863
JK
2085 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
2086 clearer and does not spuriously match multiple ('s. Likewise for
2087 ) and *.
2088
fcb869f1
JK
2089 * gdb.base/nodebug.exp: Test ability to call a function and pass
2090 it a string (even with no debugging info).
2091
05918905
JK
2092 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
2093 "p '\'", which is the same as "p ''" once tcl gets done with
2094 quoting, to "p '\\'", which I suspect is what is intended (one
2095 backslash gets sent to GDB).
2096
2097 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
2098
2f8996dc
JK
2099Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2100
2101 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
2102 1817) was fixed literally years ago.
2103
07b96357
PS
2104Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2105
2106 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
2107 test, it causes stepping out of call_after_alloca_subr with
2108 optimizing compilers.
2109 (localvars_in_indirect_call): Consume GDB prompt if `finish'
2110 fails.
2111
d4f389f6
PS
2112 * gdb.c++/templates.exp: Source templ-info.exp only if
2113 the templates executable exists.
2114
07b96357
PS
2115 * gdb.c++/misc.cc (class Contains_static_instance,
2116 class Contains_nested_static_instance),
2117 gdb.c++/classes.exp (test_static_members): Test printing of
2118 a class that contains a static instance of the class.
2119
2120Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2121
2122 * gdb.base/langs2.c (cppsub_): Don't prototype.
2123 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
2124 only, I believe).
2125
54e85b8b
JK
2126Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2127
a331c834
JK
2128 * lib/gdb.exp (skip_chill_tests): New procedure.
2129
54e85b8b
JK
2130 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
2131
4eb2d219
JL
2132Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
2133
2134 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
2135 each expect pattern. Cuts runtime from 12 to about 4 seconds.
2136
60fdbf97
JK
2137Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2138
4eb2d219
JL
2139 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
2140
b77a4fbe
JK
2141 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
2142 disassemble 8, not 16, instructions for part 4.
2143
cc5be366
JK
2144 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
2145 support the latter anymore.
2146
60fdbf97
JK
2147 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
2148 -DNO_PROTOTYPES.
2149 * gdb.base/callfuncs.c: Control use of prototypes based on
54e85b8b 2150 NO_PROTOTYPES, not __STDC__.
60fdbf97
JK
2151 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
2152 t_float_values2 tests if prototypes in use.
2153
2154 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
2155 t_double_values): When checking differences against DELTA, check
2156 that difference is within the range (-DELTA,DELTA), not just
2157 (-infinity,DELTA).
2158
cb58e516
KH
2159Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
2160
2161 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
2162 'file' command firts, then 'target', then 'load', this is due to gdb
2163 target set up.
2164 * config/mips-gdb.exp: Fix a couple regular exp bugs.
2165
b5f105b7
JL
2166Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
2167
2168 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
2169 FP load/store variants.
2170 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
2171
6aa082e0
JK
2172Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2173
2174 * gdb.base/term.exp: Do not give a warning if not native, it is
2175 not an abnormal condition.
2176
7cf24958
JK
2177Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
2178
2179 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
2180 t_char_array".
2181
0794ff45
JK
2182Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
2183
566ac567
JK
2184 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
2185 are getting the version number.
2186
0794ff45
JK
2187 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
2188 if not native, it is not an abnormal condition.
2189
f7ef65ff
JK
2190Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2191
2192 * lib/gdb.exp: Just use "file exists", rather than undocumented
2193 dejagnu procedure "findfile".
2194
65424cda
C
2195Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2196
2b53190d
C
2197 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
2198 (LDFLAGS): Set to -Xlinker -Ur.
2199
65424cda
C
2200 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
2201 Removed, these values are set by lib/gdb.exp.
2202
2203 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
2204
9c79b8b5
C
2205Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
2206
983bfa63
C
2207 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
2208 of replicating gdb startup code.
2209
2210 * config/mt-vxworks (LDFLAGS): Set to -r.
2211 (CFLAGS_FOR_TARGET): Removed.
2212
2213 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
2214 (gdb) and gdb for vxworks uses (vxgdb).
2215
be813d02
C
2216 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
2217 executable is not in the tree and host != target, use sed and
2218 program_transform_name to determine the gdb name used by the
2219 target.
2220
9c79b8b5
C
2221 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
2222 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
2223
c44c67b5
JK
2224Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2225
9c79b8b5
C
2226 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
2227 floats, chars, and shorts where there are ANSI-style function
2228 definitions.
bc778001 2229
c44c67b5
JK
2230 * gdb.base/langs.exp, gdb.base/langs*: New test.
2231 * gdb.base/Makefile.in: Build it.
2232 * TODO: Remove item about checking that C names don't get C++
2233 demangling applied; this test tests it.
2234
1fb1efcd
JK
2235Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2236
08bac7ad
JK
2237 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
2238 went with the const70 xfail. The xfail went away a year ago.
2239
ad325d68
JK
2240 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
2241
6b045866
JK
2242 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
2243 for hp300.
2244
1eff7097
JK
2245 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
2246
1fb1efcd
JK
2247 * gdb.base/a1-selftest.exp: Don't run on hp300.
2248
f78d026a
JK
2249Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2250
2251 * Makefile.in (site.exp): Set host_alias and target_alias as well
2252 as host_triplet and target_triplet.
2253
3c1c71bf
JK
2254Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2255
f78d026a
JK
2256 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
2257
2258 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
2259 places as other ecoff systems).
372bb8b4 2260
3c1c71bf
JK
2261 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
2262 ultrix.
2263
f51b66ca
JK
2264Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2265
09837152
JK
2266 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
2267 remove them.
2268 * gdb.base/nodebug.exp: Accept "function" in addition to "text
2269 variable and "variable" in addition to "data variable".
2270 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
2271
f51b66ca
JK
2272 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
2273 2.
2274 * gdb.base/list1.c (long_line): Add additional statement at start
2275 of function.
2276 * gdb.base/list.exp (test_forward_search): Update line number to
2277 reflect new statement.
2278
2279Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2280
2281 * gdb.base/signals.exp: Reinitialize searched source directories
2282 after gdb_start call.
2283
333a8dde
JL
2284Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
2285
2286 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
2287 * gdb.stabs/Makefile.in: Likewise.
2288
2289 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
2290 change. Instead split the tests into smaller pieces.
2291 * gdb.disasm/hppa.s: Corresponding changes.
2292
a4efaf7c
JK
2293Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2294
e29b45a8
JK
2295 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2296 Quote ^C when passing it to stty. For some shells ^ is a pipe.
2297
a4efaf7c
JK
2298 * gdb.base/funcargs.exp: Modify many tests so that every test
2299 either passes or fails. Make some test names unique.
2300
669c9fe3
JK
2301Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2302
66b063c0
JK
2303 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
2304 Call stty to set interrupt character.
2305
958f6a13
JK
2306 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
2307 for HP assembler versus GNU assembler based on actual behavior of
2308 $(CC), rather than assuming that $(AS) is always the GNU assembler.
2309
669c9fe3
JK
2310 * TODO: Suggest a few more stepping tests.
2311
c429bbab
SS
2312Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
2313
2314 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
2315 restart GDB for h8300 after a continue.
2316 (return): Add pattern to match a29k-udi behavior.
2317 * gdb.base/nodebug.exp: Remove obsolete comment.
2318 * gdb.base/regs.exp: New file, testing of register displays.
2319 * gdb.base/return.exp: Fix typo in reference to $objdir.
2320 * gdb.base/whatis.exp: Always start with a fresh GDB.
2321
7010dbce
JK
2322Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2323
2324 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
2325 higher, these tests generate a lot of output.
2326
6535b97b
JK
2327Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2328
2329 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
2330 code following the catch silently ignored some errors; without the
2331 catch they should be thrown like any other tcl error. Also, the
2332 catch used "" instead of {} which meant all the callers who wanted
2333 to include one of the characters "[]$ had to quote it an extra time.
2334 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
2335 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
2336 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
2337 Remove extra quoting.
2338
36491e5b
JL
2339Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
2340
af2e6b15
JL
2341 * gdb.base/commands.exp: Make test names unique; every test either
2342 passes or fails. Update some comments.
2343
36491e5b
JL
2344 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
2345
e1a6b67a
JK
2346Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2347
89ac6f79
JK
2348 The following fixes a FAIL caused by the fact that the alpha stabs
2349 configuration didn't use the ".if alpha" code in weird.def.
2350 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
2351 bit pointer, so the 32 bit version works even on the alpha.
2352 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
2353 Remove the stuff which allowed us to have separate versions for
2354 alpha and everything else.
2355
b2385a0a
JK
2356 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
2357 regexp which "info func operator\[\](" is supposed to match. Fix
2358 string to send to GDB. Note that GDB still doesn't work right. Add a
2359 new test for "info func .perator\[\](" which GDB does handle correctly.
2360
e1a6b67a
JK
2361 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
2362
f34c8766
JK
2363Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2364
2365 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
2366 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
2367 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
2368 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
2369 it makes the tests harder to understand and confuses test-o-matic.
2370 The preferred style is that each test provides a PASS or a FAIL,
2371 and has a unique message (e.g. "continue #54" not just "continue")
2372 which is the same for the pass and the fail.
2373 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
2374 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
2375 to lib/gdb.exp.
2376 * gdb.base/printcmds.exp: Use test_print_accept. Remove
2377 prt_accept which was basically the same thing. Likewise for
2378 test_print_reject and prt_reject.
2379 * lib/gdb.exp (test_print_reject): Add some more error message
2380 patterns to match from the former printcmds.exp (prt_reject).
2381 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
2382 One defect of the passcount stuff is that some of it failed to
2383 report XPASS where appropriate.
2384 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
2385 stuff before and after arg in expected pattern.
2386 (test_paddr_operator_functions): Re-do test without print_addr_of;
2387 this is the only test which seems to want extra stuff there.
2388
29f25f6f
JK
2389Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2390
f34c8766
JK
2391 * gdb.base/nodebug.exp: Update new tests to reflect improved
2392 wording of gdb output.
2393
29f25f6f
JK
2394 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
2395 and "ptype" work on variables in files compiled without -g.
2396 Replaces commented out "maint print msymbol" tests.
2397
0c72a5b7
JK
2398Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2399
66833626
JK
2400 * gdb.base/setvar.c (dummy): Call malloc.
2401
24f5d04a
JK
2402 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
2403 losing with the irix4 sed.
2404
0c72a5b7
JK
2405 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
2406 ALRM" on irix4.
2407
d722005e
JK
2408Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2409
2410 * TODO: Remove items about corefile.exp testing new exec-file and
2411 backtrace; both are now done. Add items about printing enums.
2412
770b7c59
JK
2413Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2414
2d593cdd
JK
2415 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
2416 "get signal $thissig" test fails.
2417
770b7c59
JK
2418 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
2419
4a9758ed
JK
2420Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2421
59235564
JK
2422 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
2423 compiler warning with dec alpha compiler.
2424
2425 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
2426 extra \n from gdb_test call (this explains why the prompt test
2427 that I removed yesterday was there).
2428 (user_defined_command_test): Remove extra \n and prompt test.
2429
2430 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
2431 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
2432 doesn't exist.
2433 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
2434 Also remove alpha workaround, which turns out to be because
2435 SIGABRT == SIGLOST.
2436
3074a46d
JK
2437 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
2438
4a9758ed
JK
2439 * gdb.base/help.exp: Don't test "help show".
2440
4a2170f0
JK
2441Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2442
4a9758ed
JK
2443 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
2444 "set print address" is on.
2445 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
2446 pass prompt to gdb_test; gdb_test already looks for the prompt.
2447
8bc80016
JK
2448 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
2449
4a2170f0
JK
2450 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
2451 was a vestige of the manual TESTSTRATEGY, and the purpose of it
2452 was to make sure that gdb can read a core file. But (a) the "read
2453 the corefile" part didn't make it to a1-selftest.exp, we just
2454 delete the corefile after creating it, and (b) we test reading
2455 corefiles in corefile.exp anyway. Also, this test left around a
2456 xgdb process on Solaris.
2457
2458 * gdb.base/corefile.exp: Also test backtrace.
2459
cba9d85e
JL
2460Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
2461
b0c29749
JL
2462 * gdb.base/commands.exp: Test a simple user defined command with
2463 arguments and if/while statements; verify the full user command is
2464 printed by "show user".
2465
cba9d85e
JL
2466 * gdb.base/commands.exp: Test if/while commands as part of a
2467 breakpoint command list; verify they appear in breakpoint
2468 information.
2469
74549306
JK
2470Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2471
2472 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
2473 than by dividing by zero.
2474
4f9045b4
JL
2475Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
2476
2477 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
2478 performing an inferior call with watchpoints enabled.
2479 * gdb.base/watchpoint.c (main): Delete second unnecessary read
2480 call.
2481
6fd417ff
JK
2482Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2483
d7c6f0f7
JK
2484 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
2485 of "file" command.
2486
6fd417ff
JK
2487 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
2488 Add additional pattern for when "int operator int(void);" appears
2489 in a different order.
2490
07112465
JK
2491Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
2492
229ad466
JK
2493 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
2494
07112465
JK
2495 * gdb.base/help.exp: Replace most of docstrings for "info signals"
2496 and "signal" with ".*".
2497
d71511fb
JK
2498Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
2499
2500 * TODO: Add note about "handle all nostop".
2501
2502 * gdb.base/{sigall.c, sigall.exp}: New test.
2503 * gdb.base/Makefile.in: Add it.
2504
26e4dcae
SS
2505Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
2506
2507 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
2508 when invoking GDB, suppresses any windowing interface.
2509
8ef36cf3
SS
2510Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
2511
2512 * config/sim-gdb: New file, simulator testing support.
2513
61c4b14e
JL
2514Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
2515
2516 * gdb.base/interrupt.exp: Test calling func1 twice.
2517
9b826d6d
JK
2518Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
2519
2520 * gdb.base/list.exp (test_forward_search): Set timeout higher
2521 when we'll be getting lots of output from gdb.
2522
2523 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
2524 "init_malloc" to after the expect statement. Run it if that
2525 regexp is taken, but also for two others which happen if source
2526 cannot be found.
2527
0427f3ec
JK
2528Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2529
2530 * gdb.base/printcmds.exp: New test, for printing register before
2531 program is running.
2532
633e6238
PS
2533Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2534
2535 * gdb.base/list.exp: Correct some alternate expect patterns
2536 to reflect changes in list1.c.
2537
cdb09cd6
JK
2538Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2539
4ec56c1f
JK
2540 * TODO: Add item regarding large frames.
2541
cdb09cd6
JK
2542 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
2543
2544 * TODO: Remove item about enabling return.exp; it
2545 is enabled. Suggest a few more "return" tests.
2546
528d1a8d
PS
2547Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2548
2549 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
2550 anonymous unions.
2551
fd82583b
JK
2552Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2553
2554 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
528d1a8d 2555 and pr-5646.o, so "make" is the same as "make all", not "make
fd82583b
JK
2556 pr-4975.o".
2557
75d1ef13
SS
2558Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
2559
2560 * gdb.base/list.exp: Adjust expectations to reflect changes in
2561 list1.c.
2562 (test_forward_search): New test proc.
2563 * gdb.base/list1.c (long_line): New function, has long source line.
2564
2565Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
2566
2567 * gdb.base/a1-selftest.exp: Change initial stepping to know about
2568 additional line of code that was added.
2569
002199bc
JL
2570Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
2571
2572 * gdb.disasm/hppa.s: Break the large branching tests into smaller
2573 tests so as not to overflow expect's input buffers.
2574 * gdb.disasm/hppa.exp: Corresponding changes.
2575
52e895cb
PS
2576Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2577
2578 Beginnings of template debugging tests.
2579 * gdb.c++/templ-info.cc: New file to test for template
2580 debugging capability of the compiler.
2581 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
2582 templ-info.cc.
2583 * gdb.c++/templates.cc: Add explicit template instantiations
2584 to enable compiling with -fno-implicit-templates. Add destructor
2585 and 'value' method to T5 class for template tests.
2586 * gdb.c++/templates.exp: Add testcases for printing of template
2587 types, setting breakpoints on template methods and calling a
2588 template method.
2589
2590Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
2591
2592 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
2593 branch target since some assemblers (gas-2.5) may emit a
2594 relocation for the branch instead of resolving it in the
2595 assembler.
2596
68906e4c
PS
2597Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2598
2599 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
2600 through signal handler.
2601
6b55e5e3
C
2602Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2603
2604 * configure.in (*-*-netware): Use config/mt-netware.
2605
2606 * config/mt-netware: New file.
2607 * config/mt-i386-netware: Removed, separate configs for different
2608 netware architectures are no longer needed now that we have
2609 --with-headers.
2610
2611Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2612
2613 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
2614 by the recent changes to use ANSI C arithmetic conversions.
2615
62433a30
JK
2616Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2617
2618 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
2619 bug involving using inferior_pid to figure out whether to select a
2620 frame.
2621
2622Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
2623
2624 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
2625 match the current disassembler output.
2626
2627Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
2628
2629 * gdb.fortran/exprs.exp: Expect VOID instead of void.
2630 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
2631 types, expect "int" as type of integer values (for now).
2632
9fa1bd1f
JL
2633Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
2634
2635 * gdb.base/commands.exp: New tests for if/while commands.
2636
b19d7c45
PB
2637Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
2638
2639 * lib/gdb.exp (runto): Replace sub-pattern for hex value
2640 by .*, since hex values have different syntax in Chill mode.
2641
146d1b55
PS
2642Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2643
2644 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
2645 linefeed from expect pattern for repeated types with indices > 9.
2646
68622837
SS
2647Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
2648
2649 First part of Fortran test suite.
2650 * gdb.fortran: New directory.
2651 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
2652
176d5504
PS
2653Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2654
2655 * gdb.base/default.exp: Update expect pattern for load command
2656 without arguments.
2657
2c5d4a34
ILT
2658Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2659
2660 * configure.in: Change i386 to i[345]86.
2661 * gdb.base/configure.in: Likewise.
2662 * gdb.c++/configure.in: Likewise.
2663 * gdb.chill/configure.in: Likewise.
2664
70bcd4bc
SS
2665Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
2666
2667 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
2668 patterns, since that is not a valid context for comments.
2669
2670Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
2671
2672 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
2673 repeated types and repeated types with indices > 9.
2674
3cbe9f4d
SS
2675Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
2676
2677 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
2678 2417; old bug has been fixed.
2679
5278c61d
JL
2680Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
2681
b42f02ba
JL
2682 * gdb.base/interrupt.exp: When trying to wake up the inferior,
2683 send the newline ourselves instead of assuming gdb_test will do
2684 so when passed an empty input string.
2685
5278c61d
JL
2686 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
2687 stabs testcode.
2688
2689Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2690
2691 * lib/gdb.exp (gdb_test): Don't send anything if the first
2692 argument is an empty string. This makes cases where we want to
2693 match output that is already in expect's buffers (for example,
2694 matching a breakpoint after gdb_run_cmd has been called) work
2695 reliably.
2696
662bd263
C
2697Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2698
2699 * config/netware.exp: New file.
2700
9f70e450
C
2701Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2702
af1fa5e7
C
2703 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
2704 the -B and -L prefixes so we can find the debugging stub.
2705
c2926ab7
C
2706 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
2707 there and we are using the gcc from the tree.
2708
2709 * gdb.base/types.c: Removed.
2710
9f70e450
C
2711 * gdb.base/configure.in: Look for makefile fragments in ../config.
2712 Recognize i386-*-netware.
2713 * gdb.c++/configure.in: Likewise.
2714
d938d0f9
PS
2715Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2716
2717 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
2718 the correct TCL syntax.
2719
08104d73
C
2720Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2721
2722 * gdb.base/opaque.exp: use runto instead of messing around with
9f70e450 2723 breakpoints. Simplify by using gdb_test.
08104d73
C
2724
2725 * gdb.base/bitfields.exp: restart between tests on netware targets
2726 because breakpoints aren't relocated after target death. Run
2727 processes to completion.
2728
2729 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
2730
dedd81f1
FF
2731Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
2732
2733 * Makefile.in: Remove extra tabs that confuse some versions
2734 of "make". Use the newly built gdb to test with by default,
2735 rather than the first one in the tester's search path.
2736
a924cf19
SS
2737Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
2738
73e484b4
SS
2739 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
2740
a924cf19
SS
2741 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
2742 condition help.
2743
3e304ddf
C
2744Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2745
4704ece7
C
2746 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
2747
3236e984
C
2748 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
2749 running.
2750 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
4704ece7 2751 * gdb.base/funcargs.exp: Likewise.
3236e984 2752
4704ece7
C
2753 * gdb.base/bitfields.exp: Simplify by using gdb_test.
2754 * gdb.base/funcargs.exp: Likewise.
3e304ddf
C
2755
2756 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
2757 message is "".
2758
8f2d75fc
C
2759Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2760
98f6da4f
C
2761 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
2762 return,signals,twice}.exp: Handle non-existant binaries
2763 consistantly.
2764
8f2d75fc
C
2765 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
2766 * gdb.base/Makefile.in: Don't try to generate a core dump, we
2767 might testing a cross development system.
2768
2769Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2770
2771 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
2772 runtest script is relative to ${srcdir}, not ${rootdir}.
2773
802a2b00
SS
2774Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
2775
2776 * gdb.base/signals.exp: Allow for optionality of breakpoint
2777 address.
2778
7f5f5630
JK
2779Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2780
2781 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
2782
29a3db49
C
2783Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
2784
cdb181cb
C
2785 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
2786 for size_t definition.
2787 * gdb.c++/templates.cc: Likewise
2788
c14cb8ce
C
2789 * config/mt-i386-netware: New file.
2790
f3c8d097
C
2791 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
2792 defined.
2793
29a3db49
C
2794 * gdb.base/Makefile.in: Added support for systems that name core
2795 files by appending "core" to the program name.
2796 * gdb.base/a1-selftest.exp: Likewise.
2797
c3ac803f
PS
2798Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2799
2800 * gdb.base/return.exp: Add comment and message for `return double'
2801 test failure on Sparc Solaris.
2802
2803Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
2804
2805 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
2806
89597457
PS
2807Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2808
2809 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
2810 from optimizing them away.
2811 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
2812 patterns to include default constructors and assignment operators,
c3ac803f
PS
2813 to match gcc versions beyond 2.5.8. Accept any cplus demangling
2814 character in the output of the virtual base pointer.
89597457 2815
15c7f0c7
PS
2816Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2817
2818 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
2819 expression match in print_addr_of to avoid unintented matches.
2820 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
2821 versions up to 2.5.8.
2822
55f3c2b4
PS
2823Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2824
2825 * gdb.base/list.exp: Tweak alternate pattern for listing of an
2826 included file to run under newer versions of expect.
2827 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
2828 consecutive >'s in templates to accomodate recent cplus-dem.c change.
2829 Remove xfail for the virtual table of BDDHookV.
2830
a8594cb3
SS
2831Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
2832
2833 * lib/gdb.exp (string_to_regexp): Set a default result.
2834 (default_gdb_start): Fix misleading message.
2835
48f6098e
SS
2836Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
2837
9da7b237
SS
2838 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
2839 Remove all CC, etc definitions.
2840 * config/mt-hpux: New file.
2841 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
2842 (CFLAGS, LDFLAGS): Define.
2843 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
2844
48f6098e
SS
2845 * Makefile.in (site.exp): Don't insert host_os, etc.
2846 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
2847 (distclean): Check existence of subdir.
2848 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
2849 * gdb.base/Makefile.in: General cleanup and simplification.
2850 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2851 to build executables. Use default rule to build .o files.
2852 (EXPECT, RUNTEST, CC): Fix relative pathname.
2853 (site.exp): Don't insert host_os, etc.
2854 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
2855 and/or SIGUSR1 defined.
2856 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
2857 * gdb.c++/Makefile.in: General cleanup and simplification.
2858 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
2859 (CFLAGS): Remove.
2860 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
2861
d3f6b463
JL
2862Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
2863
2864 * gdb.base/recurse.exp: Misc changes to get tests running again
2865 after Kung's changes to the watchpoint code.
2866 * gdb.base/watchpoint.exp: Likewise.
2867
2868Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
2869
2870 * lib/gdb.exp (string_to_regexp): Convert {\} also.
2871
0fba9aa2
SS
2872Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
2873
2874 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
2875 * lib/gdb.exp (default_gdb_start): Define.
2876 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
2877 gdb.base/funcargs.exp, gdb.base/opaque.exp,
2878 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
2879 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
2880 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
2881 Don't call gdb_target_udi in between tests.
2882
63fb699b
JK
2883Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2884
68361314
JK
2885 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
2886 (which was basically just a local version of the same thing). In
2887 addition to avoiding duplication, gdb_test_exact is faster.
2888 * lib/gdb.exp (gdb_test_exact): Fix typo.
2889
31711c69
JK
2890 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
2891 don't give an error.
68361314 2892
31711c69
JK
2893 * gdb.base/term.exp: Call delete_breakpoints before starting.
2894
63fb699b
JK
2895 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
2896 (t10): Add comment.
2897
33268150
SS
2898Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2899
2900 Reorganization of the GDB Test Suite.
2901
2902 * gdb.base: New directory, contains all the basic tests.
2903 * gdb.c++: New directory, tests specific to C++.
2904 * gdb.chill: New directory, tests specific to Chill.
2905 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
2906 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
2907 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
2908 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
2909 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
2910 t30-31 to chill).
2911 * */gdbme.*: Rename to match appropriate expect scripts.
2912 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
2913 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
2914 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
2915 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
2916 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
2917 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
2918 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
2919 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
2920 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
2921 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
2922 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
2923 gdb.c++/virtfunc.cc: New names of C++ files.
2924 * gdb.chill/chillvars.ch: New name of Chill file.
2925 * gdb.base/configure.in, gdb.c++/configure.in,
2926 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
2927 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2928 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
2929 * configure.in (configdirs): Update to reflect directory changes.
2930 (target_abbrev): No longer define for any configuration.
2931 * Makefile.in: Cosmetic improvements to header comments.
2932
b11f2c1f
PB
2933Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
2934
2935 Various changes to gdb.t31:
2936
2937 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
2938 * gdbme.ch: Make all key-words and predefineds be upper-case.
2939 * chillvars.exp: Expect key-words and predefinds in upper-case.
2940
2941 * chillvars.exp: Use gdb_test_exact many places.
2942 Change expected output for arrays (which now includes index labels).
2943
2944 * pr-5020.exp, gdme.ch (module PR_5020):
2945 New test, for PR-5020.
2946
f2d5a56e
PB
2947Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
2948
2949 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
2950 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
2951
0b9158e6
PB
2952Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
2953
2954 * Makefile.in: Fix bit-rot in definitions of CHILL,
2955 CHILL_FOR_TARGET and Chill_LIB.
2956 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
2957 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
2958 CHILL, and CHILL_LIB.
2959
90fba5fa
BC
2960Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
2961
2962 * Revert the previous changes. Please see Rob's directory
2963 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
2964
2f109983
BC
2965Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
2966
2967 * Makefile.in, configure.in, config/mips-gdb.exp,
2968 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
2969 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
2970 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
2971 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
2972 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
2973 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
2974 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
2975 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
2976 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
2977 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
2978 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
2979 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
2980 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
2981 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
2982 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
2983 changes from 94Q1.
2984
2985Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
d7096b92
BC
2986
2987 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
2988 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
2989 Rob's new testing fragments.
2990
8f07e537
BC
2991Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
2992
2993 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
2994 lib/gdb.exp: Replace error proc calls with perror.
2995
b17fd29d
SS
2996Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
2997
2998 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
2999 version also, match on casted version strings, and match on
3000 gdb startup case where the line numbers might be messed up.
3001
0c575f2d
BC
3002Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
3003
3004 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
3005 (CFLAGS): Delete it from here.
3006
4d2ad0a8
BC
3007Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
3008
3009 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
3010
526637b5
SS
3011Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
3012
3013 * Makefile.in (RUNTEST): Default to just "runtest".
3014
9b63f09c
JL
3015Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3016
3017 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
3018 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
3019 the code has been restructured.
3020
739324d7
JK
3021Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3022
3023 * gdb.t00/default.exp (set write): Allow any number of \r and/or
3024 \n, not just one of each.
3025
3026 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
3027 /bin/cc gives a warning if you do.
3028
0cb7d54f
KH
3029Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
3030
3031 * gdb.t24/demangle.exp: change expect pattern of
3032 __t10ListS_link1ZUiRCUiPT0
3033
fa75e476
JL
3034Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3035
3036 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
3037 on local variables in recursive functions.
3038
3039 * gdb.t07/Makefile.in: Build the new test.
3040
b3e258b4
JL
3041Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3042
194e9928 3043 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
b3e258b4
JL
3044 directly. Instead compare the return values from actual calls.
3045
099c286e
BC
3046Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
3047
3048 * Makefile.in (check): Set TCL_LIBRARY for runtest.
3049
bff07199
JL
3050Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3051
3052 * From Peter Schauer with minor modifications.
3053 * gdb.t15/return.exp (return_tests): Handle targets where "return"
3054 stops in mid-line in the caller. Add xfail for returning a float
3055 value on X86 targets.
3056
f0705d18
JL
3057Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3058
67808d3e
JL
3059 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
3060 to avoid expect lossage.
3061 (fmem_LRbug_tests): Likewise.
3062 * gdb.disasm/hppa.s: Corresponding changes.
3063
f911e417
JL
3064 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
3065 conditions to work with latest dejagnu/expect.
3066
7e550eb3
JL
3067 * gdb.t15/funcargs.exp (finish from indirect call): No longer
3068 expected to fail on the PA.
3069 (backtrace in call with trampolines): Explicitly require main
3070 to be frame #1 (no trampolines should show up in backtrace).
3071
19155bc2
JL
3072 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
3073 "continue -expect".
3074 * gdb.t06/break.exp: Likewise.
3075 * gdb.t07/watchpoint.exp: Likewise.
3076 * gdb.t13/bitfields.exp: Likewise.
3077 * gdb.t15/{funcargs,return}.exp: Likewise.
3078 * gdb.stabs/weird.exp: Likewise.
3079 * config/{mips,udi}-gdb.exp: Likewise.
3080
f0705d18
JL
3081 * hppa.sed: Enclose comments within a sed command to avoid
3082 losing with the old OSF1 sed.
3083
1f655b81
PS
3084Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3085
3086 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
3087 sequent dynix.
3088 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
3089 * gdb.t15/funcargs.exp: Conditionally step again to really
3090 finish from marker_call_with_trampolines. Handle the case where
3091 the first step from within call_with_trampolines already steps
3092 us back to main.
3093 * gdb.t15/gdbme.c: Add comment to closing brace of
3094 call_with_trampolines for funcargs.exp.
3095
374bc5d7
JL
3096Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3097
3098 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
3099 Fix typo(s).
3100
28a21812
JL
3101Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3102
3103 * gdb.t07/gdbme.c: More code for watchpoint testing.
3104
3105 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
3106 "Hardware watchpoint" throughout file.
3107 (test_watchpoint_triggered_in_syscall): New test.
3108 (test_complex_watchpoint): New test.
3109
277c24a1
JL
3110Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3111
3112 * gdbme.c (call_with_trampolines): New function to try and step
3113 into. Tests trampoline problems on the PA.
3114
3115 * funcargs.exp (localvars_in_indirect_call): No longer expect
3116 stepping into indirect call to fail on PAs.
3117 (test_stepping_over_trampolines): New test.
3118
b93e563c
JK
3119Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3120
3121 * TODO: Add suggestions for static member function tests, and
3122 completion tests.
3123
3006c5ac
JK
3124Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3125
b93e563c
JK
3126 * TODO: Add suggestions for "p/a" tests.
3127
3006c5ac
JK
3128 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
3129 (default_gdb_exit): Replace all the hair with sending "quit" to
3130 the process with a simple close.
3131
7e1f3405
JK
3132Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3133
3134 * TODO: Add suggestions for shared library tests.
3135
d19fc879
JK
3136Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3137
3138 * TODO: Add suggestions for x/s tests.
3139
45f43ce2
JK
3140Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3141
3142 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
3143 "enable once", and "enable breakpoints once" with ".*".
3144
24f81557
JK
3145Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3146
27677e75 3147 * TODO: Add suggestions about structure passing tests.
24f81557 3148
cbb99ebb
PS
3149Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3150
3151 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
3152 the primary1 test, use work around if __GNUC__ < 2.
3153 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
3154 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
3155 Test for bad output rather than waiting for timeout. Issue
3156 second continue only if first continue failed.
3157
31b03fe4
JK
3158Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3159
3160 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
3161 operator[] test with gdb_test because the old code didn't seem to
3162 be getting the quoting right with the new dejagnu.
3163
2f109983
BC
3164Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
3165
3166 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
3167 one from the path.
3168 * Makefile.in: Use a fresh expect if there is one, use runtest
3169 from the src tree if there is one.
3170
b4f6f3c1
JK
3171Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3172
90e58b6c
JK
3173 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
3174 next over recursive call. Revise the tests from that point on
3175 (which had been skipped) to match GDB's actual (correct) output.
3176
3177 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
3178 with next over a breakpoint whose condition is false.
3179
b4f6f3c1
JK
3180 * gdb.t00/help.exp: Comment out "help set print" tests just like
3181 (and for same reason as) "help set" test.
3182
34535b44
JL
3183Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3184
3185 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
3186 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
3187
d3b06c5f
JK
3188Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3189
34535b44
JL
3190 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
3191 necessary gdb_target_udi.
3192
2558ba5d
JK
3193 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
3194
fd70af24
JK
3195 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
3196 1838 and 2417; they are fixed.
5bf58105 3197
fd70af24
JK
3198 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
3199 gdb.t03/ptype.exp (ptype structure, ptype union):
3200 Remove xfails; the test is looser than when the xfails were added.
5bf58105
JK
3201
3202 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
3203 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
3204
b6999724
JK
3205 * gdb.t01/run.exp: Only run shell test if isnative.
3206
ebbed4c4 3207 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
2558ba5d
JK
3208 since "run" automatically loads if necessary. Call gdb_target_udi
3209 after the "file" since "file" kills any execution target.
ebbed4c4 3210
d3b06c5f
JK
3211 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
3212 GDB. GDB doesn't work that way (not anymore at least) on UDI.
34535b44
JL
3213 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
3214 argument for UDI.
d3b06c5f 3215
60f1cc98
JK
3216Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
3217
3218 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
3219
3220 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
3221
3c409d20
JK
3222Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3223
3224 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
3225 properly quoting regexps. This makes the second argument to
3226 demangle a fixed string, which matches the callers, instead of a
3227 shell-style pattern which is what the previous implementation
3228 used. Update some of the callers.
3229
ddb01977
JL
3230Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3231
90e77b4a
JL
3232 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
3233 (comib_nullified_tests): Fix typo.
3234 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
3235 strings. No longer expected to fail.
3236
8a1f1fba
JL
3237 * gdb.disasm/hppa.s (addib_tests): Fix typo.
3238 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
3239 strings. No longer expected to fail.
3240
ddb01977
JL
3241 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
3242 string. No longer expected to fail.
3243
6b4eae93
JL
3244Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3245
647d688b
JL
3246 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
3247 No longer expected to fail.
3248
6b4eae93
JL
3249 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
3250 string. No longer expected to fail.
3251
81268ac8
JK
3252Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3253
3254 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
3255 only in the names (I probably got most of them). I was even
3256 generous with some which differed in underscores in names, and
3257 probably missed a few, and I *still* was able to remove almost a
3258 third of the file with almost no impact on testsuite coverage.
3259
a8493f59
JK
3260Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3261
b2c41678
JK
3262 * gdb.t00/default.exp: Match udi_attach error message as well as
3263 the one from child_attach.
3264
3265 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
3266
3267 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
3268
3269 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
3270 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
3271
a8493f59
JK
3272 * Move test with enums and partial symbols back to
3273 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
3274 Reverts the change of 26 May 93. Per today's change to
3275 stabs.texinfo, the behavior that weird.exp was expecting was
3276 unreasonable; what is important is that the compiler+gdb get
3277 things right, which happens with a recent gcc. Also fix the test
3278 to deal with native compilers which put out the stab gdb can't
3279 deal with.
3280
48c667b4
JK
3281Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3282
a7409c54
JK
3283 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
3284 in the names. The main thing these accomplish is to slow things down.
3285 Many more such duplicates surely remain.
3286
48c667b4
JK
3287 * gdb.t00/help.exp: Comment out "help support" test just like
3288 (and for same reason as) "help set" test.
3289
9f388ef8
FF
3290Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
3291
3292 * gdb.t06/break.exp: Remove setup_xfails for
3293 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
3294 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
3295 about known bug in gcc to include up through 2.5.8.
3296 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
3297 well as "_vb$".
3298 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
83fe861e 3299 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
9f388ef8
FF
3300 with latest gcc and gdb.
3301 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
3302 well as "_vb$".
3303
7d251816
JL
3304Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3305
3306 * configure.in (hppa*-*-*): Also configure and build stabs-only
3307 tests.
3308
4a5242e8
JL
3309Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3310
3311 * gdb.t10/hppa.mt: A makefile fragment for the PA.
3312 * gdb.t10/configure.in (hppa*-*-*): Use it.
3313
4b471f93
PS
3314Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3315
3316 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
3317
a3435c0e
PS
3318Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3319
3320 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
3321 versions prior to 1.13.5.
3322
77918505
JK
3323Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3324
3325 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
3326 the prompt is at the start of a line.
3327
46ee83a0
JL
3328Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
3329
3330 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
3331 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
3332 in the copr tests now.
3333 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
3334 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
3335 expected to fail.
3336
0ab6de23 3337Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
3dcb8617 3338
80edc7cb
JK
3339 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
3340 gdb.t31/chillvars.exp, lib/gdb.exp:
3341 Tweak to run under either version of expect.
3342 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
3343 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
3344 * gdb.t11/list.exp: Remove extraneous whitespace.
3345
3346Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3347
3348 * gdb.t16/printcmds.exp (test_print_strings): Accept
3349 "(unsigned char *) " before the string.
3350
3351 * TODO: Add notes about printing of fancy types and GDB expressions.
3dcb8617
JK
3352
3353Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
3354
3355 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
3356 * gdb.t06/configure.in: Don't try to compile signals test program
3357 if doing mips-idt-ecoff.
3358
3359Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
3360
3361 * Most .exp files: Tweak to run under either version of expect.
3362
44d25056
JK
3363Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3364
3365 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
3366 xfails; I'm not sure why they are failing, but not because of PR 1806.
3367
c36a1486
RS
3368Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
3369
3370 * config/unix-gdb.exp: Remove gdb_unload cause it's already
3371 defined in lib/gdb.exp.
3372
2db87e22
PS
3373Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3374
3375 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
3376 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
3377 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
3378 have to be typeless.
3379
3380Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
3381
3382 * TODO: Add suggestion for copyright year test.
3383
e1beb230
SS
3384Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
3385
3386 * configure.in (*-*-lynxos*): Add stabs tests.
3387
af5ede6e
JL
3388Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3389
e1beb230
SS
3390 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
3391 so insert a tab before any assembler directive in column zero.
3392
af5ede6e
JL
3393 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
3394 stores.
3395 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
3396 stores.
3397 (fpu_short_memory_tests): Likewise.
3398
3399Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3400
3401 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
3402 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
3403 .stabs directives in comments.
3404
b0f4ec40
JK
3405Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3406
3407 * TODO: New file, describing tests we could write.
d910c7e9 3408 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
b0f4ec40 3409
64143621
JK
3410Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3411
dfbaacfa
JK
3412 * gdb.t06/signals.exp: Add kludge to force re-sync.
3413
64143621
JK
3414 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
3415 to xgdb instead of gdb, get out of gdb.
3416
92a6c3cc
JK
3417Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
3418
3419 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
3420 for info.
3421
20fde16a
JL
3422Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
3423
3424 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
3425 * gdb.stabs/configure.in (hppa*-*-*): Use it.
3426 * gdb.stabs/hppa.sed: New sed script for the PA.
3427
aad143dc
JK
3428Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3429
3430 * gdb.stabs: Re-write weird.def and configuration to use sed
3431 instead of cpp. sed is portable and POSIX; cpp is neither.
3432
b219511b
JK
3433Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3434
3435 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
3436
3971f61b
JK
3437Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3438
3439 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
3440
4a8f7bf1
JK
3441Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3442
073cca33
JK
3443 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
3444 "_vb$".
4a8f7bf1
JK
3445 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
3446 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
3447
51763ee2
JK
3448Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3449
3450 * lib/gdb.exp: Comment out code which depends on non-existent
3451 `transform' procedure.
3452
85174909
RS
3453Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
3454
eba272f3 3455 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
85174909
RS
3456 * lib/gdb.exp: Transform tool name.
3457 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
3458 1.1's new error handling system.
3459
95bfaf1c
JK
3460Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3461
3462 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
3463
3464Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3465
3466 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
3467 They made pattern matching so slow that timeouts happened on
3468 heavily loaded systems. Now any output from "show print" which
3469 gets us back to the GDB prompt is a PASS.
3470
12f4fe6c
SG
3471Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
3472
3473 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
3474
bb42d443
JK
3475Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3476
3c1423d6
JK
3477 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
3478
bb42d443
JK
3479 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
3480 It is not from PR 3220.
3481
33732871
JK
3482Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3483
3484 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
3485 just started failing because they depended on the order the
3486 subcommands are presented, or exact docstring text. This kind of
3487 test is a pain and has minimal benefit.
3488
bf96935b
JK
3489Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3490
3491 * gdb.t09/corefile.exp: At end of test, use "core" command with
3492 no arguments.
3493
486b3fe1
SG
3494Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
3495
3496 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
3497 17}/Makefile.in: Make it possible to run the testsuite with Sun
3498 make and CC = cross gcc by adding explicit build rules for .o
3499 files.
3500
e00def2d
JK
3501Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3502
3503 * gdb.t15/funcargs.exp: Don't put comments on same line as
3504 setup_xfail (@#$*%& tcl braindamage!).
486b3fe1 3505
f9a96aa3
JK
3506Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3507
3508 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
3509
3510Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
3511
3512 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
3513 * gdb.t20/inherit.exp: remove three dumplicate entries.
3514
d699eb21
JK
3515Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3516
3517 * gdb.t06/break.exp: For "next over recursive call", fail on any
3518 incorrect output, not just on "factorial (value=2)".
3519
cfb56ba2
JK
3520Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3521
3522 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
3523 working now. Add an xfail if accesing a bss variable causes
3524 a memory error if the target is not yet run.
3525
81d460c7
JK
3526Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3527
3528 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
3529 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
3530 name of __st* demangling (2 strings). Did Kung really get the
3531 more than 95 others right without testing them?
3532
ff24cba9
KH
3533Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
3534
3535 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
3536
47882638
JK
3537Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
3538
3539 * configure.in (configdirs): Add gdb.disasm
3540 * gdb.disasm: New directory for GDB disassembler tests.
3541 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
3542
89c394ec
JK
3543Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3544
a86bd05a
JK
3545 * gdb.t00/help.exp: Don't test "help set".
3546
74aa67d3
JK
3547 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
3548 from within expect statements. None of these happen anymore and
3549 they cause regressions to be silently unnoticed.
486e58a5 3550
74aa67d3
JK
3551 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
3552 messages) about known failures with gcc cygnus-2.4.5-930417.
f1642921 3553
89c394ec
JK
3554 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
3555 comp-info.exp so it gets built if it doesn't exist.
3556
3557 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
3558 it is no longer used.
3559 * gdb.t13/comp-info.c: Removed.
3560
9536b32c
JK
3561Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3562
3563 * gdb.t06/signals.exp: Add xfail for sun3.
3564
ce5d0204
JK
3565Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3566
3567 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
3568 relevant because ^C doesn't get sent but failure can be reproduced
3569 interactively).
3570
a72e9833
PS
3571Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3572
3573 * gdb.stabs/alpha.mt: New configuration file for alpha.
3574 * gdb.stabs/configure.in: Use it.
3575 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
3576 sharing with alpha.mt, redefine long to word via preprocessor.
3577 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
3578 for alpha.
3579 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
3580 native cc.
3581 * gdb.t00/teststrategy.exp: Change expect string so that we
3582 consume the `(xgdb)' from the command echo and from the gdb prompt.
3583 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
3584 gdb currently compares all values as long, so this failure probably
3585 applies to any configuration where LONGEST is bigger than a target int.
3586 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
3587 with gcc.
3588 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
3589 to handle opaque pointers, gcc is.
3590 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
3591 as first argument. Include <sys/types.h> and change all operator
3592 new definitions to use size_t.
3593 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
3594 now that we use size_t.
3595
3596Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3597
3598 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
3599 a long or float array cast all array members to the same type.
3600 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
3601 with 64 bit longs.
3602 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
3603 on alpha.
3604 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
3605
83eba394
JK
3606Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3607
74869987
JK
3608 * gdb.t24 (demangle.exp): Constructors of templates have names like
3609 vector<int>::vector(int) not vector<int>::vector<int>(int). See
3610 section 14.6 of the ARM.
3611
3612 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
3613 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
3614 accomplish little and slow down the testsuite.
3615
83eba394
JK
3616 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
3617 Accept spaces various places.
3618
a0f3541f
JK
3619Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3620
83eba394
JK
3621 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
3622 with watchpoint enabled.
3623
a0f3541f
JK
3624 * Makefile.in: Remove definition of CC and remove the second
3625 definition of CXX (the "CXX = gcc" one remains). These definitions
3626 were causing backquotes to be expanded within backquotes, which
3627 doesn't work.
3628
fa79d853
JK
3629Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
3630
3631 * gdb.t17/callfuncs.exp: Add "return 0" to end.
3632
26a08d15
PS
3633Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3634
3635 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
3636 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
3637 by mips cc and contains no stabs entries.
3638
de8c35cf
RS
3639Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
3640
3641 * config/vx-gdb.exp: Use fake device to load files rather than
3642 NFS.
3643 * lib/gdb.exp: New proc to do "file" command.
3644 * config/unix-gdb.exp: Use new "file" proc.
3645
48d10a25
ILT
3646Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
3647
3648 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
3649 Rework board rebooting slightly.
3650 (gdb_exit): Don't exit from the remote shell; there isn't one.
3651 * gdb.stabs/weird.exp: If a program is being debugged already,
3652 kill it.
3653 * gdb.t04/setvar.exp: Stop and restart gdb.
3654 * gdb.t05/expr.exp: Likewise.
3655 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
3656 restart gdb and reload the program.
3657 * gdb.t08/opaque.exp: Likewise.
3658 * gdb.t12/scope.exp: Likewise.
3659 * gdb.t13/bitfields.exp: Likewise.
3660 * gdb.t15/funcargs.exp: Likewise.
3661 * gdb.t20/classes.exp: Likewise.
3662 * gdb.t03/ptype.exp: Increase timeout.
3663 * gdb.t16/printcmds.exp (test_print_string_constants,
3664 test_print_array_constants): Likewise.
3665 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
3666 * gdb.t20/classes.exp (do_tests): Likewise.
3667 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
3668
8cced93d
ILT
3669Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
3670
3671 * gdb.stabs: Renamed *wierd* to *weird*.
3672
f424845a
JK
3673Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3674
3675 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
3676 for timeout. Add "known gcc 2.4.5 bug" to failure message.
3677
06f63f95
JK
3678Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
3679
3680 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
3681 (do_tests): Remove xfail for whatis on one_var and two_var.
3682
3683Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
3684
3685 * Makefile.in: Made cross building work better by adding
3686 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
3687
b7da78d5
JK
3688Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3689
3690 * gdb.t15/{return.c,return.exp,Makefile.in}:
3691 New test, currently commented out.
3692
2fd77dab
RS
3693Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
3694
3695 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
3696 still running and removes the leftover named socket so GDb can do
3697 clean restarts.
3698
f6c8cae6
RS
3699Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
3700
3701 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
3702 console, not GDB.
3703 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
3704 cross testing works better with "make check"
3705 * config/unix-gdb: Use default procedures for exit and version.
3706 * config/vx-gdb.exp: Cleaned up and massaged back to working order
3707 with the newest VxWorks.
3708
08843cd8
JK
3709Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3710
298e9222
JK
3711 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
3712 old form.
3713
3714 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
3715 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
3716
08843cd8
JK
3717 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
3718
3719 * config/unix-gdb.exp: Remove this version of gdb_exit
3720 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
3721 Rob says he'll look at it when he gets back to testing boards.
3722
aed23900
FF
3723Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
3724
3725 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
3726 an expected fail for certain ptype commands.
3727
3728 * gdb.t20/classes.exp: Update expected results of "ptype class
3729 Base1" to account for the constructor that now appears in the type.
3730
653ae28f
FF
3731Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
3732
3733 * configure.in (configdirs): Restore gdb.t04, which mysteriously
3734 disappeared from list.
3735 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
3736 "alldone" proc with call to cleanup and exit.
3737 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
3738 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
3739 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
3740 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
3741 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
3742 "alldone" proc with simple returns that suppress remaining
3743 tests. The alldone proc went away many months ago.
3744
84853a53
JK
3745Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3746
c69b7db7
JK
3747 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
3748
84853a53
JK
3749 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
3750
5e958188
PS
3751Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3752
3753 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
3754 as vax gdb will display them.
3755
0e8e9721
JK
3756Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3757
64926813
JK
3758 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
3759 optimizers.
3760
7161494d
JK
3761 * scope.exp: Change "bad value for localval" messages so each one
3762 is unique.
3763
62db94cb
JK
3764 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
3765 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
3766
0e8e9721
JK
3767 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
3768
b606bd8d
JK
3769Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3770
3771 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
3772 doesn't exist (due to optimization).
3773
0e0b4e64
JK
3774Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3775
b606bd8d
JK
3776 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
3777 contains \r because the filename is long.
3778
0e0b4e64
JK
3779 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
3780 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
3781
adce2225
PS
3782Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3783
3784 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
3785 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
3786 Ultrix.
3787 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
3788 int tests.
3789 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
3790
9e191927
FF
3791Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
3792
adce2225
PS
3793 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
3794
9e191927
FF
3795 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
3796 to match does not match the passing case but still matches the
3797 failing case.
3798
285ae57a
JK
3799Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3800
3801 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
3802
7a7d682b
JG
3803Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
3804
3805 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
285ae57a 3806 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
7a7d682b
JG
3807 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
3808 Remove various versions of gdb_exit.
3809 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
3810 gdb_exit.
3811 * config/unix-gdb.exp: gdb_exit remains here, and should override
3812 the generic version, since it's doing a lot of wierd stuff that
3813 the other versions aren't. FIXME, fold it in, or abandon this
3814 version.
3815
48c95e5b
JK
3816Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3817
3818 * gdb.t24/demangle.exp: Add tests for PR 3220.
3819
3820Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3821
d722005e 3822 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
48c95e5b 3823
5ad3ae4a
FF
3824Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
3825
e024d80c
FF
3826 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
3827 "i386-*-*". Works for i486 as well.
3828
5ad3ae4a
FF
3829 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
3830 bug, and expand domain of xfail to all SVR4 systems, since the
3831 actual problem is likely to be in generic SVR4 /proc support.
3832
ae039ff3
JK
3833Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3834
3835 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
3836
c0398b8b
FF
3837Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
3838
869cfa9f
FF
3839 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
3840 xfails for other systems. Match a missing 'Continuing.' as an
3841 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
3842
adf18b24
FF
3843 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
3844 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
3845 Only issue warning for missing executables if -all option is used.
3846
c0398b8b
FF
3847 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
3848 file if -all option is used. It's like an unpredictable XFAIL.
3849
0685d95f
JK
3850Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3851
3241e35d
JK
3852 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
3853 for dynamically linked binaries.
3854
0685d95f
JK
3855 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
3856
205c1ddc
JK
3857Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3858
3859 * gdb.t20/inherit.exp: Change message for "print tagless struct"
3860 to state that this is a known bug in old versions of g++.
3861
6117e42f
JK
3862Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3863
3864 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
3865 while waiting for `Continuing'.
3866
d8ab5dbf
FF
3867Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
3868
3869 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
3870 in text, data, and bss.
3871 * gdb.t10/nodebug.c: Add local and global test variables for
3872 initialized and uninitialized data.
3873
f4dfe788
JK
3874Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3875
3876 * config/unix-gdb.exp (gdb_exit): Add "wait".
3877
3878Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3879
3880 * gdb.t06/signals.exp: xfail the continue from the handler for all
3881 targets.
3882
3883 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
3884 function with watchpoints enabled, the i386 call dummy starts with
3885 a call.
3886
3887 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
3888 386 bsd names its corefiles.
3889
a469d3b6
FF
3890Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
3891
3892 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
3893 compilers don't grok it.
3894 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
3895 with small octal ints rather than character constants, which
3896 are signed and might not fit if first promoted to int.
3897
ad6feb08
FF
3898Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
3899
3900 * gdb.t09/Makefile.in (clean): Remove corefile.
3901
3902Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3903
3904 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
3905
a92499ba
JK
3906Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3907 and Jim Kingdon (kingdon@cygnus.com)
3908
3909 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
3910 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
3911 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
3912
c4978d68
JK
3913Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3914
3915 * gdb.t17/interrupt.exp: Add xfail for hppa.
3916
69aa789b
PS
3917Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3918
3919 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
3920 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
3921 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
3922 to determine signed-ness of bitfields and use the result to setup
3923 the xfail.
a4fbb03e 3924 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
c4978d68
JK
3925 * gdb.t15/funcargs.exp: Use them to step until the second indirect
3926 call line is reached if necessary.
69aa789b 3927
84123aa6
JK
3928Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3929
3930 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
3931
3932Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3933
3934 * gdb.t06/break.exp: Also test `clear' command.
3935
cb6afa30
JK
3936Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3937
002c6d17
JK
3938 * gdb.t00/teststrategy.exp: Remove extra quote.
3939
6665d54c 3940 * gdb.t07/watchpoint.exp: Change xfail for calling function with
84123aa6 3941 watchpoint enabled to be for all non-68k machines.
6665d54c 3942
cb6afa30
JK
3943 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
3944
9d77e877
PS
3945Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3946
3947 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
3948 targets use aout.mt instead of ecoff.mt as gas understands
3949 standard aout format.
3950
675d65db
JK
3951Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
3952
62d4a686
JK
3953 * lib/gdb.exp (runto): Don't insist that function we are running to
3954 was compiled with -g.
3955
3956 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
3957
675d65db
JK
3958 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
3959 to get back into the read system call.
3960 Accept leading newline in case where we woke it up.
3961
76b098d1
PS
3962Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3963
3964 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
3965 to make the stabs test work on ecoff systems using gcc and -with-stabs.
3966 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
3967 enable ecoff configuration.
3968
0568df2a
JK
3969Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3970
3971 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
3972
e91ceb3c
JK
3973Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3974
3975 * gdb.t16/printcmds.exp: Add another printf test.
3976
6dc31f06
ILT
3977Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
3978
3979 * configure.in: If configured -with-stabs on any target, add
3980 stabsdirs to configdirs.
3981
5af4f5f6
JK
3982Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3983
e91ceb3c
JK
3984 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
3985 fun" so pattern does not match the command itself.
5af4f5f6 3986
4988d8c7
JK
3987Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3988
3989 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
3990
a688a186
JK
3991Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3992
3993 * gdb.t17/interrupt.exp: Test for more things.
3994
2a62a4cb
JK
3995Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
3996
81074ec8
JK
3997 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
3998 compiler arranges the code and line numbers.
3999
2a62a4cb
JK
4000 * gdb.t17/interrupt.exp: Don't send \n after ^C.
4001
3ae135ab
PS
4002Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4003
4004 * gdb.t00/help.exp: Increase expect input buffer size.
4005
be7f7549
JK
4006Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4007
075aa449
JK
4008 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
4009
1af6f16c
JK
4010 * gdb.t07/watchpoint.exp: Add xfail for hppa.
4011
270532f9
JK
4012 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
4013
be7f7549
JK
4014 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
4015 [0-9]*, not just [0-9].
4016
f2dee08e
JK
4017Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4018
9ae07ce5
JK
4019 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
4020
f2dee08e
JK
4021 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
4022
afde243f
JK
4023Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4024
4025 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
4026
762665e1
JK
4027Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4028
46d284c9
JK
4029 * gdb.t06/signals.c: Add xfails for sun3.
4030
306ee233
JK
4031 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
4032
762665e1
JK
4033 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
4034 test_stepping tests.
4035
79f3218c
JK
4036Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4037
762665e1
JK
4038 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
4039
b2618fd8
JK
4040 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
4041
56f413cd
JK
4042 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
4043 rather than actually putting it through cpp twice.
4044
79f3218c
JK
4045 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
4046
eae16698
ILT
4047Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
4048
4049 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
4050 no longer needed.
4051
38e1dd54
JK
4052Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4053
b4ace9d3
JK
4054 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
4055
38e1dd54
JK
4056 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
4057 C++ features prints as "struct", make it a pass, not an xfail.
4058
4059Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4060
4061 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
4062 Don't require VA to print as "class" rather than "struct".
4063
b55cc8a2
JK
4064Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
4065
4066 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
4067
e02c07a5
JK
4068Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4069
4070 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
4071
4072Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4073
4074 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
4075 order.
4076
b4e89979
JK
4077Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4078
366f2869
JK
4079 * gdb.t16/printcmds.exp: Add printf tests.
4080
38c41e92
JK
4081 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
4082
b4e89979
JK
4083 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
4084
4085Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
4086
4087 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
4088 pass counts, to counteract any existing or future setup_xfails.
4089
884e8cd4
JK
4090Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4091
f492b6c1
JK
4092 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
4093 {BEGIN,END}_COMMON for common block instead of STAB.
44443a9b 4094 * gdb.stabs/wierd.exp: Add xfail for rs6000.
f492b6c1 4095
884e8cd4
JK
4096 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
4097 intp_var should be N_GSYM not N_LSYM.
4098 wierd-aout.S: Use a label for the value of the N_SO.
4099 wierd.def: Remove all backslashes.
4100 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
4101
9325d5af
PS
4102Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4103
4104 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
4105 get the expected next to inheritance3.
4106
d2b860e3
PS
4107Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4108
4109 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
4110 now that gcc-2.4 gets it right.
4111
f788cf78
JK
4112Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4113
2de1aa1c
JK
4114 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
4115
f788cf78
JK
4116 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
4117 generating comp-info.exp which works for cross-compilation.
4118
6ba7b818
FF
4119Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
4120
4121 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
4122 "*-*-sysv4.*".
4123
4124Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
4125
4126 * gdb.t01/run.exp: Start with a fresh gdb.
4127 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
4128 SVR4.x.
4129
cfb702c1
FF
4130Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
4131
4132 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
4133 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
4134 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
4135 Makefile.in (distclean, realclean): Remove gdbme.c from list of
4136 things to remove.
4137
3d26a081
FF
4138Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
4139
4140 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
4141 test cases from bug reports.
4142
5c0e7bd6
FF
4143Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
4144
4145 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
4146 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
4147 avoid spurious xfails.
4148 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
4149 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
4150 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
4151
212f6219
FF
4152Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
4153
4154 * gdb.t00/teststrategy.exp: Rework to provide more useful
4155 description of each test, fix problem with systems that define
4156 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
4157 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
4158 results for "next over recursive call" so timeouts aren't taken
4159 by error.
4160
69dbdc05
JK
4161Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
4162
c76f7bb7
JK
4163 * gdb.t12/scope.exp: Test printing of variables before run.
4164
69dbdc05
JK
4165 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
4166 printed in wrong order due to sorting.
4167
dd9d4fa3
FF
4168Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
4169
80af2bd3
FF
4170 * gdb.t00/teststrategy.exp: Fix expected results for printing
4171 user entered string constant. Is array of char, prints with no
4172 address.
4173
dd9d4fa3
FF
4174 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
4175 commands.
4176 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
4177 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
4178 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
4179 of struct of char arrays.
4180 * gdb.t00/radix.exp: New tests for radix commands.
4181
49b12db0
JK
4182Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
4183
4184 * gdb.t16/printcmd.exp: Print a variable before running program
4185 (with xfail for AIX).
4186
729258a3
JK
4187Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
4188
fcb6cf58
JK
4189 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
4190
729258a3
JK
4191 * gdb.t16/printcmd.exp: Don't print variables before running program.
4192
4193 * gdb.t06/break.exp: Don't require envp argument to main.
4194
4195 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
4196
4197 * gdb.t02/whatis.exp, gdb.t11/list.exp:
4198 Add xfails for rs6000.
4199
fcb6cf58
JK
4200 * gdb.t02/whatis.exp: Change other tests not to re-test something
4201 we already tested.
729258a3
JK
4202
4203 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
4204 each type used has a variable of that type.
4205
4206Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
4207
4208 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
4209
4210Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
4211
4212 * configure.in: change srctrigger to be a file, not a directory
4213
b3523cb3
ILT
4214Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
4215
729258a3
JK
4216 * configure.in (mips-idt-ecoff*): Added trailing '*'.
4217
b3523cb3
ILT
4218 * gdb.t11/list.exp: Fixed a couple of typos.
4219
46fc723c
FF
4220Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
4221
4222 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
4223 is fixed and PR is closed.
4224 * gdb.t16 (gdbme.c): Add simple test string variable.
4225 * gdb.t16 (printcmds.exp): Add tests with simple test string
4226 variable, primarily for boundaries on "set print elements".
4227
942a6600
JK
4228Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
4229
6a51601e
JK
4230 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
4231 Make leading 0's optional and don't expect a tab in the middle
4232 of the number.
4233
bfcba962
JK
4234 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
4235
4236 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
4237 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
4238 don't end command passed to gdb_test with newline.
4239
942a6600
JK
4240 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
4241 signed keyword away, don't expect signed bitfields to be signed.
4242
4243 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
4244 printing with only as many 1's as are in the field as well as printing
4245 with 32 1's (see comment).
4246
35c254be
FF
4247Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
4248
88db2feb 4249 * gdb.t00/default.exp: Start with a fresh gdb.
dd294fc0
FF
4250 * configure.in (configdirs): Remove gdb.t31 until the chill
4251 compiler works again. It no longer is able to find chillrt0
4252 since it isn't in libchill.a anymore.
150ab440
FF
4253 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
4254 wierd.o, make more modular.
35c254be
FF
4255 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
4256 spurious newlines that caused problems.
4257
18ef9146
JK
4258Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4259
5bd22ca8 4260 * Move test with enums and partial symbols from gdb.t03/ptype.exp
12a09603
JK
4261 to gdb.stabs/wierd.exp since GCC has worked around the bug.
4262 gdb.stabs/wierd.{exp,def}: Many new tests.
4263
18ef9146
JK
4264 * gdb.t00/default.exp: update info line for new message.
4265
4266 * gdb.t02/{whatis.exp,gdbme.c}:
4267 Test that "char *" doesn't print as "caddr_t".
4268
2d10304e
JK
4269Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4270
4271 * gdb.t00/help.exp: Use .* in place of some help messages which
4272 just changed.
4273 gdb.t00/default.exp: Update "info frame" test for new message.
4274 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
29b34f10 4275 Remove some xfails
2d10304e 4276
e726f3b5
JK
4277Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4278
c6d70012
JK
4279 * gdb.t03/{gdbme.c,ptype.exp}:
4280 Add tests for typedef'd struct and union without tags.
2d10304e 4281 Also check "whatis" on a variable of a typedef'd enum without a tag.
c6d70012 4282
f43c2f05
JK
4283 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
4284 PRMS 1823; the bug still exists but isn't reproduced by this test
4285 anymore), and remove rs6000 XFAIL (the bug is fixed).
e726f3b5
JK
4286
4287 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
4288 duplicated from whatis.exp. For those that are left, accept
4289 "long", "long int", or "int" for long variables (whatis.exp already
4290 has an XFAIL for "int", so no need to fail it here).
4291
4292 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
4293 Deal with GCC's names for types now that GDB uses the compiler's names.
4294
4295 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
4296 setup_xfail's for sunos4. If we #defined the signed keyword away,
4297 don't expect GDB to know that char it is signed.
4298
4299 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
4300
0b3c22df
FF
4301Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
4302
4303 * configure.in (configdirs): Add gdb.t24 for C++ tests that
4304 should work on any system, regardless of debugging format.
4305 * gdb.t21/demangle.exp: Move to gdb.t24.
4306 * gdb.t24/demangle.exp: Move from gdb.t21.
4307 * gdb.t24/{Makefile.in, configure.in}: New files.
4308
4309Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4310
4311 * configure.in: Do gdb.stabs and C++ tests only for stabs.
4312 * gdb.stabs: New directory.
4313
8ce07a21
JK
4314Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
4315
4316 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
4317 not just "Quit anyway?".
4318
27daf1a9
FF
4319Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
4320
4321 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
4322 that all setup_xfails are immediately followed by clear_xfails.
4323
4324Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
4325
4326 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
4327 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
4328 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
4329 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
4330 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
4331 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4332 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4333 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
4334 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
4335 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
4336 gdb.t31/chillvars.exp, lib/gdb.exp:
4337 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
4338 bug-gdb@prep.ai.mit.edu.
4339
4340Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
4341
4342 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
4343 with 0.0, not integer 0.
4344
4345Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
4346
4347 * gdb.t06/break.exp: Update for "Kill the program" message change.
4348
fb40210a
FF
4349Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
4350
4351 * Makefile.in (GDBFLAGS): Set to -nx.
4352 * Makefile.in (site.exp): Use GDBFLAGS.
4353
c1fb4e49
RP
4354Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4355
4356 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
4357 Makefiles.
ab8603ea
RP
4358 (check): depend on just-check.
4359 (just-check): added so that tests can be run without a noop
4360 build pass.
c1fb4e49
RP
4361
4362Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
4363
4364 Switch to using configure's configdirs.
4365 * Makefile.in (Makefile): add configure.in dependency.
4366 (SUBDIRS): removed redundant assignment.
4367 * configure.in: switch subdirs assignment to configdirs.
4368 * gdb.t*/configure.in: new files.
4369
5959dcea
ILT
4370Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
4371
4372 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
4373 works.
4374
fbc3492c
FF
4375Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
4376
4377 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
4378 in explicit rules. Apparently this is not supported by some makes.
4379
512e5f94
JG
4380Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
4381
4382 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
4383
987b4233
PS
4384Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4385
4386 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
4387 disappeared.
4388
acb771de
JG
4389Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
4390
4391 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
4392
a08317af
FF
4393Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
4394
4395 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
4396 watchpoint problem that is now fixed.
4397 * gdb.t30/chexp.exp: Remove setup_xfail for printing
4398 uninitialized convenience variables.
4399 * gdb.t31/chillvars.exp: Fix expected patterns for printing
4400 structures.
4401
4402Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4403
4404 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
4405 which causes expect to get out of sync with gdb on long output
4406 from help set.
4407 * gdb.t09/corefile.exp: Make expected pattern for core file
4408 failing signal and frame output format less sun specific.
4409
b54a2f2d
PB
4410Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
4411
4412 * gdb.t31/chillvars.exp: Add and remove initial dummy
4413 breakpoint, so that symbol table is forced in.
4414 (Needed at least on Sunos4, though it seems not SVR4.)
4415 * gdb.t31/chillvars.exp: Update for changed output format.
4416
ce307257
RS
4417Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
4418
4419 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
4420
4421Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
4422
4423 * Makefile.in: Added --srcdir when invoking runtest, removed the
4424 need for a local config file. (optional now)
4425
bee218aa
FF
4426Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
4427
4428 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
4429 failure count used to force early termination. Add some more
4430 expected failures for gnu style demangling.
4431
4432Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4433
4434 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
4435 pmi variable from gdb.t20/gdbme to get optimized away.
4436 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
4437 Check for written corefile upon timeout _and_ eof.
4438
1096d1de
PS
4439Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4440
4441 * config/unix-gdb.exp: Add missing return 0.
4442
72ea43e6
PS
4443Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4444
4445 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
4446 test termination.
4447
7007db96
FF
4448Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
4449
4450 * configure.in (subdirs): Put back gdb.t17 which mysteriously
4451 disappeared.
4452
63305a73
FF
4453Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
4454
7007db96
FF
4455 * gdb.t10/crossload.exp: Disable the i860-elf test until such
4456 time as i860 support works.
4457
63305a73
FF
4458 * gdb.t15/funcargs.exp: Fix expected outputs to include
4459 "backtrace 100\r" rather than just "backtrace\r", to match last
4460 change.
4461
5f2912cc
ILT
4462Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
4463
4464 * config/udi-gdb.exp (gdb_exit): Remove close command.
4465 (gdb_target_udi): New procedure to set the UDI target.
4466 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
4467 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
4468 Added waits for prompts after several question responses. Added
4469 some more responses used by a29k-amd-udi-gdb.
4470 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
4471 pass different arguments, restart UDI connection after program
4472 completion.
4473 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
4474 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
4475 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
4476 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
4477 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
4478 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
4479 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
4480 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
4481 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
4482 after program completion.
4483 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
4484 compiled with a SELECT_VECS setting.
4485 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
4486 infinite recursion.
4487
4488 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
4489 Added checks for COFF results, and made them expected failures for
4490 all targets. It would be better to make them expected failures
4491 for COFF targets only.
4492
21ce979a
DZ
4493Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
4494
4495 * Makefile.in: add null dvi target, don't bother to recurse
ebc0f582
DZ
4496 through test directories for info and install-info; rename
4497 $(datadir) to be dejagnu instead of deja-gnu
21ce979a 4498
214aa244
FF
4499Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
4500
214aa244
FF
4501 * gdb.t31/gdbme.ch: Re-enable code that previously caused
4502 compiler to coredump.
4503 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
4504 code.
214aa244 4505
bfb33935
FF
4506Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
4507
bfb33935
FF
4508 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
4509 coredump.
4510 * gdb.t31/chillvars.exp: Comment out tests that depend on that
4511 code.
bfb33935 4512
3d0bd7d3
RS
4513Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
4514
4515 * gdb.t03/ptype.exp: tests for return code from gdb_test.
4516 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
4517 which in a shell. Deletes xgdb when done.
4518 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
4519 Tests the return from the "set height" or "set width" commands.
4520 Added a few return codes where needed.
4521
bc803007
FF
4522Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
4523
04fb224c
FF
4524 * Makefile.in (SUBDIRS): Add gdb.t17.
4525 * configure.in (subdirs): Add gdb.t17.
bc803007
FF
4526 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
4527 files to test gdb's calling of functions in the inferior with
4528 the correct arguments and gdb's ability to retrieve any
4529 result returned.
4530
400b81b5
FF
4531Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
4532
4533 * config/unix-gdb.exp (gdb_exit): Remove close commands that
4534 may be called after gdb goes away. Previous versions of expect
4535 needed these to avoid file descriptor leaks, but they cause
4536 errors with the current revision of expect.
4537 * gdb.t00/gdbvars.exp: Use -re on expected output after
4538 setting sevenbit-strings.
4539 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
4540 to set sevenbit-strings consistent across tests.
400b81b5
FF
4541 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
4542 set sevenbit-strings consistent across tests.
400b81b5 4543
96b99583
FF
4544Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
4545
4546 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
4547 expected output to match current "expect" expectations.
4548
d3b43da8
FF
4549Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
4550
4551 * gdb.t00/default.exp: Change expected output for default "source"
4552 command, to match new gdb behavior which requires a filename to
4553 source.
4554
fa5366da
FF
4555Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
4556
4557 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
4558 expected fail for i486-*-* that misses the marker2 function.
4559 * gdb.t10/crossload.exp (bfddefault): Allow successful
4560 recognition of a format to pass even if no symbols are found.
4561 Explicitly catch failures where the format is not recognized
4562 or is ambiguous, and add the reason to the fail message.
4563 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
4564 the cause is and invalid target and add reason to failure message.
4565 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
4566 elf32-i386, elf32-sparc, and elf32-i860.
4567 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
4568 Set up expected failure for 'filename'::variable scope resolution,
4569 which is now apparently broken on all targets.
4570 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
4571 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
4572 gdb.t23/templates.exp: Change failure for missing binfile into
4573 just a warning.
4574 gdb.t21/demangle.exp: Change all cfront references to 'arm'
4575 references.
4576
4577Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
4578
4579 * gdb.t00/default.exp: Add expected output for default "source"
4580 command, to match new gdb behavior.
4581 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
4582
1be6caef
RS
4583Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
4584
4585 * config/*-gdb.exp: returns an error, rather than exiting on
4586 internal errors.
4587
4588Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
4589
4590 * gdb.t03/gdbme.c: Add pointer to struct variable.
4591 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
4592 referencing struct members.
4593
01cec5c8
ILT
4594Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
4595
1be6caef
RS
4596 * configure.in (mips-idt-ecoff): New target.
4597 * config/mips-gdb.exp: New file for remote board using MIPS remote
4598 debugging protocol.
4599
01cec5c8
ILT
4600 * Redid configuration scheme. Removed gdb.t*/configure.in.
4601 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
4602 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
4603 distclean targets. Built executables via .o files. Adjusted
4604 tests to account for source files in $(srcdir) rather than
4605 $(objdir).
4606 * lib/gdb.exp (runto): Don't expect () after the function name,
4607 because it may have arguments.
4608
5b272a2d
ILT
4609Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
4610
4611 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
4612 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
4613 expected failures for mips-idt-* and mips-sgi-*.
4614 * gdb.t00/default.exp (attach): Kill process if requested.
4615 * gdb.t00/help.exp (help target core, help target): Accept a gdb
4616 that does not read core files.
4617 * gdb.t01/run.exp: Removed checks for exit status code.
4618 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
4619 it is linked in.
4620 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
4621 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
4622 appropriate, rather than doing it by hand.
4623 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
4624 execution.
4625 * gdb.t10/crossload.exp: Kill existing program if needed.
4626 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
4627 appropriate, rather than doing it by hand. Always increase
4628 timeout for this test, not just for VxWorks.
4629
16aa4b53
FF
4630Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
4631
16aa4b53
FF
4632 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
4633 of Chill STRUCT types and STRUCT values.
4634 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
4635 than "char".
4636 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
4637 struct2): New struct definitions and initializations to test
4638 simple Chill STRUCT types.
16aa4b53 4639
ff7f25de
FF
4640Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
4641
4642 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
4643 the null byte at the end of strings.
4644 * gdb.t00/default.exp: Make show version insensitive to copyright
4645 date.
4646 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
4647 to avoid dependencies on target char signedness.
4648 * gdb.t16/printcmds.exp: Update expected results for explicitly
4649 unsigned char.
4650 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
4651 now work.
4652 * gdb.t21/demangle.exp: Add many more patterns for template
4653 demangling, most of them being expected failures.
4654 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
4655 string we are matching for, to match on the whole string.
4656 * gdb.t21/demangle.exp: Add many new test strings to demangle,
4657 and fix a whole bunch that had incorrect expected output but were
4658 passing anyway because of the bug in "proc demangle".
ff7f25de
FF
4659 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
4660 type.
4661 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
ff7f25de 4662
bf3d2b75
MW
4663Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
4664
4665 * gdb/testsuite: made modifications to testcases, etc., to allow
4666 them to work properly given the reorganization of deja-gnu and the
4667 relocation of the testcases from deja-gnu to a "tool" subdirectory.
4668
19fa4a0a
MW
4669Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
4670
4671 * gdb/testsuite: Initial creation of gdb/testsuite.
4672 Migrated dejagnu testcases and support files for testing nm to
4673 gdb/testsuite from deja-gnu. These files were moved "as is"
4674 with no modifications. This migration is part of a major overhaul
4675 of dejagnu. The modifications to these testcases, etc., which
4676 will allow them to work with the new version of dejagnu will be
4677 made in a future update.
80edc7cb
JK
4678\f
4679Local Variables:
4680mode: indented-text
4681left-margin: 8
4682fill-column: 74
4683version-control: never
4684End:
This page took 0.47459 seconds and 4 git commands to generate.