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