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