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