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