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