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