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