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