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