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