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