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