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