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