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