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