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