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