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