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