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