* lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
2
3 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
4
5 Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6
7 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
8 Don't rely on the value of an auto variable before it has been
9 initialized. Use gdb_test more.
10
11 Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
12
13 * lib/gdb.exp (default_gdb_version): A version number must start
14 with a digit, but other than that contains all characters up to
15 the first whitespace character.
16
17 Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
18
19 * gdb.base/commands.exp (breakpoint_command_test): New tests.
20
21 Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
22
23 * gdb.c++/*.exp: Warn if executable does not exist. The original
24 reason for skipping the warning was that configure.in sometimes
25 intentionally skipped building the executables but the tcl code
26 had no way of knowing. That (a) was always bogus with respect to
27 error handling, (b) is no longer true (right now there is no way
28 to skip C++ tests).
29
30 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
31
32 Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
33
34 * gdb.base/list.exp: Add expect patterns for output from
35 SunPRO compiled executables.
36 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
37 types.
38
39 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
40
41 * gdb.base/break.exp (test_next_with_recursion): Accept any line
42 number (we are already testing that the correct source line text
43 gets printed).
44
45 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
46 that is what is intended, but something needed to be done to get
47 sunos4 native working again.
48
49 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
50
51 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
52 apparently went with a (very) old xfail.
53
54 Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
55
56 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
57 runto_main is a proc in gdb.exp that will do 'step' for target use
58 stubs.
59 * gdb.base/exprs.exp: ditto.
60 * gdb.base/interrupt.exp: ditto.
61 * gdb.base/opaque.exp: ditto.
62 * gdb.base/printcmds.exp: ditto.
63 * gdb.base/ptype.exp: ditto.
64 * gdb.base/scope.exp: ditto.
65 * gdb.base/setvar.exp: ditto.
66 * gdb.base/signals.exp: ditto.
67 * gdb.base/twice.exp: ditto.
68 * gdb.c++/classes.exp: ditto.
69 * gdb.c++/inherit.exp: ditto.
70 * gdb.c++/templates.exp: ditto.
71 * gdb.base/break.exp: no run and hit main for stubs. Change line
72 numbers for breakpoints and info breakpoint.
73 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
74 breakpoint().
75 * gdb.base/callfuncs.c: ditto.
76 * gdb.base/exprs: ditto.
77 * gdb.base/interrupt.c: ditto.
78 * gdb.base/opaque0.c: ditto.
79 * gdb.base/printcmds.c: ditto.
80 * gdb.base/ptype.c: ditto.
81 * gdb.base/scope0.c: ditto.
82 * gdb.base/setvar.c: ditto.
83 * gdb.base/signals.c: ditto.
84 * gdb.base/twice.c: ditto.
85 * gdb.c++/misc.cc: ditto.
86 * gdb.c++/templates.cc: ditto.
87
88 Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
89
90 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
91
92 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
93 somewhere between `read' and `main.c'. I'm pretty sure the
94 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
95 and it isn't particularly useful.
96
97 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
98
99 Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
100
101 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
102
103 Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
104
105 * config/mt-slite: add LIBS and -nostdlib.
106 * config/slite-gdb.exp: add this new file to support sparclite target.
107
108 Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
109
110 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
111
112 * gdb.base/a2-run.exp: Change argument to istarget from
113 "*-*-vxworks" to "*-*-vxworks*".
114 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
115
116 Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
117
118 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
119 will not runto main but do a 'step' to step out of breakpoint().
120 * config/mt-slite: add -Dusestubs.
121
122 Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
123
124 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
125 instead of just @.
126
127 * gdb.base/signals.exp: Add test for "handle all print".
128 * TODO: Remove "handle all print". Also remove item about
129 checking copyright date (I don't like the idea of a spurious FAIL
130 based on when we run the tests).
131
132 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
133 for SunOS4 (reason for failure not investigated). Remove
134 redundant test for $binfile.
135
136 * gdb.base/nodebug.c (array_index): Call malloc.
137
138 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
139
140 Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
141
142 * gdb.base/recurse.exp: Update gdb_test invocation to use new
143 conventions and slightly simplify the matching regexp.
144
145 Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
146
147 * gdb.base/break.exp: Update gdb_test invocation to use new
148 convention.
149
150 * lib/gdb.exp: If noargs is not set, set it to 0.
151
152 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
153 tests unique.
154
155 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
156
157 Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
158
159 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
160 one argument of type "<non-float parameter>".
161
162 Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
163
164 * config/rom68k.exp: New file to support Motorola IDP board.
165 * gdb.base/a2-run.exp: Skip this file if noargs is set.
166 * gdb.base/break.c: Change things around so that this program
167 doesn't depend upon args. This is necessary to make remote
168 targets work (in general, they can't take args).
169 * gdb.base/break.exp: Don't try to send args to program. Don't
170 expect output. Also, replace lots of code with gdb_test.
171
172 Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
173
174 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
175 printing of '\'' (which is what the comment says we are testing,
176 even though we were not), not '''.
177 (test_integer_literals_rejected): Test that printing ''' is an error.
178
179 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
180 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
181 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
182 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
183 Use gdb_test not test_print_accept.
184 * lib/gdb.exp: Remove test_print_accept.
185
186 * gdb.base/signals.exp (signal_tests_1): Make pass message
187 consistent with fail message.
188
189 * gdb.base/whatis.exp: Remove xfails for printing char vs.
190 unsigned char; the bug (PR 1821) is fixed.
191
192 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
193
194 * gdb.base/scope.exp (test_at_localscopes): Call pass for
195 successful tests--makes xfailing them work right.
196
197 Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
198
199 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
200 only \r\n, not .*. The test can pass .* as the last thing in
201 $pattern if that is what it wants. In addition to providing this
202 flexibility, this change should speed up pattern matching in cases
203 where the pattern already ended with .* (there were a number of
204 them). This change also helps catch bad patterns--in the old
205 scheme the typo "char \*" instead of "char \\*" would pass. Now
206 it is caught.
207 * Many .exp files: Update callers.
208
209 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
210 clearer and does not spuriously match multiple ('s. Likewise for
211 ) and *.
212
213 * gdb.base/nodebug.exp: Test ability to call a function and pass
214 it a string (even with no debugging info).
215
216 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
217 "p '\'", which is the same as "p ''" once tcl gets done with
218 quoting, to "p '\\'", which I suspect is what is intended (one
219 backslash gets sent to GDB).
220
221 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
222
223 Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
224
225 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
226 1817) was fixed literally years ago.
227
228 Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
229
230 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
231 test, it causes stepping out of call_after_alloca_subr with
232 optimizing compilers.
233 (localvars_in_indirect_call): Consume GDB prompt if `finish'
234 fails.
235
236 * gdb.c++/templates.exp: Source templ-info.exp only if
237 the templates executable exists.
238
239 * gdb.c++/misc.cc (class Contains_static_instance,
240 class Contains_nested_static_instance),
241 gdb.c++/classes.exp (test_static_members): Test printing of
242 a class that contains a static instance of the class.
243
244 Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
245
246 * gdb.base/langs2.c (cppsub_): Don't prototype.
247 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
248 only, I believe).
249
250 Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
251
252 * lib/gdb.exp (skip_chill_tests): New procedure.
253
254 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
255
256 Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
257
258 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
259 each expect pattern. Cuts runtime from 12 to about 4 seconds.
260
261 Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
262
263 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
264
265 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
266 disassemble 8, not 16, instructions for part 4.
267
268 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
269 support the latter anymore.
270
271 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
272 -DNO_PROTOTYPES.
273 * gdb.base/callfuncs.c: Control use of prototypes based on
274 NO_PROTOTYPES, not __STDC__.
275 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
276 t_float_values2 tests if prototypes in use.
277
278 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
279 t_double_values): When checking differences against DELTA, check
280 that difference is within the range (-DELTA,DELTA), not just
281 (-infinity,DELTA).
282
283 Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
284
285 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
286 'file' command firts, then 'target', then 'load', this is due to gdb
287 target set up.
288 * config/mips-gdb.exp: Fix a couple regular exp bugs.
289
290 Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
291
292 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
293 FP load/store variants.
294 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
295
296 Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
297
298 * gdb.base/term.exp: Do not give a warning if not native, it is
299 not an abnormal condition.
300
301 Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
302
303 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
304 t_char_array".
305
306 Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
307
308 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
309 are getting the version number.
310
311 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
312 if not native, it is not an abnormal condition.
313
314 Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
315
316 * lib/gdb.exp: Just use "file exists", rather than undocumented
317 dejagnu procedure "findfile".
318
319 Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
320
321 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
322 (LDFLAGS): Set to -Xlinker -Ur.
323
324 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
325 Removed, these values are set by lib/gdb.exp.
326
327 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
328
329 Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
330
331 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
332 of replicating gdb startup code.
333
334 * config/mt-vxworks (LDFLAGS): Set to -r.
335 (CFLAGS_FOR_TARGET): Removed.
336
337 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
338 (gdb) and gdb for vxworks uses (vxgdb).
339
340 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
341 executable is not in the tree and host != target, use sed and
342 program_transform_name to determine the gdb name used by the
343 target.
344
345 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
346 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
347
348 Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
349
350 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
351 floats, chars, and shorts where there are ANSI-style function
352 definitions.
353
354 * gdb.base/langs.exp, gdb.base/langs*: New test.
355 * gdb.base/Makefile.in: Build it.
356 * TODO: Remove item about checking that C names don't get C++
357 demangling applied; this test tests it.
358
359 Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
360
361 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
362 went with the const70 xfail. The xfail went away a year ago.
363
364 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
365
366 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
367 for hp300.
368
369 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
370
371 * gdb.base/a1-selftest.exp: Don't run on hp300.
372
373 Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
374
375 * Makefile.in (site.exp): Set host_alias and target_alias as well
376 as host_triplet and target_triplet.
377
378 Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
379
380 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
381
382 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
383 places as other ecoff systems).
384
385 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
386 ultrix.
387
388 Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
389
390 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
391 remove them.
392 * gdb.base/nodebug.exp: Accept "function" in addition to "text
393 variable and "variable" in addition to "data variable".
394 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
395
396 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
397 2.
398 * gdb.base/list1.c (long_line): Add additional statement at start
399 of function.
400 * gdb.base/list.exp (test_forward_search): Update line number to
401 reflect new statement.
402
403 Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
404
405 * gdb.base/signals.exp: Reinitialize searched source directories
406 after gdb_start call.
407
408 Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
409
410 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
411 * gdb.stabs/Makefile.in: Likewise.
412
413 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
414 change. Instead split the tests into smaller pieces.
415 * gdb.disasm/hppa.s: Corresponding changes.
416
417 Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
418
419 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
420 Quote ^C when passing it to stty. For some shells ^ is a pipe.
421
422 * gdb.base/funcargs.exp: Modify many tests so that every test
423 either passes or fails. Make some test names unique.
424
425 Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
426
427 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
428 Call stty to set interrupt character.
429
430 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
431 for HP assembler versus GNU assembler based on actual behavior of
432 $(CC), rather than assuming that $(AS) is always the GNU assembler.
433
434 * TODO: Suggest a few more stepping tests.
435
436 Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
437
438 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
439 restart GDB for h8300 after a continue.
440 (return): Add pattern to match a29k-udi behavior.
441 * gdb.base/nodebug.exp: Remove obsolete comment.
442 * gdb.base/regs.exp: New file, testing of register displays.
443 * gdb.base/return.exp: Fix typo in reference to $objdir.
444 * gdb.base/whatis.exp: Always start with a fresh GDB.
445
446 Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
447
448 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
449 higher, these tests generate a lot of output.
450
451 Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
452
453 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
454 code following the catch silently ignored some errors; without the
455 catch they should be thrown like any other tcl error. Also, the
456 catch used "" instead of {} which meant all the callers who wanted
457 to include one of the characters "[]$ had to quote it an extra time.
458 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
459 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
460 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
461 Remove extra quoting.
462
463 Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
464
465 * gdb.base/commands.exp: Make test names unique; every test either
466 passes or fails. Update some comments.
467
468 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
469
470 Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
471
472 The following fixes a FAIL caused by the fact that the alpha stabs
473 configuration didn't use the ".if alpha" code in weird.def.
474 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
475 bit pointer, so the 32 bit version works even on the alpha.
476 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
477 Remove the stuff which allowed us to have separate versions for
478 alpha and everything else.
479
480 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
481 regexp which "info func operator\[\](" is supposed to match. Fix
482 string to send to GDB. Note that GDB still doesn't work right. Add a
483 new test for "info func .perator\[\](" which GDB does handle correctly.
484
485 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
486
487 Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
488
489 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
490 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
491 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
492 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
493 it makes the tests harder to understand and confuses test-o-matic.
494 The preferred style is that each test provides a PASS or a FAIL,
495 and has a unique message (e.g. "continue #54" not just "continue")
496 which is the same for the pass and the fail.
497 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
498 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
499 to lib/gdb.exp.
500 * gdb.base/printcmds.exp: Use test_print_accept. Remove
501 prt_accept which was basically the same thing. Likewise for
502 test_print_reject and prt_reject.
503 * lib/gdb.exp (test_print_reject): Add some more error message
504 patterns to match from the former printcmds.exp (prt_reject).
505 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
506 One defect of the passcount stuff is that some of it failed to
507 report XPASS where appropriate.
508 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
509 stuff before and after arg in expected pattern.
510 (test_paddr_operator_functions): Re-do test without print_addr_of;
511 this is the only test which seems to want extra stuff there.
512
513 Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
514
515 * gdb.base/nodebug.exp: Update new tests to reflect improved
516 wording of gdb output.
517
518 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
519 and "ptype" work on variables in files compiled without -g.
520 Replaces commented out "maint print msymbol" tests.
521
522 Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
523
524 * gdb.base/setvar.c (dummy): Call malloc.
525
526 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
527 losing with the irix4 sed.
528
529 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
530 ALRM" on irix4.
531
532 Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
533
534 * TODO: Remove items about corefile.exp testing new exec-file and
535 backtrace; both are now done. Add items about printing enums.
536
537 Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
538
539 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
540 "get signal $thissig" test fails.
541
542 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
543
544 Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
545
546 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
547 compiler warning with dec alpha compiler.
548
549 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
550 extra \n from gdb_test call (this explains why the prompt test
551 that I removed yesterday was there).
552 (user_defined_command_test): Remove extra \n and prompt test.
553
554 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
555 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
556 doesn't exist.
557 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
558 Also remove alpha workaround, which turns out to be because
559 SIGABRT == SIGLOST.
560
561 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
562
563 * gdb.base/help.exp: Don't test "help show".
564
565 Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
566
567 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
568 "set print address" is on.
569 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
570 pass prompt to gdb_test; gdb_test already looks for the prompt.
571
572 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
573
574 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
575 was a vestige of the manual TESTSTRATEGY, and the purpose of it
576 was to make sure that gdb can read a core file. But (a) the "read
577 the corefile" part didn't make it to a1-selftest.exp, we just
578 delete the corefile after creating it, and (b) we test reading
579 corefiles in corefile.exp anyway. Also, this test left around a
580 xgdb process on Solaris.
581
582 * gdb.base/corefile.exp: Also test backtrace.
583
584 Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
585
586 * gdb.base/commands.exp: Test a simple user defined command with
587 arguments and if/while statements; verify the full user command is
588 printed by "show user".
589
590 * gdb.base/commands.exp: Test if/while commands as part of a
591 breakpoint command list; verify they appear in breakpoint
592 information.
593
594 Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
595
596 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
597 than by dividing by zero.
598
599 Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
600
601 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
602 performing an inferior call with watchpoints enabled.
603 * gdb.base/watchpoint.c (main): Delete second unnecessary read
604 call.
605
606 Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
607
608 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
609 of "file" command.
610
611 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
612 Add additional pattern for when "int operator int(void);" appears
613 in a different order.
614
615 Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
616
617 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
618
619 * gdb.base/help.exp: Replace most of docstrings for "info signals"
620 and "signal" with ".*".
621
622 Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
623
624 * TODO: Add note about "handle all nostop".
625
626 * gdb.base/{sigall.c, sigall.exp}: New test.
627 * gdb.base/Makefile.in: Add it.
628
629 Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
630
631 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
632 when invoking GDB, suppresses any windowing interface.
633
634 Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
635
636 * config/sim-gdb: New file, simulator testing support.
637
638 Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
639
640 * gdb.base/interrupt.exp: Test calling func1 twice.
641
642 Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
643
644 * gdb.base/list.exp (test_forward_search): Set timeout higher
645 when we'll be getting lots of output from gdb.
646
647 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
648 "init_malloc" to after the expect statement. Run it if that
649 regexp is taken, but also for two others which happen if source
650 cannot be found.
651
652 Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
653
654 * gdb.base/printcmds.exp: New test, for printing register before
655 program is running.
656
657 Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
658
659 * gdb.base/list.exp: Correct some alternate expect patterns
660 to reflect changes in list1.c.
661
662 Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
663
664 * TODO: Add item regarding large frames.
665
666 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
667
668 * TODO: Remove item about enabling return.exp; it
669 is enabled. Suggest a few more "return" tests.
670
671 Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
672
673 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
674 anonymous unions.
675
676 Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
677
678 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
679 and pr-5646.o, so "make" is the same as "make all", not "make
680 pr-4975.o".
681
682 Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
683
684 * gdb.base/list.exp: Adjust expectations to reflect changes in
685 list1.c.
686 (test_forward_search): New test proc.
687 * gdb.base/list1.c (long_line): New function, has long source line.
688
689 Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
690
691 * gdb.base/a1-selftest.exp: Change initial stepping to know about
692 additional line of code that was added.
693
694 Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
695
696 * gdb.disasm/hppa.s: Break the large branching tests into smaller
697 tests so as not to overflow expect's input buffers.
698 * gdb.disasm/hppa.exp: Corresponding changes.
699
700 Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
701
702 Beginnings of template debugging tests.
703 * gdb.c++/templ-info.cc: New file to test for template
704 debugging capability of the compiler.
705 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
706 templ-info.cc.
707 * gdb.c++/templates.cc: Add explicit template instantiations
708 to enable compiling with -fno-implicit-templates. Add destructor
709 and 'value' method to T5 class for template tests.
710 * gdb.c++/templates.exp: Add testcases for printing of template
711 types, setting breakpoints on template methods and calling a
712 template method.
713
714 Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
715
716 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
717 branch target since some assemblers (gas-2.5) may emit a
718 relocation for the branch instead of resolving it in the
719 assembler.
720
721 Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
722
723 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
724 through signal handler.
725
726 Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
727
728 * configure.in (*-*-netware): Use config/mt-netware.
729
730 * config/mt-netware: New file.
731 * config/mt-i386-netware: Removed, separate configs for different
732 netware architectures are no longer needed now that we have
733 --with-headers.
734
735 Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
736
737 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
738 by the recent changes to use ANSI C arithmetic conversions.
739
740 Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
741
742 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
743 bug involving using inferior_pid to figure out whether to select a
744 frame.
745
746 Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
747
748 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
749 match the current disassembler output.
750
751 Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
752
753 * gdb.fortran/exprs.exp: Expect VOID instead of void.
754 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
755 types, expect "int" as type of integer values (for now).
756
757 Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
758
759 * gdb.base/commands.exp: New tests for if/while commands.
760
761 Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
762
763 * lib/gdb.exp (runto): Replace sub-pattern for hex value
764 by .*, since hex values have different syntax in Chill mode.
765
766 Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
767
768 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
769 linefeed from expect pattern for repeated types with indices > 9.
770
771 Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
772
773 First part of Fortran test suite.
774 * gdb.fortran: New directory.
775 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
776
777 Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
778
779 * gdb.base/default.exp: Update expect pattern for load command
780 without arguments.
781
782 Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
783
784 * configure.in: Change i386 to i[345]86.
785 * gdb.base/configure.in: Likewise.
786 * gdb.c++/configure.in: Likewise.
787 * gdb.chill/configure.in: Likewise.
788
789 Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
790
791 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
792 patterns, since that is not a valid context for comments.
793
794 Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
795
796 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
797 repeated types and repeated types with indices > 9.
798
799 Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
800
801 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
802 2417; old bug has been fixed.
803
804 Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
805
806 * gdb.base/interrupt.exp: When trying to wake up the inferior,
807 send the newline ourselves instead of assuming gdb_test will do
808 so when passed an empty input string.
809
810 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
811 stabs testcode.
812
813 Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
814
815 * lib/gdb.exp (gdb_test): Don't send anything if the first
816 argument is an empty string. This makes cases where we want to
817 match output that is already in expect's buffers (for example,
818 matching a breakpoint after gdb_run_cmd has been called) work
819 reliably.
820
821 Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
822
823 * config/netware.exp: New file.
824
825 Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
826
827 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
828 the -B and -L prefixes so we can find the debugging stub.
829
830 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
831 there and we are using the gcc from the tree.
832
833 * gdb.base/types.c: Removed.
834
835 * gdb.base/configure.in: Look for makefile fragments in ../config.
836 Recognize i386-*-netware.
837 * gdb.c++/configure.in: Likewise.
838
839 Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
840
841 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
842 the correct TCL syntax.
843
844 Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
845
846 * gdb.base/opaque.exp: use runto instead of messing around with
847 breakpoints. Simplify by using gdb_test.
848
849 * gdb.base/bitfields.exp: restart between tests on netware targets
850 because breakpoints aren't relocated after target death. Run
851 processes to completion.
852
853 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
854
855 Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
856
857 * Makefile.in: Remove extra tabs that confuse some versions
858 of "make". Use the newly built gdb to test with by default,
859 rather than the first one in the tester's search path.
860
861 Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
862
863 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
864
865 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
866 condition help.
867
868 Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
869
870 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
871
872 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
873 running.
874 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
875 * gdb.base/funcargs.exp: Likewise.
876
877 * gdb.base/bitfields.exp: Simplify by using gdb_test.
878 * gdb.base/funcargs.exp: Likewise.
879
880 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
881 message is "".
882
883 Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
884
885 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
886 return,signals,twice}.exp: Handle non-existant binaries
887 consistantly.
888
889 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
890 * gdb.base/Makefile.in: Don't try to generate a core dump, we
891 might testing a cross development system.
892
893 Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
894
895 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
896 runtest script is relative to ${srcdir}, not ${rootdir}.
897
898 Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
899
900 * gdb.base/signals.exp: Allow for optionality of breakpoint
901 address.
902
903 Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
904
905 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
906
907 Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
908
909 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
910 for size_t definition.
911 * gdb.c++/templates.cc: Likewise
912
913 * config/mt-i386-netware: New file.
914
915 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
916 defined.
917
918 * gdb.base/Makefile.in: Added support for systems that name core
919 files by appending "core" to the program name.
920 * gdb.base/a1-selftest.exp: Likewise.
921
922 Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
923
924 * gdb.base/return.exp: Add comment and message for `return double'
925 test failure on Sparc Solaris.
926
927 Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
928
929 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
930
931 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
932
933 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
934 from optimizing them away.
935 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
936 patterns to include default constructors and assignment operators,
937 to match gcc versions beyond 2.5.8. Accept any cplus demangling
938 character in the output of the virtual base pointer.
939
940 Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
941
942 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
943 expression match in print_addr_of to avoid unintented matches.
944 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
945 versions up to 2.5.8.
946
947 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
948
949 * gdb.base/list.exp: Tweak alternate pattern for listing of an
950 included file to run under newer versions of expect.
951 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
952 consecutive >'s in templates to accomodate recent cplus-dem.c change.
953 Remove xfail for the virtual table of BDDHookV.
954
955 Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
956
957 * lib/gdb.exp (string_to_regexp): Set a default result.
958 (default_gdb_start): Fix misleading message.
959
960 Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
961
962 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
963 Remove all CC, etc definitions.
964 * config/mt-hpux: New file.
965 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
966 (CFLAGS, LDFLAGS): Define.
967 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
968
969 * Makefile.in (site.exp): Don't insert host_os, etc.
970 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
971 (distclean): Check existence of subdir.
972 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
973 * gdb.base/Makefile.in: General cleanup and simplification.
974 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
975 to build executables. Use default rule to build .o files.
976 (EXPECT, RUNTEST, CC): Fix relative pathname.
977 (site.exp): Don't insert host_os, etc.
978 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
979 and/or SIGUSR1 defined.
980 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
981 * gdb.c++/Makefile.in: General cleanup and simplification.
982 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
983 (CFLAGS): Remove.
984 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
985
986 Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
987
988 * gdb.base/recurse.exp: Misc changes to get tests running again
989 after Kung's changes to the watchpoint code.
990 * gdb.base/watchpoint.exp: Likewise.
991
992 Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
993
994 * lib/gdb.exp (string_to_regexp): Convert {\} also.
995
996 Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
997
998 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
999 * lib/gdb.exp (default_gdb_start): Define.
1000 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
1001 gdb.base/funcargs.exp, gdb.base/opaque.exp,
1002 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
1003 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
1004 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
1005 Don't call gdb_target_udi in between tests.
1006
1007 Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1008
1009 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
1010 (which was basically just a local version of the same thing). In
1011 addition to avoiding duplication, gdb_test_exact is faster.
1012 * lib/gdb.exp (gdb_test_exact): Fix typo.
1013
1014 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
1015 don't give an error.
1016
1017 * gdb.base/term.exp: Call delete_breakpoints before starting.
1018
1019 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
1020 (t10): Add comment.
1021
1022 Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1023
1024 Reorganization of the GDB Test Suite.
1025
1026 * gdb.base: New directory, contains all the basic tests.
1027 * gdb.c++: New directory, tests specific to C++.
1028 * gdb.chill: New directory, tests specific to Chill.
1029 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
1030 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
1031 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
1032 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
1033 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
1034 t30-31 to chill).
1035 * */gdbme.*: Rename to match appropriate expect scripts.
1036 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
1037 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
1038 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
1039 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
1040 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
1041 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
1042 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
1043 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
1044 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
1045 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
1046 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
1047 gdb.c++/virtfunc.cc: New names of C++ files.
1048 * gdb.chill/chillvars.ch: New name of Chill file.
1049 * gdb.base/configure.in, gdb.c++/configure.in,
1050 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
1051 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
1052 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
1053 * configure.in (configdirs): Update to reflect directory changes.
1054 (target_abbrev): No longer define for any configuration.
1055 * Makefile.in: Cosmetic improvements to header comments.
1056
1057 Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
1058
1059 Various changes to gdb.t31:
1060
1061 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
1062 * gdbme.ch: Make all key-words and predefineds be upper-case.
1063 * chillvars.exp: Expect key-words and predefinds in upper-case.
1064
1065 * chillvars.exp: Use gdb_test_exact many places.
1066 Change expected output for arrays (which now includes index labels).
1067
1068 * pr-5020.exp, gdme.ch (module PR_5020):
1069 New test, for PR-5020.
1070
1071 Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
1072
1073 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
1074 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
1075
1076 Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
1077
1078 * Makefile.in: Fix bit-rot in definitions of CHILL,
1079 CHILL_FOR_TARGET and Chill_LIB.
1080 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
1081 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
1082 CHILL, and CHILL_LIB.
1083
1084 Wed May 25 17:10:38 1994 Per Bothner (bothner@kalessin.cygnus.com)
1085
1086 * Makefile.in (TARGET_FLAGS_TO_PASS): Fix syntax of
1087 sanitize-chill comments.
1088
1089 Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
1090
1091 * Revert the previous changes. Please see Rob's directory
1092 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
1093
1094 Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
1095
1096 * Makefile.in, configure.in, config/mips-gdb.exp,
1097 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
1098 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
1099 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
1100 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
1101 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
1102 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
1103 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
1104 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
1105 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
1106 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
1107 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
1108 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
1109 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
1110 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
1111 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
1112 changes from 94Q1.
1113
1114 Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
1115
1116 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
1117 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
1118 Rob's new testing fragments.
1119
1120 Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
1121
1122 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
1123 lib/gdb.exp: Replace error proc calls with perror.
1124
1125 Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
1126
1127 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
1128 version also, match on casted version strings, and match on
1129 gdb startup case where the line numbers might be messed up.
1130
1131 Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
1132
1133 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
1134 (CFLAGS): Delete it from here.
1135
1136 Thu May 12 14:06:34 1994 Bill Cox (bill@rtl.cygnus.com)
1137
1138 * .Sanitize: Drop the gdb.t30 and gdb.t31 directories
1139 unless keep-chill was specified on the command line.
1140 * Makefile.in, config/makefile.rel.in: : Add comment lines
1141 to Sanitize out CHILL references unless keep-chill
1142 was specified.
1143
1144 Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
1145
1146 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
1147
1148 Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
1149
1150 * Makefile.in (RUNTEST): Default to just "runtest".
1151
1152 Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1153
1154 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
1155 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
1156 the code has been restructured.
1157
1158 Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1159
1160 * gdb.t00/default.exp (set write): Allow any number of \r and/or
1161 \n, not just one of each.
1162
1163 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
1164 /bin/cc gives a warning if you do.
1165
1166 Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
1167
1168 * gdb.t24/demangle.exp: change expect pattern of
1169 __t10ListS_link1ZUiRCUiPT0
1170
1171 Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1172
1173 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
1174 on local variables in recursive functions.
1175
1176 * gdb.t07/Makefile.in: Build the new test.
1177
1178 Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1179
1180 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
1181 directly. Instead compare the return values from actual calls.
1182
1183 Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
1184
1185 * Makefile.in (check): Set TCL_LIBRARY for runtest.
1186
1187 Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1188
1189 * From Peter Schauer with minor modifications.
1190 * gdb.t15/return.exp (return_tests): Handle targets where "return"
1191 stops in mid-line in the caller. Add xfail for returning a float
1192 value on X86 targets.
1193
1194 Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1195
1196 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
1197 to avoid expect lossage.
1198 (fmem_LRbug_tests): Likewise.
1199 * gdb.disasm/hppa.s: Corresponding changes.
1200
1201 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
1202 conditions to work with latest dejagnu/expect.
1203
1204 * gdb.t15/funcargs.exp (finish from indirect call): No longer
1205 expected to fail on the PA.
1206 (backtrace in call with trampolines): Explicitly require main
1207 to be frame #1 (no trampolines should show up in backtrace).
1208
1209 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
1210 "continue -expect".
1211 * gdb.t06/break.exp: Likewise.
1212 * gdb.t07/watchpoint.exp: Likewise.
1213 * gdb.t13/bitfields.exp: Likewise.
1214 * gdb.t15/{funcargs,return}.exp: Likewise.
1215 * gdb.stabs/weird.exp: Likewise.
1216 * config/{mips,udi}-gdb.exp: Likewise.
1217
1218 * hppa.sed: Enclose comments within a sed command to avoid
1219 losing with the old OSF1 sed.
1220
1221 Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1222
1223 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
1224 sequent dynix.
1225 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
1226 * gdb.t15/funcargs.exp: Conditionally step again to really
1227 finish from marker_call_with_trampolines. Handle the case where
1228 the first step from within call_with_trampolines already steps
1229 us back to main.
1230 * gdb.t15/gdbme.c: Add comment to closing brace of
1231 call_with_trampolines for funcargs.exp.
1232
1233 Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1234
1235 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
1236 Fix typo(s).
1237
1238 Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1239
1240 * gdb.t07/gdbme.c: More code for watchpoint testing.
1241
1242 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
1243 "Hardware watchpoint" throughout file.
1244 (test_watchpoint_triggered_in_syscall): New test.
1245 (test_complex_watchpoint): New test.
1246
1247 Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1248
1249 * gdbme.c (call_with_trampolines): New function to try and step
1250 into. Tests trampoline problems on the PA.
1251
1252 * funcargs.exp (localvars_in_indirect_call): No longer expect
1253 stepping into indirect call to fail on PAs.
1254 (test_stepping_over_trampolines): New test.
1255
1256 Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1257
1258 * TODO: Add suggestions for static member function tests, and
1259 completion tests.
1260
1261 Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1262
1263 * TODO: Add suggestions for "p/a" tests.
1264
1265 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
1266 (default_gdb_exit): Replace all the hair with sending "quit" to
1267 the process with a simple close.
1268
1269 Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1270
1271 * TODO: Add suggestions for shared library tests.
1272
1273 Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1274
1275 * TODO: Add suggestions for x/s tests.
1276
1277 Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1278
1279 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
1280 "enable once", and "enable breakpoints once" with ".*".
1281
1282 Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1283
1284 * TODO: Add suggestions about structure passing tests.
1285
1286 Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1287
1288 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
1289 the primary1 test, use work around if __GNUC__ < 2.
1290 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
1291 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
1292 Test for bad output rather than waiting for timeout. Issue
1293 second continue only if first continue failed.
1294
1295 Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1296
1297 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
1298 operator[] test with gdb_test because the old code didn't seem to
1299 be getting the quoting right with the new dejagnu.
1300
1301 Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
1302
1303 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
1304 one from the path.
1305 * Makefile.in: Use a fresh expect if there is one, use runtest
1306 from the src tree if there is one.
1307
1308 Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1309
1310 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
1311 next over recursive call. Revise the tests from that point on
1312 (which had been skipped) to match GDB's actual (correct) output.
1313
1314 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
1315 with next over a breakpoint whose condition is false.
1316
1317 * gdb.t00/help.exp: Comment out "help set print" tests just like
1318 (and for same reason as) "help set" test.
1319
1320 Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1321
1322 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
1323 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
1324
1325 Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1326
1327 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
1328 necessary gdb_target_udi.
1329
1330 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
1331
1332 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
1333 1838 and 2417; they are fixed.
1334
1335 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
1336 gdb.t03/ptype.exp (ptype structure, ptype union):
1337 Remove xfails; the test is looser than when the xfails were added.
1338
1339 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
1340 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
1341
1342 * gdb.t01/run.exp: Only run shell test if isnative.
1343
1344 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
1345 since "run" automatically loads if necessary. Call gdb_target_udi
1346 after the "file" since "file" kills any execution target.
1347
1348 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
1349 GDB. GDB doesn't work that way (not anymore at least) on UDI.
1350 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
1351 argument for UDI.
1352
1353 Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
1354
1355 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
1356
1357 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
1358
1359 Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1360
1361 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
1362 properly quoting regexps. This makes the second argument to
1363 demangle a fixed string, which matches the callers, instead of a
1364 shell-style pattern which is what the previous implementation
1365 used. Update some of the callers.
1366
1367 Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1368
1369 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
1370 (comib_nullified_tests): Fix typo.
1371 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
1372 strings. No longer expected to fail.
1373
1374 * gdb.disasm/hppa.s (addib_tests): Fix typo.
1375 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
1376 strings. No longer expected to fail.
1377
1378 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
1379 string. No longer expected to fail.
1380
1381 Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1382
1383 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
1384 No longer expected to fail.
1385
1386 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
1387 string. No longer expected to fail.
1388
1389 Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1390
1391 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
1392 only in the names (I probably got most of them). I was even
1393 generous with some which differed in underscores in names, and
1394 probably missed a few, and I *still* was able to remove almost a
1395 third of the file with almost no impact on testsuite coverage.
1396
1397 Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1398
1399 * gdb.t00/default.exp: Match udi_attach error message as well as
1400 the one from child_attach.
1401
1402 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
1403
1404 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
1405
1406 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
1407 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
1408
1409 * Move test with enums and partial symbols back to
1410 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
1411 Reverts the change of 26 May 93. Per today's change to
1412 stabs.texinfo, the behavior that weird.exp was expecting was
1413 unreasonable; what is important is that the compiler+gdb get
1414 things right, which happens with a recent gcc. Also fix the test
1415 to deal with native compilers which put out the stab gdb can't
1416 deal with.
1417
1418 Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1419
1420 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
1421 in the names. The main thing these accomplish is to slow things down.
1422 Many more such duplicates surely remain.
1423
1424 * gdb.t00/help.exp: Comment out "help support" test just like
1425 (and for same reason as) "help set" test.
1426
1427 Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
1428
1429 * gdb.t06/break.exp: Remove setup_xfails for
1430 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
1431 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
1432 about known bug in gcc to include up through 2.5.8.
1433 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
1434 well as "_vb$".
1435 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
1436 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
1437 with latest gcc and gdb.
1438 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
1439 well as "_vb$".
1440
1441 Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1442
1443 * configure.in (hppa*-*-*): Also configure and build stabs-only
1444 tests.
1445
1446 Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1447
1448 * gdb.t10/hppa.mt: A makefile fragment for the PA.
1449 * gdb.t10/configure.in (hppa*-*-*): Use it.
1450
1451 Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1452
1453 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
1454
1455 Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1456
1457 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
1458 versions prior to 1.13.5.
1459
1460 Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1461
1462 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
1463 the prompt is at the start of a line.
1464
1465 Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
1466
1467 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
1468 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
1469 in the copr tests now.
1470 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
1471 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
1472 expected to fail.
1473
1474 Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
1475
1476 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
1477 gdb.t31/chillvars.exp, lib/gdb.exp:
1478 Tweak to run under either version of expect.
1479 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
1480 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
1481 * gdb.t11/list.exp: Remove extraneous whitespace.
1482
1483 Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1484
1485 * gdb.t16/printcmds.exp (test_print_strings): Accept
1486 "(unsigned char *) " before the string.
1487
1488 * TODO: Add notes about printing of fancy types and GDB expressions.
1489
1490 Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
1491
1492 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
1493 * gdb.t06/configure.in: Don't try to compile signals test program
1494 if doing mips-idt-ecoff.
1495
1496 Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
1497
1498 * Most .exp files: Tweak to run under either version of expect.
1499
1500 Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1501
1502 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
1503 xfails; I'm not sure why they are failing, but not because of PR 1806.
1504
1505 Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
1506
1507 * config/unix-gdb.exp: Remove gdb_unload cause it's already
1508 defined in lib/gdb.exp.
1509
1510 Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1511
1512 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
1513 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
1514 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
1515 have to be typeless.
1516
1517 Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
1518
1519 * TODO: Add suggestion for copyright year test.
1520
1521 Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
1522
1523 * configure.in (*-*-lynxos*): Add stabs tests.
1524
1525 Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
1526
1527 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
1528 so insert a tab before any assembler directive in column zero.
1529
1530 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
1531 stores.
1532 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
1533 stores.
1534 (fpu_short_memory_tests): Likewise.
1535
1536 Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1537
1538 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
1539 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
1540 .stabs directives in comments.
1541
1542 Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1543
1544 * TODO: New file, describing tests we could write.
1545 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
1546
1547 Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1548
1549 * gdb.t06/signals.exp: Add kludge to force re-sync.
1550
1551 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
1552 to xgdb instead of gdb, get out of gdb.
1553
1554 Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
1555
1556 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
1557 for info.
1558
1559 Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
1560
1561 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
1562 * gdb.stabs/configure.in (hppa*-*-*): Use it.
1563 * gdb.stabs/hppa.sed: New sed script for the PA.
1564
1565 Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1566
1567 * gdb.stabs: Re-write weird.def and configuration to use sed
1568 instead of cpp. sed is portable and POSIX; cpp is neither.
1569
1570 Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1571
1572 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
1573
1574 Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1575
1576 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
1577
1578 Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1579
1580 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
1581 "_vb$".
1582 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
1583 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
1584
1585 Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1586
1587 * lib/gdb.exp: Comment out code which depends on non-existent
1588 `transform' procedure.
1589
1590 Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
1591
1592 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
1593 * lib/gdb.exp: Transform tool name.
1594 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
1595 1.1's new error handling system.
1596
1597 Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1598
1599 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
1600
1601 Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1602
1603 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
1604 They made pattern matching so slow that timeouts happened on
1605 heavily loaded systems. Now any output from "show print" which
1606 gets us back to the GDB prompt is a PASS.
1607
1608 Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
1609
1610 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
1611
1612 Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1613
1614 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
1615
1616 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
1617 It is not from PR 3220.
1618
1619 Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1620
1621 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
1622 just started failing because they depended on the order the
1623 subcommands are presented, or exact docstring text. This kind of
1624 test is a pain and has minimal benefit.
1625
1626 Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1627
1628 * gdb.t09/corefile.exp: At end of test, use "core" command with
1629 no arguments.
1630
1631 Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
1632
1633 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
1634 17}/Makefile.in: Make it possible to run the testsuite with Sun
1635 make and CC = cross gcc by adding explicit build rules for .o
1636 files.
1637
1638 Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1639
1640 * gdb.t15/funcargs.exp: Don't put comments on same line as
1641 setup_xfail (@#$*%& tcl braindamage!).
1642
1643 Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1644
1645 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
1646
1647 Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
1648
1649 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
1650 * gdb.t20/inherit.exp: remove three dumplicate entries.
1651
1652 Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1653
1654 * gdb.t06/break.exp: For "next over recursive call", fail on any
1655 incorrect output, not just on "factorial (value=2)".
1656
1657 Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1658
1659 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
1660 working now. Add an xfail if accesing a bss variable causes
1661 a memory error if the target is not yet run.
1662
1663 Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1664
1665 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
1666 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
1667 name of __st* demangling (2 strings). Did Kung really get the
1668 more than 95 others right without testing them?
1669
1670 Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
1671
1672 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
1673
1674 Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
1675
1676 * configure.in (configdirs): Add gdb.disasm
1677 * gdb.disasm: New directory for GDB disassembler tests.
1678 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
1679
1680 Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1681
1682 * gdb.t00/help.exp: Don't test "help set".
1683
1684 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
1685 from within expect statements. None of these happen anymore and
1686 they cause regressions to be silently unnoticed.
1687
1688 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
1689 messages) about known failures with gcc cygnus-2.4.5-930417.
1690
1691 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
1692 comp-info.exp so it gets built if it doesn't exist.
1693
1694 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
1695 it is no longer used.
1696 * gdb.t13/comp-info.c: Removed.
1697
1698 Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
1699
1700 * gdb.t06/signals.exp: Add xfail for sun3.
1701
1702 Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1703
1704 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
1705 relevant because ^C doesn't get sent but failure can be reproduced
1706 interactively).
1707
1708 Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1709
1710 * gdb.stabs/alpha.mt: New configuration file for alpha.
1711 * gdb.stabs/configure.in: Use it.
1712 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
1713 sharing with alpha.mt, redefine long to word via preprocessor.
1714 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
1715 for alpha.
1716 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
1717 native cc.
1718 * gdb.t00/teststrategy.exp: Change expect string so that we
1719 consume the `(xgdb)' from the command echo and from the gdb prompt.
1720 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
1721 gdb currently compares all values as long, so this failure probably
1722 applies to any configuration where LONGEST is bigger than a target int.
1723 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
1724 with gcc.
1725 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
1726 to handle opaque pointers, gcc is.
1727 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
1728 as first argument. Include <sys/types.h> and change all operator
1729 new definitions to use size_t.
1730 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
1731 now that we use size_t.
1732
1733 Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1734
1735 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
1736 a long or float array cast all array members to the same type.
1737 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
1738 with 64 bit longs.
1739 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
1740 on alpha.
1741 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
1742
1743 Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1744
1745 * gdb.t24 (demangle.exp): Constructors of templates have names like
1746 vector<int>::vector(int) not vector<int>::vector<int>(int). See
1747 section 14.6 of the ARM.
1748
1749 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
1750 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
1751 accomplish little and slow down the testsuite.
1752
1753 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
1754 Accept spaces various places.
1755
1756 Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1757
1758 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
1759 with watchpoint enabled.
1760
1761 * Makefile.in: Remove definition of CC and remove the second
1762 definition of CXX (the "CXX = gcc" one remains). These definitions
1763 were causing backquotes to be expanded within backquotes, which
1764 doesn't work.
1765
1766 Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
1767
1768 * gdb.t17/callfuncs.exp: Add "return 0" to end.
1769
1770 Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1771
1772 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
1773 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
1774 by mips cc and contains no stabs entries.
1775
1776 Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
1777
1778 * config/vx-gdb.exp: Use fake device to load files rather than
1779 NFS.
1780 * lib/gdb.exp: New proc to do "file" command.
1781 * config/unix-gdb.exp: Use new "file" proc.
1782
1783 Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
1784
1785 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
1786 Rework board rebooting slightly.
1787 (gdb_exit): Don't exit from the remote shell; there isn't one.
1788 * gdb.stabs/weird.exp: If a program is being debugged already,
1789 kill it.
1790 * gdb.t04/setvar.exp: Stop and restart gdb.
1791 * gdb.t05/expr.exp: Likewise.
1792 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
1793 restart gdb and reload the program.
1794 * gdb.t08/opaque.exp: Likewise.
1795 * gdb.t12/scope.exp: Likewise.
1796 * gdb.t13/bitfields.exp: Likewise.
1797 * gdb.t15/funcargs.exp: Likewise.
1798 * gdb.t20/classes.exp: Likewise.
1799 * gdb.t03/ptype.exp: Increase timeout.
1800 * gdb.t16/printcmds.exp (test_print_string_constants,
1801 test_print_array_constants): Likewise.
1802 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
1803 * gdb.t20/classes.exp (do_tests): Likewise.
1804 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
1805
1806 Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
1807
1808 * gdb.stabs: Renamed *wierd* to *weird*.
1809
1810 Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1811
1812 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
1813 for timeout. Add "known gcc 2.4.5 bug" to failure message.
1814
1815 Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
1816
1817 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
1818 (do_tests): Remove xfail for whatis on one_var and two_var.
1819
1820 Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
1821
1822 * Makefile.in: Made cross building work better by adding
1823 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
1824
1825 Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1826
1827 * gdb.t15/{return.c,return.exp,Makefile.in}:
1828 New test, currently commented out.
1829
1830 Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
1831
1832 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
1833 still running and removes the leftover named socket so GDb can do
1834 clean restarts.
1835
1836 Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
1837
1838 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
1839 console, not GDB.
1840 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
1841 cross testing works better with "make check"
1842 * config/unix-gdb: Use default procedures for exit and version.
1843 * config/vx-gdb.exp: Cleaned up and massaged back to working order
1844 with the newest VxWorks.
1845
1846 Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1847
1848 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
1849 old form.
1850
1851 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
1852 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
1853
1854 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
1855
1856 * config/unix-gdb.exp: Remove this version of gdb_exit
1857 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
1858 Rob says he'll look at it when he gets back to testing boards.
1859
1860 Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
1861
1862 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
1863 an expected fail for certain ptype commands.
1864
1865 * gdb.t20/classes.exp: Update expected results of "ptype class
1866 Base1" to account for the constructor that now appears in the type.
1867
1868 Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
1869
1870 * configure.in (configdirs): Restore gdb.t04, which mysteriously
1871 disappeared from list.
1872 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
1873 "alldone" proc with call to cleanup and exit.
1874 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
1875 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
1876 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
1877 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
1878 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
1879 "alldone" proc with simple returns that suppress remaining
1880 tests. The alldone proc went away many months ago.
1881
1882 Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1883
1884 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
1885
1886 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
1887
1888 Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1889
1890 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
1891 as vax gdb will display them.
1892
1893 Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1894
1895 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
1896 optimizers.
1897
1898 * scope.exp: Change "bad value for localval" messages so each one
1899 is unique.
1900
1901 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
1902 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
1903
1904 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
1905
1906 Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1907
1908 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
1909 doesn't exist (due to optimization).
1910
1911 Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1912
1913 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
1914 contains \r because the filename is long.
1915
1916 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
1917 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
1918
1919 Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1920
1921 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
1922 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
1923 Ultrix.
1924 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
1925 int tests.
1926 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
1927
1928 Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
1929
1930 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
1931
1932 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
1933 to match does not match the passing case but still matches the
1934 failing case.
1935
1936 Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1937
1938 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
1939
1940 Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
1941
1942 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
1943 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
1944 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
1945 Remove various versions of gdb_exit.
1946 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
1947 gdb_exit.
1948 * config/unix-gdb.exp: gdb_exit remains here, and should override
1949 the generic version, since it's doing a lot of wierd stuff that
1950 the other versions aren't. FIXME, fold it in, or abandon this
1951 version.
1952
1953 Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1954
1955 * gdb.t24/demangle.exp: Add tests for PR 3220.
1956
1957 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1958
1959 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
1960
1961 Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
1962
1963 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
1964 "i386-*-*". Works for i486 as well.
1965
1966 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
1967 bug, and expand domain of xfail to all SVR4 systems, since the
1968 actual problem is likely to be in generic SVR4 /proc support.
1969
1970 Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1971
1972 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
1973
1974 Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
1975
1976 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
1977 xfails for other systems. Match a missing 'Continuing.' as an
1978 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
1979
1980 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
1981 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
1982 Only issue warning for missing executables if -all option is used.
1983
1984 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
1985 file if -all option is used. It's like an unpredictable XFAIL.
1986
1987 Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1988
1989 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
1990 for dynamically linked binaries.
1991
1992 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
1993
1994 Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
1995
1996 * gdb.t20/inherit.exp: Change message for "print tagless struct"
1997 to state that this is a known bug in old versions of g++.
1998
1999 Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2000
2001 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
2002 while waiting for `Continuing'.
2003
2004 Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
2005
2006 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
2007 in text, data, and bss.
2008 * gdb.t10/nodebug.c: Add local and global test variables for
2009 initialized and uninitialized data.
2010
2011 Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2012
2013 * config/unix-gdb.exp (gdb_exit): Add "wait".
2014
2015 Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2016
2017 * gdb.t06/signals.exp: xfail the continue from the handler for all
2018 targets.
2019
2020 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
2021 function with watchpoints enabled, the i386 call dummy starts with
2022 a call.
2023
2024 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
2025 386 bsd names its corefiles.
2026
2027 Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
2028
2029 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
2030 compilers don't grok it.
2031 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
2032 with small octal ints rather than character constants, which
2033 are signed and might not fit if first promoted to int.
2034
2035 Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
2036
2037 * gdb.t09/Makefile.in (clean): Remove corefile.
2038
2039 Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2040
2041 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
2042
2043 Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2044 and Jim Kingdon (kingdon@cygnus.com)
2045
2046 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
2047 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
2048 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
2049
2050 Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2051
2052 * gdb.t17/interrupt.exp: Add xfail for hppa.
2053
2054 Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2055
2056 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
2057 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
2058 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
2059 to determine signed-ness of bitfields and use the result to setup
2060 the xfail.
2061 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
2062 * gdb.t15/funcargs.exp: Use them to step until the second indirect
2063 call line is reached if necessary.
2064
2065 Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2066
2067 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
2068
2069 Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2070
2071 * gdb.t06/break.exp: Also test `clear' command.
2072
2073 Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2074
2075 * gdb.t00/teststrategy.exp: Remove extra quote.
2076
2077 * gdb.t07/watchpoint.exp: Change xfail for calling function with
2078 watchpoint enabled to be for all non-68k machines.
2079
2080 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
2081
2082 Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2083
2084 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
2085 targets use aout.mt instead of ecoff.mt as gas understands
2086 standard aout format.
2087
2088 Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
2089
2090 * lib/gdb.exp (runto): Don't insist that function we are running to
2091 was compiled with -g.
2092
2093 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
2094
2095 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
2096 to get back into the read system call.
2097 Accept leading newline in case where we woke it up.
2098
2099 Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2100
2101 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
2102 to make the stabs test work on ecoff systems using gcc and -with-stabs.
2103 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
2104 enable ecoff configuration.
2105
2106 Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2107
2108 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
2109
2110 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2111
2112 * gdb.t16/printcmds.exp: Add another printf test.
2113
2114 Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
2115
2116 * configure.in: If configured -with-stabs on any target, add
2117 stabsdirs to configdirs.
2118
2119 Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2120
2121 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
2122 fun" so pattern does not match the command itself.
2123
2124 Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2125
2126 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
2127
2128 Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2129
2130 * gdb.t17/interrupt.exp: Test for more things.
2131
2132 Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2133
2134 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
2135 compiler arranges the code and line numbers.
2136
2137 * gdb.t17/interrupt.exp: Don't send \n after ^C.
2138
2139 Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2140
2141 * gdb.t00/help.exp: Increase expect input buffer size.
2142
2143 Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2144
2145 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
2146
2147 * gdb.t07/watchpoint.exp: Add xfail for hppa.
2148
2149 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
2150
2151 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
2152 [0-9]*, not just [0-9].
2153
2154 Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2155
2156 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
2157
2158 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
2159
2160 Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2161
2162 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
2163
2164 Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2165
2166 * gdb.t06/signals.c: Add xfails for sun3.
2167
2168 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
2169
2170 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
2171 test_stepping tests.
2172
2173 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2174
2175 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
2176
2177 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
2178
2179 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
2180 rather than actually putting it through cpp twice.
2181
2182 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
2183
2184 Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
2185
2186 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
2187 no longer needed.
2188
2189 Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2190
2191 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
2192
2193 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
2194 C++ features prints as "struct", make it a pass, not an xfail.
2195
2196 Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2197
2198 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
2199 Don't require VA to print as "class" rather than "struct".
2200
2201 Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
2202
2203 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
2204
2205 Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2206
2207 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
2208
2209 Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2210
2211 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
2212 order.
2213
2214 Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2215
2216 * gdb.t16/printcmds.exp: Add printf tests.
2217
2218 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
2219
2220 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
2221
2222 Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
2223
2224 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
2225 pass counts, to counteract any existing or future setup_xfails.
2226
2227 Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2228
2229 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
2230 {BEGIN,END}_COMMON for common block instead of STAB.
2231 * gdb.stabs/wierd.exp: Add xfail for rs6000.
2232
2233 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
2234 intp_var should be N_GSYM not N_LSYM.
2235 wierd-aout.S: Use a label for the value of the N_SO.
2236 wierd.def: Remove all backslashes.
2237 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
2238
2239 Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2240
2241 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
2242 get the expected next to inheritance3.
2243
2244 Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2245
2246 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
2247 now that gcc-2.4 gets it right.
2248
2249 Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2250
2251 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
2252
2253 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
2254 generating comp-info.exp which works for cross-compilation.
2255
2256 Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
2257
2258 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
2259 "*-*-sysv4.*".
2260
2261 Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
2262
2263 * gdb.t01/run.exp: Start with a fresh gdb.
2264 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
2265 SVR4.x.
2266
2267 Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
2268
2269 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
2270 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
2271 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
2272 Makefile.in (distclean, realclean): Remove gdbme.c from list of
2273 things to remove.
2274
2275 Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
2276
2277 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
2278 test cases from bug reports.
2279
2280 Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
2281
2282 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
2283 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
2284 avoid spurious xfails.
2285 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
2286 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
2287 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
2288
2289 Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
2290
2291 * gdb.t00/teststrategy.exp: Rework to provide more useful
2292 description of each test, fix problem with systems that define
2293 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
2294 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
2295 results for "next over recursive call" so timeouts aren't taken
2296 by error.
2297
2298 Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
2299
2300 * gdb.t12/scope.exp: Test printing of variables before run.
2301
2302 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
2303 printed in wrong order due to sorting.
2304
2305 Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
2306
2307 * gdb.t00/teststrategy.exp: Fix expected results for printing
2308 user entered string constant. Is array of char, prints with no
2309 address.
2310
2311 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
2312 commands.
2313 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
2314 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
2315 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
2316 of struct of char arrays.
2317 * gdb.t00/radix.exp: New tests for radix commands.
2318
2319 Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
2320
2321 * gdb.t16/printcmd.exp: Print a variable before running program
2322 (with xfail for AIX).
2323
2324 Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
2325
2326 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
2327
2328 * gdb.t16/printcmd.exp: Don't print variables before running program.
2329
2330 * gdb.t06/break.exp: Don't require envp argument to main.
2331
2332 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
2333
2334 * gdb.t02/whatis.exp, gdb.t11/list.exp:
2335 Add xfails for rs6000.
2336
2337 * gdb.t02/whatis.exp: Change other tests not to re-test something
2338 we already tested.
2339
2340 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
2341 each type used has a variable of that type.
2342
2343 Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
2344
2345 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
2346
2347 Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2348
2349 * configure.in: change srctrigger to be a file, not a directory
2350
2351 Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
2352
2353 * configure.in (mips-idt-ecoff*): Added trailing '*'.
2354
2355 * gdb.t11/list.exp: Fixed a couple of typos.
2356
2357 Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
2358
2359 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
2360 is fixed and PR is closed.
2361 * gdb.t16 (gdbme.c): Add simple test string variable.
2362 * gdb.t16 (printcmds.exp): Add tests with simple test string
2363 variable, primarily for boundaries on "set print elements".
2364
2365 Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
2366
2367 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
2368 Make leading 0's optional and don't expect a tab in the middle
2369 of the number.
2370
2371 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
2372
2373 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
2374 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
2375 don't end command passed to gdb_test with newline.
2376
2377 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
2378 signed keyword away, don't expect signed bitfields to be signed.
2379
2380 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
2381 printing with only as many 1's as are in the field as well as printing
2382 with 32 1's (see comment).
2383
2384 Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
2385
2386 * gdb.t00/default.exp: Start with a fresh gdb.
2387 * configure.in (configdirs): Remove gdb.t31 until the chill
2388 compiler works again. It no longer is able to find chillrt0
2389 since it isn't in libchill.a anymore.
2390 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
2391 wierd.o, make more modular.
2392 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
2393 spurious newlines that caused problems.
2394
2395 Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2396
2397 * Move test with enums and partial symbols from gdb.t03/ptype.exp
2398 to gdb.stabs/wierd.exp since GCC has worked around the bug.
2399 gdb.stabs/wierd.{exp,def}: Many new tests.
2400
2401 * gdb.t00/default.exp: update info line for new message.
2402
2403 * gdb.t02/{whatis.exp,gdbme.c}:
2404 Test that "char *" doesn't print as "caddr_t".
2405
2406 Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2407
2408 * gdb.t00/help.exp: Use .* in place of some help messages which
2409 just changed.
2410 gdb.t00/default.exp: Update "info frame" test for new message.
2411 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
2412 Remove some xfails
2413
2414 Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2415
2416 * gdb.t03/{gdbme.c,ptype.exp}:
2417 Add tests for typedef'd struct and union without tags.
2418 Also check "whatis" on a variable of a typedef'd enum without a tag.
2419
2420 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
2421 PRMS 1823; the bug still exists but isn't reproduced by this test
2422 anymore), and remove rs6000 XFAIL (the bug is fixed).
2423
2424 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
2425 duplicated from whatis.exp. For those that are left, accept
2426 "long", "long int", or "int" for long variables (whatis.exp already
2427 has an XFAIL for "int", so no need to fail it here).
2428
2429 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
2430 Deal with GCC's names for types now that GDB uses the compiler's names.
2431
2432 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
2433 setup_xfail's for sunos4. If we #defined the signed keyword away,
2434 don't expect GDB to know that char it is signed.
2435
2436 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
2437
2438 Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
2439
2440 * configure.in (configdirs): Add gdb.t24 for C++ tests that
2441 should work on any system, regardless of debugging format.
2442 * gdb.t21/demangle.exp: Move to gdb.t24.
2443 * gdb.t24/demangle.exp: Move from gdb.t21.
2444 * gdb.t24/{Makefile.in, configure.in}: New files.
2445
2446 Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2447
2448 * configure.in: Do gdb.stabs and C++ tests only for stabs.
2449 * gdb.stabs: New directory.
2450
2451 Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2452
2453 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
2454 not just "Quit anyway?".
2455
2456 Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
2457
2458 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
2459 that all setup_xfails are immediately followed by clear_xfails.
2460
2461 Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
2462
2463 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
2464 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
2465 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
2466 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
2467 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
2468 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
2469 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
2470 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
2471 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
2472 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
2473 gdb.t31/chillvars.exp, lib/gdb.exp:
2474 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
2475 bug-gdb@prep.ai.mit.edu.
2476
2477 Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
2478
2479 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
2480 with 0.0, not integer 0.
2481
2482 Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
2483
2484 * gdb.t06/break.exp: Update for "Kill the program" message change.
2485
2486 Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
2487
2488 * Makefile.in (GDBFLAGS): Set to -nx.
2489 * Makefile.in (site.exp): Use GDBFLAGS.
2490
2491 Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2492
2493 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
2494 Makefiles.
2495 (check): depend on just-check.
2496 (just-check): added so that tests can be run without a noop
2497 build pass.
2498
2499 Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
2500
2501 Switch to using configure's configdirs.
2502 * Makefile.in (Makefile): add configure.in dependency.
2503 (SUBDIRS): removed redundant assignment.
2504 * configure.in: switch subdirs assignment to configdirs.
2505 * gdb.t*/configure.in: new files.
2506
2507 Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
2508
2509 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
2510 works.
2511
2512 Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
2513
2514 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
2515 in explicit rules. Apparently this is not supported by some makes.
2516
2517 Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
2518
2519 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
2520
2521 Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2522
2523 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
2524 disappeared.
2525
2526 Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
2527
2528 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
2529
2530 Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
2531
2532 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
2533 watchpoint problem that is now fixed.
2534 * gdb.t30/chexp.exp: Remove setup_xfail for printing
2535 uninitialized convenience variables.
2536 * gdb.t31/chillvars.exp: Fix expected patterns for printing
2537 structures.
2538
2539 Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2540
2541 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
2542 which causes expect to get out of sync with gdb on long output
2543 from help set.
2544 * gdb.t09/corefile.exp: Make expected pattern for core file
2545 failing signal and frame output format less sun specific.
2546
2547 Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
2548
2549 * gdb.t31/chillvars.exp: Add and remove initial dummy
2550 breakpoint, so that symbol table is forced in.
2551 (Needed at least on Sunos4, though it seems not SVR4.)
2552 * gdb.t31/chillvars.exp: Update for changed output format.
2553
2554 Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
2555
2556 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
2557
2558 Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
2559
2560 * Makefile.in: Added --srcdir when invoking runtest, removed the
2561 need for a local config file. (optional now)
2562
2563 Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
2564
2565 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
2566 failure count used to force early termination. Add some more
2567 expected failures for gnu style demangling.
2568
2569 Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2570
2571 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
2572 pmi variable from gdb.t20/gdbme to get optimized away.
2573 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
2574 Check for written corefile upon timeout _and_ eof.
2575
2576 Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2577
2578 * config/unix-gdb.exp: Add missing return 0.
2579
2580 Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2581
2582 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
2583 test termination.
2584
2585 Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
2586
2587 * configure.in (subdirs): Put back gdb.t17 which mysteriously
2588 disappeared.
2589
2590 Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
2591
2592 * gdb.t10/crossload.exp: Disable the i860-elf test until such
2593 time as i860 support works.
2594
2595 * gdb.t15/funcargs.exp: Fix expected outputs to include
2596 "backtrace 100\r" rather than just "backtrace\r", to match last
2597 change.
2598
2599 Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
2600
2601 * config/udi-gdb.exp (gdb_exit): Remove close command.
2602 (gdb_target_udi): New procedure to set the UDI target.
2603 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
2604 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
2605 Added waits for prompts after several question responses. Added
2606 some more responses used by a29k-amd-udi-gdb.
2607 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
2608 pass different arguments, restart UDI connection after program
2609 completion.
2610 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
2611 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
2612 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
2613 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
2614 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
2615 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
2616 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
2617 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
2618 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
2619 after program completion.
2620 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
2621 compiled with a SELECT_VECS setting.
2622 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
2623 infinite recursion.
2624
2625 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
2626 Added checks for COFF results, and made them expected failures for
2627 all targets. It would be better to make them expected failures
2628 for COFF targets only.
2629
2630 Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2631
2632 * Makefile.in: add null dvi target, don't bother to recurse
2633 through test directories for info and install-info; rename
2634 $(datadir) to be dejagnu instead of deja-gnu
2635
2636 Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
2637
2638 * gdb.t31/gdbme.ch: Re-enable code that previously caused
2639 compiler to coredump.
2640 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
2641 code.
2642
2643 Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
2644
2645 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
2646 coredump.
2647 * gdb.t31/chillvars.exp: Comment out tests that depend on that
2648 code.
2649
2650 Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
2651
2652 * gdb.t03/ptype.exp: tests for return code from gdb_test.
2653 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
2654 which in a shell. Deletes xgdb when done.
2655 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
2656 Tests the return from the "set height" or "set width" commands.
2657 Added a few return codes where needed.
2658
2659 Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
2660
2661 * Makefile.in (SUBDIRS): Add gdb.t17.
2662 * configure.in (subdirs): Add gdb.t17.
2663 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
2664 files to test gdb's calling of functions in the inferior with
2665 the correct arguments and gdb's ability to retrieve any
2666 result returned.
2667
2668 Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
2669
2670 * config/unix-gdb.exp (gdb_exit): Remove close commands that
2671 may be called after gdb goes away. Previous versions of expect
2672 needed these to avoid file descriptor leaks, but they cause
2673 errors with the current revision of expect.
2674 * gdb.t00/gdbvars.exp: Use -re on expected output after
2675 setting sevenbit-strings.
2676 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
2677 to set sevenbit-strings consistent across tests.
2678 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
2679 set sevenbit-strings consistent across tests.
2680
2681 Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
2682
2683 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
2684 expected output to match current "expect" expectations.
2685
2686 Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
2687
2688 * gdb.t00/default.exp: Change expected output for default "source"
2689 command, to match new gdb behavior which requires a filename to
2690 source.
2691
2692 Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
2693
2694 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
2695 expected fail for i486-*-* that misses the marker2 function.
2696 * gdb.t10/crossload.exp (bfddefault): Allow successful
2697 recognition of a format to pass even if no symbols are found.
2698 Explicitly catch failures where the format is not recognized
2699 or is ambiguous, and add the reason to the fail message.
2700 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
2701 the cause is and invalid target and add reason to failure message.
2702 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
2703 elf32-i386, elf32-sparc, and elf32-i860.
2704 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
2705 Set up expected failure for 'filename'::variable scope resolution,
2706 which is now apparently broken on all targets.
2707 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
2708 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
2709 gdb.t23/templates.exp: Change failure for missing binfile into
2710 just a warning.
2711 gdb.t21/demangle.exp: Change all cfront references to 'arm'
2712 references.
2713
2714 Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
2715
2716 * gdb.t00/default.exp: Add expected output for default "source"
2717 command, to match new gdb behavior.
2718 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
2719
2720 Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
2721
2722 * config/*-gdb.exp: returns an error, rather than exiting on
2723 internal errors.
2724
2725 Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
2726
2727 * gdb.t03/gdbme.c: Add pointer to struct variable.
2728 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
2729 referencing struct members.
2730
2731 Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
2732
2733 * configure.in (mips-idt-ecoff): New target.
2734 * config/mips-gdb.exp: New file for remote board using MIPS remote
2735 debugging protocol.
2736
2737 * Redid configuration scheme. Removed gdb.t*/configure.in.
2738 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
2739 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
2740 distclean targets. Built executables via .o files. Adjusted
2741 tests to account for source files in $(srcdir) rather than
2742 $(objdir).
2743 * lib/gdb.exp (runto): Don't expect () after the function name,
2744 because it may have arguments.
2745
2746 Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
2747
2748 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
2749 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
2750 expected failures for mips-idt-* and mips-sgi-*.
2751 * gdb.t00/default.exp (attach): Kill process if requested.
2752 * gdb.t00/help.exp (help target core, help target): Accept a gdb
2753 that does not read core files.
2754 * gdb.t01/run.exp: Removed checks for exit status code.
2755 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
2756 it is linked in.
2757 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
2758 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
2759 appropriate, rather than doing it by hand.
2760 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
2761 execution.
2762 * gdb.t10/crossload.exp: Kill existing program if needed.
2763 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
2764 appropriate, rather than doing it by hand. Always increase
2765 timeout for this test, not just for VxWorks.
2766
2767 Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
2768
2769 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
2770 of Chill STRUCT types and STRUCT values.
2771 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
2772 than "char".
2773 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
2774 struct2): New struct definitions and initializations to test
2775 simple Chill STRUCT types.
2776
2777 Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
2778
2779 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
2780 the null byte at the end of strings.
2781 * gdb.t00/default.exp: Make show version insensitive to copyright
2782 date.
2783 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
2784 to avoid dependencies on target char signedness.
2785 * gdb.t16/printcmds.exp: Update expected results for explicitly
2786 unsigned char.
2787 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
2788 now work.
2789 * gdb.t21/demangle.exp: Add many more patterns for template
2790 demangling, most of them being expected failures.
2791 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
2792 string we are matching for, to match on the whole string.
2793 * gdb.t21/demangle.exp: Add many new test strings to demangle,
2794 and fix a whole bunch that had incorrect expected output but were
2795 passing anyway because of the bug in "proc demangle".
2796 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
2797 type.
2798 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
2799
2800 Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
2801
2802 * gdb/testsuite: made modifications to testcases, etc., to allow
2803 them to work properly given the reorganization of deja-gnu and the
2804 relocation of the testcases from deja-gnu to a "tool" subdirectory.
2805
2806 Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
2807
2808 * gdb/testsuite: Initial creation of gdb/testsuite.
2809 Migrated dejagnu testcases and support files for testing nm to
2810 gdb/testsuite from deja-gnu. These files were moved "as is"
2811 with no modifications. This migration is part of a major overhaul
2812 of dejagnu. The modifications to these testcases, etc., which
2813 will allow them to work with the new version of dejagnu will be
2814 made in a future update.
2815 \f
2816 Local Variables:
2817 mode: indented-text
2818 left-margin: 8
2819 fill-column: 74
2820 version-control: never
2821 End:
This page took 0.110249 seconds and 5 git commands to generate.