2002-01-20 Daniel Jacobowitz <drow@mvista.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
3e36a0f4
DJ
12002-01-20 Daniel Jacobowitz <drow@mvista.com>
2
3 * gdb.c++/classes.exp: Update for improved v3 support and skipping
4 artificial methods/arguments.
5 * gdb.c++/derivation.exp: Likewise.
6 * gdb.c++/inherit.exp: Likewise.
7 * gdb.c++/method.exp: Likewise.
8 * gdb.c++/virtfunc.exp: Likewise.
9
b4ceaee6
AC
102002-01-18 Andrew Cagney <ac131313@redhat.com>
11
12 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
13 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
14 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
15 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
16 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
17 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
18
ecace851
JB
192002-01-17 Jim Blandy <jimb@redhat.com>
20
21 * gdb.asm/asm-source.exp (info symbol): Take another shot at
22 anchoring the pattern matching the entry point symbol's name.
23
375fc983
AC
242002-01-17 Andrew Cagney <ac131313@redhat.com>
25
26 * gdb.base/maint.exp: Update ``maint internal-error'' to match
27 continue/quit query. Update copyright.
28
e017c81f
DJ
292002-01-13 Daniel Jacobowitz <drow@mvista.com>
30
31 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
32 for slightly dubious v2 mangled string.
33
37ab3bf8
DJ
342002-01-13 Daniel Jacobowitz <drow@mvista.com>
35
36 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
37
1bc05c3a 382002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 39
1bc05c3a 40 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 41
1bc05c3a
JM
42 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
43 constructors.
44 * gdb.c++/derivation.exp: Likewise.
45 * gdb.c++/templates.exp: Likewise.
46 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 47
1bc05c3a
JM
482002-01-10 Michael Snyder <msnyder@redhat.com>
49
50 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 51
a911c360
MS
522002-01-08 Michael Snyder <msnyder@redhat.com>
53
54 * gdb.base/gcore.exp: New test for generate-core-file command.
55 * gdb.base/gcore.c: Testcase for above.
56 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
57
ea2119ec
JM
582002-01-08 Jason Merrill <jason@redhat.com>
59
60 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
61
68203136
FF
622002-01-07 Fred Fish <fnf@redhat.com>
63
64 * gdb.c++/overload.exp: Remove unconditional xfails for:
65 print foo_instance1.overloadargs(1)
66 print foo_instance1.overloadargs(1, 2)
67 print foo_instance1.overloadargs(1, 2, 3)
68 print foo_instance1.overloadargs(1, 2, 3, 4)
69 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
70 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
71 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
72 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
73 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
74 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
75 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
76 print foo_instance1.overload1arg()
77 print foo_instance1.overload1arg((char)arg2)
78 print foo_instance1.overload1arg((signed char)arg3)
79 print foo_instance1.overload1arg((unsigned char)arg4)
80 print foo_instance1.overload1arg((int)arg7)
81 print foo_instance1.overload1arg((unsigned int)arg8)
82 print foo_instance1.overload1arg((float)arg11)
83 print foo_instance1.overload1arg((double)arg12)
84
21b9b5b1
MS
852002-01-07 Michael Snyder <msnyder@redhat.com>
86
87 * gdb.base/huge.exp: New test. Print a very large target data object.
88 (skip_huge_test): New test variable. Define if you want to skip this
89 test. The test reads an 8 megabyte data object from the target, so it
90 might be very time consuming on remote targets with a slow connection.
91 * gdb.base/huge.c: New file. Test case for above.
92
725f922e
FF
932002-01-07 Fred Fish <fnf@redhat.com>
94
95 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
96 g_instance.bfoo, and g_instance.cfoo.
97
634d57ec
JL
98Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
99
f286b2c3
JL
100 * gdb.base/break.c (multi_line_if_conditional): New function.
101 (multi_ilne_while_conditional): Likewise.
102 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
103 IF or WHILE condition puts the breakpoint at the start of
104 the condition.
105
634d57ec
JL
106 * gdb.base/selftest.exp (backtrace through signal handler): Remove
107 hppa*-*-hpux* expected failure.
108 * gdb.base/structs.exp (do_function_calls): Similarly.
109
110 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
111 watchpoints.
112
9fbfe2dc
AC
1132002-01-06 Andrew Cagney <ac131313@redhat.com>
114
115 Fix PR gdb/66.
116 * gdb.base/structs.exp: Replace skip for a29k with skip for
117 gdb,cannot_call_functions.
118 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
119 * gdb.base/callfuncs.exp: Ditto.
120 * gdb.base/call-rt-st.exp: Ditto.
121 * gdb.base/call-strs.exp: Ditto.
122 * gdb.base/callfwmall.exp: Ditto.
123 * gdb.base/scope.exp: Obsolete xfail a29k.
124 * gdb.c++/misc.exp: Ditto.
125 * gdb.c++/cplusfuncs.exp: Ditto.
126 * gdb.base/ptype.exp: Ditto.
127 * gdb.base/printcmds.exp: Ditto.
128 * gdb.base/opaque.exp: Ditto.
129 * gdb.base/list.exp: Ditto.
130 * gdb.base/funcargs.exp: Ditto.
131 * gdb.base/default.exp: Ditto.
132
8ddad156
MS
1332002-01-04 Michael Snyder <msnyder@redhat.com>
134
ca4976a6 135 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
136 * gdb.base/maint.exp: Add tests for maint info sections options.
137
1b074332
JL
138Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
139
140 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
141
7d159115
CV
1422001-12-20 Corinna Vinschen <vinschen@redhat.com>
143
144 * gdb.asm/arm.inc: New file.
145 * gdb.asm/asm-source.exp: Add arm targets.
146 * gdb.asm/configure.in: Ditto.
147 * gdb.asm/configure: Recreated from configure.in.
148
8fb87725
JL
149Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
150
afabe08c
JL
151 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
152 with HP's compiler.
153 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
154 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
155 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
156 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
157
158 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
159 either HP's compilers or GCC.
160
db521deb
JL
161 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
162 a SIGBUS or SIGSEGV.
163
164 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
165
166 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
167 can be compiled with either HP's compiler or GCC.
168
cfa88ab7
JL
169 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
170 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
171 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
172
ca344dff
JL
173 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
174 to match current gdb output. Update due to using auto-solib-limit
175 for limiting instead of overloading auto-solib-add.
176 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
177 test program.
178
3f3c6e55 179 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
180 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
181 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
182 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
183 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
184 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
185 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
186 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
187 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
188 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
189 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
190 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
191 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 192
8fb87725
JL
193 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
194 a SIGTRAP to the inferior.
195
cf599fa7
CV
1962001-12-19 Corinna Vinschen <vinschen@redhat.com>
197
198 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
199 Substitute call to target_link by call to gdb_compile.
200
2cd045cd
JL
201Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
202
203 * gdb.base/break.exp: Fix HP specific search string when testing
204 backtracing in a called function.
205
206 * gdb.base/constvars.exp: Only set lang to C++ if we're
207 compiling the test with HP's compilers.
208 * gdb.base/volatile.exp: Similarly.
209
99ebe9ac
JB
2102001-12-19 Jim Blandy <jimb@redhat.com>
211
212 * gdb.base/printcmds.exp: Expect the null character to be printed
213 as '\0', and the '\013' to be printed as '\v'.
214 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
215 * gdb.base/setvar.exp: Same.
216
b9891b29
JB
2172001-12-17 Jim Blandy <jimb@redhat.com>
218
0eba65ab
JB
219 * gdb.base/completion.exp: Rather than completing very long
220 filenames, which can make the readline library produce output we
221 don't recognize, cd to the directory first, and then complete
222 using nice, short relative paths.
223
6970b5b1
JB
224 * gdb.base/completion.exp: On some systems, there is, in fact, a
225 variable named `b' in scope, since GDB treats all static
226 variables as being in scope. So use `no_var_named_this'
227 instead of `b'.
228
b9891b29
JB
229 * gdb.base/corefile.exp: Recognize the message saying that GDB
230 can't find the core file's registers as a failure.
231
e6ccd35f
JSC
2322001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
233
234 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
235 test expect string more specific.
236
105ba819
CV
2372001-12-13 Corinna Vinschen <vinschen@redhat.com>
238
239 * gdb.asm/asm-source.exp: Add support for xstormy16.
240 * gdb.asm/configure.in: Ditto.
241 * gdb.asm/configure: Rebuild.
242 * gdb.asm/xstormy16.inc: New file.
243
e9e79dd9
FF
2442001-12-10 Fred Fish <fnf@redhat.com>
245
246 * gdb.base/maint.exp: Update to match changes in type dumping code.
247
347dc97d
JB
2482001-12-10 Jim Blandy <jimb@redhat.com>
249
250 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
251 matching the entry point symbol's name at the beginning of the
252 line.
253
5178b9d6
DJ
2542001-12-07 Daniel Jacobowitz <drow@mvista.com>
255
256 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
257 gdb.c++/inherit.exp, gdb.c++/method.exp,
258 gdb.c++/namespace.exp, gdb.c++/templates.exp,
259 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
260 and class layout support.
261
af890c52
DJ
2622001-12-07 Daniel Jacobowitz <drow@mvista.com>
263
264 * gdb.c++/classes.exp: Add test for static member function.
265 * gdb.c++/misc.cc: Add class with static member function.
266
7a345fb3
JB
2672001-12-07 Jim Blandy <jimb@redhat.com>
268
f2e54a80 269 If GDB says it can't find the struct the function returned, report
8032bf31
JB
270 those tests as `unsupported'.
271 * gdb.base/call-rt-st.exp (print_struct_call): New function.
272 Rewrite subsequent tests to use it.
273
274 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
275 those tests as `unsupported'.
276 * gdb.base/structs.exp (call_struct_func): New function.
277 (do_function_calls): Use call_struct_func to call the functions
278 returning structs.
279
0bc69509
JB
280 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
281 whether functions are prototyped or not, so we can't possibly pass
282 arguments to t_float_values2 properly.
283
7a345fb3
JB
284 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
285 value of `timeout' for targets other than the mips*tx39-*.
286
edb6ede1
MS
2872001-12-06 Michael Snyder <msnyder@redhat.com>
288
289 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
290 and detect whether the start symbol has a leading underscore.
291
2d842f13
JB
2922001-12-04 Jim Blandy <jimb@redhat.com>
293
294 * gdb.base/completion.exp: Clarify indentation.
295
68550daf
JB
2962001-12-03 Jim Blandy <jimb@redhat.com>
297
298 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
299 variables on the S/390, not `.word'.
300
cd5195a8
JB
3012001-11-30 Jim Blandy <jimb@redhat.com>
302
303 Add assembly-source tests for s390-ibm-linux.
304 * gdb.asm/s390.inc: New file.
305 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
306 the S/390 architecture.
307 * gdb.asm/configure: Regenerated.
308
ca9efc90
MS
3092001-11-30 Michael Snyder <msnyder@redhat.com>
310
311 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
312 next, info source, info sources, info line, global and static
313 variables, and static functions.
314 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
315 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
316 * gdb.asm/asmsrc1.s: Add a static function and some variables.
317 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
318 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
319 (gdbasm_leave): Restore frame pointer.
320 (gdbasm_startup): Copy stack set-up from crt0.S.
321
d0e66976
FN
3222001-11-26 Fernando Nasser <fnasser@redhat.com>
323
324 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
325 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
326 to a local (non-static) variable. Copy tstruct.a to a static buffer
327 and return a pointer to that buffer.
328 * gdb.base/callfwmall.c (t_structs_a): Ditto.
329
e2334072
MK
3302001-11-24 Mark Kettenis <kettenis@gnu.org>
331
332 * gdb.asm/configure.in: Fix recognition of ix86 target.
333 * gdb.asm/configure: Regenerate.
334
756caa3d
MS
3352001-11-21 Michael Snyder <msnyder@redhat.com>
336
337 * gdb.asm/sparc.inc: New file.
338 * gdb.asm/asm-source.exp: Recognize sparc target.
339 * gdb.asm/configure.in: Recognize sparc target.
340 * gdb.asm/configure: Regenerate.
341
9a4d72d5
MS
3422001-11-21 Michael Snyder <msnyder@redhat.com>
343
344 * gdb.asm/m32r.inc: New file.
345 * gdb.asm/asm-source.exp: Recognize m32r target.
346 * gdb.asm/configure.in: Recognize m32r target.
347 * gdb.asm/configure: Regenerate.
348
a773d1cd
MS
3492001-11-20 Michael Snyder <msnyder@redhat.com>
350
017ac23d
MS
351 * gdb.asm/i386.inc: New file.
352 * gdb.asm/asm-source.exp: Recognize ix86 target.
353 * gdb.asm/configure.in: Recognize ix86 target.
354 * gdb.asm/configure: Regenerate.
355
a773d1cd
MS
356 * gdb.c++/namespace.exp: Fix quotes in output messages.
357
bb632afb
MS
3582001-11-14 Michael Snyder <msnyder@redhat.com>
359
25d559ca 360 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
361 qualifier in a type cast expression, to designate an address
362 in the instruction space (Harvard architecture).
363
4749e309
MS
3642001-11-13 Michael Snyder <msnyder@redhat.com>
365
366 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
367 Tests for expressions using 'const' and 'volatile'.
368
25050984
CV
3692001-11-13 Corinna Vinschen <vinschen@redhat.com>
370
371 * gdb.asm/asm-sources.exp: Allow defining linker flags.
372
1902c51f
DJ
3732001-11-12 Daniel Jacobowitz <drow@mvista.com>
374
375 * lib/mi-support.exp (mi_run_to_helper): Move comments
376 outside of gdb_expect.
377
dcf95b47
DJ
3782001-11-11 Daniel Jacobowitz <drow@mvista.com>
379
380 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
381 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
382 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
383 mi0_run_to): New functions.
384 * gdb.mi/mi-simplerun.exp: Use them.
385 * gdb.mi/mi0-simplerun.exp: Likewise.
386 * gdb.mi/mi-var-cmd.exp: Likewise.
387 * gdb.mi/mi0-var-cmd.exp: Likewise.
388
45b074e1
AC
3892001-11-10 Andrew Cagney <ac131313@redhat.com>
390
391 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
392 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
393
bf50d346
AC
3942001-11-09 Andrew Cagney <ac131313@redhat.com>
395
396 * gdb.base/restore.exp: Include $expected value in restored test
397 message.
398
9383332c
AC
3992001-11-09 Andrew Cagney <ac131313@redhat.com>
400
401 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
402 implemented.
403
db62520a
MS
4042001-11-08 Michael Snyder <msnyder@redhat.com>
405
406 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
407 Add pass/fail message for stop at breakpoint in call dummy function.
408
b5703437
MS
4092001-11-07 Michael Snyder <msnyder@redhat.com>
410
760f6330
MS
411 * gdb.c++/templates.exp (test_template_breakpoints):
412 If we get an overload menu, but it does not match what
413 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
414 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
415 making the whitespace optional. Argument for "new" may be
416 "unsigned" as well as "unsigned int/long".
eef747c0
MS
417 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
418 making the whitespace optional. Also replace "(void) with
419 "((void|)), making the keyword "void" optional.
63f50499
MS
420 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
421 making the whitespace optional. Also replace "(void) with
422 "((void|)), making the keyword "void" optional.
3bf40917
MS
423 * gdb.base/callfuncs.c (t_float_values): This function must
424 _not_ be prototyped, and the following function (t_float_values2)
425 must be prototyped (if the compiler supports it), so that GDB
426 can be tested against both cases. Usually one case involves
427 promotion of float to double, while the other does not.
428 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
429 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
430 includes a stack frame for "start".
431
c8ab4e6d
JB
4322001-11-05 Jim Blandy <jimb@redhat.com>
433
434 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
435 pointers are 32 bits long, and that offsets of relocs are always
436 stored in the data (REL-style), and not in the reloc entry itself
437 (RELA-style).
438 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
439 stabs.
440
3f08ced9
MS
4412001-11-01 Michael Snyder <msnyder@redhat.com>
442
443 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
444 and regular expression operators by using quoting.
445
cbfa24cd
MS
4462001-10-31 Michael Snyder <msnyder@redhat.com>
447
448 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
449 depending on what the symbol table contains.
450 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
451 the output of the ptype command. Similarly, accept both "const &"
452 and "const&".
453
aaa68313
CV
4542001-10-31 Corinna Vinschen <vinschen@redhat.com>
455
456 * gdb.base/miscexprs.c (main): Add usage of preprocessor
457 symbol `STORAGE' to allow to choose the storage class of
458 the local datastructures.
459 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
460 compiler directive.
461
91740388
MS
4622001-10-30 Michael Snyder <msnyder@redhat.com>
463
464 * gdb.base/jump.exp: Allow it to run for all targets.
465
1b7c05e7
CV
4662001-10-29 Corinna Vinschen <vinschen@redhat.com>
467
468 * gdb.base/call-ar-st.c (print_double_array): Match for loop
469 with new double_array size.
470 (main): Change storage class of all local variables to static.
471 Reduce size of double_array to 9.
472 * gdb.base/call-ar-st.exp: Increase timeout value.
473 Change expected output for double array to match new size in
474 call-ar-st.c.
475
36a22261
CV
4762001-10-29 Corinna Vinschen <vinschen@redhat.com>
477
478 * gdb.base/ending-run.exp: Create identical output when passing
479 `step to end of run' case. Add regular expression branch satisfying
480 Stormy16 target.
481
92b8ae91
MK
4822001-10-28 Mark Kettenis <kettenis@gnu.org>
483
484 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
485 that we catch the expected failure under Linux/x86.
486
cb135b83
OF
4872001-10-29 Orjan Friberg <orjanf@axis.com>
488
489 * gdb.base/setvar.exp: Escape curly braces.
490 * gdb.stabs/weird.exp: Ditto.
491
6884aa54
DJ
4922001-10-27 Daniel Jacobowitz <drow@mvista.com>
493
494 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
495 * gdm.mi/mi0-hack-cli.exp: Likewise.
496
0398c9aa
AC
4972001-10-25 Andrew Cagney <ac131313@redhat.com>
498
499 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
500 messages.
501
d20bf2e8
AC
5022001-10-21 Andrew Cagney <ac131313@redhat.com>
503
504 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
505 checking MI enabled.
506
03dd63aa
CV
5072001-10-09 Corinna Vinschen <vinschen@redhat.com>
508
509 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
510
1d9d99f3
FCE
5112001-10-04 Frank Ch. Eigler <fche@redhat.com>
512
513 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
514 if gdb child process crashes, just signal an error.
515
838ae6c4
JB
5162001-10-02 Jim Blandy <jimb@redhat.com>
517
518 * lib/gdb.exp (test_xfail_format): Simplify.
519
520 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
521 front of the variable name `format'. Simplify `if'.
522
8f0cbc1c
DJ
5232001-10-01 Daniel Jacobowitz <drow@mvista.com>
524
525 * gdb.threads/pthreads.exp: Wait for output and delay
526 before sending ^C.
527
1f08dafd
DJ
5282001-10-01 Daniel Jacobowitz <drow@mvista.com>
529
530 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
531 some incorrect output instead of timing out.
532 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
533
674f90ff
CV
5342001-09-28 Corinna Vinschen <vinschen@redhat.com>
535
536 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
537 check to allow additional `int'.
538
9b284272
DJ
5392001-09-27 Daniel Jacobowitz <drow@mvista.com>
540
541 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
542 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
543
b55a4771
MS
5442001-09-27 Michael Snyder <msnyder@redhat.com>
545
546 * lib/gdb.exp (test_debug_format): New proc.
547 (setup_xfail_format): Use new proc test_debug_format.
548 * gdb.base/constvars.exp (local_compiler_xfail_check): New
549 proc; use new service proc test_debug_format.
550 Replace all other "gcc_compiled" tests with this test.
551 * gdb.base/volatile.exp (local_compiler_xfail_check): New
552 proc; use new service proc test_debug_format.
553 Replace all other "gcc_compiled" tests with this test.
554
5552001-09-27 Michael Snyder <msnyder@redhat.com>
556
557 * gdb.base/cvexpr.exp: New file.
558 * gdb.base/cvexpr.c: New file
559 Test for expressions using const and volatile keywords.
560
4e6667ac
CV
5612001-09-26 Corinna Vinschen <vinschen@redhat.com>
562
563 * gdb.base/constvars.exp: Check for different orders of keywords
564 and additional "int" strings in output.
565
4f337972
AC
5662001-09-22 Andrew Cagney <ac131313@redhat.com>
567
568 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
569 responses from "help maint".
570
2015650d
FCE
5712001-09-19 Frank Ch. Eigler <fche@redhat.com>
572
573 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
574 to localhost:NNN instead of :NNN, in case Xvfb is listening
575 only on TCP.
576
f3bcedc1
CV
5772001-09-19 Corinna Vinschen <vinschen@redhat.com>
578
579 * gdb.base/recurse.exp: When checking leaving the watchpoint
580 scope, recognize when gdb is in function's epilogue and pass.
581
6b819c92
KS
5822001-09-18 Keith Seitz <keiths@redhat.com>
583
584 * lib/insight-support.exp (_gdbtk_export_target_info): Add
585 support for running tests against sid targets.
586 (gdbtk_done): Ditto.
587
a10c9419
CV
5882001-09-18 Corinna Vinschen <vinschen@redhat.com>
589
590 * gdb.base/ending-run.c (main): Set stdout buffersize
591 to the same reasonable value for any target.
592 * gdb.base/ending-run.exp: Add a regular expression
593 to make testsuite happy on Sanyo Stormy16 target.
594
739d0d99
CV
5952001-09-17 Corinna Vinschen <vinschen@redhat.com>
596
597 * gdb.base/display.c (do_loops): Add float variable `f'.
598 Increment f in loop.
599 * gdb.base/display.exp: Increment timeout by 60 seconds.
600 Change float display test to use variable `f'.
601
1b8947f0
JB
6022001-09-17 Jim Blandy <jimb@redhat.com>
603
604 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
605 overflowing the limited breakpoint tables on some ROM monitors
606 (like the ROM68K).
607
9890ac81
FCE
6082001-09-15 Frank Ch. Eigler <fche@redhat.com>
609
610 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
611 the "-ac" (disable access control) flag.
612
6db765ea
JH
6132001-08-30 Jeff Holcomb <jeffh@redhat.com>
614
615 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
616 ints.
617
4c32cc04
KS
6182001-08-30 Keith Seitz <keiths@redhat.com>
619
620 * lib/gdb.exp: Move all insight-related functionality into
621 separate file.
622 * lib/insight-support.exp: New file.
623
8d6e6f81
FCE
6242001-08-29 Frank Ch. Eigler <fche@redhat.com>
625
626 * config/sid.exp (sid_start): Never set sid verbosity; disable
627 expect_background {} that consumed its stdout; tolerate </dev/null.
628 Attempt to set endianness override in "sid" protocol mode. Cleanup.
629
6a90e1d0
AC
6302001-08-18 Andrew Cagney <ac131313@redhat.com>
631
632 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
633 CLI jump command to start it.
634 (mi_run_to_main): Fail immediatly when unexpected output.
635
1759b3c3
AC
6362001-08-18 Andrew Cagney <ac131313@redhat.com>
637
638 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
639 beginning of function. Fix PR gdb/191.
640
61d11d80
FCE
6412001-08-16 Frank Ch. Eigler <fche@redhat.com>
642
643 * config/sid.exp (sid_start): Don't warn if we cannot figure out
644 what to force sid endianness to.
645
942a4df2
KS
6462001-08-15 Keith Seitz <keiths@redhat.com>
647
648 * lib/gdb.exp (gdbtk_start): Don't set environment
649 variables for TCL_LIBRARY and friends. Insight will
650 now figure these out for itself.
651
0521c418
MS
6522001-08-02 Michael Snyder <msnyder@redhat.com>
653
654 * gdb.base/completion.exp: Remove the symbol "a64l" from
655 the expect string; this is target-specific, and not related
656 to what is being tested.
657
74a9a58a
DB
6582001-08-02 Dave Brolley <brolley@redhat.com>
659
660 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
661
c70819fa
MS
6622001-07-25 Michael Snyder <msnyder@redhat.com>
663
c2b8fa57
MS
664 * gdb.base/consecutive.exp: New file. Test stepping over
665 breakpoints on consecutive instructions.
666 * gdb.base/consecutive.c: New file.
667
c70819fa
MS
668 * gdb.base/call-rt-st.exp: Use double-backslash to quote
669 curly braces in regular expressions.
670
2b1a1355
MS
6712001-07-25 Michael Snyder <msnyder@redhat.com>
672
673 * gdb.base/ending-run.exp: Accept "Program exited normally" as
674 legitimate output from stepping out of main.
675
413eca6f
KS
6762001-07-22 Keith Seitz <keiths@redhat.com>
677
678 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
679 the empty string, do not run the tests.
680
7e5a9322
SC
6812001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
682
683 * gdb.base/long_long.exp: Detect size of pointer. Take into
684 account 2-byte pointers when testing for p/a results.
685
de58f10f
SC
6862001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
687
688 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
689 and defined to 1K for m68hc11.
690 (random_data): Reduce table to 1K for embedded platforms (68hc11).
691 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
692 (sizeof_random_data): New variable to tell the size of the data table;
693 don't test past this size; always run to main.
694
d6f5fea1
SC
6952001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
696
697 * gdb.base/return2.exp: return of long long and double fails for
698 68HC11; don't execute these tests on that platform.
699 * gdb.base/return.exp: Return of a double fails for 68hc11.
700
c477543d
SC
7012001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
702
703 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
704 tests that print a float.
705 * call-rt-st.exp: Likewise.
706
63cf1c79
MK
7072001-07-12 Mark Kettenis <kettenis@gnu.org>
708
709 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
710 running this test on Linux.
711
112f9ab5
MC
7122001-06-24 Michael Chastain <chastain@redhat.com>
713
714 * gdb.base/arithmet.exp: Remove some tests to make all test names
715 unique.
716
4970cb0f
MS
7172001-07-03 Michael Snyder <msnyder@redhat.com>
718
719 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
720 the output of the ptype command.
721
d85da69f
MS
7222001-07-02 Michael Snyder <msnyder@redhat.com>
723
4c8a82de
MS
724 * gdb.base/completion.exp: Don't assume that break.c is the only
725 source file that may contain functions named "marker".
d85da69f
MS
726 * gdb.base/corefile.exp: Quote the curly braces in regexp.
727
8afc772b
AC
7282001-06-28 Andrew Cagney <ac131313@redhat.com>
729
730 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
731 of files to delete.
732
733 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
734 * gdb.disasm/h8300s.exp: New file.
735 gdb.disasm/h8300s.s: Likewise.
736
cff22675
AC
7372001-06-27 Andrew Cagney <ac131313@redhat.com>
738
739 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
740 empty breakpoint tables.
741
68c81b54
AC
7422001-06-25 Andrew Cagney <ac131313@redhat.com>
743
744 * lib/mi-support.exp: Update args=... part of stop-reason
745 patterns. Accept either a list or a tuple.
746
2dd62704
AC
7472001-06-23 Andrew Cagney <ac131313@redhat.com>
748
749 * lib/mi-support.exp: Remove local emacs variable defining
750 change-log-default-name.
751
b4127474
MC
7522001-06-22 Michael Chastain <chastain@redhat.com>
753
754 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
755 This is operationally compatible with the previous version.
756
8dbfb380
JB
7572001-06-13 Jim Blandy <jimb@redhat.com>
758
759 * lib/gdb.exp (gdb_test): Doc fix.
760
f2d8c86d
MC
7612001-06-10 Michael Chastain <chastain@redhat.com>
762
763 * gdb.base/exprs.exp: Remove a duplicate test.
764
81564d34
JB
7652001-06-06 Jim Blandy <jimb@redhat.com>
766
767 * gdb.base/return2.exp (main): Use values to test float and double
768 returns that are not NaN's, to avoid being confused by IEEE
769 comparison rules.
770
da55addb
MS
7712001-06-04 Michael Snyder <msnyder@redhat.com>
772
773 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
774 non-zero if control_c fails. Terminate the test on failure,
775 rather than wait for 12 more tests to time out.
776
42c65987
JB
7772001-06-06 Jim Blandy <jimb@redhat.com>
778
b18bced9
JB
779 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
780 Don't forget to match the GDB prompt.
781
42c65987
JB
782 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
783
5b41e5f0
JB
7842001-06-04 Jim Blandy <jimb@redhat.com>
785
786 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
787 command.
788
015e046f
KB
7892001-05-31 Kevin Buettner <kevinb@redhat.com>
790
791 * gdb.base/annota1.exp (info break): Match four or more spaces
792 after "Address".
793
fb1ffbbe
MC
7942001-05-31 Michael Chastain <chastain@redhat.com>
795
796 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
797 (dm_type_int_star): Likewise.
798 (dm_type_long_star): Likewise.
799 (dm_type_void_star): Likewise.
800
5ea2a32c
KB
8012001-05-29 Kevin Buettner <kevinb@redhat.com>
802
803 * gdb.base/completion.exp (INPUTRC): Set this environment variable
804 to a known value in order to get consistent results regardless
805 of the setting of INPUTRC or the presence or contents of .inputrc.
806
ae23c492
MS
8072001-05-24 Michael Snyder <msnyder@redhat.com>
808
ac55707e
MS
809 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
810 Don't require that the main thread and the manager thread are the
811 first in the list.
812
ae23c492
MS
813 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
814 debugging. If test fails, issue an "unsupported" not a "fail".
815
400071f1
JB
8162001-05-24 Jim Blandy <jimb@redhat.com>
817
818 Don't assume that short is shorter than int.
819 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
820 assume that shorts are smaller than ints. On a 16-bit machine,
821 this isn't true.
822 ("print unsigned char == (~0)"): Add test that verifies that ~0,
823 an int, is not equal to ~0 stored in an unsigned char. This tests
824 the same thing that the previous test meant to, but works on
825 16-bit machines, too.
826 ("print unsigned char != (~0)"): Same test, complemented.
827
0816a3e5
MS
8282001-05-24 Michael Snyder <msnyder@redhat.com>
829
830 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
831 test for (full_coverage == 0). This makes the test run faster,
832 and prevents dejagnu getting out of step.
833
f6dc23a9
KB
8342001-05-23 Kevin Buettner <kevinb@redhat.com>
835
836 * gdb.base/finish.exp (finish_void): Revise pattern for
837 stopping on the call statement to not permit stopping at
838 the start of the instructions comprising the call sequence.
839
7dbd117d
MC
8402001-05-19 Michael Chastain <chastain@redhat.com>
841
842 * gdb.base/callfuncs.exp: Make all test names unique.
843 * gdb.base/commands.exp: Make all test names unique.
844 * gdb.base/condbreak.exp: Make all test names unique.
845 * gdb.base/dbx.exp: Make all test names unique.
846 * gdb.base/default.exp: Make all test names unique.
847 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
848 and TIMEOUT messages to their corresponding PASS message.
849 * gdb.base/ending-run.exp: Make all test names unique.
850 * gdb.base/long_long.exp: Remove duplicate test.
851
6b0b0a9e
KB
8522001-05-21 Kevin Buettner <kevinb@redhat.com>
853
854 * gdb.base/finish.exp (finish_void): Allow "finish" command to
855 stop on the call statement as well as the statement after the
856 call.
857
2caa35cb
MS
8582001-05-21 Michael Snyder <msnyder@redhat.com>
859
860 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
861
40713331
EZ
8622001-05-10 Elena Zannoni <ezannoni@redhat.com>
863
864 * gdb.base/completion.exp: Revamp test. Make it execute on all
865 platforms.
866
c2c1be8d
EZ
8672001-05-10 Elena Zannoni <ezannoni@redhat.com>
868
2c9cd303
EZ
869 * config/gdbserver.exp (gdb_load): Handle the case
870 in which the arguments to gdbserver are given in the
871 baseboard configuration file.
872 Also handle the case in which the server needs to do a
873 load.
874
9671de48
KS
8752001-05-07 Keith Seitz <keiths@cygnus.com>
876
877 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
878 set up the display for testing.
879 (gdbtk_start): Convert all paths to paths that tcl will like.
880 Export target information to environment.
881 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
882 necessary.
883 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
884 (to_tcl_path): New proc to convert a given pathname into
885 a path acceptible as an argument to a tcl command.
886 (_gdbtk_export_target_info): New proc to export target info
887 into the environment for gdbtk testing.
888 (gdbtk_done): New proc to signal end-of-test.
889
5a360f47
JB
8902001-05-06 Jim Blandy <jimb@redhat.com>
891
892 * restore.c: Make the code of caller0 correspond to its comment.
893
66c756c6
MS
8942001-05-03 Michael Snyder <msnyder@redhat.com>
895
896 * config/sid.exp (gdb_target_sid): Check for error messages.
897 On error or timeout, don't make expect exit (which will terminate
898 all subsequent tests); instead just make gdb exit.
899 (gdb_load): Check for error messages. On error or timeout,
900 return a negative value.
901
a966fde5
JB
9022001-04-24 Jim Blandy <jimb@redhat.com>
903
851c18e0
JB
904 * gdb.c++/templates.exp: If we see the prompt for the overload
905 list, but we haven't recognized any of the longer patterns,
906 arrange for this test to fail, not hang.
907
a966fde5
JB
908 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
909 variations.
910
db144853
MC
9112001-04-22 Michael Chastain <chastain@redhat.com>
912
913 * gdb.c++/local.exp: Use the 'runto' library function.
914 * gdb.c++/namespace.exp: Likewise.
915 * gdb.c++/overload.exp: Likewise.
916
3207ec21
KB
9172001-03-26 Kevin Buettner <kevinb@redhat.com>
918
919 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
920 * gdb.base/step-line.exp: New file. Test step/next in presence of
921 #line directives.
922 * gdb.base/step-line.c: New file. Test program for the above.
923 * gdb.base/step-line.inp: New file. We pretend that this file has
924 been transformed by some other tool into step-line.c.
925
13b57657
JB
9262001-03-21 Jim Blandy <jimb@redhat.com>
927
928 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
929 unmangled operator names.
930
754cbe1c
JB
9312001-03-20 Jim Blandy <jimb@redhat.com>
932
933 * gdb.threads/linux-dp.exp: Recognize an additional message
934 generated by GDB when it doesn't understand how to debug threads
935 on the target system.
936
177495c9
AC
9372001-03-19 Andrew Cagney <ac131313@redhat.com>
938
939 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
940
f266096b
MC
9412001-03-12 Michael Chastain <chastain@redhat.com>
942
943 * gdb.c++/derivation.exp: Use the 'runto' library function.
944
cac3c2ff
MC
9452001-03-12 Michael Chastain <chastain@redhat.com>
946
947 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
948
b6c11a24
MC
9492001-02-24 Michael Chastain <chastain@redhat.com>
950
951 * gdb.c++/ref-types.exp: Change handwritten code to library
952 function 'runto'.
953
6bae5bce
OF
9542001-03-16 Orjan Friberg <orjanf@axis.com>
955
956 * gdb.base/signals.exp: Set count to 0 explicitly.
957
0015fd9a
MS
9582001-03-15 Mark Salter <msalter@redhat.com>
959
960 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
961 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
962 (gdb_load): Add support for additional target_info: gdb_download_size
963 and gdb_load_timeout.
0015fd9a 964
fc33412a
DT
965Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
966
967 * gdb.base/annota1.exp: Move test of isnative to earlier in the
968 file -- to prevent failing when the compile fails but we have no
969 intention of running the tests anyway.
970
971 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
972 tests if set.
973
974 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
975 integers.
976
977 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
978 * gdb.c++/namespace.exp: Ditto.
979
115f06de
OF
9802001-03-07 Orjan Friberg <orjanf@axis.com>
981
982 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
983 * gdb.base/pointers.exp: Relax pattern match of decimals.
984
b6ba6518
KB
9852001-03-06 Kevin Buettner <kevinb@redhat.com>
986
987 * Makefile.in, config/abug.exp, config/cfdbug.exp,
988 config/cpu32bug.exp, config/dve.exp, config/est.exp,
989 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
990 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
991 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
992 config/sh.exp, config/sid.exp, config/slite.exp,
993 config/sparclet.exp, config/udi.exp, config/unknown.exp,
994 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
995 config/vxworks.exp, config/vxworks29k.exp,
996 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
997 gdb.base/all-bin.exp, gdb.base/annota1.exp,
998 gdb.base/arithmet.exp, gdb.base/assign.exp,
999 gdb.base/async.exp, gdb.base/attach.exp,
1000 gdb.base/bitfields.exp, gdb.base/bitops.exp,
1001 gdb.base/break.exp, gdb.base/call-ar-st.exp,
1002 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
1003 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
1004 gdb.base/commands.exp, gdb.base/completion.exp,
1005 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
1006 gdb.base/constvars.exp, gdb.base/corefile.exp,
1007 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
1008 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
1009 gdb.base/ending-run.exp, gdb.base/environ.exp,
1010 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
1011 gdb.base/finish.exp, gdb.base/foll-exec.exp,
1012 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
1013 gdb.base/funcargs.exp, gdb.base/help.exp,
1014 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
1015 gdb.base/logical.exp, gdb.base/long_long.exp,
1016 gdb.base/maint.exp, gdb.base/mips_pro.exp,
1017 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
1018 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
1019 gdb.base/pointers.exp, gdb.base/printcmds.exp,
1020 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
1021 gdb.base/regs.exp, gdb.base/relational.exp,
1022 gdb.base/remote.exp, gdb.base/reread.exp,
1023 gdb.base/restore.exp, gdb.base/return2.exp,
1024 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
1025 gdb.base/selftest.exp, gdb.base/setshow.exp,
1026 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
1027 gdb.base/sigall.exp, gdb.base/signals.exp,
1028 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
1029 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
1030 gdb.base/step-test.exp, gdb.base/structs.c,
1031 gdb.base/structs.exp, gdb.base/structs2.exp,
1032 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
1033 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
1034 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
1035 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1036 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
1037 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
1038 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
1039 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
1040 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
1041 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
1042 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
1043 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
1044 gdb.fortran/types.exp, gdb.java/jmisc.exp,
1045 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
1046 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
1047 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
1048 gdb.trace/circ.exp, gdb.trace/collection.exp,
1049 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
1050 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
1051 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
1052 gdb.trace/report.exp, gdb.trace/save-trace.exp,
1053 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
1054 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
1055 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
1056 notices.
1057
dc96c6c7 10582001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
1059
1060 * gdb.base/varargs.c (find_max_double): Fix printf format string:
1061 first arg is int not float.
1062
dc96c6c7 10632001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
1064
1065 * gdb.base/reread.exp: Unsupported for non-native targets;
1066 doesn't work for remote debugging.
1067
9b0c4aeb
FN
10682001-02-19 Fernando Nasser <fnasser@redhat.com>
1069
1070 From Drew Moseley <dmoseley@redhat.com>
1071 * gdb.base/ending-run.exp: Properly handle the BSP state when
1072 stepping past the end of main.
1073
02aa71d5
MC
10742001-02-19 John Moore <jmoore@redhat.com>
1075
1076 * gdb.base/commands.exp (infrun_breakpoint_command_test):
1077 Converted HPUX fix for non-expected items following multiple
1078 step commands into general solution for all platforms.
1079
1fa449a4
MC
10802001-02-18 Michael Chastain <chastain@redhat.com>
1081
1082 * gdb.c++/classes.exp (do_tests): Change runto statements
1083 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1084 statements demangler agnostic.
1085 * gdb.c++/virtfunc.exp (do_tests): Likewise.
1086 (gdb_virtfunc_restart): Likewise.
1087
b2f9ec70
MC
10882001-02-14 Michael Chastain <chastain@redhat.com>
1089
1090 * gdb.c++/inherit.exp (do_tests): Change runto statements
1091 from "runto 'foo(void)'" to "runto 'foo'". This makes the
1092 statements demangler agnostic.
1093
cf74b8ca
AC
1094Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
1095
1096 * gdb.threads/pthreads.exp: Unify pass/fail messages for
1097 ``continue to bkpt at common_routine in thread 2'' and ``stopped
1098 before calling common_routine 15 times'' tests.
1099
99f78f56
MC
11002001-02-11 Michael Chastain <chastain@redhat.com>
1101
1102 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
1103 Helps the test script figure out which demangler is in use.
1104 (dm_type_foo_ref): Ditto.
1105 (dm_type_int_star): Ditto.
1106 (dm_type_long_star): Ditto.
1107 (dm_type_unsigned_int): Ditto.
1108 (dm_type_void): Ditto.
1109 (dm_type_void_star): Ditto.
99707966 1110 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
1111 Probe the gdb demangler and set variables to accommodate
1112 formatting differences.
1113 (info_func_regexp): New function. Same as info_func, but
1114 matches against a regexp.
1115 (info_func): Match against a literal string.
1116 (print_addr_2): New function. Match against a literal string,
1117 which can be different from the input to gdb.
1118 (print_addr): Simply call print_addr_2 with the same argument twice.
1119 (test_lookup_operator_functions): Use demangler formatting variables.
1120 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
1121 the tests in the same order as the C++ class declaration.
1122 (test_paddr_operator_functions): Ditto.
1123 (test_paddr_overloaded_functions): Ditto.
1124 (test_paddr_hairy_functions): Use demangler formatting variables.
1125 Add reference to gdb/19 for related tests.
1126 (do_tests): Call probe_demangler.
1127
1de8f023
KB
11282001-01-30 Kevin Buettner <kevinb@redhat.com>
1129
1130 * gdb.c++/templates.cc (printf): Remove unused function definition.
1131
ca3f91ed
MS
11322001-01-26 Felix Lee <flee@redhat.com>
1133
1134 * sid.exp (sid_exit): Pass host, not target, to remote_close.
1135
11362001-01-25 matthew green <mrg@redhat.com>
1137
1138 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
1139 up sid.
1140 (sid_exit): Call `remote_pop_conn' after GDB is gone.
1141
11422001-01-25 matthew green <mrg@redhat.com>
1143
1144 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
1145 Deprecate $sid_spawn_id.
1146 (sid_exit): Remove code necessary only for `spawn.'
1147
11482001-01-25 matthew green <mrg@redhat.com>
1149
1150 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
1151
fb18ec4a
MC
11522001-01-28 Michael Chastain <chastain@redhat.com>
1153
1154 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
1155 to call when tests fail. It takes gdb out of the overloaded
1156 function choice menu back to the main prompt, so that the test
1157 program stays synchronized.
1158 (set_bp_overloaded): New proc to collect all the common
1159 code for setting a breakpoint on an overloaded name. Calls
1160 take_gdb_out_of_choice_menu when needed.
1161 (menu_overload1arg): New variable to collect the repeated
1162 instances of the expected menu for an overloaded name. Change
1163 the regular expression to handle changes in g++ type encoding:
1164 "void" can be either "void" or "", and "unsigned int" can be
1165 either "unsigned int" or "unsigned".
1166 (continue_to_bp_overloaded): Change regular expressions to handle
1167 changes in g++ type encoding.
1168 (no proc): Call take_gdb_out_of_choice_menu when needed.
1169 Remove redundant calls to "info break". Accept either "canceled"
1170 or "cancelled". Change regular expressions in "info break"
1171 calls to handle changes in g++ type encoding. Give all tests
1172 unique strings.
1173
9c646a6e
BE
11742001-01-17 Ben Elliston <bje@redhat.com>
1175
1176 * config/sid.exp: New file.
1177
9549d9c1
AC
1178Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
1179
1180 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
1181
dc96c6c7 11822000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
1183
1184 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
1185 Add a RE to accept a non-ascii char if one is ever presented.
1186
b4df4f68
FN
11872000-12-20 Fernando Nasser <fnasser@redhat.com>
1188
297dd0fd 1189 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 1190
dc96c6c7 11912000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
1192
1193 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
1194 in regexp. One '\' does not suffice on Linux.
1195
4a7bddb6
MC
11962000-12-09 Michael Chastain <chastain@redhat.com>
1197
1198 * gdb.base/break.exp (test_clear_command): Use a marker function
1199 rather than 'main' for the test function. Also move this
1200 test to an execution point where the marker function names are
1201 guaranteed to be bound to functions. (Executing tests after a
1202 'finish' from main runs into name conflicts with local names
1203 in __libc_start_main).
1204
dc96c6c7 12052000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
1206
1207 * gdb.base/finish.exp: New test for gdb's "finish" command.
1208 * gdb.base/return2.exp: New test for gdb's "return" command.
1209 * gdb.base/return2.c: New source file for above.
1210
dc96c6c7 12112000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
1212
1213 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
1214 * gdb.base/miscexprs.exp: Ditto.
1215 * gdb.base/pointers.exp: Ditto.
1216 * gdb.c++/derivation.exp: Ditto.
1217 * gdb.c++/local.exp: Ditto.
1218 * gdb.c++/namespace.exp: Ditto.
1219 * gdb.c++/overload.exp: Ditto.
1220 * gdb.c++/ref-types.exp: Ditto.
1221
dc96c6c7 12222000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
1223
1224 * gdb.base/constvars.exp: Test result of "up" command.
1225 * gdb.base/miscexprs.exp: Ditto.
1226 * gdb.base/pointers.exp: Ditto.
1227 * gdb.base/scope.exp: Ditto.
1228 * gdb.c++/derivation.exp: Ditto.
1229 * gdb.c++/local.exp: Ditto.
1230 * gdb.c++/namespace.exp: Ditto.
1231 * gdb.c++/overload.exp: Ditto.
1232 * gdb.c++/ref-types.exp: Ditto.
1233
44097287
FN
12342000-11-22 Michael Chastain <chastain@redhat.com>
1235
1236 * mips_pro.exp: Accept either "middle -> top -> main" or
1237 "middle -> main" in the backtrace, because gcc can optimize
1238 tail calls to jumps. Remove setup_xfail for the hppa case.
1239 Add a comment with the original warning messages from PR 3016,
1240 which was filed in 1993, to preserve them for posterity.
1241
9d2e1bab
ND
12422000-11-17 Nick Duffek <nsd@redhat.com>
1243
1244 * lib/gdb.exp (gdb_test): Override timeout with board info.
1245
1aca8eb7
ND
12462000-11-17 Nick Duffek <nsd@redhat.com>
1247
1248 * gdb.base/display.exp: Don't kill running stub. Add "again" to
1249 the second kill and detach messages.
1250
93076499
ND
12512000-11-17 Nick Duffek <nsd@redhat.com>
1252
1253 * configure.in: Add AC_EXEEXT.
1254 * configure: Regenerate.
1255 * Makefile.in (just-check): Export EXEEXT.
1256 * lib/gdb.exp ($EXEEXT): Import from environment.
1257 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
1258 expect "maint dump-me" on Cygwin.
1259 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
1260 $EXEEXT.
1261
30e87cd3
ND
12622000-11-17 Nick Duffek <nsd@redhat.com>
1263
1264 * gdb.base/break.exp: Test backtrace and finish from called
1265 function on all platforms, not just HP-UX.
1266
dc96c6c7 12672000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
1268
1269 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
1270 code from gdb_target_monitor, so it can be used independantly
1271 for gdbserver. Also comment out an unnecessary PUTS.
1272
dc96c6c7 12732000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
1274
1275 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
1276 * gdb.base/corefile.exp: Expect the message "Program is being
1277 debugged already" when we send the "corefile" command, since
1278 the preceeding gdb_load may have connected gdb to a remote target.
1279 * gdb.base/display.exp: Disable hardware watchpoints if new
1280 board info variable "no_hardware_watchpoints" is true.
1281 Replace single-letter commands with more readable ones.
1282 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
1283 if new board info variable "no_hardware_watchpoints" is true.
1284 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
1285 to see if stdio (printf) testing is possible.
1286 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
1287 board info variable "no_hardware_watchpoints" is true. Use new
1288 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
1289
39124dea
FN
12902000-11-13 Fernando Nasser <fnasser@redhat.com>
1291
1292 From Orjan Friberg <orjanf@axis.com>:
1293 * gdb.base/printcmds.exp: Escape curly braces followed by a number
1294 in array print pattern match.
1295
a9e2e984
FN
12962000-11-09 Fernando Nasser <fnasser@redhat.com>
1297
1298 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
1299 spelling "cancelled" to U.S. spelling "canceled" to match changes
1300 made to gdb.
1301 * gdb.c++/ovldbreak.exp: Ditto.
1302
c7db355b
PS
13032000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
1304
1305 * gdb.base/callfuncs.c (main): Moved to end of file, call
1306 t_double_values to initialize the FPU before inferior calls are made.
1307 * gdb.base/callfuncs.exp: Test for register preservation after calling
1308 inferior functions. Add tests for continuining, finishing and
1309 returning from a stop in a call dummy.
1310
dc96c6c7 13112000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
1312
1313 * gdb.base/commands.exp: Break up long lines, and re-indent.
1314
dc96c6c7 13152000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
1316
1317 * config/gdbserver.exp: Rewritten from the ground up, to make it
1318 compatible with the current dejagnu tree, and to make it work with
1319 the new "gdbserver" in libremote.
1320
dc96c6c7 13212000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1322
1323 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
1324 * gdb.base/varargs.exp: Skip entire test if no printf support.
1325 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
1326 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
1327
dc96c6c7 13282000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
1329
1330 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
1331 no floating point support.
1332 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
1333 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
1334 * gdb.base/call-rt-st.exp: Ditto.
1335 * gdb.base/call-strs.exp: Ditto.
1336
bac5fc66
JG
13372000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
1338
1339 * gdb.base/sizeof.c: include <stdio.h>.
1340
1341 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
1342 'finish', otherwise uncaptured gdb_prompt would potentially
1343 throw remaining test points out of sync.
1344
b22a6027
SB
13452000-07-26 Scott Bambrough <scottb@netwinder.org>
1346
1347 * gdb.base/recurse.exp: Run tests for all targets.
1348 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
1349 gnu-oldld case on ARM.
1350 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
1351 for ARM targets.
1352
d8231941
AG
1353Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
1354
1355 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
1356 * gdb.java/configure: Rebuild.
1357
8caabe69
AG
1358Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
1359
1360 * gdb.java/jv-exp.exp: New file.
1361
9d273ca3
AG
1362Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
1363
1364 * configure: Rebuilt.
1365 * configure.in (configdirs): Add gdb.java.
1366 * gdb.java/jmisc.java: New file.
1367 * gdb.java/jmisc.exp: New file.
1368 * gdb.java/Makefile.in: New file.
1369 * gdb.java/configure: Rebuilt.
1370 * gdb.java/configure.in: New file.
1371 * lib/java.exp: New file.
1372
4f823a66
AC
1373Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
1374
1375 * gdb.base/exprs.exp: Test casts to a pointer including over and
1376 underflow.
1377
2391e11d
AC
1378Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
1379
1380 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
1381 and the compilers sizes.
1382
54602222
ND
13832000-07-09 Nick Duffek <nsd@redhat.com>
1384
1385 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
1386 (use_methods): New function.
1387 (main): Call use_methods().
1388 * gdb.c++/classes.exp (test_method_param_class): New procedure.
1389 (do_tests): Call test_method_param_class.
1390
2bec0572
ND
13912000-07-09 Nick Duffek <nsd@redhat.com>
1392
1393 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
1394 spelling.
1395 (test_enums): New procedure. Move enum tests from end of script
1396 to here. Set breakpoint on function name instead of line number.
1397 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
1398 (enums2): New marker function.
1399 (enums1): New function.
1400 (main): Call enums1(). Move enum tests to enums1().
1401
78492fde
AC
1402Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
1403
1404 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
1405 compile/link program. Update line numbers.
1406 * gdb.asm/d10v.inc: Define ``startup''.
1407 * gdb.asm/asmsrc1.s: Add definition of _start.
1408
49a2cef8
AC
1409Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1410
1411 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
1412
3e6c8688
EZ
14132000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1414
1415 * gdb.base/maint.exp: Add 'maint print architecture' item to output
1416 of 'help maint print' command.
1417
9ff5cbe9
AC
1418Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
1419
1420 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
1421 they use gdb_expect_list.
1422
17c579bd
AC
1423Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
1424
1425 * gdb.base/commands.exp: Use ``set remote
1426 memory-read-packet-size'' instead of ``set endian big'' to test
1427 long commands.
1428
e6d71bf3
DB
14292000-06-03 Daniel Berlin <dan@cgsoftware.com>
1430
1431 * gdb.c++/templates.exp (do_tests): Make all of these work under
1432 g++, and stop skipping them.
1433
1434 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
1435 work under g++.
1436
e5f9ba7b
MS
1437 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
1438 initialization.
1439
dc96c6c7 14402000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
1441
1442 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
1443 the regular expression: accept an (almost) arbitrary sequence of
1444 "frames-invalid" and "breakpoints-invalid" messages both before
1445 and after the "starting" message.
1446
dc96c6c7 14472000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
1448
1449 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 1450
dc96c6c7 14512000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
1452
1453 * gdb.base/annota1.exp (annotate-signal-handler-caller):
1454 Relax the regular expression a little, make it pass on Solaris 8.
1455
8216cda9
KB
14562000-05-12 Kevin Buettner <kevinb@redhat.com>
1457
1458 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
1459 a call, do not require that gdb stop on the line after the call.
1460 Instead, it is permissible for gdb to stop on the line of the
1461 call itself.
1462
1a570b2f
MS
14632000-05-12 Michael Snyder <msnyder@.cygnus.com>
1464
1465 * gdb.base/break.exp (bp on small function, optimized file):
1466 Add a second pass pattern. The behavior differs here between stabs
1467 and dwarf for one-line functions. Stabs preserves two line symbols
1468 (one before the prologue and one after) with the same line number,
1469 but dwarf regards these as duplicates and discards one of them.
1470 Therefore the address after the prologue (where the breakpoint is)
1471 has no exactly matching line symbol, and GDB reports the breakpoint
1472 as if it were in the middle of a line rather than at the beginning.
1473
dc96c6c7 14742000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
1475
1476 * gdb.base/interrupt.exp: Make "pass" message say "send"
1477 rather than "send_gdb" (for consistancy).
1478
7d418785
AC
1479Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
1480
1481 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
1482 * gdb.c++/templates.cc: Properly check for GCC version number.
1483 * lib/compiler.cc: Likewise
1484
dc96c6c7 14852000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
1486
1487 * gdb.base/break.exp: When compiled with -O2 optimization,
1488 gdb may not stop at the first line of main, due to code motion.
1489
dc96c6c7 14902000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
1491
1492 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
1493 This test depends on parsing the printf output from the target.
1494 Since the sparclet stub doesn't do stdio, this will never work.
1495 * gdb.base/call-rt-st.exp: ditto.
1496 * gdb.base/call-strs: ditto.
1497
dc96c6c7 14982000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
1499
1500 * gdb.base/miscexprs.exp: make sizeof long array test portable.
1501
1502 * gdb.base/ending-run.exp: After connecting to a remote target,
1503 but before running, the target will appear to be in a random
1504 location. Specify both a file and a line for breakpoints.
1505 Also, the function that calls main may be called 'init'
1506 rather than 'start'.
1507
a5a51225
EZ
15082000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1509
1510 * gdb.base/help.exp: Update output for add-symbol-file command.
1511
7930cc7c
FN
15122000-04-10 Fernando Nasser <fnasser@cygnus.com>
1513
1514 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1515 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
1516
23e37ab1
C
15172000-04-07 J.T. Conklin <jtc@redback.com>
1518
e93c542c
C
1519 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
1520
23e37ab1
C
1521 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
1522
591b8fa3
PDM
1523Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
1524
1525 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
1526 values that can be represented exactly.
1527 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
1528 above change, and to not check against the directory part of the source
1529 file name.
1530 (step into print_long_arg_list): Likewise.
1531 (print print_small_structs from print_long_arg_list): Likewise.
1532 (print print_long_arg_list): Likewise.
1533
7a495180
EZ
15342000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1535
30b53638 1536 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 1537
beb998c6
AC
1538Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
1539
1540 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
1541
1c689132
DB
15422000-03-25 Daniel Berlin <dan@cgsoftware.com>
1543
1544 * gdb.base/commands.exp (deprecated_command_test): Add test for
1545 deprecate with no arguments.
1546
c1790a9d
JL
15472000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
1548
1549 * gdb.base/break.exp: Add new test for setting breakpoints on
1550 optimized code so we can test breakpoints work even when function
1551 prologues may be optimized away
1552
003ba290
FN
15532000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
1554
1555 From David Whedon <dwhedon@gordian.com>
1556 * gdb.base/commands.exp : Added command deprecator tests.
1557
6837a0a2
DB
15582000-03-22 Daniel Berlin <dan@cgsoftware.com>
1559
1560 * gdb.base/help.exp: Added test for new apropos command.
1561
b9593231
KB
15622000-03-21 Kevin Buettner <kevinb@redhat.com>
1563
1564 * gdb.base/pointers.c (usevar): New function.
1565 (main): Make sure that global variables v_int_pointer2, rptr,
1566 and y are all referenced someplace in the program by calling
1567 usevar() on them. [Some linkers delete symbols which are
1568 never referenced. The space remains, but there's no way to
1569 get a (symbolic) handle on the variable from the debugger.]
1570
751a959b
EZ
15712000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1572
1573 * gdb.base/printcmds.c: Add typedeffed arrays.
1574
1575 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
1576 procedure to test arrays that are typedef'd.
1577
73a93a32
JI
15782000-03-13 James Ingham <jingham@leda.cygnus.com>
1579
1580 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 1581 the library directories.
73a93a32 1582
fb40c209
AC
1583Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1584
1585 * configure.in (configdirs): Add sub directory gdb.mi.
1586 * configure: Re-generate.
1587
1588 * gdb.mi: New directory.
beb998c6 1589
ee4dd2c9
AC
15902000-02-25 Scott Bambrough <scottb@netwinder.org>
1591
1592 * gdb.base/long_long.exp: Correct test suite failure when printing
1593 a long long value as a double on ARM platforms.
1594
70f0cc22
JB
15952000-02-16 Jim Blandy <jimb@redhat.com>
1596
1597 * gdb.base/break.exp ("breakpoint line number"): Make sure the
1598 default source file is set properly before running this test.
1599
853819b8
EZ
16002000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1601
1602 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
1603 gdbtk/library directory, not in gdbtcl2.
1604
dfcd3bfb
JM
16052000-02-04 Jim Blandy <jimb@redhat.com>
1606
1607 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
1608 backslash from regexp pattern.
1609
1610 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
1611 procedure. Use it to run all the "continue to bp overloaded"
1612 tests. Note that this changes the names of the tests slightly.
1613 If the breakpoint hit message includes a hex PC value, because
1614 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
1615 from the real source code, still consider that a pass.
1616
1617 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
1618 XFAIL here if the breakpoint message contains a hex address. Note
1619 similar change on 1999-11-02.
1620
1621 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
1622
1623 * gdb.base/ptype.exp: Establish a default source file before
1624 calling get_debug_format.
1625
16262000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
1627
1628 * gdb.base/watchpoint.exp: Remove duplication of test messages.
1629
8b93c638
JM
16302000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1631
1632 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
1633 of successive stepi commands -- while in the prologue we should see
1634 the function entry bracket.
1635
16362000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1637
1638 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
1639 reach __change_mode() when stepping through the end of main().
1640
c5394b80
JM
16412000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
1642
1643 * gdb.base/default.exp: Fix expected pattern.
1644 * gdb.base/help.exp: Same.
1645
0d06e24b
JM
16462000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1647
1648 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
1649 Don't use xfail's because that affects only the following test.
beb998c6 1650
0d06e24b
JM
1651 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
1652 solaris or linux.
1653
1654 * gdb.base/selftest.exp: Update to reflect changes to main.c.
1655
dc96c6c7 16562000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 1657
beb998c6 1658 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
1659 "A syntax error" rather than "A parse error". Accept both.
1660
16612000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1662
1663 * gdb.base/default.exp: Remove OS dependent string from "target
1664 remote" test.
1665 * gdb.base/help.exp: Same for "help target remote" test.
1666
c3f6f71d
JM
16672000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1668
1669 From Jim Kingdon <kingdon@redhat.com>:
1670
1671 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
1672 prompt (cleanup rather than necessity, but still might keep output
1673 from spilling to next test).
1674
16752000-01-02 Fred Fish <fnf@cygnus.com>
1676
1677 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
1678 AIX, which defines them in <sys/types.h>.
1679
ed9a39eb 16801999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 1681
ed9a39eb
JM
1682 * gdb.base/default.exp: Match arm* etc instead of arm in "info
1683 float" test.
1684
16851999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 1686
ed9a39eb 1687 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
1688
1689 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
1690 outermost frame disallowed".
1691
16921999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
1693
1694 * gdb.base/setvar.exp: New tests for setting the value of a struct
1695 with a constant list.
1696
16971999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
1698
1699 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
1700 require the user to type a cast before setting the value of a struct.
1701
de57eccd
JM
17021999-12-06 Jim Blandy <jimb@cygnus.com>
1703
1704 * gdb.base/default.exp: Expect the new 'info float' command on
1705 all i386 platforms.
1706
1707 * gdb.threads/linux-dp.exp: Expand our ability to recognize
1708 LinuxThreads libraries that don't support debugging.
1709
c2d11a7d
JM
1710Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
1711
1712 * gdb.base/remote.c: Fill the buffer with truely random data.
1713 Change the buffer type to ``unsigned char'' to simplify size
1714 arithmetic.
1715
1716 * gdb.base/remote.exp: Reduce download numbers by one. Typical
1717 stub only handles 400-1 byte packets. Verify that the download
1718 worked.
1719
17201999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
1721
1722 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
1723 tests, using UNRESOLVED for the untested cases. Also, does not wait
1724 for a timeout if the prompt was received before a recognizable pattern.
1725
17261999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
1727
1728 * lib/gdb.exp (gdb_expect_list): Fix spelling.
1729
17301999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1731
1732 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
1733 watchpoints.
1734
17351999-11-24 Jason Merrill <jason@casey.cygnus.com>
1736
1737 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
1738
1739 * gdb.c++/local.exp: Be more flexible in recognizing local class
1740 name mangling. Don't allow horribly truncated method names.
1741 * gdb.c++/derivation.exp: Expect protected inheritance.
1742 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
1743 * gdb.c++/virtfunc.exp: Likewise.
1744 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
1745 when printing a nested enum.
1746
17471999-11-22 Jim Blandy <jimb@cygnus.com>
1748
1749 * gdb.base/step-test.exp: Properly await GDB's response to setting
1750 a breakpoint on the call to large_struct_by_value.
1751
1752 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
1753 just because we have debug info for the `start' function.
1754
17551999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
1756
1757 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
1758 "Unknown signal" messages, which indicate (on LinuxThreads) that
1759 GDB doesn't know how to debug threads on this system. This is
1760 better than hanging while philosopher 0 dumps chatter into gdb.log.
1761
17621999-11-18 Tom Tromey <tromey@cygnus.com>
1763
1764 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
1765
17661999-11-18 Fred Fish <fnf@cygnus.com>
1767
1768 * gdb.base/coremaker2.c: Add sample program for generating
1769 cores that is more self contained than coremaker.c. Eventually
1770 I'll add more code to this and tie it into the testsuite.
1771
4ce44c66
JM
17721999-11-12 Stan Shebs <shebs@andros.cygnus.com>
1773
1774 * gdb.base/dollar.exp: Remove, now in gdb.hp.
1775
17761999-11-10 Jimmy Guo <guo@cup.hp.com>
1777
1778 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
1779 from $srcdir/lib/.
1780 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
1781 and gdb.c++/.
1782
1783 * gdb.c++/derivation.exp: remove redundant get compiler info code.
1784
beb998c6 1785 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
1786 'continue with watch' test point.
1787
17881999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
1789
1790 Merged from p2linux-990323-branch:
beb998c6 1791
4ce44c66
JM
1792 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
1793
11cf8741
JM
1794Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
1795
1796 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
1797 {limit,fixed}''. Test ``set download-write-size''.
1798
1799Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
1800
1801 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
1802 gdb_expect_list.
1803
1804Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
1805
1806 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
1807
18081999-11-03 Mark Salter <msalter@cygnus.com>
1809
1810 * gdb.base/break.exp: Fix "stub continue" pattern.
1811
18121999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
1813
1814 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
1815
18161999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
1817
1818 * gdb.base/display.exp ("finish"): Add timeout clause.
1819
1820 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
1821 plain prompt clause, so this doesn't have to time out in order to
1822 fail.
1823
1824 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
1825 breakpoint hit messages include an address.
1826
1827 * gdb.base/display.exp: Don't forget to escape parens in regular
1828 expressions. Unix regexp notatation sucks.
1829
18301999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1831
1832 * gdb.base/annota1.exp: Test for annotate-signalled: change output
1833 order for 'signalled' message.
1834
5c44784c
JM
18351999-11-01 Stan Shebs <shebs@andros.cygnus.com>
1836
1837 From Jimmy Guo <guo@cup.hp.com>:
1838 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
1839 * gdb.base/annota1.c: Add code for tests to work with.
1840
18411999-10-26 Frank Ch. Eigler <fche@cygnus.com>
1842
1843 * gdb.base/remote.exp: New test for remote downloading settings.
1844 * gdb.base/remote.c: New file with large .data.
1845
917317f4
JM
18461999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
1847
1848 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
1849 for LinuxThreads support, merged from the Code Fusion branch.
1850
1851Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
1852
1853 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
1854 containing exp_continue into a while within an expect. Don't
1855 attempt a start more than three times. Check return value from
1856 gdb_load.
beb998c6 1857
2df3850c
JM
1858Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
1859
1860 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
1861 a pass case.
1862
2acceee2
JM
18631999-10-01 Kevin Buettner <kevinb@cygnus.com>
1864
1865 * gdb.base/break.c (main): Added a statement that we can step
1866 off of.
1867 * gdb.base/break.exp: Added tests for setting a breakpoint
1868 at an offset and stepping onto a breakpoint.
1869
18701999-10-01 Fred Fish <fnf@cygnus.com>
1871
beb998c6 1872 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
1873 gdb output.
1874
c2c6d25f
JM
18751999-09-18 Jim Blandy <jimb@cris.red-bean.com>
1876
1877 * gdb.base/break.exp: Code locations are in hex, don't forget!
1878 (For HP-UX.)
1879
18801999-09-17 Stan Shebs <shebs@andros.cygnus.com>
1881
1882 * condbreak.exp: Use break.c as test program.
1883 * condbreak.c: Remove, redundant with break.c.
1884
18851999-09-15 Stan Shebs <shebs@andros.cygnus.com>
1886
1887 * config/monitor.exp (gdb_target_monitor): Disable X- and
1888 Z-packets if the target needs it.
1889
18901999-09-13 James Ingham <jingham@leda.cygnus.com>
1891
1892 * gdb.c++/overload.exp: Added tests for listing overloaded
1893 functions with function pointers in the arg, explicitly calling
1894 out the version you want.
1895
cff3e48b
JM
18961999-09-09 Stan Shebs <shebs@andros.cygnus.com>
1897
1898 * long_long.exp: Add variations of test cases that work for
1899 targets with 16-bit ints and 32-bit doubles.
1900
d4f3574e
SS
19011999-09-08 Stan Shebs <shebs@andros.cygnus.com>
1902
1903 * break.c (main): Compare a possibly-uninitialized argc with an
1904 unlikely value that fits in 16 bits.
1905
19061999-09-07 Stan Shebs <shebs@andros.cygnus.com>
1907
1908 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
1909 0xfeeb, don't want negative numbers if ints are 16 bits.
1910
1911 * lib/gdb.exp (skip_cplus_tests): New proc.
1912 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
1913 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
1914 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
1915 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
1916 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
1917 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
1918 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
1919 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
1920
1921 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
1922
1923Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
1924
1925 * gdb.base/corefile.exp (up): Allow a parameter to appear
1926 in the frame that we're going up to.
1927
1928 From Jim Blandy <jimb@cygnus.com>:
1929
1930 * gdb.base/default.exp (info float): Expect some output now.
1931
1932 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
1933 returning floating-point values to fail on the x86.
1934 * gdb.base/callfwmall.exp (do_function_calls): Same.
1935
1936 * gdb.base/list.exp (test_listsize): Correct expectations for
1937 listing line 1 with listsize 2. Also, listing a single line
1938 works now, as does listing three lines. [Kevin's note: There
1939 were a number of other cases fixed too where the expectations
1940 differed...]
1941
19421999-09-02 Stan Shebs <shebs@andros.cygnus.com>
1943
1944 * gdb.base/selftest.exp: Add case for when version prints as
1945 constant string instead of char pointer.
1946
104c1213
JM
19471999-08-25 Stan Shebs <shebs@andros.cygnus.com>
1948
1949 * gdb.base/ending-run.exp: Add Solaris case for what happens when
1950 stepping out of main.
1951
1952 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
1953 G++ used.
1954
1955 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
1956 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
1957
1958 * gdb.c++/ovldbreak.exp: Update match string in test that
1959 includes a warning of multiple breakpoints.
1960
19611999-08-24 Stan Shebs <shebs@andros.cygnus.com>
1962
1963 * gdb.base/display.exp: Improve precision of step-after-finish
1964 added yesterday.
1965
1966 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
1967 test.
1968
1969 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
1970 configs when using G++, not just hppa*.
1971
19721999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1973
1974 * gdb.base/async.c: New file.
1975 * gdb.base/async.exp: New file.
1976
1977Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
1978
1979 * gdb.base/break.exp: Tweak PA specific tests to properly handle
1980 PA64.
1981
53a5351d
JM
1982Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
1983
104c1213
JM
1984 * gdb.base/display.exp: "finish" can leave us mid-line on many
1985 targets, deal with it. Add a small constant to main, instead of
1986 1000 since main+1000 may not be a valid address in the target.
1987
53a5351d
JM
1988 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
1989 on hpux11.
1990
1991 * gdb.base/attach.exp: Handle another hpux11 error message variant
1992 when attaching to a process that does not exist.
1993
19941999-08-19 J.T. Conklin <jtc@redback.com>
1995
1996 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
1997 characters in 'continue to 1241' test.
1998
19991999-08-17 Stan Shebs <shebs@andros.cygnus.com>
2000
2001 * gdb.base/call-ar-st.exp: Add a shorter match case for the
2002 stop in print_long_arg_list, define and use a whitespace
2003 variable in print_small_structs test, add an XFAIL for Solaris.
2004 * gdb.base/dbx.exp: XFAIL func commands until somebody is
2005 interested enough to fix.
2006
7be570e7
JM
20071999-08-13 Keith Seitz <keiths@cygnus.com>
2008
2009 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
2010 (dbx_gdb_load): Remove. Use gdb_load instead, since that
2011 proc knows about targets other than the natives.
2012 (test_assign): Use "gdb_run_cmd" to "run" the target.
2013 Check that we've actually hit the breakpoint at main.
2014 When we attempt to assign a value to a local variable, check
2015 that the variable is in the current scope, i.e., don't use
2016 a test with an empty result.
2017
2018Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
2019
2020 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
2021 command.
2022
20231999-08-09 Stan Shebs <shebs@andros.cygnus.com>
2024
2025 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2026 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
2027 gdb.compat, gdb.threads-hp.
2028 gdb.hp/configure, gdb.hp/configure.in: New files.
2029 gdb.hp/Makefile.in: Recurse into new subdirs.
2030 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
2031 gdb.hp/gdb.objdbg: New directory, tests for debugging info
2032 in object files.
2033 gdb.hp/tools: New directory, aux tools for HP-specific tests.
2034
96baa820
JM
20351999-08-05 Stan Shebs <shebs@andros.cygnus.com>
2036
2037 * gdb.base/display.exp: Help expect by putting a newline in the
2038 funky printf, remove a bogus p/a test.
2039
20401999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2041
2042 * gdb.base/display.exp: Make sure that when we say 'run', we are
2043 connected to the target. This is necessary when running not
2044 natively.
2045
20461999-08-03 Stan Shebs <shebs@andros.cygnus.com>
2047
2048 * gdb.base/step-test.exp: Removed some extraneous messages.
2049
2050 * gdb.base/long_long.exp: Don't run memory examination tests
2051 on little-endian targets (they will need a different set of
2052 results to match).
2053
20541999-08-02 Stan Shebs <shebs@andros.cygnus.com>
2055
2056 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
2057 until somebody decides to fix GDB.
2058
2059 * gdb.base/long_long.c: Stop compiler complaint by specifying long
2060 constant as "ULL".
2061 * gdb.base/long_long.exp: Loosen x/c test, add partial result
2062 matches for a couple x/2 commands.
2063
a0b3c4fd
JM
20641999-07-30 Stan Shebs <shebs@andros.cygnus.com>
2065
2066 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
2067 by merging in ref-types2 tests.
2068 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
2069
2070 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2071 * gdb.c++/Makefile.in: Add standard actions.
2072 (EXECUTABLES): Rename from PROGS, update list.
2073 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
2074 from gdb.hp.
2075 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
2076 foo and bar locals.
2077 * gdb.c++/anon-union.exp: Fix tests to match.
2078 * gdb.c++/classes.exp: Run if HP compiler used, add extra
2079 expect matches to handle output variations.
2080 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
2081 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
2082 output, add HP alternatives for new and delete prints.
2083 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
2084 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
2085 * gdb.c++/demangle.exp: Use $style when reporting failure.
2086 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
2087 * gdb.c++/inherit.exp: Run if HP compiler used, add some
2088 match alternatives.
2089 * gdb.c++/local.exp: Add match alternatives or xfails for HP
2090 compilers.
2091 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
2092 * gdb.c++/method.exp: Add match alternatives.
2093 * gdb.c++/misc.cc: Add bool types.
2094 * gdb.c++/misc.exp: Add tests for bool types.
2095 * gdb.c++/overload.exp: Add xfails.
2096 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
2097 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
2098 add some more template parameter tests (only for HP currently).
2099 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
2100 * gdb.c++/virtfunc.cc: Add return type and value for main.
2101 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
2102 match alternatives.
beb998c6 2103
a0b3c4fd
JM
21041999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2105
2106 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
2107
21081999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
2109
2110 * gdb.base/signals.exp: Don't expect getting a backtrace from
2111 within a signal handler to fail on Linux.
2112
21131999-07-29 Stan Shebs <shebs@andros.cygnus.com>
2114
2115 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2116 * lib/gdb.exp: Remove some gratuitious semicolons.
2117 (delete_breakpoints): Increase timeout.
2118 (gdb_expect): Add -notransfer option.
2119 (gdb_test): Use -notransfer option.
2120 (get_compiler_info): Add f77 case.
2121 (get_compiler): New proc, split out from gdb_preprocess, add f77
2122 case.
2123 (gdb_preprocess): Call get_compiler.
2124
2125 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
2126 * gdb.base/attach.exp, gdb.base/display.exp,
2127 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
2128 gdb.base/long_long.exp, gdb.base/printcmds.exp,
2129 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
2130 third arg to gdb_test.
2131 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
2132 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
2133 HP-UX xfails, add others.
2134 * gdb.base/completion.exp: Reflect name change of self-test.
2135 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
2136 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
2137 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
2138 HP failure number.
2139 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
2140 useless HP-UX 10.30 references.
2141 * gdb.base/maint.exp: Loosen matches.
2142 * gdb.base/pointers.c (main): Declare more_code.
2143 * gdb.base/pointers.exp: Match on output of a `next'.
2144 * gdb.base/structs.c: Add prototypes.
2145 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
2146 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
2147
21481999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2149
2150 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
2151 command.
2152
21531999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2154
2155 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
2156 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
2157
2158 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
2159 debug info. Deal with lack of signal hanlder info in stack.
2160
2161 From Jim Kingdon <kingdon@redhat.com>:
2162 * gdb.base/annota1.exp: If printf has debug info, deal with it.
2163
5a2468f5
JM
21641999-07-19 Stan Shebs <shebs@andros.cygnus.com>
2165
2166 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
2167 gdb.base/foll-vfork.exp: Don't run for crosses.
2168
adf40b2e
JM
2169Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
2170
2171 * gdb.base/configure.in: Check for gdbvars.exp instead of
2172 a1-selftest.exp.
2173 * gdb.base/configure: Re-generate.
2174
21751999-07-12 Stan Shebs <shebs@andros.cygnus.com>
2176
2177 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
2178 in trying to run first and name is too long.
2179
2180 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
2181 pointers2.c and pointers2.exp, respectively.
2182 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
2183 doschk happier.
2184
43e526b9
JM
21851999-07-08 Stan Shebs <shebs@andros.cygnus.com>
2186
2187 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
2188 callfuncs2.c and callfuncs2.exp.
2189
2190 * gdb.base/list.exp: Remove mistaken xfails.
2191 * gdb.base/list0.h: Add optional prototypes.
2192
9846de1b
JM
2193Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
2194
2195 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
2196 calling malloc.
2197 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
2198 * ptype.exp: Move test for get_debug_format to before its first
2199 use.
2200
22011999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2202
2203 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
2204 * gdb.base/annota2.cc, annota2.exp: Move from here.
2205 * gdb.c++/annota2.cc, annota2.exp: To here.
2206 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
2207
43ff13b4
JM
2208Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
2209
2210 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
2211 a consistent format.
2212
085dd6e6
JM
22131999-06-25 Stan Shebs <shebs@andros.cygnus.com>
2214
2215 From Jimmy Guo <guo@cup.hp.com> and others at HP:
2216 * lib/gdb.exp (get_compiler_info): Add detection for assorted
2217 HP compilers, also set the globals $true and $false.
2218
2219 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
2220 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
2221 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
2222 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
2223 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
2224 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
2225 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
2226 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
2227 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
2228 whatis.c} Add C++ compatible function definitions and return
2229 types, add includes for library functions.
2230 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
2231 * gdb.base/step-test.c (myglob): Rename from glob.
2232 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
2233 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
2234 files, move here from gdb.hp.
2235 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
2236 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
2237 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
2238 Adjust line numbers in regexps.
2239
2240 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
2241 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
2242 instead of 0/1.
2243
2244 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
2245 foll-vfork.exp: New files, move here from gdb.hp.
2246 * gdb.base/page.exp: New file, test of pagination command.
2247
2248 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
2249 recursion test.
2250 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
2251
2252 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
2253 gdb.base/solib.exp: Fix compiler invocation process.
2254
2255 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
2256 HP-UX 11, turn off overload resolution explicitly.
2257 * gdb.base/commands.exp: Set argument list explicitly, add
2258 watchpoint test.
2259 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
2260 them work.
2261 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
2262 expressions properly.
2263 * gdb.base/corefile.exp: Loosen the match slightly.
2264 * gdb.base/default.exp: Allow "Error accessing memory" message
2265 also.
2266 * gdb.base/display.exp: Skip over x/0 j if PA64.
2267 * gdb.base/funcargs.exp: Add xfails for HP-UX.
2268 * gdb.base/interrupt.exp: Ditto.
2269 * gdb.base/langs.exp: Add symbolic matches governed by compiler
2270 in use.
2271 * gdb.base/list.exp: Add xfails for HP-UX.
2272 * gdb.base/long_long.exp: Refine some of the numeric matches.
2273 * gdb.base/mips_pro.exp: Xfail on HP-UX.
2274 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
2275 * gdb.base/nodebug.exp: Succeed on more varieties of output.
2276 * gdb.base/opaque.exp: Remove some HP-UX xfails.
2277 * gdb.base/ptype.exp: Succeed on more varieties of output.
2278 * gdb.base/scope.exp: Add xfails for HP-UX.
2279 * gdb.base/sect-cmd.exp: Add more cases.
2280 * gdb.base/setvar.exp: Add xfails for HP-UX.
2281 * gdb.base/shlib-call.exp: Loosen some matches slightly.
2282 * gdb.base/signals.exp: Match on void symbolically.
2283 * gdb.base/step-test.exp: Add case for PA64.
2284 * gdb.base/term.exp: Add exit and restart.
2285 * gdb.base/twice.exp: Clean up after self.
2286 * gdb.base/varargs.exp: Disable overload resolution explicitly.
2287 * gdb.base/whatis.exp: Allow more ways to pass tests.
2288
2289 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
2290 no longer useful.
2291
2292Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
2293
2294 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
2295 list of patterns.
2296 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
2297 print_double_array(double_array)", "continuing to breakpoint
2298 1018", "print print_double_array(array_d)" and "continuing to
2299 1034" tests.
beb998c6 2300
085dd6e6
JM
23011999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
2302
2303 * Makefile.in: Add empty html and install-html targets.
2304
23051999-06-24 Stan Shebs <shebs@andros.cygnus.com>
2306
2307 * config/mt-*: Remove, these haven't been used since 1996.
2308
23091999-06-22 Stan Shebs <shebs@andros.cygnus.com>
2310
2311 * gdb.base/call-strs.c, gdb.base/ending-run.c,
2312 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
2313 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
2314
9e0b60a8
JM
23151999-06-18 Stan Shebs <shebs@andros.cygnus.com>
2316
2317 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
2318 simpler match case for the ptype of the big class.
2319
23201999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2321
2322 * gdb.exp: Fix test for gdb_prompt existence.
2323
23241999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2325
2326 * gdb.exp (gdb_test): Add fail after calls to perror.
2327
23281999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2329
2330 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
2331
23321999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2333
2334 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
2335
0f71a2f6
JM
2336Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
2337
2338 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
2339 malloc() is linked in.
2340
23411999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
2342
2343 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
2344 step at end.
2345
2346 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
2347
23481999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
2349
2350 * gdb.java/jv-print.exp: New file. (Our first Java test!)
2351
cce74817
JM
2352Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
2353
2354 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
2355 * gdb.base/mips_pro.exp: Likewise.
2356
23571999-06-02 Keith Seitz <keiths@cygnus.com>
2358
2359 * gdb.c++/templates.cc: Change all "new" operators to throw
2360 an exception.
2361 * gdb.c++/cplusfuncs.cc: Likewise.
2362
2363 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
2364
2365Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
2366
2367 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
2368 * gdb.base/ending-run.exp: When stepping out of main, accept a
2369 step into an arbitrary assembler file.
2370
392a587b
JM
23711999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2372
beb998c6 2373 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 2374 "breakpoint-invalid" to be printed.
beb998c6 2375 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
2376 number of "frames-invalid" and "breakpoint-invalid" to be printed.
2377 * gdb.base/annota2.cc: Initialize a.x to 0.
2378
9e086581
JM
23791999-05-17 Keith Seitz <keiths@cygnus.com>
2380
2381 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
2382 when "skip_float_tests" set.
2383 Ditto for "print print_double_array(array_d)", "print print_small_structs",
2384 "print print_ten_doubles", and "step into print_long_arg_list".
2385 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
2386 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
2387 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
2388 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
2389 "skip_float_tests" is set.
2390 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
2391 when "skip_float_tests" set.
beb998c6 2392
cd0fc7c3
SS
23931999-05-06 Keith Seitz <keiths@cygnus.com>
2394
2395 * gdb.base/annota2.cc: Include stdio.h.
2396
2397Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
2398
2399 * gdb.base/crossload.exp: Remove, this has been disabled ever
2400 since BFD stopped including all targets, and cross-GDB gets
2401 plenty of testing anyway.
2402 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
2403 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
2404 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
2405 * gdb.base/README: Remove, was doc for this.
2406 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
2407 needed.
2408
b83266a0
SS
24091999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2410
2411 * gdb.base/call-ar-st.exp: Fix one regular expression in test
2412 output.
2413
2414 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
2415 * gdb.base/annota2.exp: New file. More annotation tests.
2416 * gdb.base/annota1.c: New file. Source file for annota1.exp.
2417 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
2418
24191999-04-23 Angela Marie Thomas <angela@cygnus.com>
2420
2421 * config/cfdbug.exp: New file.
2422
7a292a7a
SS
24231999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
2424
2425 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
2426 Marcus Daniel's and Dale Hawkins's demangler crashes.
2427
2428 * gdb.c++/demangle.exp (test_gnu_style_demangling,
2429 test_lucid_style_demangling, test_arm_style_demangling,
2430 test_hp_style_demangling): Try Tom Tromey's core-dumping
2431 identifier under each demangling style.
2432
24331999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
2434
2435 * gdb.c++/demangle.exp: Include the current demangling style
2436 in all test names.
2437 (current_demangling_style): New global variable.
2438 (set_demangling_style, test_demangling_core, test_demangling,
2439 test_demangling_exact): New functions.
2440 (test_gnu_style_demangling, test_lucid_style_demangling,
2441 test_arm_style_demangling, test_hp_style_demangling): Use those,
2442 instead of calling gdb_test and gdb_test_exact directly.
2443 (catch_demangling_errors): New function, which reports errors
2444 signalled by the demangling test functions in an orderly way.
2445 (do_tests): Use catch_demangling_errors.
2446
24471999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
2448
2449 * gdb.base/signals.exp (test_handle_all_print): Use () for
2450 grouping in expressions, not {}.
2451
2452 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
2453 initialized yet.
2454
24551999-04-01 Stan Shebs <shebs@andros.cygnus.com>
2456
2457 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
2458 are listed.
2459
24601999-03-26 Stan Shebs <shebs@andros.cygnus.com>
2461
2462 * gdb.stabs/weird.exp: Test for CC being defined before
2463 looking at its value.
2464
24651999-03-25 Stan Shebs <shebs@andros.cygnus.com>
2466
2467 * gdb.base/call-ar-st.exp: Remove stray '#'.
2468 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
2469 "short int" and "long int".
2470 * gdb.c++/overload.cc: Cast the string added in the previous
2471 change, to mollify finicky HP compiler.
2472 * gdb.hp/reg-test.exp (testfile): Fix file name.
2473 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 2474
7a292a7a
SS
2475 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
2476 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
2477 alternate form of enum ptype.
2478
c906108c
SS
24791999-03-23 Stan Shebs <shebs@andros.cygnus.com>
2480
7a292a7a
SS
2481 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
2482 * gdb.hp/*.exp: Change all to run compiler probe only after
2483 passing skip_hp_tests, so as not to waste time on guaranteed
2484 failure.
2485
c906108c
SS
2486 * gdb.c++/overload.cc: Pass string instead of char addr, always
2487 init ccpfoo.
2488 * gdb.c++/templates.cc: Fix syntax error.
2489
7a292a7a
SS
2490Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2491
2492 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 2493 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
2494 command.
2495
24961999-03-18 James Ingham <jingham@cygnus.com>
2497
2498 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
2499
2500 * gdb.c++/method.exp: It was testing an uninitialized int on the
2501 stack and assuming it was positive.
2502
2503 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
2504
2505 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 2506 keep it from killing the rest of the tests.
7a292a7a
SS
2507 Use gdb_continue_to_end.
2508
2509 * gdb.base/sigall.exp: use gdb_continue_to_end.
2510
2511 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
2512
2513 * gdb.base/display.exp: use runto_main, not run.
2514
beb998c6
AC
2515 * gdb.base/default.exp: Check for the current error message in the
2516 r abbreviation test.
7a292a7a
SS
2517 Add strongarm to the targets that know info float.
2518
beb998c6 2519 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
2520 run which doesn't work with monitors.
2521
2522 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
2523
2524 * gdb.base/break.exp: use the gdb_continue_to_end proc.
2525
2526 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
2527 program. Traps the case (in Cygmon) when the program never really
2528 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
2529 more places, so I used my name. Sorry Mark...
2530
2531 * config/monitor.exp (gdb_target_monitor): added another
2532 target_info parameter: remotebinarydownload. This will set the
2533 remotebinarydownload flag if this is causing some boards trouble.
2534
25351999-03-18 Mark Salter <msalter@cygnus.com>
2536
2537 * lib/gdb.exp (continue_to_exit): New function.
2538
2539 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
2540 * gdb.base/ending-run.exp: Ditto.
2541 * gdb.base/step-test.exp: Ditto.
2542
25431999-03-16 Stan Shebs <shebs@andros.cygnus.com>
2544
2545 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
2546 (suggested by Art Haas <ahaas@neosoft.com>).
2547
25481999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
2549
2550 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
2551
2552Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
2553
2554 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
2555 descriptions of types (short unsigned int vs unsigned short, etc).
2556
25571999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
2558
2559 * gdb.base/call-strs.exp: Don't assume that `step' will step over
2560 a call to strlen; sometimes we do have sources.
2561
25621999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
2563
2564 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
2565 character, so GDB won't print garbage after its end.
beb998c6 2566
c906108c
SS
2567 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
2568 breakpoint there instead. Sometimes GCC emits memcpy to handle
2569 the large structures being passed by value, so we step into that
2570 instead of sum_array_print, which obscures what we're really testing.
2571 * gdb.base/step-test.exp: However, we do want a test that notices
2572 the bizarre steps into memcpy, so do that here. Add check for
2573 stepping into function calls that pass large structures by value.
2574 ("Is that a noun clause, or are you just happy to see me?")
2575 Remove all references to specific line numbers.
2576 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
2577 New type and function.
2578 (main): Call large_struct_by_value, passing it a large struct by value.
2579 * lib/gdb.exp (gdb_get_line_number): New function.
2580
2581 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
2582 more portable.
2583
7a292a7a
SS
25841999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
2585
c906108c
SS
2586 * lib/gdb.exp: Doc fixes.
2587
7a292a7a
SS
25881999-03-05 Nick Clifton <nickc@cygnus.com>
2589
beb998c6 2590 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
2591
25921999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
2593
c906108c
SS
2594 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
2595 commands. They're not germane to this test, and they don't work
2596 that way on remote targets.
2597
3fc11d3e
JM
25981999-03-01 James Ingham <jingham@cygnus.com>
2599
2600 * Changelog entries merged over from gdb development branch.
2601
3fc11d3e
JM
2602 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
2603
2604 * lib/gdb.exp (gdbtk_analyze_results): Generic function
2605 for outputting results of test run.
2606
2d4a1622 2607 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
2608
2609 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 2610
7a292a7a
SS
26111999-02-25 Felix Lee <flee@cygnus.com>
2612
2613 * lib/gdb.exp (debug_format): initialize
2614
c906108c
SS
26151999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
2616
2617 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
2618 * gdb.base/call-rt-st.c: Ditto.
2619
c906108c
SS
26201999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
2621
2622 * gdb.threads/pthreads.exp (horiz): New variable.
2623 (test_startup): Fix regexps that capture thread numbers.
2624
26251999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
2626
2627 * gdb.base/smoke.exp: Disambiguate two test case names (both
2628 called ``print'').
2629
2630Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
2631
2632 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
2633 compilation.
2634
26351999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
2636
2637 * gdb.base/miscexprs.exp: Change patterns to match GDB's
2638 actual output formatting.
2639 * gdb.base/smoke.exp: GDB removes leading 0's.
2640 * gdb.base/volatile.exp: Don't check type of remuneration;
2641 that variable is no longer defined in constvars.c.
2642 * gdb.base/step-test.c (main): Exit with explicit exit code.
2643 * gdb.base/step-test.exp: Remove two nexti checks--they are
2644 not portable.
2645
26461999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
2647
2648 * gdb.base/help.exp ("help delete display"): Fix test to match
2649 gdb's output.
2650
2651 * gdb.base/long_long.c (known_types): Initialize values to zero.
2652 * gdb.base/long_long.exp: Step one more line
2653 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 2654 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
2655 unique test case names.
2656
2657Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2658
beb998c6 2659 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
2660
2661 * gdb.c++/method.exp: Add missing close brace.
2662
26631999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
2664
2665 * gdb.base/maint.exp: Use 'set height 0' to disable page
2666 prompting, not 'set height 400'.
2667
2668 Fix a bunch of timeouts.
2669 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
2670 four separate tests, so expect doesn't take forever to match a ton
2671 of text against a regexp with lots of .* forms.
2672 ("maint print psymbols", "maint print symbols"): Make some of
2673 these greps more selective, so that expect doesn't try to wade
2674 through huge piles of output and time out.
2675
2676 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
2677
2678 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
2679 tests: one which doesn't expect shlib events to be reported, and
2680 another which does, but is XFAIL for all platforms other than
2681 HP/UX.
2682
2683 * gdb.base/break.exp: Teach the test suite that the `catch
2684 fork', `catch vfork', and `catch exec' commands produce error
2685 messages on platforms that don't provide these features.
2686
2687Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
2688
2689 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
2690 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
2691 (shortening names from solib_threshold.exp etc), won't run on
2692 anything but HP-UX for the foreseeable future.
2693 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
2694 reflect move.
2695
2696Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
2697
2698 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
2699 gdb.trace/Makefile.in (clean): Remove all test executables.
2700
2701Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
2702
2703 * gdb.base/shlib-call.exp: add test cases to verify that gdb
2704 successfully re-sets breakpoints in shared libraries.
2705 * gdb.base/shmain.c (main): return 0, don't fall off the end.
2706
2707Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2708
beb998c6
AC
2709 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
2710 and compiled w/o GCC.
c906108c
SS
2711
2712 * gdb.hp/watch-cmd.exp: ditto.
2713
2714 * gdb.hp/watch-hp.exp: ditto.
2715
2716 * gdb.hp/xdb1.exp: ditto.
2717
2718 * gdb.hp/xdb2.exp: ditto.
2719
2720 * gdb.hp/dbx.exp: ditto.
2721
2722Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
2723
2724 * constvars.c: Remove C++-isms.
2725 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
2726 with GCC.
2727
2728Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
2729
2730 The following changes are part of the HP merge.
2731
2732 * gdb.base/break.exp: new tests to verify that catchpoints for
2733 fork, vfork, and exec don't trigger inappropriately.
2734
2735 * gdb.base/opaque.exp: compile one file at a time, then link.
2736
2737 * gdb.base/signals.exp: be more restrictive about which hppa
2738 systems receive a setup_xfail. new tests.
2739
2740 * gdb.base/solib_threshold.build: new file.
2741 * gdb.base/solib_threshold.exp: new file.
2742 * gdb.base/solib_threshold.link_opts: new file.
2743 * gdb.base/solib_threshold.mk: new file.
2744 * gdb.base/gen_solib_threshold.c: new file.
2745
2746 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
2747 tests. New tests for enums inside classes.
2748
2749 * gdb.c++/compiler.cc: indicate support of template debugging.
2750
2751 * gdb.c++/demangle.exp: run hp style demangling tests.
2752
2753 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
2754 tests.
2755
2756 * gdb.c++/misc.cc: changes to support new tests.
2757
2758 * gdb.c++/templates.cc: changes to support HP's compiler; changes
2759 to support new tests.
2760
2761 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
2762 gcc, then skip these tests.
2763
2764Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
2765
2766 The following files are part of the HP merge; some had longer
2767 names at HP, but have been renamed to be no more than 14
2768 characters in length.
2769
2770 * gdb.hp/ambiguous.cc: new file.
2771 * gdb.hp/ambiguous.exp: new file.
2772 * gdb.hp/attach.exp: new file.
2773 * gdb.hp/attach2.exp: new file.
2774 * gdb.hp/classes-hp.exp: new file.
2775 * gdb.hp/ctti.exp: new file.
2776 * gdb.hp/ctti-add.cc: new file.
2777 * gdb.hp/ctti-add1.cc: new file.
2778 * gdb.hp/ctti-add2.cc: new file.
2779 * gdb.hp/ctti-add3.cc: new file.
2780 * gdb.hp/dbx.exp: new file.
2781 * gdb.hp/exception.cc: new file.
2782 * gdb.hp/exception.exp: new file.
2783 * gdb.hp/foll-exec.c: new file.
2784 * gdb.hp/foll-exec.exp: new file.
2785 * gdb.hp/foll-fork.c: new file.
2786 * gdb.hp/foll-fork.exp: new file.
2787 * gdb.hp/foll-vfork.c: new file.
2788 * gdb.hp/foll-vfork.exp: new file.
2789 * gdb.hp/inherit-hp.exp: new file.
2790 * gdb.hp/more-steps.exp: new file.
2791 * gdb.hp/namespace.cc: new file.
2792 * gdb.hp/namespace.exp: new file.
2793 * gdb.hp/optimize.exp: new file.
2794 * gdb.hp/pxdb.c: new file.
2795 * gdb.hp/pxdb.exp: new file.
2796 * gdb.hp/quicksort.exp: new file.
2797 * gdb.hp/reg-test.exp: new file.
2798 * gdb.hp/reg-test.s: new file.
2799 * gdb.hp/sized-enum.c: new file.
2800 * gdb.hp/sized-enum.exp: new file.
2801 * gdb.hp/start-stop.exp: new file.
2802 * gdb.hp/templ-hp.cc: new file.
2803 * gdb.hp/templ-hp.exp: new file.
2804 * gdb.hp/thr-lib.c: new file.
2805 * gdb.hp/thr-lib.exp: new file.
2806 * gdb.hp/thr-lib.h: new file.
2807 * gdb.hp/thr-liblib.c: new file.
2808 * gdb.hp/virtfun-hp.c: new file.
2809 * gdb.hp/virtfun-hp.exp: new file.
2810 * gdb.hp/watch-cmd.exp: new file.
2811 * gdb.hp/watch-hp.exp: new file.
2812 * gdb.hp/xdb1.exp: new file.
2813 * gdb.hp/xdb2.exp: new file.
2814 * gdb.hp/xdb3.exp: new file.
2815
2816Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
2817
2818 The following files are part of the HP merge; some had longer
2819 names at HP, but have been renamed to be no more than 14
2820 characters in length.
2821
2822 * gdb.base/ss.h: new file.
2823 * gdb.base/call-ar-st.c: new file.
2824 * gdb.base/call-ar-st.exp: new file.
2825 * gdb.base/call-rt-st.c: new file.
2826 * gdb.base/call-rt-st-exp: new file.
2827 * gdb.base/call-strs.exp: new file.
2828 * gdb.base/ena-dis-br.exp: new file.
2829 * gdb.base/environ.exp: new file.
2830 * gdb.base/long_long.exp: new file.
2831 * gdb.base/sect-cmd.exp: new file.
2832 * gdb.base/shlib-cl2.exp: new file.
2833 * gdb.base/smoke.exp: new file.
2834 * gdb.base/so-impl-ld.c: new file.
2835 * gdb.base/so-impl-ld.exp: new file.
2836 * gdb.base/so-indr-cl.c: new file.
2837 * gdb.base/so-indr-cl.exp: new file.
2838 * gdb.base/varargs.exp: new file.
2839 * gdb.base/volatile.exp: new file.
2840 * gdb.base/whatis-exp.exp: new file.
7a292a7a 2841 * gdb.base/display.exp: new file.
c906108c
SS
2842 * gdb.c++/derivation.exp: new file.
2843 * gdb.c++/local.exp: new file.
2844 * gdb.c++/member-ptr.exp: new file.
2845 * gdb.c++/overload.exp: new file.
2846 * gdb.c++/ovldbreak.exp: new file.
2847 * gdb.c++/ref-types.exp: new file.
2848 * gdb.c++/ref-types2.exp: new file.
2849 * gdb.c++/userdef.exp: new file.
beb998c6 2850
c906108c
SS
2851Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
2852
2853 * gdb.base/default.exp: Reflect wording change in remote.c.
2854
dc96c6c7 2855Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
2856
2857 * gdb.base/help.exp: Update to reflect current text.
2858
2859Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
2860
2861 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
2862 they're stack variables and contain garbage.
2863 * gdb.c++/anon-union.exp: new file.
2864
2865 The following changes were made by David Taylor
2866 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
2867 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
2868 in changes by HP.
2869
2870 * gdb.base/bitops.exp: new file.
2871 * gdb.base/default.exp: change expected messages for catch and
2872 info catch tests to reflect HP merge changes.
2873 * gdb.base/enable-disable-break.exp
2874 * gdb.base/ending-run.c: new file.
2875 * gdb.base/long_long.c: new file.
2876 * gdb.base/maint.exp: new file.
2877 * gdb.base/pointers2.exp: new file.
2878 * gdb.base/shlib-call2.exp: new file.
2879 * gdb.base/solib.exp: new file.
2880 * gdb.base/step-test.c: new file.
2881 * gdb.c++/anon-union.cc: new file.
2882 * gdb.c++/local.cc: new file.
2883 * gdb.c++/member-pointer.cc: new file.
2884 * gdb.c++/method.cc: new file.
2885 * gdb.c++/ref-types.cc: new file.
2886 * gdb.c++/ref-types2.cc: new file.
2887 * gdb.c++/userdef.cc: new file.
beb998c6 2888
c906108c
SS
2889 * gdb.base/scope.exp: compile one file at a time, then link.
2890 * gdb.base/langs.exp: ditto.
2891 * gdb.base/list.exp: ditto.
beb998c6 2892
c906108c
SS
2893Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
2894
2895 The following changes were made by David Taylor
2896 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
2897 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
2898 in changes by HP.
beb998c6 2899
c906108c
SS
2900 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
2901 skip tests. When compiling pass c++ flag to gdb_compile.
2902 * gdb.c++/
beb998c6 2903
c906108c
SS
2904 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
2905 test for on hppa*-*-hpux*; use args to see if c++ was specified.
2906 (skip_hp_tests): new function.
2907 (gdb_preprocess): new function.
2908
2909 * configure.in (hpdir): decide whether to configure gdb.hp.
2910 * configure: regenerated.
2911
2912 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
2913 to delete on clean.
2914 (EXECUTABLES): update to reflect new additions.
2915 * gdb.base/commands.exp: update message expected.
2916 * gdb.base/default.exp: add copyright notice.
2917 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
2918 * gdb.base/help.exp: update messages to reflect current text.
2919 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
2920 targets for recurse tests.
2921 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
2922 skip this file.
2923
2924 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
2925 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
2926 compilation.
2927 * gdb.c++/misc.exp: ditto.
2928 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
2929 run the tests. tell gdb_compile that it's a c++ compilation.
2930
2931 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 2932
c906108c
SS
2933 * gdb.base/all-bin.exp: new file.
2934 * gdb.base/arithmet.exp: new file.
2935 * gdb.base/assign.exp: new file.
2936 * gdb.base/completion.exp: new file.
2937 * gdb.base/cond-expr.exp: new file.
2938 * gdb.base/condbreak.exp: new file.
2939 * gdb.base/define.exp: new file.
2940 * gdb.base/dollar.exp: new file.
2941 * gdb.base/environment.exp: new file.
2942 * gdb.base/eval-skip.exp: new file.
2943 * gdb.base/jump.exp: new file.
2944 * gdb.base/logical.exp: new file.
2945 * gdb.base/pointers.exp: new file.
2946 * gdb.base/relational.exp: new file.
2947 * gdb.base/section_command.exp: new file.
2948 * gdb.base/whatis-expr.exp: new file.
2949
2950 * gdb.base/all-types.c: new file.
2951 * gdb.base/call-array-struct.c: new file.
2952 * gdb.base/call-return-struct.c: new file.
2953 * gdb.base/call-strings.c: new file.
2954 * gdb.base/callfuncs2.c: new file.
2955 * gdb.base/condbreak.c: new file.
2956 * gdb.base/constvars.c: new file.
2957 * gdb.base/display.c: new file.
2958 * gdb.base/int-type.c: new file.
2959 * gdb.base/jump.c: new file.
2960 * gdb.base/miscexprs.c: new file.
2961 * gdb.base/pointers.c: new file.
2962 * gdb.base/pointers2.c: new file.
2963 * gdb.base/shmain.c: new file.
2964 * gdb.base/shr1.c: new file.
2965 * gdb.base/shr2.c: new file.
2966 * gdb.base/solib.c: new file.
2967 * gdb.base/solib1.c: new file.
2968 * gdb.base/solib2.c: new file.
2969 * gdb.base/varargs.c: new file.
2970 * gdb.c++/derivation.cc: new file.
2971 * gdb.c++/overload.cc: new file.
2972 * gdb.c++/ovldbreak.cc: new file.
2973 * gdb.hp/attach.c: new file.
2974 * gdb.hp/attach2.c: new file.
2975 * gdb.hp/average.c: new file.
2976 * gdb.hp/compiler.c: new file.
2977 * gdb.hp/compiler.cc: new file.
2978 * gdb.hp/execd-program.c: new file.
2979 * gdb.hp/follow-exec.c: new file.
2980 * gdb.hp/follow-fork.c: new file.
2981 * gdb.hp/follow-vfork-and-exec.c: new file.
2982 * gdb.hp/misc-hp.cc: new file.
2983 * gdb.hp/more-steps.c: new file.
2984 * gdb.hp/optimize.c: new file.
2985 * gdb.hp/quicksort.c: new file.
2986 * gdb.hp/run-hp.c: new file.
2987 * gdb.hp/start-stop.c: new file.
2988 * gdb.hp/sum.c: new file.
2989 * gdb.hp/templates-hp.cc: new file.
2990 * gdb.hp/thread-local-in-lib.c: new file.
2991 * gdb.hp/thread-local-in-lib.h: new file.
2992 * gdb.hp/thread-local-in-lib.lib.c: new file.
2993 * gdb.hp/vforked-program.c: new file.
2994 * gdb.hp/virtfunc-hp.cc: new file.
2995 * gdb.hp/watchpoint-hp.c: new file.
2996 * gdb.hp/xdb.c: new file.
2997 * gdb.hp/xdb0.c: new file.
2998 * gdb.hp/xdb0.h: new file.
2999 * gdb.hp/xdb1.c: new file.
3000
3001Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
3002
3003 The following change was made by Edith Epstein
3004 <eepstein@cygnus.com> as part of a project to merge in changes
3005 originally made by HP; HP did not create ChangeLog entries.
3006
3007 * gdb.c++/demangle.exp: changed the expected output for some
3008 ARM-style mangling -- removed second reference to datatype.
3009 For example, maint demangle __dt__11T1__pt__2_cFv
3010 T1<char>::~T1<char>(void)
3011 becomes,
3012 maint demangle __dt__11T1__pt__2_cFv
3013 T1<char>::~T1(void)
3014
3015 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 3016
c906108c
SS
3017Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
3018
3019 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
3020 * gdb.trace/backtrace.exp: Likewise.
3021 * gdb.trace/circ.exp: Likewise.
3022 * gdb.trace/collection.exp: Likewise.
3023 * gdb.trace/deltrace.exp: Likewise.
3024 * gdb.trace/infotrace.exp: Likewise.
3025 * gdb.trace/limits.exp: Likewise.
3026 * gdb.trace/packetlen.exp: Likewise.
3027 * gdb.trace/passc-dyn.exp: Likewise.
3028 * gdb.trace/passcount.exp: Likewise.
3029 * gdb.trace/report.exp: Likewise.
3030 * gdb.trace/save-trace.exp: Likewise.
3031 * gdb.trace/tfind.exp: Likewise.
3032 * gdb.trace/tracecmd.exp: Likewise.
3033 * gdb.trace/while-dyn.exp: Likewise.
3034 * gdb.trace/while-stepping.exp: Likewise.
3035
30361998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
3037
3038 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
3039
3040Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
3041
3042 From Brendan Kehoe:
3043 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
3044 int return types.
3045
3046Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
3047
3048 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
3049 remote dos host testing right.
3050
3051Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
3052
3053 * gdb.base/corefile.exp: remove some xfails.
3054
3055Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
3056
3057 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
3058 have different timestamps.
3059
3060Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
3061
3062 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
3063 gdb.base/default.exp: Replace "exec" with "executable".
3064
3065Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
3066
3067 * gdb.base/default.exp: Change else if to elseif from previous
3068 delta.
3069
3070Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
3071
3072 * gdb.base/default.exp: Add brace missing from previous delta.
3073
3074Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
3075
3076 * gdb.base/default.exp: Support test for info float for all
3077 varieties of arm toolchain.
3078
dc96c6c7 3079Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3080
3081 * gdb.trace/*.exp: remove "remote_download" command.
3082
dc96c6c7 3083Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3084
3085 * gdb.trace/*.exp: remove -gdwarf from compile.
3086
3087Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
3088
3089 * gdb.trace/configure.in(AC_INIT): typo
3090 * gdb.trace/configure: regenerated
3091
dc96c6c7 3092Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3093
3094 * config/m68k-emc.exp: New file.
3095 * lib/<emc-support.exp trace-support.exp}: New files.
3096 * configure.in: add new test directory gdb.trace.
3097 * gdb.trace/{configure configure.in Makefile.in}: New files.
3098 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
3099 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
3100 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
3101 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
3102 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
3103 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
3104 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 3105
dc96c6c7 3106Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3107
3108 * gdb.c++/classes.exp: Change all regular expressions to match
3109 arbitrary combinations of newline/carriage-return, so that they
3110 will work equally well on Unix and Windows.
3111 * gdb.c++/inherit.exp: ditto.
3112 * gdb.c++/virtfunc.exp: ditto.
3113
31141998-08-11 Dawn Perchik <dawn@cygnus.com>
3115
3116 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
3117
c2d11a7d
JM
3118Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
3119
3120 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
3121 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
3122 to use a0-a3/d0-d3 as needed.
3123
3124Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
3125
3126 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
3127 * gdb.disasm/am33.exp: Corresponding changes.
3128
c906108c
SS
31291998-07-11 Felix Lee <flee@cygnus.com>
3130
3131 * gdb.base/callfuncs.exp: add cmp10 test.
3132 * gdb.base/callfuncs.c (cmp10): new function.
3133
3134Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
3135
beb998c6 3136 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
3137 into two parts to get around a synchronization problem in expect.
3138
3fc11d3e
JM
3139Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
3140
3141 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
3142
3143 * configure.in: Add options for gdbtk testsuite.
3144
3145 * configure: Regenerate.
3146
3147 * gdb.gdbtk: New directory to hold gdbtk tests.
3148
c906108c
SS
3149Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3150
3151 * gdb.fortran/types.exp: Escape brackets in expect patterns
3152 for test_float_literal_types_accepted tests.
3153 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
3154 before run test.
3155
c2d11a7d
JM
3156Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
3157
3158 * am33.exp: Just compile, do not link the testcase.
3159 * am33.s: Add ".am33" pseudoop to force am33 mode.
3160
c906108c
SS
31611998-06-25 Felix Lee <flee@cygnus.com>
3162
3163 * gdb.base/setshow.exp: make sure $pc is sane.
3164
3165 * gdb.stabs/weird.exp: split expect patterns properly.
3166
c2d11a7d
JM
3167Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
3168
3169 * gdb.disasm/am33.s: New disassembler testfile for the am33.
3170 * gdb.disasm/am33.exp: Run it.
3171
dc96c6c7 3172Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3173
3174 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
3175 match processing (and eliminate spurious timeouts when running).
3176
dc96c6c7 3177Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3178
3179 * gdb.base/signals.exp (test_handle_all_print): put back Mach
3180 exception test, but conditionalize it on target [mach | gnu].
3181
dc96c6c7 3182Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3183
3184 * gdb.base/overlays.exp: fixup compile line for linker script.
3185
3186Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
3187
3188 * gdb.fortran/types.exp: don't guess at float size.
3189
3190Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
3191
3192 * gdb.base/exprs.exp: delete test that depends on int size.
3193
3194Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
3195
3196 * config/sim.exp: Removed checks for target triplets.
3197 (gdb_target_sim): Use gdb,target_sim_options.
3198
3199Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
3200
3201 * gdb.base/reread.exp: New file.
3202 * gdb.base/reread1.c: New file.
3203 * gdb.base/reread2.c: New file.
3204
3205Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
3206
3207 * config/sim.exp: Use 'target sim -sparclite' when running
3208 SPARClite programs.
3209
3210Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
3211
3212 * gdb.base/structs2.exp: New file.
3213 * gdb.base/structs2.c: New file.
3214
3215Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
3216
3217 * gdb.asm/common.inc: New file.
3218 * gdb.asm/d10v.inc: New file.
3219 * asm-source.exp: Pass -I's to gas to find .inc files.
3220 Update line numbers in expected output.
3221 * asmsrc1.s: Rewrite.
3222 * asmsrc2.s: Rewrite.
3223 * configure.in: Create arch.inc symlink.
3224 * configure: Regenerate.
3225 * Makefile.in (distclean): Delete arch.inc.
3226
3227Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
3228
3229 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
3230 (t_enum_value2): ditto
3231 (t_enum_value3): ditto
3232 (main): ditto
3233Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3234
3235 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
3236 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
3237 change.
3238 Use gdb_test instead of send_gdb/gdb_expect sequences.
3239
3240Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
3241
3242 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
3243 not void.
3244
3245Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
3246
3247 * gdb.base/branches.c: Code with lots of loops and
3248 subroutines. Used to test gdbs ability to single step through PC
3249 changes, especially to test mips-tdep.c:mips_next_pc
3250
3251Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
3252
3253 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
3254 more rigorous EGCS C++ error checking.
3255
3256Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3257
3258 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 3259 tests.
c906108c 3260 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 3261 function when asleep.
c906108c 3262 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
3263 for i*86 Linux and SVR4 signal handling problems.
3264 Remove linux xfail for `next to handler in signals_tests_1', fixed
3265 by recent infrun.c change.
c906108c 3266 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 3267 stack backtraces.
c906108c
SS
3268 Adjust expect pattern in `handle all print' test to match Apr 28 1997
3269 target.[ch] change.
3270
3271Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
3272
3273 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
3274 for a newline from gdb before continuing.
3275 (default_gdb_exit): Just look for y or n.
3276 (gdb_test): Detect abnormal exit from GDB running on DOS; if
3277 it does, fail the rests of the tests in the file.
3278
3279Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
3280
3281 * config/cygmon.exp: New file.
3282
3283Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
3284
3285 * gdb.base/list.exp: Fix problem with "list default lines around
3286 main" test on remote targets.
3287
3288 * gdb.base/scope.exp: Fix problem with filelocal_bss before
3289 run test on remote targets.
3290
3291Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
3292
3293 * gdb.asm: New directory.
3294 * configure.in: Configure it.
3295 * configure: Regenerate.
3296 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
3297 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
3298
3299Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
3300
3301 * config/mn10300-eval.exp: New file to support MN10300 eval board.
3302
dc96c6c7 3303Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3304
c906108c
SS
3305 * gdb.base/overlays (several files): Merge the two overlay
3306 managers into one. Change variables (foox, barx, bazx, grbxx)
3307 back into ints but force them to load in their proper sections.
3308
3309Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
3310
3311 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
3312 on-chip insn memory and IMAP1 to upper 128k.
3313 (D10VCopy): Handle memory regions crossing 16k boundaries.
3314 (D10VCopy): Transfer data in 32 bit chunks.
3315
3316Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
3317
3318 * gdb.base/overlays.c (main): Exit normally when result is
3319 correct.
3320
3321 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
3322 map. Include space for printf in .text segment.
3323
3324 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
3325 updated d10v memory VMA/LMA map.
3326 (D10VCopy): Call D10VTranslate.
beb998c6 3327
c906108c
SS
3328Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
3329
3330 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
3331
3332 * gdb.base/bar.c (barx, bar): Change variable to small array so
3333 that it won't be put into the .sdata - small data -
3334 section. Update reference.
3335 * gdb.base/baz.c (bazx, baz): Ditto.
3336 * gdb.base/foo.c (foox, foo): Ditto.
3337 * gdb.base/grbx.c (grbxx, grbx): Ditto.
3338
3339 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
3340 to be arrays.
beb998c6 3341
dc96c6c7 3342Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 3343
c906108c
SS
3344 * gdb.base/overlays.exp: fix up and get working again.
3345 Add tests for backtraces from an overlay function.
beb998c6 3346
c906108c
SS
3347Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
3348
3349 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
3350 "calling function with watchpoint enabled".
3351
3352Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
3353
3354 * gdb.base/break.exp (test_next_with_recursion): Remove
3355 gdb_suppress_tests for d10v-*-*.
3356 * lib/gdb.exp (gdb_suppress_tests): Disable this function
3357 pending review of whether it is useful or not.
3358
3359Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
3360
3361 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
3362
3363Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
3364
3365 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
3366 * config/dve.exp: New file to support Densan boards.
3367
3368Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
3369
3370 * gdb.base/interrupt.exp: Document problem of simulators, signals,
3371 reads and BSD.
3372
3373Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
3374
3375 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
3376 response.
3377
3378 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
3379
3380Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
3381
3382 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
3383 test.
3384
3385 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
3386 target_sizeof_long and target_bigendian_p.
3387 (structs_by_value, structs_by_reference): Check values according
3388 to targets word size and endianess.
beb998c6 3389
c906108c
SS
3390Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
3391
3392 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
3393 output.
3394
3395Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
3396
3397 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
3398 Update test of set args help to match source change.
3399
3400Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
3401
3402 * gdb.base/default.exp: Expect help system output to be in
3403 alphabetical order.
3404 * gdb.base/help.exp: Ditto.
3405
3406Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
3407
3408 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
3409 "i*86-pc-linux-gnu*".
3410 * gdb.base/interrupt.exp: Ditto.
3411 * gdb.base/corefile.exp: Ditto.
3412
3413 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
3414 define vxworks when building the testcase.
3415
3416 * gdb.base/ptype.exp: Fix testnames to be unique.
3417 * gdb.base/radix.exp: Ditto.
3418 * gdb.base/term.exp: Ditto.
3419 * gdb.base/whatis.exp: Ditto.
3420 * gdb.c++/classes.exp: Ditto.
3421
3422Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
3423
3424 * gdb.base/callfuncs.exp: Fix indentation.
3425
3426 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
3427 suppress_flag has been set.
3428 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
3429 target feature.
3430
3431Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
3432
3433 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
3434 the testcase.
3435
3436 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
3437 set_debug_traps() and breakpoint().
3438 * gdb.c++/misc.cc (main): Ditto.
3439 * gdb.c++/templates.cc (main): Ditto.
3440 * gdb.c++/virtfunc.cc (main): Ditto.
3441
3442Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
3443
3444 * lib/gdb.exp(gdb_step_for_stub): New function.
3445 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
3446 exists, reload the executable and do a "continue" instead of
3447 doing a jump.
3448 (runto_main): Use gdb_step_for_stub.
beb998c6 3449
c906108c
SS
3450 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
3451 tests to have unique names.
3452 * gdb.base/callfuncs.exp: Ditto.
3453 * gdb.base/commands.exp: Ditto.
3454 * gdb.base/default.exp: Ditto.
3455 * gdb.base/help.exp: Ditto.
3456 * gdb.base/list.exp: Ditto.
3457 * gdb.base/opaque.exp: Ditto.
3458 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
3459 similar tests.
beb998c6 3460
c906108c
SS
3461 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
3462 * gdb.c++/cplusfuncs.cc: Ditto.
3463 * gdb.c++/virtfunc.cc: Ditto.
3464
3465 * config/monitor.exp: Keep track of the last file we saw, rather
3466 than trying to get the info from gdb.
3467
3468 * gdb.fortran/types.exp: Move comment to previous line.
3469
3470Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
3471
3472 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
3473 target mode.
3474
3475Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
3476
3477 From Bob Manson:
3478 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
3479 string from GDB when it connects.
3480
3481 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
3482
3483Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
3484
3485 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
3486 if we can't get a debug format from GDB (we may be testing an
3487 older GDB). Use a 10 second timeout when checking for the format.
3488
3489 * gdb.stabs/weird.exp: Fix quoting.
3490
3491 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
3492
3493Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
3494
3495 * config/arm-ice.exp: New file.
3496
3497Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
3498
3499 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
3500 until it has been modified to work with the new testsuite.
3501
99707966 3502 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
3503 testcase won't compile, cause all of the testcases in the file to
3504 fail instead.
3505
3506 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
3507 (gdb_clear_suppressed): New procedure.
3508 (gdb_stop_suppressing_tests): Only clear suppress_flag if
3509 it contains a positive value.
3510
3511Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
3512
3513 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
3514
3515 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
3516
3517Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
3518
3519 * lib/gdb.exp (setup_xfail_format): New function.
3520 (get_debug_format): New function to get debug format.
3521 (debug_format): New global variable to hold last value set
3522 by get_debug_format.
3523 * gdb.base/list.exp: Call get_debug_format and expect some
3524 tests to fail for DWARF 1 and COFF formats.
3525 * gdb.c++/ptype.exp: Ditto.
3526 * gdb.c++/classes.exp: Ditto.
3527 * gdb.c++/cplusfuncs.exp: Ditto.
3528 * gdb.c++/inherit.exp: Ditto.
3529 * gdb.c++/templates.exp: Ditto.
3530 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 3531
c906108c
SS
3532Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
3533
3534 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
3535 host doesn't have a currently-open connection.
3536
3537 * config/sparclet.exp: Cleanups and fixes to make it generic for
3538 any gdb stub target. Handle cases where gdb doesn't respond when
3539 interrupted in a sane fashion.
3540
3541 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
3542 same thing in a totally different way.
3543
3544 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
3545 setting "timeout".
3546 (gdb_start): We set the global gdb_prompt variable in
3547 default_gdb_init now.
3548
3549Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
3550
3551 * gdb.base/printcmds.exp: Fix "check for floating addition"
3552 regexp to accept results within approx +/- .01 of exact value.
3553 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
3554
3555Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
3556
3557 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
3558 properly.
3559 (gdb_expect): Add optional timeout parameter, and add timeout
3560 value to various calls.
3561 (gdb_suppress_tests): Only give one warning message per group.
3562
3563Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
3564
3565 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
3566 global variables. Handle getting a value for $timeout more
3567 gracefully.
3568
3569Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
3570
3571 * lib/gdb.exp: Close connection to remote host if gdb doesn't
3572 initialize.
3573 (default_gdb_init): New procedure; allow gdb_init to be overridden
3574 by a target configuration file.
3575 (gdb_expect): Pass the timeout to remote_expect.
3576
3577 * config/monitor.exp(gdb_load): Fix typo in regexp.
3578
3579Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
3580
3581 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
3582
3583Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
3584
3585 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
3586 here. Call gdb_target_exec before rebooting the target, to make
3587 sure the connection to the target is closed.
3588 (gdb_load): Pass the name of the executable to gdb_target_monitor.
3589 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
3590 Also detect "Timeout reading from remote" error.
3591
3592 * config/gdbserver.exp: Pass the executable being loaded to
3593 gdb_target_monitor. Don't call gdb_file_cmd here; let
3594 gdb_target_monitor do it.
3595
3596 * gdb.disasm/hppa.exp: Don't use exec_output.
3597
3598Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
3599
3600 * gdb.base/list.exp: If we're debugging a non-native target,
3601 try to set the pc register to point to the start of the
3602 program before doing the first list command.
3603
3604 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
3605 test_calls after restarting.
3606
3607 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
3608 reloading.
3609
3610 * gdb.base/watchpoint.exp: Fix typo.
3611
3612 * gdb.base/setshow.exp: Check for use_gdb_stub.
3613
3614 * gdb.base/break.exp: Fix continue until exit test for the gdb
3615 stub case.
3616 * gdb.base/langs.exp: Ditto.
3617
3618 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
3619 gdb_load_offset. If we weren't given a file to load, figure out
3620 what the current file is and use it.
3621
3622 * config/i386-bozo.exp: New file.
3623
3624Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
3625
3626 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
3627 feature.
3628
3629 * config/proelf.exp: New entry.
3630
3631Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
3632
3633 * lib/gdb.exp: Remove spurious .* patterns at the beginning
3634 of regexps.
3635
3636 * gdb.base/watchpoint.exp: Don't run the test_stepping
3637 tests if gdb can't call functions on the target.
3638
3639 * gdb.base/setshow.exp: Don't run the set prompt tests if
3640 the board has gdb_prompt set.
3641
3642Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
3643
3644 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
3645 * gdb.base/commands.exp: Likewise.
3646 * gdb.base/setshow.exp: Likewise.
3647
3648Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
3649
3650 * config/monitor.exp(gdb_start): Look for gdb_prompt target
3651 feature.
3652
3653 * config/i960.exp: New file.
3654
3655Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
3656
3657 * gdb.base/funcargs.exp: Check for gdb,short_int target
3658 feature instead of looking for explicit target triplets.
3659
dc96c6c7 3660Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 3661
beb998c6 3662 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
3663 "p 123DEADBEEF", to check parse_number.
3664 * top.c: change "to enable to enable" to "to enable" in a couple
3665 of help strings.
3666
3667Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
3668
3669 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
3670 on the mn10300.
beb998c6 3671
c906108c
SS
3672Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
3673
3674 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
3675 where the test executable is run with explicit args.
3676 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
3677
3678Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
3679
3680 * gdb.base/run.c: Use FAKEARGV to build test executable that
3681 does not require a command line arg, since most simulators
3682 don't currently support passing such an arg into the simulated
3683 program.
3684 * gdb.base/commands.exp: Change tests to insert the proper
3685 value as the arg to the first recursive factorial call. Change
3686 compilation line to define FAKEARGV at compile time.
3687
3688Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
3689
3690 * gdb.base/recurse.exp: Enable these tests for the mn10300.
3691 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
3692 function with watchpoint enabled" test.
3693
3694Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
3695
3696 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
3697 Don't call gdb_test when the command doesn't return to a gdb prompt.
3698
3699 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
3700 "Tests restarted" messages.
3701
3702Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
3703
3704 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
3705
dc96c6c7 3706Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
3707
3708 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
3709 for INFO SYMBOL; add help tests for OVERLAY commands.
3710 * gdb.base/default.exp: add tests for INFO SYMBOL command;
3711 add tests for OVERLAY commands
3712 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
3713 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
3714 * gdb.base/sigall.c: add usestubs code frag
3715 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 3716
c906108c
SS
3717Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
3718
3719 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
3720 failures.
3721 (gdb_stop_suppressing_tests): Note that tests have restarted.
3722
3723Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
3724
3725 * config/h8300.exp: New file.
3726
3727Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
3728
3729 * gdb.base/setshow.exp: Check for the existence of a
3730 feature, not its value.
3731
3732Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
3733
3734 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
3735
3736 * gdb.base/scope.exp: It's now init0(), not init().
3737
3738 * gdb.base/scope0.c: For now, change init() to be init0().
3739
3740 * config/monitor.exp: Use gdb_serial in preference to serial
3741 or netport.
3742
3743 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
3744 and it's not already set.
3745
3746Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
3747
3748 * gdb.base/setshow.exp: Only test the run command if the target
3749 isn't using a stub and if it supports argument passing.
3750
3751Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
3752
3753 * config/udi.exp(gdb_start): Make sure UDICONF is set
3754 properly before starting gdb.
3755
3756Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
3757
3758 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
3759 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
3760 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
3761
3762Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
3763
3764 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
3765 specialized code to reboot the board, use remote_reboot instead.
3766
3767 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
3768
3769 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
3770
3771 * config/monitor.exp: Make sure we disconnect from the target.
3772 Also, try a reboot/reload cycle instead of failing if the
3773 load fails.
3774
3775Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
3776
3777 * gdb.base/default.exp: Don't set match_max.
3778 * gdb.base/help.exp: Ditto.
3779 * gdb.base/list.exp: Ditto.
3780 * gdb.base/signals.exp: Ditto.
3781
3782 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
3783 set, use remote_ld to download the testcase instead of
3784 the GDB loader.
3785
3786Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
3787
3788 * config/vr5000.exp: New file.
3789
3790 * config/monitor.exp(gdb_target_monitor): Add pattern for
3791 "Ending remote" to detect errors in connecting.
3792
3793 * gdb.base/setshow.exp: Add .* within auto language test.
3794
3795 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
3796 target feature.
3797
3798 * config/monitor.exp(gdb_load): Check for a failure when loading,
3799 and reboot the board if necessary.
3800
3801 * gdb.base/setvar.exp(test_set): Handle multiple prints within
3802 a set of tests. Remove print.* from the patterns being checked.
3803
3804Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
3805
3806 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
3807 refer to gdb_spawn_id.
3808
3809 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
3810 longer used.
3811 * config/sparclet.exp: Ditto.
3812 * config/sparclet-old.exp: Ditto.
3813 * config/slite.exp: Ditto.
3814 * config/sim.exp: Ditto.
3815 * gdb.base/funcargs.exp: Ditto.
3816
3817 * lib/gdb.exp:Remove references to gdb_spawn_id.
3818 (gdb_expect): Move to remote.exp.
3819
3820Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
3821
3822 * config/monitor.exp: Detect the "Couldn't establish connection"
3823 message from GDB.
3824
3825Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
3826
3827 * gdb.base/bitfields.exp: Use runto instead of explicit
3828 gdb_run_cmd/gdb_expect sequences.
3829
3830 * gdb.base/break.exp(text_next_with_recursion): Add match for
3831 gdb_expect call.
3832
3833 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
3834 We also need to handle the "A program is being debugged already"
3835 prompt from gdb. Use gdb_test to set the baud rate.
3836
3837 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
3838 to 20000. Really. I mean it.
3839
3840Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
3841
3842 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
3843 fails. If suppress_flag is set, skip perror message about not
3844 being able to send to GDB.
3845 (send_gdb): If suppress_flag is set, don't try to send commands to
3846 GDB.
3847 (gdb_expect): If suppress_flag is set, always fail immediately.
3848 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
3849 (gdb_init): Call gdb_stop_suppressing_tests.
3850 (default_gdb_exit): Ditto.
3851 (default_gdb_start): Ditto.
3852
3853 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
3854 gdb_stop_suppressing_tests as appropriate.
3855 * gdb.base/break.exp: Ditto.
3856 * gdb.base/callfuncs.exp: Ditto.
3857 * gdb.base/commands.exp: Ditto.
3858 * gdb.base/exprs.exp: Ditto.
3859 * gdb.base/funcargs.exp: Ditto.
3860 * gdb.base/list.exp: Ditto.
3861 * gdb.base/recurse.exp: Ditto.
3862 * gdb.base/scope.exp: Ditto.
3863 * gdb.base/structs.exp: Ditto.
3864 * gdb.c++/inherit.exp: Ditto.
3865
3866Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
3867
3868 * config/vr4300.exp: New file.
3869
99707966
MC
3870 * gdb.*/*.exp: Call gdb_expect instead of expect.
3871
3872 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
3873
3874Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
3875
3876 * lib/gdb.exp(gdb_init): New function.
3877
3878 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
3879 for each individual variable set.
3880
3881 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
3882 name.
3883
3884 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
3885
3886 * gdb.base/scope.exp: Use gdb_test.
3887
3888 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
3889 aborting; the testsuite driver will do that for us (see
3890 gdb_finish). Also, use gdb_test in a few more places.
3891
3892Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
3893
3894 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
3895
3896Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
3897
3898 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
3899 and "add_tests" are not at the same address.
3900
3901Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
3902
3903 * gdb.base/ptype.exp: Use gdb_test.
3904
3905Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
3906
3907 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
3908 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
3909 left in. No longer expect them to fail.
3910
3911 * gdb.stabs/*.mt; Deleted, no longer used.
3912 * gdb.stabs/configure.in: Remove references to target makefile
3913 frags.
3914 * gdb.stabs/configure: Rebuilt.
3915
3916 * gdb.disasm/*.mt: Deleted, no longer used.
3917 * gdb.disasm/configure.in: Remove references to target makefile
3918 frags. Use "sh3.s" as the unique filename for this directory.
3919 * gdb.disasm/configure: Rebuilt.
3920
3921 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
3922 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
3923 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
3924
3925Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
3926
3927 * config/udi.exp: Use mondfe,name instead of remote_host.
3928
3929Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
3930
3931 * gdb.base/watchpoint.exp: Don't expect a failure when calling
3932 a function with a watchpoint enabled on the mn10200.
3933
3934 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
3935 before trying to create it!
3936
3937Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
3938
3939 * config/vx.exp: Use hostname instead of netport.
3940
3941 * config/vxworks.exp: New file.
3942
3943 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
3944
3945 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
3946 gdb before assuming everything worked. Send a ^C if a timeout
3947 occurs.
3948
3949 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
3950 $gdb_spawn_id directly.
3951 (gdb_run_cmd): Try _start as well as start. Use the target feature
3952 gdb,start_symbol as the symbol to start from when jumping.
3953
3954Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
3955
3956 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
3957 redundant) test.
3958
3959 * gdb.base/recurse.exp: Relax final value test for 'b' so that
3960 it doesn't lose for 16bit integer systems.
3961
3962Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
3963
3964 * gdb.fortran/types.exp: If the target doesn't support "double"
3965 data types, then expect "real" types to only be 4 bytes.
3966
3967 * gdb.c++/virtfunc.exp: Expect failure for virtual function
3968 call tests if the target doesn't support inferior function calls.
3969
3970 * gdb.base/printcmds.exp: Allow minor deviation in FP values
3971 in printf tests.
3972
3973Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
3974
3975 * gdb.base/help.exp: Disable "help set", "help show", and
3976 "help support". Simplify regexp for "help stack".
3977
3978 * gdb.base/default.exp: Set match_max to 5000 and the timeout
3979 to 60 seconds. Temporarily set match_max to 15000 around the
3980 "info copying" test.
3981
3982 * gdb.base/nodebug.exp: Don't try to do an inferior function
3983 call if the target doesn't support them.
3984 * gdb.base/printcmds.exp: Likewise.
3985 * gdb.base/setvar.exp: Likewise.
3986 * gdb.base/structs.exp: Likewise.
3987 * gdb.c++/templates.exp: Likewise.
3988 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
3989
3990 * gdb.base/recurse.exp: Enable for the mn10200.
3991
3992 * configure.in: Do configure gdb.stabs directory for *-*-elf
3993 targets.
3994 * configure: Rebuilt.
3995
3996 * gdb.base/break.exp: Check for gdb,noresults before testing
3997 exit status and/or results from the target.
3998 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
3999 * lib/gdb.exp: Remove old (now bogus) initialization of
4000 noinferior, noargs, noresults and nosignals.
4001
4002Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
4003
4004 * config/sh.exp: New file.
4005
4006 * config/slite.exp: Try to connect multiple times to the board
4007 before rebooting. Only send a "monitor run" if need_monitor_run
4008 is set.
4009
4010 * gdb.base/break.exp: Don't do the "stub continue" test if
4011 the target has gdb_stub set.
4012
4013 * gdb.base/callfuncs.exp: Increase the timeout.
4014
4015 * gdb.base/interrupt.exp: Don't even try to compile the testcase
4016 if the target has gdb,noinferiorio set.
4017
4018 * gdb.base/list.exp: Increase match_max to 10000 characters.
4019
4020 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
4021
4022 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
4023 target.
4024
4025 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
4026
4027Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
4028
4029 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
4030 trying to delete the copy of gdb. Catch the file delete so we
4031 don't die if the delete fails; also, the file should be copied to
4032 the host, not to the build.
4033
4034Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
4035
4036 * lib/gdb.exp(gdb_test): Surround the result pattern with
4037 parenthesis in case it contains multiple regexps separated
4038 with |.
4039
4040 * gdb.base/watchpoint.exp: Use gdb_test.
4041 * gdb.base/default.exp: Ditto.
4042
4043Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
4044
99707966 4045 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 4046
c906108c
SS
4047 * gdb.base/scope.exp: Use gdb_test.
4048 * gdb.c++/classes.exp: Ditto.
4049 * gdb.c++/inherit.exp: Ditto.
4050
4051Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
4052
4053 * gdb.base/crossload.exp: Don't use execute_anywhere, use
4054 remote_exec instead.
4055 * gdb.base/corefile.exp: Don't be ridiculous.
4056 * gdb.base/*.c: Add missing stub invocations.
4057
4058Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
4059
4060 * config/slite.exp: Miscellaneous fixes.
4061
4062 * lib/gdb.exp: Fix runto.
4063
4064 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
4065 the target.
4066
4067 * gdb.base/watchpoint.exp: Fix regexp.
4068
4069 * lib/gdb.exp(default_gdb_exit): Add a catch to the
4070 close and wait commands, as the descriptor may now be
4071 invalid. Always call "remote_close host".
4072
4073Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
4074
4075 Major rewrite for testsuite revision.
beb998c6 4076
c906108c
SS
4077 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
4078 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
4079 instead of relying on spawn_id to always contain a valid
4080 spawn id.
4081 (get_compiler_info): New procedure to build the ${binfile}.ci
4082 file, instead of replicating this in N different places.
4083 (gdb_compile): New procedure.
beb998c6 4084
c906108c
SS
4085 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
4086 appropriate arguments) instead of compile. Use gdb_test in a lot
4087 more places. Use send_gdb instead of send. Always run gdb_start
4088 at the start of a testcase, as this is no longer done magically.
4089
4090 config/*-gdb.exp: Rename without the -gdb suffix.
4091
4092 config/mips.exp: Use remote_close instead of exit_remote_shell.
4093 config/monitor.exp: Use target_info instead of looking at
4094 baud, timeout, etc.
4095 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
4096
4097Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4098
4099 * gdb.c++/templates.exp (test_ptype_of_templates),
4100 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
4101 Update expect patterns for destructors and assignment operators
4102 to match corresponding c-typeprint.c changes.
4103 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
4104 to destructor breakpoint test, GDB should be able to set the
4105 destructor breakpoint without specifying arguments.
4106
4107Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
4108
4109 * gdb.threads/pthreads.exp: Change result for failure to compile due
4110 to lack of pthreads runtime support from an error to simply an
4111 unsupported test, per dejagnu standards.
4112
4113Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4114
4115 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
4116 where GDB exits to reduce pattern match time.
4117 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
4118
4119 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
4120
dc96c6c7 4121Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4122
4123 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
4124 * gdb.base/default.exp: ditto.
4125 * gdb.base/nodebug.exp: ditto.
4126 * gdb.base/printcmds.exp: ditto.
4127 * gdb.base/ptype.exp: ditto.
4128 * gdb.base/setvar.exp: ditto.
4129 * gdb.base/structs.exp: ditto.
4130 * gdb.base/setshow.c: Guard against uninitialized values of argc.
4131
4132Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
4133
4134 * configure, */configure: Rebuild with autoconf 2.12.
4135
4136Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
4137
4138 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
4139 use new i*86-pc-linux*-gnu quads.
4140 * gdb.base/corefile.exp: Ditto.
4141 * gdb.base/signals.exp: Ditto.
4142 * gdb.base/sigall.exp: Ditto.
4143 * gdb.base/interrupt.exp: Ditto.
4144
4145 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
4146 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
4147 RedHat 4.0.
beb998c6 4148
c906108c
SS
4149 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
4150 linux. This allows the test case to at least compile on latest
4151 linux, but still not run due to missing the threads runtime library.
4152
4153Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4154
4155 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
4156 directory to search gdb directory. Accept and step over conditional
4157 stack alignment code. Consume $prompt in failure cases.
4158 Reset timeout to $oldtimeout instead of some arbitrary value.
4159 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
4160 timeout problems with infinite stack backtraces.
4161 * gdb.base/ptype.exp (ptype struct link, union tu_link):
4162 Accept function parameters for linkfunc member.
4163
4164Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
4165
4166 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
4167 (CXXFLAGS): Remove, unreferenced.
4168 (B_OPTIONS): Add for -B options and add code to initialize with
4169 previous -B options and also add -B option to pick up cross compiled
4170 runtime.
4171 (TARGET_INCLUDES): Add for -I options and add code to initialize when
4172 doing cross compiles.
4173 (target_alias): Declare global.
4174 (xgcc): Set variable to full path of gcc in build tree. Use findfile
4175 to verify that gcc exists in build tree, and if so set CC to that
4176 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 4177
c906108c
SS
4178Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
4179
4180 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
4181 ptype test for anonymous union. Fixup testcase to match
4182 current gcc debug output.
4183
4184Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
4185
4186 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
4187 force argument to an unsigned long type.
4188
4189Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
4190
4191 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
4192 tests and anonymous union print/ptype tests.
4193 * gdb.base/list.exp (test_forward-search): Increase timeout by
4194 5 minutes for the "search extremely long line" case.
4195 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
4196 completely optional and that the pass/fail messages use the command as
4197 the message if that third arg is a null string.
4198 (gdb_test_exact): Arrange that a null string pattern means match a
4199 null string output rather than any output, which might include random
4200 errors.
4201 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
4202 backtrace test.
4203 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
4204 always failing and failure is now exposed by gdb.exp changes.
4205
4206Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
4207
4208 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
4209 weren't being noted.
4210
4211Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4212
4213 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
4214 * gdb.stabs/weird.exp: Remove v_comb xfails.
4215
dc96c6c7 4216Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4217
4218 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
4219 list.exp scope.exp watchpoint.exp]
4220 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 4221
dc96c6c7 4222Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4223
4224 * config/monitor.exp: Increase download timeout to 1000 seconds.
4225
dc96c6c7 4226Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4227
4228 * config/m32r.exp: Increase timeout to 120 seconds.
4229
4230Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
4231
4232 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
4233 and accept older ordering as obsolescent gcc or gdb.
4234 * gdb.c++/templates.exp: Ditto.
4235 * gdb.c++/virtfunc.exp: Ditto.
4236
4237Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
4238
4239 * gdb.base/coremaker.c: Add code to mmap some data so we
4240 can check that it ends up in the core file.
4241 * gdb.base/corefile.exp: Add test to read mmapped data
4242 from core file.
4243
dc96c6c7 4244Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4245
4246 * config/m32r.exp: New file.
4247
4248Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
4249
4250 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
4251 that cflags can contains -gstabs, and work correctly for other tests.
4252
dc96c6c7 4253Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4254
4255 * gdb.base/setshow.exp: New file, tests show and set.
4256 * gdb.base/setshow.c: New file, tests show and set.
4257 * gdb.base/help.exp: Add test for help set|show annotate.
4258 * gdb.base/default.exp: Add test for set|show annotate.
4259
4260Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
4261
4262 * testsuite/gdb.base/break.exp: Make backtrace from factorial
4263 errors unique.
4264 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
4265 explicitly.
4266
4267Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
4268
4269 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
4270 and width commands. This is done elsewhere.
4271 * (gdb_start): Don't call gdb_start_sim here. That's already
4272 done in gdb_load. This fixes lots of failures in default.exp.
4273
4274Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
4275
4276 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
4277 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
4278 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
4279 in the same we we treat other failures (since it may be an expected
4280 condition), rather than as an error.
4281 * gdb.base/signals.exp (test_handle_all_print): Revert back to
4282 old test format.
4283
4284Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
4285
4286 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
4287 (distclean maintainer-clean realclean): No need to remove files
4288 twice. Nuke the duplicates.
4289 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 4290 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
4291 Remove config.h along with other config files.
4292
4293Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
4294
4295 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
4296 "p func1 ()" and note that rests of tests are skipped.
4297 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
4298 setup_xfails for "print func2::coremaker_local".
4299 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
4300 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
4301 affected by the previous run test.
4302 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
4303 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
4304 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
4305 "pass int powerset tuple" and "pass modeless int powerset tuple".
4306 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
4307 "real write 4" and "real write 8".
4308 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
4309 setup_xfails for "print vs1 after tuple assign 2",
4310 "print \$i after tuple assign 2", and
4311 "print vs2 after tuple assign 2".
4312 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
4313 meaningful error message and return -1 so the caller can
4314 suppress further tests and avoid a cascade of errors.
beb998c6 4315
c906108c
SS
4316Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
4317
4318 * gdb.base/a1-selftest.exp: Tweak tests to account for new
4319 format for printing version.
4320 * gdb.base/default.exp: Ditto.
4321 * gdb.base/interrupt.exp: Fix problem with cascade of
4322 errors if child process dies while calling a function.
beb998c6 4323
c906108c
SS
4324Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
4325
4326 * Makefile.in (VPATH): Add
4327 * Makefile.in (Makefile, config.status): Fix rules so things get
4328 remade when necessary.
4329
4330Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
4331
4332 * Makefile.in (just-check): Add path to sibling expect dir
4333 to environment variable specified by RPATH_ENVVAR.
4334
4335Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
4336
4337 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
4338 (just-check): Add shared library paths for libstdc++, tk,
4339 tcl, bfd, and opcodes to the environment variable specified
4340 in RPATH_ENVVAR.
4341 * configure.in: Add support to recognize --enable-shared flag
4342 and generate correct value for RPATH_ENVVAR.
4343 * configure: Regenerated with autoconf.
4344
4345Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
4346
4347 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
4348 include all osf versions.
4349 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
4350 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
4351 when target is linux. When failing to build pthreads test
4352 executable, give more meaningful message.
4353 * gdb.threads/pthreads.c: Hpux also uses old definition of second
4354 arg for pthread_create.
beb998c6 4355
c906108c
SS
4356Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
4357
4358 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
4359 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
4360 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
4361 and -lpthreads (everybody else).
4362 (test_startup): Fail gracefully if threads are not supported.
4363 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
4364 "p/c array_index("abcdef",2)" when not gcc compiled.
4365 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
4366 "print func2::coremaker_local" when not gcc compiled.
4367 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
4368 "ptype on opaque struct tagname (statically)",
4369 "ptype on opaque struct tagname (dynamically) 1", and
4370 "ptype on opaque struct tagname (dynamically) 2"
4371 for not compiled with gcc.
4372 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
4373 backtrace when compiled with gcc.
beb998c6 4374 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
4375 than always return success.
4376
4377Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
4378
4379 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
4380
4381Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
4382
4383 * gdb.base/structs.exp: Undo last change.
4384
4385Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
4386
4387 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
4388 encapsulate all the steps/nexts done during self test, starting
4389 at main, and makes them less sensitive to optimization issues.
4390 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
4391 signal handler" test.
4392 * gdb.threads/pthreads.exp: Only run this for native configs.
4393 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
4394 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
4395 tests.
4396 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
4397 for "runto test_calls(void)" test.
beb998c6 4398
c906108c
SS
4399Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
4400
4401 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
4402 and don't expect address info in breakpoint confirmations.
4403
4404Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
4405
4406 * gdb.base/list.exp (test_forward_search): Increase timeout
4407 temporarily by 60 seconds for searching extremely long line,
4408 and then reset to old value when done. Increase expect input
4409 buffer to 10000.
4410
4411Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
4412
4413 * gdb.base/list.exp (test_forward_search): Fix to handle very
4414 long source line without overflowing expect's input buffer.
4415
4416Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
4417
4418 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
4419 "buffer_full".
4420
4421 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
4422 "buffer_full".
4423
4424 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
4425 "buffer_full".
4426
4427 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
4428 "buffer_full".
4429
4430Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
4431
4432 * configure.in (configdirs): Add gdb.threads.
4433 * configure: Regenerated with autoconf.
4434 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
4435 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
4436 * gdb.threads/configure: New, generated with autoconf.
beb998c6 4437
c906108c
SS
4438Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
4439
4440 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
4441
4442Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
4443
4444 * gdb.base/signals.exp (test_handle_all_print): Test separately for
4445 each signal's status in the output of "handle all print".
4446 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
4447 the \r\n sequence that immediately precedes the gdb prompt.
4448 * gdb.base/a1-selftest.exp: Save original timeout and restore
4449 after test.
4450
4451Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
4452
4453 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
4454 symbol.
4455
4456Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4457
4458 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
4459
4460Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
4461
4462 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
4463 timeout by 60 seconds.
4464
4465Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
4466
4467 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
4468 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
4469 error return.
4470
4471Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
4472
4473 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
4474 gdb initialization, also report how long dejagnu waited. Restore
4475 old timeout before doing error return. Temporarily increase timeout
4476 by 3 minutes to allow for slow startups over heavy NFS use.
4477
4478Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
4479
4480 * lib/gdb.exp: Report timeout value for verbosity level 2.
4481 * config/gdbserver.exp: Ditto.
4482 * config/hppro.exp: Ditto.
4483 * config/mips-gdb.exp: Ditto.
4484 * config/monitor.exp: Ditto.
4485 * config/netware.exp: Ditto.
4486 * config/sim-gdb.exp: Ditto.
4487 * config/slite-gdb.exp: Ditto.
4488 * config/udi-gdb.exp: Ditto.
4489 * config/unix-gdb.exp: Ditto.
4490 * config/vx-gdb.exp: Ditto.
4491 * gdb.base/a1-selftest.exp: Ditto.
4492 * gdb.base/a2-run.exp: Ditto.
4493 * gdb.base/break.exp: Ditto.
4494 * gdb.base/corefile.exp: Ditto.
4495 * gdb.base/list.exp: Ditto.
4496 * gdb.base/recurse.exp: Ditto.
4497 * gdb.base/scope.exp: Ditto.
4498 * gdb.base/signals.exp: Ditto.
4499
4500Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4501
4502 * gdb.threads/Makefile.in (docdir): Removed.
4503
4504Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
4505
4506 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 4507 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 4508 @srcdir@.
beb998c6 4509 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
4510 autoconf 2.5 or higher.
4511 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
4512
4513Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
4514
4515 * configure: Regenerated.
4516 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
4517 avoid name clashes with SunOS headers.
4518
4519Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
4520
4521 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
4522
4523Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
4524
4525 * gdb.base/callfuncs.exp: Finish last change -- make sure the
4526 prototype information ends up in the compiler info file.
4527
4528Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
4529
4530 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
4531 attempting to regenerate it. Eliminate use of a temporary file
4532 and just generate the info file directly. Source it immediately,
4533 for consistency of use.
4534 * gdb.base/corefile.exp: Ditto
4535 * gdb.base/exprs.exp: Ditto.
4536 * gdb.base/funcargs.exp: Ditto.
4537 * gdb.base/langs.exp: Ditto.
4538 * gdb.base/list.exp: Ditto.
4539 * gdb.base/mips_pro.exp: Ditto.
4540 * gdb.base/nodebug.exp: Ditto.
4541 * gdb.base/opaque.exp: Ditto.
4542 * gdb.base/ptype.exp: Ditto.
4543 * gdb.base/scope.exp: Ditto.
4544 * gdb.base/setvar.exp: Ditto.
4545 * gdb.base/signals.exp: Ditto.
4546 * gdb.base/whatis.exp: Ditto.
4547 * gdb.c++/templates.exp: Ditto.
4548 * gdb.c++/virtfunc.exp: Ditto.
4549 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
4550 whether or not to add -lstdc++ to the compile command line args.
4551
4552Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4553
4554 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
4555 it got fixed by the recent lookup_minimal_symbol_by_pc change.
4556 Increase timeout, a lot of single stepping might be needed if the
4557 target has no hardware watchpoints.
4558
4559Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
4560
4561 * gdb.base/break.exp: Ignore compiler warnings when compiling
4562 break.c.
4563 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
4564 * gdb.base/default.exp: Add h8300 xfails. Handle messages
4565 from remote-sim.
4566 * gdb.base/exprs.exp: Add h8300 xfails.
4567 * gdb.base/funcargs.exp: Likewise.
4568 * gdb.base/nodebug.exp: Likewise.
4569 * gdb.base/printcmds.exp: Likewise.
4570 * gdb.base/ptype.exp: Likewise.
4571 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
4572 h8300 xfails.
beb998c6 4573 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
4574 on the h8300.
4575 * gdb.base/funcargs.c: Explicitly make last constant argument to
4576 call_after_alloca_subr an unsigned long type.
4577 * gdb.base/return.c: Include stdio.h.
4578
4579Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
4580
4581 * config/abug.exp: New file for the older Motorola Bug monitor
4582 that runs on the mvme13x series VME boards.
4583 * config/monitor.exp: Use the new config array for target settings
4584 if they exist.
4585
4586Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
4587
4588 * sim-gdb.exp: Make the SH simulator allocate less space when
4589 it is targeted.
4590
4591Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
4592
4593 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
4594 test.
4595
4596Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
4597
4598 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
4599 "rs6000-*-*" for "list function in include file" when gcc compiled.
4600 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
4601 for "p ctable1[120]".
4602 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
4603 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
4604 Remove setup_xfail for "rs6000-*-*" for
4605 "print 'scope0.c'::filelocal before run".
4606 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
4607 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
4608 since some compilers don't allow both options to be given
4609 on the same command line. Create object file and move it.
beb998c6 4610
c906108c
SS
4611Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
4612
4613 * gdb.base/corefile.exp: Always regenerate the core file, since
4614 we always regenerate the coremaker program. Detect special case
4615 where registers cannot be read from core file.
beb998c6 4616
c906108c
SS
4617Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
4618
4619 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
4620 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
4621 * gdb.c++/templates.exp: Only match on basename of file since
4622 some formats like xcoff don't encode directory information.
4623 * gdb.stabs/weird.exp: Use the right sed script for powerpc
4624 and rs6000 AIX xcoff targets.
4625 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
4626 * configure: Regenerate.
4627 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
4628 here, rather than in distclean.
beb998c6 4629
c906108c
SS
4630Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
4631
4632 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
4633 defined, and use it to compile the test case with -O2. The
4634 native compilation still uses no optimization.
4635 * gdb.base/mips_pro.c: Remove inline assembly code since
4636 it is compiled PIC by default, which results in assembler
4637 warnings that make the testsuite think the compilation
4638 was unsuccessful.
4639
4640Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
4641
4642 * gdb.c++/misc.exp: Add note to message for
4643 "print s.a for foo struct" that this is a known gcc 2.7.2
4644 and earlier bug.
4645
4646Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
4647
4648 * gdb.base/break.exp: Fix pattern for matching "Delete all
4649 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
4650 setup_xfail for deleting all breakpoints test. Fix various
4651 timeout messages to include "(timeout)".
4652 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
4653 for "p t_float_values2(3.14159,float_val2)".
4654 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
4655 for "continue to call2g" when gcc compiled.
4656 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
4657 "up to foo in langs.exp", "show language at foo in langs.exp",
4658 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
4659 and "show language at fsub in langs.exp".
4660 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
4661 "list line 1 in include file", "list message for lines past EOF",
4662 "list function in include file", "list list0.h:foo", and
4663 "list filename:function; nonexistant function".
4664 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
4665 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
4666 and "ptype t_char_array" to be for native cc only.
beb998c6 4667
c906108c
SS
4668Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
4669
beb998c6 4670 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
4671 setup_xfail for "print coremaker_bss", "print coremaker_ro",
4672 "print func2::coremaker_local", and "backtrace in corefile.exp".
4673
4674Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
4675
4676 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
4677 "bt in signals.exp". This problem only appears when running
4678 the testsuite, and then only intermittently.
4679
4680Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
4681
4682 * gdb.base/return.exp (return_tests): Differentiate between
4683 two tests of continuing.
4684
4685Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
4686
4687 * */Makefile.in (maintainer-clean): Remove config.log.
4688 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
4689 * gdb.c++/Makefile.in (PROGS): Add inherit.
4690 (clean): Remove *.ci.
4691
4692Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
4693
4694 * gdb.c++/misc.cc: Add test code from Mike Stump.
4695 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
4696
4697Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
4698
4699 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
4700 to "alpha-*-osf2*" and add comment.
4701 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
4702 setup_xfail for "step over execarg initialization" and
4703 "step over corearg initialization".
4704 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
4705 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
4706 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
4707 gcc compiled for "print coremaker_bss", "print coremaker_ro",
4708 "print func2::coremaker_local", and "backtrace in corefile.exp".
4709 * gdb.base/signals.exp: Build and source signals.ci.
4710 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
4711 to be for gcc only.
4712 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 4713
c906108c
SS
4714Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4715
4716 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
4717 Feb 3 procfs.c change.
4718
4719Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
4720
4721 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
4722
4723Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
4724
4725 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
4726 from dejagnu's apparent default of 10 seconds, which gives random
4727 results when running the tests over NFS on moderately loaded systems.
4728 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
4729
4730Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
4731
4732 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
4733 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
4734 result reports.
4735
4736Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
4737
4738 * configure.in (CY_AC_PATH_TCLH): Remove.
4739 * configure: Regenerate.
4740
4741Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
4742
4743 * gdb.c++/Makefile.in (clean): Add missing '{'.
4744
4745Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
4746
4747 * lib/gdb.exp: Provide a default value for noinferior.
4748
4749 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
4750 Load libgloss.exp.
4751
4752Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
4753
4754 * gdb.disasm/hppa.exp: Compile directly into an executable, use
4755 the executable, not the .o to run the tests from.
4756
4757Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
4758
4759 * gdb.base/break.exp: Don't test for program exit or exit status
4760 if $noresults if nonzero.
4761 * gdb.base/langs.exp: Likewise.
4762 * gdb.base/watchpoint.exp: Likewise.
4763
4764 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
4765 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
4766 trying to compile the testcase.
4767
4768Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
4769
4770 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
4771 * gdb.base/signals.exp (continue to handler): Likewise.
4772
4773Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
4774
4775 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
4776
4777 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
4778
4779Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
4780
4781 * gdb.base/corefile.exp: Recognize "not found" as failure
4782 when trying to determine if a core file was generated.
4783 If no core file was generate the first time, try again without
4784 the ulimit -c to work around braindamaged shells.
4785
4786Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
4787
4788 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
4789 [] tests with "test" and enclose string in quotes.
4790 * gdb.stabs/configure: Rebuild
beb998c6 4791
c906108c
SS
4792Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
4793
4794 Changes in sync with expect:
4795 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
4796 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
4797 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
4798 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
4799 argument to AC_REQUIRE.
4800 * configure: Regenerated.
4801
4802Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
4803
4804 * gdb.base/corefile.exp: When generating a core, discard any
4805 error messages about ulimit not found and the "core dumped"
4806 message from the shell that runs the coredumper.
4807
4808Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
4809
4810 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
4811
4812 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
4813 which sed script to run. Expect failure for v_comb test
4814 on PA targets too.
beb998c6 4815
c906108c
SS
4816Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
4817
4818 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
4819 "print func2::coremaker_local" and for "backtrace in corefile.exp"
4820
4821Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
4822
4823 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
4824 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
4825 "sparc-sun-solaris*" xfails for "p v_comb".
4826 * lib/gdb.exp (default_gdb_start): Fix typo.
4827 * gdb.base/corefile.exp: Allow "Core was generated by ..."
4828 messages to not include the full program name that caused
4829 the core dump since some systems (such as solaris) apparently
4830 truncate this path to about 80 characters.
4831 When generating a core file first try increasing the core file
4832 size limit to unlimited since some systems may default it to
4833 zero, and it is harmless to try it. Move the test for failing
4834 to generate a core file to where it will actually get executed.
4835 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
4836 new gdb result from g++ debug info improvements and make old
4837 pattern obsolescent. Also account for size_t differences
4838 (may be int or long).
4839 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
4840 initialization before function call is placed in the delay slot
4841 and thus appears to be skipped over by commands such as "next".
4842
4843Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
4844
4845 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
4846
4847Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
4848
4849 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
4850 input source file; fix code to compile test to deal with this
4851 convention.
4852 * gdb.c++/*.exp: Likewise.
4853
4854Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
4855
4856 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
4857 "bt in signals.exp".
4858
4859Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
4860
4861 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
4862 "step over execarg initialization" and
4863 "step over corearg initialization".
4864
4865Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
4866
4867 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
4868 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
4869
4870Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
4871
4872 From Rob Savoye (rob@poseidon.cygnus.com)
4873 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
4874 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
4875 configure.in}, gdb.disasm/{Makefile.in, configure.in},
4876 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
4877 configure.in}: Major reworking for autoconfig.
4878 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
4879 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
4880 New files.
4881 * config/unix-gdb.exp: Make GDB global.
4882 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
4883 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
4884 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
4885 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
4886 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
4887 term.exp, twice.exp, watchpoint.exp, whatis.exp},
4888 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
4889 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
4890 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
4891 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
4892 pr-8136.exp, result.exp, string.exp, tuples.exp},
4893 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
4894 to returns as necessary, arrange for test to compile own testcase
4895 executable.
4896 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 4897
c906108c
SS
4898Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
4899
4900 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
4901 clear_xfail at end of test which might not call either pass or fail.
4902 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
4903 "backtrace through signal handler".
4904
4905Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4906
4907 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
4908 continuing from a job control stop signal.
4909 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
4910
4911Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
4912
4913 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
4914 * gdb.base/corefile.exp: Likewise.
4915 * gdb.base/funcargs.exp: Likewise.
4916
4917Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
4918
4919 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
4920 * config/monitor.exp: Add support for setting baud rate.
4921
4922Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
4923
4924 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
4925 i*86-*-linux* xfails for "backtrace through signal handler".
4926 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
4927 "print func2::coremaker_local".
4928 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
4929 alpha-dec-osf2* xfail for
4930 "delete all breakpoints when none".
4931
4932Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
4933
4934 * gdb.base/break.exp: Change test that deletes all breakpoints
4935 when no user breakpoints are installed. A post 4.15 change
4936 causes gdb to no longer prompt in this case.
4937
4938Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
4939
4940 * gdb.base/return.exp (return_tests): Change xfail for test
4941 "correct value returned double test" to stop xfailing at
4942 Solaris 2.5. Apparently the bug has been fixed.
4943
4944Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
4945
4946 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
4947 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
4948
4949Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
4950
4951 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
4952 * gdb.disasm/hppa.s: Corresponding changes.
4953
4954Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
4955
4956 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
4957 makefile fragment.
4958 * config/mt-hpux: Deleted.
4959
4960Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
4961
beb998c6 4962 * Many files: When warning about suppressed tests due to a
c906108c
SS
4963 nonexistant test binary, avoid incrementing the warning count.
4964
4965Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
4966
4967 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 4968
c906108c
SS
4969Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4970
4971 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
4972 "sparc-*-solaris2*".
4973
4974Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4975
4976 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
4977 Add global and local variables and initialize them.
4978 * gdb.base/corefile.exp: Test correct mapping of corefile sections
4979 by printing variables. Remove rs6000 and powerpc xfails, BFD now
4980 extracts the file name and terminating signal from the core file.
4981 * TODO: Remove note about tests for correct mapping of corefile.
4982 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
4983 from optimizing it away.
4984 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
4985 handles common blocks.
4986
4987Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
4988
4989 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
4990 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
4991
4992Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
4993
4994 * Makefile.in (maintainer-clean): New target, synonym for
4995 realclean.
4996 * gdb.base/Makefile.in (maintainer-clean): Likewise.
4997 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
4998 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
4999 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
5000 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
5001 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
5002
5003Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
5004
5005 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
5006 xfails when not gcc compiled for "print foo::funclocal".
5007 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
5008 "print foo::funclocal at foo",
5009 "print 'scope1.c'::foo::funclocal at foo",
5010 "print foo::funclocal_bss at foo",
5011 "print 'scope1.c'::foo::funclocal_bss at foo",
5012 "print foo::funclocal_ro at foo",
5013 "print 'scope1.c'::foo::funclocal_ro at foo",
5014 "print bar::funclocal at foo" and
5015 "print 'scope1.c'::bar::funclocal at foo".
5016 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
5017 gcc compiled for "print foo::funclocal at bar".
5018 Expand all messages to ensure that they identify that
5019 the test is at bar().
5020 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
5021 gcc compiled for:
5022 "ptype on opaque struct pointer (statically)",
5023 "ptype on opaque struct tagname (statically)",
5024 "ptype on opaque struct pointer (dynamically) 1",
5025 "ptype on opaque struct tagname (dynamically) 1",
5026 "ptype on opaque struct pointer (dynamically) 2" and
5027 "ptype on opaque struct tagname (dynamically) 2
5028 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
5029 gcc compiled for:
5030 "p datalocal"
5031 "whatis datalocal",
5032 "ptype datalocal",
5033 "p bsslocal",
5034 "whatis bsslocal", and
5035 "ptype bsslocal".
5036 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
5037 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
5038 when not gcc compiled.
5039 * gdb.base/funcargs.exp (float_and_integral_args): Add
5040 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
5041 compiled.
5042 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
5043 "backtrace from call6a" when not gcc compiled.
5044 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
5045 "backtrace from call7a" when not gcc compiled.
5046 * gdb.base/callfuncs.exp (do_function_calls):
5047 Add "hppa*-*-hpux*" xfail when not gcc compiled for
5048 "p t_char_array_values(char_array_val2,char_array_val1)",
5049 "p t_char_array_values(char_array_val1,char_array_val2)",
5050 "p t_char_array_values("carray 1","carray 2")",
5051 "p t_char_array_values("carray 1",char_array_val2)",
5052 "p t_char_array_values(char_array_val1,"carray 2")",
5053 "p sum_args(1,{2})",
5054 "p sum_args(2,{2,3})",
5055 "p sum_args(3,{2,3,4})",
5056 "p sum_args(4,{2,3,4,5})"
5057 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
5058 "backtrace in corefile.exp" when not gcc compiled.
5059
5060Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5061
5062 * gdb.base/signals.exp: Rewrite `handle all print' test as
5063 a procedure. Accept blanks or TABs as whitespace, increase
5064 timeout and expect input buffer size for the large output
5065 from the command. Remove "i*86-*-bsdi2.0" xfail.
5066
5067Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5068
5069 * gdb.base/setvar.exp: Add new testcases for truncation when
5070 assigning invalid values to bitfields.
5071
5072Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
5073
beb998c6 5074 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
5075 mips-sgi-irix* xfail for
5076 "call inferior func with struct - returns char *"
5077 and fix test so that an optional (unsigned char *) cast is
5078 accepted in the result.
5079
5080Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
5081
5082 * gdb.base/funcargs.exp (float_and_integral_args): Remove
5083 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
5084 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
5085 * gdb.base/signals.exp: Remove duplicate "handle all print" test
5086 that accidentally got checked in.
5087
5088Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
5089
beb998c6 5090 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
5091 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
5092 compiled test.
5093 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
5094 Add mips-sgi-irix5* xfail for not gcc compiled.
5095 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
5096 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
5097 "p top", "whatis top", "p middle", and "whatis middle".
5098 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
5099 "whatis signed char" for not gcc compiled.
5100 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
5101 "set variable signed char=-1 (-1)" and
5102 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
5103 * gdb.base/funcargs.exp (float_and_integral_args):
5104 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
5105 Add mips-sgi-irix* xfail when not gcc compiled for
5106 "continue to call2b".
5107 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
5108 "continue to call2g".
5109 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
5110 "backtrace from call6a"
5111 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
5112 "backtrace from call7k".
5113 Add mips-sgi-irix5* xfail when not gcc compiled for
5114 "backtrace from call7a".
5115 (localvars_after_alloca): Fix gdb_test cmds for
5116 "print * after runto ...".
5117 Remove rs6000-*-* xfails for
5118 "print i after runto localvars_after_alloca" and
5119 "print l after runto localvars_after_alloca"
5120 for all compilers.
5121 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
5122 when not compiled with gcc, for:
5123 "print signed char == (minus)",
5124 "print signed char != (minus)",
5125 "print signed char < (minus)",
5126 "print signed char > (minus)".
5127 * gdb.base/callfuncs.exp (do_function_calls):
5128 Add mips-sgi-irix* xfail, when compiled with native compiler, for
5129 "call inferior func with struct - returns char *".
beb998c6 5130 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
5131 "correct value returned double test" to include Solaris 2.4.
5132 * gdb.base/funcargs.exp (float_and_integral_args):
5133 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 5134
c906108c
SS
5135Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5136
5137 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
5138 enumeration bitfields if compiling with GNU C.
5139 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
5140 to empty' prompt.
5141
5142Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
5143
5144 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
5145 test for PRO targets.
5146
5147 * gdb.base/funcargs.exp: Avoid ever setting more than 8
5148 breakpoints in the inferior at any given time by making
5149 two groups of breakpoints for call2*, call6* and call7*
5150 tests.
5151
5152Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5153
5154 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
5155 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
5156 from optimizing it away.
5157 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
5158 "call inferior func with struct".
5159
5160Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
5161
5162 * configure.in: Only configure gdb.chill for particular targets.
5163
5164Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
5165
5166 * gdb.base/Makefile.in: Add action to .c.o transformation
5167 rule that generates a .ci file for each .o file and remove
5168 explicit .c.o rules except for callfuncs.o.
5169 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
5170 generates a .ci file for each .o file and remove explicit
5171 .cc.o rules.
5172 (clean): Remove *.tmp *.ci files.
5173 (EXECUTABLES): Remove templ-info.exp.
5174 * gdb.base/compiler.c: New file.
5175 * gdb.c++/compiler.cc: New file
5176 * gdb.base/scope.exp: Source gdb.base/scope.ci.
5177 Change rs6000-*-* xfail for
5178 "print 'scope0.c'::filelocal_ro" and
5179 "print 'scope1.c'::filelocal" and
5180 "print 'scope1.c'::filelocal_bss" and
5181 "print 'scope1.c'::filelocal_ro" and
5182 "print 'scope1.c'::foo::funclocal" and
5183 "print 'scope1.c'::foo::funclocal_ro" and
5184 "print 'scope1.c'::bar::funclocal" and
5185 "print 'scope0.c'::filelocal_ro" and
5186 "print 'scope1.c'::filelocal at foo" and
5187 "print 'scope1.c'::filelocal_bss at foo" and
5188 "print 'scope1.c'::filelocal_ro at foo" and
5189 "print 'scope1.c'::foo::funclocal at foo" and
5190 "print 'scope1.c'::foo::funclocal_bss at foo" and
5191 "print 'scope1.c'::foo::funclocal_ro at foo" and
5192 "print 'scope1.c'::bar::funclocal at foo" and
5193 "print 'scope0.c'::filelocal_ro" and
5194 "print 'scope1.c'::filelocal" and
5195 "print 'scope1.c'::filelocal_bss" and
5196 "print 'scope1.c'::filelocal_ro" and
5197 "print 'scope1.c'::foo::funclocal" and
5198 "print 'scope1.c'::foo::funclocal_bss" and
5199 "print 'scope1.c'::foo::funclocal_ro" and
5200 "print 'scope1.c'::bar::funclocal" and
5201 "print 'scope1.c'::bar::funclocal_bss"
5202 to only be xfail'd when not compiled with gcc.
beb998c6 5203 Add rs6000-*-* xfail for
c906108c
SS
5204 "print 'scope0.c'::filelocal_bss before run"
5205 when compiled with gcc.
5206 (test_at_main): Add rs6000-*-* xfail for
5207 "print filelocal_ro in test_at_main"
5208 when compiled with gcc.
5209 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 5210 Add rs6000-*-aix* xfail for
c906108c
SS
5211 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
5212 "ptype t_char_array", not compiled with gcc.
5213 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
5214 xfail for "list foo (in include file)" when gcc compiled.
5215 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
5216 (integral_args): Add rs6000-*-* xfail for
5217 "run to call0a" if not compiled with gcc.
5218 (unsigned_integral_args): Add rs6000-*-* xfail for
5219 "run to call1a" if not compiled with gcc.
5220 (float_and_integral_args): Add rs6000-*-* xfail for
5221 "run to call2a" if not compiled with gcc and for
5222 "continue to call2b" for any compiler.
5223 Add rs6000-*-* xfail to
5224 "print f1 after run to call2a" for gcc compiled.
5225 (discard_and_shuffle): Add rs6000-*-* xfail for
5226 "run to call6a".
5227 (shuffle_round_robin): Add rs6000-*-* xfail for
5228 "backtrace from call7a" if not compiled with gcc.
5229 Add rs6000-*-* xfail for
5230 "backtrace from call7b" if compiled with gcc.
5231 (call_after_alloca): Add rs6000-*-* xfail for
5232 "print c in call_after_alloca" and
5233 "print s in call_after_alloca" and
5234 "backtrace from call_after_alloca_subr"
5235 if not compiled with gcc.
5236 (localvars_in_indirect_call): Add rs6000-*-* xfail for
5237 "print c in localvars_in_indirect_call" and
5238 "print c in localvars_in_indirect_call" and
5239 "backtrace in indirectly called function" and
5240 "stepping into indirectly called function"
5241 if not compiled with gcc.
5242 (localvars_after_alloca): Add rs6000-*-* xfail for
5243 "print c after runto localvars_after_alloca" and
5244 "print s after runto localvars_after_alloca" and
5245 "print i after runto localvars_after_alloca" and
5246 "print l after runto localvars_after_alloca"
5247 for all compilers.
5248 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
5249 than whatis-info.exp.
5250 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
5251 than opaque-info.exp.
5252 Setup rs6000-*-* xfail for
beb998c6 5253 "ptype on opaque struct pointer (statically)" and
c906108c
SS
5254 "ptype on opaque struct pointer (dynamically)" when
5255 not compiled with gcc.
5256 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
5257 rather than callf-info.exp.
5258 (do_function_calls): Add clear_xfail for rs6000-*-* for
5259 "p t_float_values2(3.14159,float_val2)". Seems to work
5260 fine there, both with xlc and gcc. Need to find out what
5261 it is doing right and fix other platforms.
5262 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
5263 "call inferior func with struct - returns int",
5264 "call inferior func with struct - returns long",
5265 "call inferior func with struct - returns float",
5266 "call inferior func with struct - returns double",
5267 "call inferior func with struct - returns char *",
5268 but only if not gcc compiled (presumes xlc compiled).
5269 Change rs6000-*-* xfails for
5270 "call inferior func with struct - returns char" and
5271 " call inferior func with struct - returns short" to only
5272 xfail if not using gcc.
5273 (clean mostlyclean): Remove *.ci and *.tmp files.
5274 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
5275 than templ-info.exp.
5276 * gdb.base/langs.exp: Source gdb.base/langs.ci.
5277 Add rs6000-*-* xfail for "up to foo in langs.exp"
5278 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
5279 when not gcc compiled.
beb998c6 5280
c906108c
SS
5281Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5282
5283 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
5284 * gdb.base/corefile.exp: Likewise.
5285 * gdb.base/list.exp: Likewise.
5286 * gdb.base/scope.exp: Likewise.
5287 * gdb.base/siganls.exp: Likewise.
5288
5289 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
5290 compiler output.
5291 * gdb.base/whatis.exp: Likewise.
5292
5293Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
5294
5295 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
5296 failure (opcode table has been fixed to match reality).
5297
5298Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
5299
5300 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
5301 "call inferior func with struct - returns char",
5302 "call inferior func with struct - returns short"
5303
5304 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
5305 "print 'scope0.c'::filelocal at main",
5306 "print 'scope0.c'::filelocal_bss in test_at_main",
5307 "print 'scope0.c'::filelocal at foo",
5308 "print 'scope0.c'::filelocal_bss in test_at_foo",
5309 "print 'scope0.c'::filelocal at bar",
5310 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 5311
c906108c
SS
5312 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
5313 in source file 1". This bug seems to have been fixed with both
5314 gcc and native cc (was native assembler bug?).
5315
5316Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
5317
5318 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
5319 "backtrace through signal handler" to "i*86-*-sysv4*".
5320 * gdb.base/signals.exp: Add xfail for "'next' behaved as
5321 continue" case. Add "known SVR4 bug" to fail message.
5322 Add "i*86-*-bsdi2.0" xfail for "handle all print".
5323 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
5324 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
5325 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
5326 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
5327 "up to foo in langs.exp", "show language at foo in
5328 langs.exp", "up to cppsub_ in langs.exp", "show
5329 language at cppsub_ in langs.exp", "up to fsub in
5330 langs.exp", and "show language at fsub in langs.exp".
5331 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
5332 "bactrace in corefile.exp".
5333 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
5334 "call inferior function with struct - returns float" and
5335 "call inferior function with struct - returns double".
beb998c6 5336
c906108c
SS
5337Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
5338
5339 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
5340 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
5341 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
5342 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
5343
5344Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
5345
5346 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
5347 (or overriden) "CHILL" macro rather then bare "gcc".
5348 Also look for ../../gcc/xgcc since that is what we will
5349 actually need, not "Makefile". Remove following assignment
5350 of CHILL to CHILL_FOR_TARGET because that results in
5351 recursive definition.
5352
5353Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
5354
5355 * gdb.base/corefile.exp: Change xfail for backtrace in
5356 corefile.exp from linuxaout to all linux.
5357 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
5358 cases where we miss the breakpoint at the signal handler
5359 for some reason. Setup xfail for linuxoldld/linuxaout and
5360 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
5361 hitting SIGURG breakpoint.
5362 * gdb.base/signals.exp: Setup xfail for "next" acting like
5363 continue to add linuxoldld. Setup xfail for all linux for
5364 "next to handler in signals_tests_1", "backtrace in
5365 signals_tests_1", "continue to func1", "pass SIGUSR1",
5366 and continue to handler".
5367
5368Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
5369
5370 * Update all FSF addresses except those in COPYING* files.
5371
5372Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
5373
5374 * gdb.base/a2-run.exp: Change messages to be more explicit about
5375 the status of args, and quote binfile in results.
5376
5377Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
5378
5379 * gdb.base/callfuncs.exp: Add tests for passing structs to
5380 inferior functions and return various types.
5381 * gdb.base/callfuncs.c: Add functions to receive a struct
5382 and return a member of the struct, in various types.
5383
5384Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5385
5386 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
5387
5388Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5389
5390 * config/vxworks29k.exp: New file, sources vxworks.exp.
5391
5392Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5393
5394 * config/gdbremote.exp: New file. Testing framework using
5395 gdbserver.
5396
5397Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
5398
5399 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
5400 "call function when asleep" and "send end of file".
5401 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
5402 for "backtrace in corefile.exp".
5403 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
5404 for "backtrace through signal handler".
5405 * gdb.base/corefile.exp: Make sure we actually generate a core file
5406 before trying the core tests. Some systems allow the user to suppress
5407 generation of core files and default to that (linux for example).
5408 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
5409 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
5410
5411Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5412
5413 * gdb.threads: New directory with some crude multi-threaded
5414 gdb tests (step.exp and step2.exp).
5415 * config/mt-lynx (STEP_EXECUTABLE): Define.
5416 (THREADFLAGS): Define.
5417
5418Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
5419
5420 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
5421
5422 * gdb.base/signals.exp: Disable whole file for lynx until
5423 further notice.
5424
5425 * gdb.base/signals.exp: xfail test where "next" acts like
5426 "continue" for lynx.
5427
5428 * gdb.base/interrupt.exp: xfail test for calling function while
5429 inferior is asleep for lynx.
5430
5431 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
5432 than one cr-lf after each command.
5433
5434Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5435
5436 * configure.in: Reinstate setting of stabsdirs variable, fix
5437 typo in setting up configdirs for native builds.
5438
5439 * gdb.base/return.exp: Fix typo in return double test.
5440 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
5441 compiler from optimizing them away.
5442
5443Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
5444
5445 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
5446 sequences to be echo'd by gdb when using gdb_test.
5447 * gdb.chill/chexp.exp: Likewise.
5448 * gdb.fortran/exprs.exp: Likewise
5449
5450Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5451
5452 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
5453 after the inferior gdb has started.
5454
5455 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
5456 after each command.
5457 * gdb.base/funcargs.exp: Likewise.
5458 * gdb.base/gdbvars.exp: Likewise.
5459 * gdb.base/interrupt.exp: Likewise.
5460 * gdb.base/list.exp: Likewise.
5461 * gdb.base/watchpoint.exp: Likewise.
5462 * gdb.c++/demangle.exp: Likewise.
5463 * gdb.c++/inherit.exp: Likewise.
5464 * gdb.chill/chexp.exp: Likewise.
5465 * gdb.fortran/exprs.exp: Likewise.
5466
5467 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
5468 test if we can't handle IO to/from the inferior.
5469
5470 * gdb.c++/misc.exp: Always check for a program already being
5471 started after sending a "run" command to gdb.
5472
5473 * gdb.base/twice.exp: Start with a fresh gdb.
5474
5475 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
5476 only depend on gdb's expression code, not the chill runtime.
5477
5478 * gdb.base/return.c: Put return values into variables so we
5479 can have gdb print them rather than depending on the program
5480 to print them.
5481 * gdb.base/return.exp: Corresponding changes.
5482
5483 * lib/gdb.exp: Provide default value for noinferiorio.
5484 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
5485 the inferior.
5486
5487 * gdb.base/break.exp: Always check for a program already being
5488 started after sending a "run" command to gdb.
5489 (text_next_with_recursion): Don't check the output from the
5490 program's printf statement. Instead just make sure the program
5491 exited.
5492
5493 * gdb.base/commands.exp: Protect tests which need arguments with
5494 $noargs conditionals.
5495
5496Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5497
5498 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
5499 of structure member arrays to match gdb/valops.c:value_addr change.
5500
5501Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
5502
5503 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
5504 cases.
5505
5506Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
5507
5508 * configure.in (configdirs): Remove gdb.chill from default list
5509 of subdirs and then add it back in only if doing a native build.
5510 The current chill compiler does not yet work in any cross build.
5511 * Revert all signal changes from Jul 6.
5512 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
5513 for sh-hms targets, allowing these tests to link, with no other
5514 changes. Testing is suppressed by setting "nosignals" in site.exp.
5515
5516Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
5517
5518 * configure.in (signaldirs): Define and add to configdirs for all
5519 targets except some specific ones that are known to not support signals.
5520 Also clean up formatting.
5521 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
5522 (signals, sigall): Remove rules to build.
5523 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
5524 Moved to new gdb.signals directory.
5525 * gdb.signals: New test directory.
5526 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
5527 signals.c signals.exp}: New or moved files.
5528
5529Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
5530
5531 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
5532
5533Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
5534
5535 * gdb.base/return.exp: Xfail `return double' test failure
5536 on at least Solaris 2.3 and handle future/past versions on
5537 a case by case basis as appropriate. Also update message
5538 to include i*86 failures.
5539
5540Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5541
5542 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
5543
5544 * lib/gdb.exp: Fix comment which erroneously identified
5545 gdb_file_cmd as gdb_load (the 19 May change was in fact to
5546 gdb_file_cmd not gdb_load).
5547 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
5548
5549 * gdb.base/setvar.exp: Make test names consistent between pass and
5550 fail cases. Use gdb_test more.
5551
5552Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5553
5554 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
5555
5556Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5557
5558 * gdb.base/help.exp: Fix expected help string for `show commands'.
5559
5560Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
5561
5562 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
5563
5564 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
5565 of a text section.
5566
5567Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
5568
5569 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
5570 that loop eventually terminates. Fix Connection refused logic so
5571 that testsuite will expire nicely.
5572
5573Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
5574
5575 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
5576 config/rom68k.exp: New tcl glue for the appropriate monitors.
5577 These all just end up calling monitor.exp.
5578 * config/monitor.exp (gdb_target_monitor): Handle `Connection
5579 refused' by retrying. Cleanup some timeout issues.
5580 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
5581 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
5582 callers don't have to set/restore global timeout variable.
5583
5584 * The following set of changes centralizes management of the global
5585 timeout variable. This way, it can be set in one target dependent
5586 place instead of dozens of places scattered throughout the test suite.
5587 If you need to lengthen a timeout, then you should either set timeout
5588 in one of the config/{target}.exp files, or multiply it by a factor.
5589 Setting it to an absolute value is always going to lose for some
5590 targets.
5591 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
5592 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
5593 * gdb.base/funcargs.exp: Don't set timeout.
5594 * gdb.base/list.exp (test_forward_search): Only use local timeout.
5595 * gdb.base/printcmds.exp (test_print_string_constants
5596 test_print_array_constants): Don't set timeout.
5597 * gdb.base/ptype.exp: Don't set timeout.
5598 * gdb.base/recurse.exp: Don't set timeout.
5599 * gdb.base/return.exp: Don't set timeout.
5600 * gdb.base/watchpoint.exp: Don't set timeout.
5601 * gdb.c++/classes.exp (do_tests): Don't set timeout.
5602 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
5603
5604Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
5605
5606 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
5607
5608Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5609
5610 * lib/gdb.exp: Disable chill tests for irix5.
5611
5612Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5613
5614 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
5615 each test pass or fail.
5616
5617Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5618
5619 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
5620 xlc not gcc.
5621
5622Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
5623
5624 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
5625
5626Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
5627
5628 * config/est.exp: Fix copyright and comments. Remove dead code.
5629 Use targetname, serialport and baud variables instead of fixed
5630 constants.
5631 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
5632 * config/cpu32bug.exp: New file to support cpu32bug monitors.
5633
5634Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5635
5636 * gdb.base/watchpoint.exp: Don't run
5637 test_watchpoint_triggered_in_syscall for sunos.
5638
5639Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5640
5641 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
5642 they don't seem to exist. Do include stdio.h.
5643
5644Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5645
5646 * gdb.base/a1-selftest.exp: Add alpha xfail.
5647
5648Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5649
5650 * gdb.base/watchpoint.c (main): Prompt before calling read().
5651 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
5652 Revise accordingly. Remove cruft about sending "123" several
5653 times, until it gets noticed. Clean up the "print buf[0]" stuff
5654 so that it passes or fails, and waits for prompts in the usual way.
5655
5656Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5657
5658 * gdb.base/recurse.exp: Fix comment.
5659
5660 * TODO: Remove item about printing variables in nodebug.exp. Add
5661 item about enabling tests which are only run on some targets.
5662
5663 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
5664 fail, make test names unique, use new gdb_test convention
5665 regarding pattern, use gdb_test more, etc.).
5666
5667 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
5668 fail, make test names unique, etc.).
5669
5670Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5671
5672 * gdb.base/nodebug.c: Change return type of top and middle to
5673 short.
5674 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
5675 are fixed by the recent mdebugread.c changes. Allow `short ()'
5676 as type for top and middle.
5677
5678Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5679
5680 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
5681 nearly as I can tell, the whole thing was an accident in Stu's
5682 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
5683 to replace a send/expect pair with gdb_test, but ended up only
5684 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
5685 of 30 Mar 1995 took care of it, but left this vestigial comment
5686 which I am now nuking.
5687
5688Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5689
5690 * gdb.base/break.exp: Look for different line number for
5691 breakpoint at main depending on usestubs.
5692
5693Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5694
5695 * gdb.base/list.exp: Adjust some alternate expect patterns to
5696 match recent list0.c change. Add alternate expect pattern for
5697 output from `list default lines around main' for optimizing
5698 compilers.
5699
5700Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5701
5702 * lib/gdb.exp: If nosignals is not set, set it to 0.
5703
5704Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
5705
5706 * config/slite-gdb.exp: Responds to load symbol table prompt.
5707 * gdb.base/break.exp: Adjust line number, fix rerun.
5708 * gdb.base/langs0.c: Add #ifdef usestubs.
5709
5710Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
5711
5712 * gdb.base/list.exp: Adjust line contents after adding new lines in
5713 list0.c. Also fix a syntax error.
5714
5715 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
5716 * gdb.base/break.exp: ditto.
5717 * gdb.base/list.exp: ditto.
5718 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
5719 * gdb.base/run.c: ditto.
5720 * gdb.base/list0.c: ditto.
5721 * gdb.base/funcargs.c: ditto.
5722
5723Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
5724
5725 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
5726 $targetname, $serialport and $baud instead of hardwired variables.
5727 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
5728 target doesn't support signals.
5729
5730Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
5731
5732 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
5733
5734Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5735
5736 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
5737 Don't rely on the value of an auto variable before it has been
5738 initialized. Use gdb_test more.
5739
5740Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5741
5742 * lib/gdb.exp (default_gdb_version): A version number must start
5743 with a digit, but other than that contains all characters up to
5744 the first whitespace character.
5745
5746Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5747
5748 * gdb.base/commands.exp (breakpoint_command_test): New tests.
5749
5750Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5751
5752 * gdb.c++/*.exp: Warn if executable does not exist. The original
5753 reason for skipping the warning was that configure.in sometimes
5754 intentionally skipped building the executables but the tcl code
5755 had no way of knowing. That (a) was always bogus with respect to
5756 error handling, (b) is no longer true (right now there is no way
5757 to skip C++ tests).
5758
5759 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
5760
5761Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5762
5763 * gdb.base/list.exp: Add expect patterns for output from
5764 SunPRO compiled executables.
5765 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
5766 types.
5767
5768Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5769
5770 * gdb.base/break.exp (test_next_with_recursion): Accept any line
5771 number (we are already testing that the correct source line text
5772 gets printed).
5773
5774 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
5775 that is what is intended, but something needed to be done to get
5776 sunos4 native working again.
5777
5778 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
5779
5780 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
5781 apparently went with a (very) old xfail.
5782
5783Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
5784
5785 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
5786 runto_main is a proc in gdb.exp that will do 'step' for target use
5787 stubs.
5788 * gdb.base/exprs.exp: ditto.
5789 * gdb.base/interrupt.exp: ditto.
5790 * gdb.base/opaque.exp: ditto.
5791 * gdb.base/printcmds.exp: ditto.
5792 * gdb.base/ptype.exp: ditto.
5793 * gdb.base/scope.exp: ditto.
5794 * gdb.base/setvar.exp: ditto.
5795 * gdb.base/signals.exp: ditto.
5796 * gdb.base/twice.exp: ditto.
5797 * gdb.c++/classes.exp: ditto.
5798 * gdb.c++/inherit.exp: ditto.
5799 * gdb.c++/templates.exp: ditto.
5800 * gdb.base/break.exp: no run and hit main for stubs. Change line
5801 numbers for breakpoints and info breakpoint.
5802 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
5803 breakpoint().
5804 * gdb.base/callfuncs.c: ditto.
5805 * gdb.base/exprs: ditto.
5806 * gdb.base/interrupt.c: ditto.
5807 * gdb.base/opaque0.c: ditto.
5808 * gdb.base/printcmds.c: ditto.
5809 * gdb.base/ptype.c: ditto.
5810 * gdb.base/scope0.c: ditto.
5811 * gdb.base/setvar.c: ditto.
5812 * gdb.base/signals.c: ditto.
5813 * gdb.base/twice.c: ditto.
5814 * gdb.c++/misc.cc: ditto.
5815 * gdb.c++/templates.cc: ditto.
5816
5817Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5818
5819 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
5820
5821 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
5822 somewhere between `read' and `main.c'. I'm pretty sure the
5823 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
5824 and it isn't particularly useful.
5825
5826 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
5827
5828Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5829
5830 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
5831
5832Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
5833
5834 * config/mt-slite: add LIBS and -nostdlib.
5835 * config/slite-gdb.exp: add this new file to support sparclite target.
5836
5837Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
5838
5839 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
5840
5841 * gdb.base/a2-run.exp: Change argument to istarget from
5842 "*-*-vxworks" to "*-*-vxworks*".
5843 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
5844
5845Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
5846
5847 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
5848 will not runto main but do a 'step' to step out of breakpoint().
5849 * config/mt-slite: add -Dusestubs.
5850
5851Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5852
5853 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
5854 instead of just @.
5855
5856 * gdb.base/signals.exp: Add test for "handle all print".
5857 * TODO: Remove "handle all print". Also remove item about
5858 checking copyright date (I don't like the idea of a spurious FAIL
5859 based on when we run the tests).
5860
5861 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
5862 for SunOS4 (reason for failure not investigated). Remove
5863 redundant test for $binfile.
5864
5865 * gdb.base/nodebug.c (array_index): Call malloc.
5866
5867 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
5868
5869Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
5870
5871 * gdb.base/recurse.exp: Update gdb_test invocation to use new
5872 conventions and slightly simplify the matching regexp.
5873
5874Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5875
5876 * gdb.base/break.exp: Update gdb_test invocation to use new
5877 convention.
5878
5879 * lib/gdb.exp: If noargs is not set, set it to 0.
5880
5881 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
5882 tests unique.
5883
5884 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
5885
5886Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5887
5888 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
5889 one argument of type "<non-float parameter>".
5890
5891Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
5892
5893 * config/rom68k.exp: New file to support Motorola IDP board.
5894 * gdb.base/a2-run.exp: Skip this file if noargs is set.
5895 * gdb.base/break.c: Change things around so that this program
5896 doesn't depend upon args. This is necessary to make remote
5897 targets work (in general, they can't take args).
5898 * gdb.base/break.exp: Don't try to send args to program. Don't
5899 expect output. Also, replace lots of code with gdb_test.
5900
5901Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5902
5903 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
5904 printing of '\'' (which is what the comment says we are testing,
5905 even though we were not), not '''.
5906 (test_integer_literals_rejected): Test that printing ''' is an error.
5907
5908 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
5909 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
5910 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
5911 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
5912 Use gdb_test not test_print_accept.
5913 * lib/gdb.exp: Remove test_print_accept.
5914
5915 * gdb.base/signals.exp (signal_tests_1): Make pass message
5916 consistent with fail message.
5917
5918 * gdb.base/whatis.exp: Remove xfails for printing char vs.
5919 unsigned char; the bug (PR 1821) is fixed.
5920
5921 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
5922
5923 * gdb.base/scope.exp (test_at_localscopes): Call pass for
5924 successful tests--makes xfailing them work right.
5925
5926Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5927
5928 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
5929 only \r\n, not .*. The test can pass .* as the last thing in
5930 $pattern if that is what it wants. In addition to providing this
5931 flexibility, this change should speed up pattern matching in cases
5932 where the pattern already ended with .* (there were a number of
5933 them). This change also helps catch bad patterns--in the old
5934 scheme the typo "char \*" instead of "char \\*" would pass. Now
5935 it is caught.
5936 * Many .exp files: Update callers.
5937
5938 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
5939 clearer and does not spuriously match multiple ('s. Likewise for
5940 ) and *.
5941
5942 * gdb.base/nodebug.exp: Test ability to call a function and pass
5943 it a string (even with no debugging info).
5944
5945 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
5946 "p '\'", which is the same as "p ''" once tcl gets done with
5947 quoting, to "p '\\'", which I suspect is what is intended (one
5948 backslash gets sent to GDB).
5949
5950 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
5951
5952Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5953
5954 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
5955 1817) was fixed literally years ago.
5956
5957Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5958
5959 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
5960 test, it causes stepping out of call_after_alloca_subr with
5961 optimizing compilers.
5962 (localvars_in_indirect_call): Consume GDB prompt if `finish'
5963 fails.
5964
5965 * gdb.c++/templates.exp: Source templ-info.exp only if
5966 the templates executable exists.
5967
5968 * gdb.c++/misc.cc (class Contains_static_instance,
5969 class Contains_nested_static_instance),
5970 gdb.c++/classes.exp (test_static_members): Test printing of
5971 a class that contains a static instance of the class.
5972
5973Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5974
5975 * gdb.base/langs2.c (cppsub_): Don't prototype.
5976 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
5977 only, I believe).
5978
5979Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5980
5981 * lib/gdb.exp (skip_chill_tests): New procedure.
5982
5983 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
5984
5985Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
5986
5987 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
5988 each expect pattern. Cuts runtime from 12 to about 4 seconds.
5989
5990Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5991
5992 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
5993
5994 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
5995 disassemble 8, not 16, instructions for part 4.
5996
5997 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
5998 support the latter anymore.
5999
6000 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
6001 -DNO_PROTOTYPES.
6002 * gdb.base/callfuncs.c: Control use of prototypes based on
6003 NO_PROTOTYPES, not __STDC__.
6004 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
6005 t_float_values2 tests if prototypes in use.
6006
6007 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
6008 t_double_values): When checking differences against DELTA, check
6009 that difference is within the range (-DELTA,DELTA), not just
6010 (-infinity,DELTA).
6011
6012Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
6013
6014 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
6015 'file' command firts, then 'target', then 'load', this is due to gdb
6016 target set up.
6017 * config/mips-gdb.exp: Fix a couple regular exp bugs.
6018
6019Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
6020
6021 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
6022 FP load/store variants.
6023 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
6024
6025Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6026
6027 * gdb.base/term.exp: Do not give a warning if not native, it is
6028 not an abnormal condition.
6029
6030Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
6031
6032 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
6033 t_char_array".
6034
6035Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
6036
6037 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
6038 are getting the version number.
6039
6040 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
6041 if not native, it is not an abnormal condition.
6042
6043Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6044
6045 * lib/gdb.exp: Just use "file exists", rather than undocumented
6046 dejagnu procedure "findfile".
6047
6048Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6049
6050 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
6051 (LDFLAGS): Set to -Xlinker -Ur.
6052
6053 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
6054 Removed, these values are set by lib/gdb.exp.
6055
6056 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
6057
6058Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6059
6060 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
6061 of replicating gdb startup code.
6062
6063 * config/mt-vxworks (LDFLAGS): Set to -r.
6064 (CFLAGS_FOR_TARGET): Removed.
6065
6066 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
6067 (gdb) and gdb for vxworks uses (vxgdb).
6068
6069 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
6070 executable is not in the tree and host != target, use sed and
6071 program_transform_name to determine the gdb name used by the
6072 target.
6073
6074 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
6075 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
6076
6077Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6078
6079 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
6080 floats, chars, and shorts where there are ANSI-style function
6081 definitions.
6082
6083 * gdb.base/langs.exp, gdb.base/langs*: New test.
6084 * gdb.base/Makefile.in: Build it.
6085 * TODO: Remove item about checking that C names don't get C++
6086 demangling applied; this test tests it.
6087
6088Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6089
6090 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
6091 went with the const70 xfail. The xfail went away a year ago.
6092
6093 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
6094
6095 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
6096 for hp300.
6097
6098 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
6099
6100 * gdb.base/a1-selftest.exp: Don't run on hp300.
6101
6102Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6103
6104 * Makefile.in (site.exp): Set host_alias and target_alias as well
6105 as host_triplet and target_triplet.
6106
6107Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6108
6109 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
6110
6111 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
6112 places as other ecoff systems).
6113
6114 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
6115 ultrix.
6116
6117Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6118
6119 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
6120 remove them.
6121 * gdb.base/nodebug.exp: Accept "function" in addition to "text
6122 variable and "variable" in addition to "data variable".
6123 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
6124
6125 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
6126 2.
6127 * gdb.base/list1.c (long_line): Add additional statement at start
6128 of function.
6129 * gdb.base/list.exp (test_forward_search): Update line number to
6130 reflect new statement.
6131
6132Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6133
6134 * gdb.base/signals.exp: Reinitialize searched source directories
6135 after gdb_start call.
6136
6137Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
6138
6139 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
6140 * gdb.stabs/Makefile.in: Likewise.
6141
6142 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
6143 change. Instead split the tests into smaller pieces.
6144 * gdb.disasm/hppa.s: Corresponding changes.
6145
6146Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6147
6148 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6149 Quote ^C when passing it to stty. For some shells ^ is a pipe.
6150
6151 * gdb.base/funcargs.exp: Modify many tests so that every test
6152 either passes or fails. Make some test names unique.
6153
6154Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6155
6156 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
6157 Call stty to set interrupt character.
6158
6159 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
6160 for HP assembler versus GNU assembler based on actual behavior of
6161 $(CC), rather than assuming that $(AS) is always the GNU assembler.
6162
6163 * TODO: Suggest a few more stepping tests.
6164
6165Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
6166
6167 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
6168 restart GDB for h8300 after a continue.
6169 (return): Add pattern to match a29k-udi behavior.
6170 * gdb.base/nodebug.exp: Remove obsolete comment.
6171 * gdb.base/regs.exp: New file, testing of register displays.
6172 * gdb.base/return.exp: Fix typo in reference to $objdir.
6173 * gdb.base/whatis.exp: Always start with a fresh GDB.
6174
6175Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6176
6177 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
6178 higher, these tests generate a lot of output.
6179
6180Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6181
6182 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
6183 code following the catch silently ignored some errors; without the
6184 catch they should be thrown like any other tcl error. Also, the
6185 catch used "" instead of {} which meant all the callers who wanted
6186 to include one of the characters "[]$ had to quote it an extra time.
6187 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
6188 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
6189 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
6190 Remove extra quoting.
6191
6192Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
6193
6194 * gdb.base/commands.exp: Make test names unique; every test either
6195 passes or fails. Update some comments.
6196
6197 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
6198
6199Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6200
6201 The following fixes a FAIL caused by the fact that the alpha stabs
6202 configuration didn't use the ".if alpha" code in weird.def.
6203 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
6204 bit pointer, so the 32 bit version works even on the alpha.
6205 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
6206 Remove the stuff which allowed us to have separate versions for
6207 alpha and everything else.
6208
6209 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
6210 regexp which "info func operator\[\](" is supposed to match. Fix
6211 string to send to GDB. Note that GDB still doesn't work right. Add a
6212 new test for "info func .perator\[\](" which GDB does handle correctly.
6213
6214 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
6215
6216Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6217
6218 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
6219 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
6220 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
6221 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
6222 it makes the tests harder to understand and confuses test-o-matic.
6223 The preferred style is that each test provides a PASS or a FAIL,
6224 and has a unique message (e.g. "continue #54" not just "continue")
6225 which is the same for the pass and the fail.
6226 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
6227 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
6228 to lib/gdb.exp.
6229 * gdb.base/printcmds.exp: Use test_print_accept. Remove
6230 prt_accept which was basically the same thing. Likewise for
6231 test_print_reject and prt_reject.
6232 * lib/gdb.exp (test_print_reject): Add some more error message
6233 patterns to match from the former printcmds.exp (prt_reject).
6234 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
6235 One defect of the passcount stuff is that some of it failed to
6236 report XPASS where appropriate.
6237 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
6238 stuff before and after arg in expected pattern.
6239 (test_paddr_operator_functions): Re-do test without print_addr_of;
6240 this is the only test which seems to want extra stuff there.
6241
6242Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6243
6244 * gdb.base/nodebug.exp: Update new tests to reflect improved
6245 wording of gdb output.
6246
6247 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
6248 and "ptype" work on variables in files compiled without -g.
6249 Replaces commented out "maint print msymbol" tests.
6250
6251Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6252
6253 * gdb.base/setvar.c (dummy): Call malloc.
6254
6255 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
6256 losing with the irix4 sed.
6257
6258 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
6259 ALRM" on irix4.
6260
6261Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6262
6263 * TODO: Remove items about corefile.exp testing new exec-file and
6264 backtrace; both are now done. Add items about printing enums.
6265
6266Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6267
6268 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
6269 "get signal $thissig" test fails.
6270
6271 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
6272
6273Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6274
6275 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
6276 compiler warning with dec alpha compiler.
6277
6278 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
6279 extra \n from gdb_test call (this explains why the prompt test
6280 that I removed yesterday was there).
6281 (user_defined_command_test): Remove extra \n and prompt test.
6282
6283 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
6284 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
6285 doesn't exist.
6286 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
6287 Also remove alpha workaround, which turns out to be because
6288 SIGABRT == SIGLOST.
6289
6290 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
6291
6292 * gdb.base/help.exp: Don't test "help show".
6293
6294Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6295
6296 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
6297 "set print address" is on.
6298 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
6299 pass prompt to gdb_test; gdb_test already looks for the prompt.
6300
6301 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
6302
6303 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
6304 was a vestige of the manual TESTSTRATEGY, and the purpose of it
6305 was to make sure that gdb can read a core file. But (a) the "read
6306 the corefile" part didn't make it to a1-selftest.exp, we just
6307 delete the corefile after creating it, and (b) we test reading
6308 corefiles in corefile.exp anyway. Also, this test left around a
6309 xgdb process on Solaris.
6310
6311 * gdb.base/corefile.exp: Also test backtrace.
6312
6313Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
6314
6315 * gdb.base/commands.exp: Test a simple user defined command with
6316 arguments and if/while statements; verify the full user command is
6317 printed by "show user".
6318
6319 * gdb.base/commands.exp: Test if/while commands as part of a
6320 breakpoint command list; verify they appear in breakpoint
6321 information.
6322
6323Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6324
6325 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
6326 than by dividing by zero.
6327
6328Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
6329
6330 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
6331 performing an inferior call with watchpoints enabled.
6332 * gdb.base/watchpoint.c (main): Delete second unnecessary read
6333 call.
6334
6335Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6336
6337 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
6338 of "file" command.
6339
6340 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
6341 Add additional pattern for when "int operator int(void);" appears
6342 in a different order.
6343
6344Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
6345
6346 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
6347
6348 * gdb.base/help.exp: Replace most of docstrings for "info signals"
6349 and "signal" with ".*".
6350
6351Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
6352
6353 * TODO: Add note about "handle all nostop".
6354
6355 * gdb.base/{sigall.c, sigall.exp}: New test.
6356 * gdb.base/Makefile.in: Add it.
6357
6358Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
6359
6360 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
6361 when invoking GDB, suppresses any windowing interface.
6362
6363Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
6364
6365 * config/sim-gdb: New file, simulator testing support.
6366
6367Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
6368
6369 * gdb.base/interrupt.exp: Test calling func1 twice.
6370
6371Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
6372
6373 * gdb.base/list.exp (test_forward_search): Set timeout higher
6374 when we'll be getting lots of output from gdb.
6375
6376 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
6377 "init_malloc" to after the expect statement. Run it if that
6378 regexp is taken, but also for two others which happen if source
6379 cannot be found.
6380
6381Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6382
6383 * gdb.base/printcmds.exp: New test, for printing register before
6384 program is running.
6385
6386Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6387
6388 * gdb.base/list.exp: Correct some alternate expect patterns
6389 to reflect changes in list1.c.
6390
6391Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6392
6393 * TODO: Add item regarding large frames.
6394
6395 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
6396
6397 * TODO: Remove item about enabling return.exp; it
6398 is enabled. Suggest a few more "return" tests.
6399
6400Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6401
6402 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
6403 anonymous unions.
6404
6405Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6406
6407 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
6408 and pr-5646.o, so "make" is the same as "make all", not "make
6409 pr-4975.o".
6410
6411Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
6412
6413 * gdb.base/list.exp: Adjust expectations to reflect changes in
6414 list1.c.
6415 (test_forward_search): New test proc.
6416 * gdb.base/list1.c (long_line): New function, has long source line.
6417
6418Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
6419
6420 * gdb.base/a1-selftest.exp: Change initial stepping to know about
6421 additional line of code that was added.
6422
6423Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
6424
6425 * gdb.disasm/hppa.s: Break the large branching tests into smaller
6426 tests so as not to overflow expect's input buffers.
6427 * gdb.disasm/hppa.exp: Corresponding changes.
6428
6429Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6430
6431 Beginnings of template debugging tests.
6432 * gdb.c++/templ-info.cc: New file to test for template
6433 debugging capability of the compiler.
6434 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
6435 templ-info.cc.
6436 * gdb.c++/templates.cc: Add explicit template instantiations
6437 to enable compiling with -fno-implicit-templates. Add destructor
6438 and 'value' method to T5 class for template tests.
6439 * gdb.c++/templates.exp: Add testcases for printing of template
6440 types, setting breakpoints on template methods and calling a
beb998c6 6441 template method.
c906108c
SS
6442
6443Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
6444
6445 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
6446 branch target since some assemblers (gas-2.5) may emit a
6447 relocation for the branch instead of resolving it in the
6448 assembler.
6449
6450Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6451
6452 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
6453 through signal handler.
6454
6455Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6456
6457 * configure.in (*-*-netware): Use config/mt-netware.
6458
6459 * config/mt-netware: New file.
6460 * config/mt-i386-netware: Removed, separate configs for different
6461 netware architectures are no longer needed now that we have
6462 --with-headers.
6463
6464Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6465
6466 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
6467 by the recent changes to use ANSI C arithmetic conversions.
6468
6469Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6470
6471 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
6472 bug involving using inferior_pid to figure out whether to select a
6473 frame.
6474
6475Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
6476
6477 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
6478 match the current disassembler output.
6479
6480Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
6481
6482 * gdb.fortran/exprs.exp: Expect VOID instead of void.
6483 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
6484 types, expect "int" as type of integer values (for now).
6485
6486Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
6487
6488 * gdb.base/commands.exp: New tests for if/while commands.
6489
6490Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
6491
6492 * lib/gdb.exp (runto): Replace sub-pattern for hex value
6493 by .*, since hex values have different syntax in Chill mode.
6494
6495Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6496
6497 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
6498 linefeed from expect pattern for repeated types with indices > 9.
6499
6500Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
6501
6502 First part of Fortran test suite.
6503 * gdb.fortran: New directory.
6504 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
6505
6506Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6507
6508 * gdb.base/default.exp: Update expect pattern for load command
6509 without arguments.
6510
6511Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6512
6513 * configure.in: Change i386 to i[345]86.
6514 * gdb.base/configure.in: Likewise.
6515 * gdb.c++/configure.in: Likewise.
6516 * gdb.chill/configure.in: Likewise.
6517
6518Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
6519
6520 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
6521 patterns, since that is not a valid context for comments.
6522
6523Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
6524
6525 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
6526 repeated types and repeated types with indices > 9.
6527
6528Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
6529
6530 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
6531 2417; old bug has been fixed.
6532
6533Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
6534
6535 * gdb.base/interrupt.exp: When trying to wake up the inferior,
6536 send the newline ourselves instead of assuming gdb_test will do
6537 so when passed an empty input string.
6538
6539 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
6540 stabs testcode.
6541
6542Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6543
6544 * lib/gdb.exp (gdb_test): Don't send anything if the first
6545 argument is an empty string. This makes cases where we want to
6546 match output that is already in expect's buffers (for example,
6547 matching a breakpoint after gdb_run_cmd has been called) work
6548 reliably.
6549
6550Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6551
6552 * config/netware.exp: New file.
6553
6554Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6555
6556 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
6557 the -B and -L prefixes so we can find the debugging stub.
6558
6559 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
6560 there and we are using the gcc from the tree.
6561
6562 * gdb.base/types.c: Removed.
6563
6564 * gdb.base/configure.in: Look for makefile fragments in ../config.
6565 Recognize i386-*-netware.
6566 * gdb.c++/configure.in: Likewise.
6567
6568Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6569
6570 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
6571 the correct TCL syntax.
6572
6573Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6574
6575 * gdb.base/opaque.exp: use runto instead of messing around with
6576 breakpoints. Simplify by using gdb_test.
6577
6578 * gdb.base/bitfields.exp: restart between tests on netware targets
6579 because breakpoints aren't relocated after target death. Run
6580 processes to completion.
6581
6582 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
6583
6584Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
6585
6586 * Makefile.in: Remove extra tabs that confuse some versions
6587 of "make". Use the newly built gdb to test with by default,
6588 rather than the first one in the tester's search path.
6589
6590Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
6591
6592 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
6593
6594 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
6595 condition help.
6596
6597Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6598
6599 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
6600
6601 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
6602 running.
6603 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
6604 * gdb.base/funcargs.exp: Likewise.
6605
6606 * gdb.base/bitfields.exp: Simplify by using gdb_test.
6607 * gdb.base/funcargs.exp: Likewise.
6608
6609 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
6610 message is "".
6611
6612Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6613
6614 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
6615 return,signals,twice}.exp: Handle non-existant binaries
6616 consistantly.
6617
6618 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
6619 * gdb.base/Makefile.in: Don't try to generate a core dump, we
6620 might testing a cross development system.
6621
6622Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6623
6624 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
6625 runtest script is relative to ${srcdir}, not ${rootdir}.
6626
6627Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
6628
6629 * gdb.base/signals.exp: Allow for optionality of breakpoint
6630 address.
6631
6632Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6633
6634 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
6635
6636Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6637
6638 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
6639 for size_t definition.
6640 * gdb.c++/templates.cc: Likewise
6641
6642 * config/mt-i386-netware: New file.
6643
6644 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
6645 defined.
6646
6647 * gdb.base/Makefile.in: Added support for systems that name core
6648 files by appending "core" to the program name.
6649 * gdb.base/a1-selftest.exp: Likewise.
6650
6651Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6652
6653 * gdb.base/return.exp: Add comment and message for `return double'
6654 test failure on Sparc Solaris.
6655
6656Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
6657
6658 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
6659
6660Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6661
6662 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
6663 from optimizing them away.
6664 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
6665 patterns to include default constructors and assignment operators,
6666 to match gcc versions beyond 2.5.8. Accept any cplus demangling
6667 character in the output of the virtual base pointer.
6668
6669Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6670
6671 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
6672 expression match in print_addr_of to avoid unintented matches.
6673 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
6674 versions up to 2.5.8.
6675
6676Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6677
6678 * gdb.base/list.exp: Tweak alternate pattern for listing of an
6679 included file to run under newer versions of expect.
6680 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
6681 consecutive >'s in templates to accomodate recent cplus-dem.c change.
6682 Remove xfail for the virtual table of BDDHookV.
6683
6684Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
6685
6686 * lib/gdb.exp (string_to_regexp): Set a default result.
6687 (default_gdb_start): Fix misleading message.
6688
6689Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
6690
6691 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
6692 Remove all CC, etc definitions.
6693 * config/mt-hpux: New file.
6694 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
6695 (CFLAGS, LDFLAGS): Define.
6696 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
6697
6698 * Makefile.in (site.exp): Don't insert host_os, etc.
6699 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
6700 (distclean): Check existence of subdir.
6701 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
6702 * gdb.base/Makefile.in: General cleanup and simplification.
6703 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
6704 to build executables. Use default rule to build .o files.
6705 (EXPECT, RUNTEST, CC): Fix relative pathname.
6706 (site.exp): Don't insert host_os, etc.
6707 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
6708 and/or SIGUSR1 defined.
6709 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
6710 * gdb.c++/Makefile.in: General cleanup and simplification.
6711 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
6712 (CFLAGS): Remove.
6713 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
6714
6715Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
6716
6717 * gdb.base/recurse.exp: Misc changes to get tests running again
6718 after Kung's changes to the watchpoint code.
6719 * gdb.base/watchpoint.exp: Likewise.
6720
6721Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
6722
6723 * lib/gdb.exp (string_to_regexp): Convert {\} also.
6724
6725Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
6726
6727 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
6728 * lib/gdb.exp (default_gdb_start): Define.
6729 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
6730 gdb.base/funcargs.exp, gdb.base/opaque.exp,
6731 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
6732 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
6733 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
6734 Don't call gdb_target_udi in between tests.
6735
6736Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6737
6738 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
6739 (which was basically just a local version of the same thing). In
6740 addition to avoiding duplication, gdb_test_exact is faster.
6741 * lib/gdb.exp (gdb_test_exact): Fix typo.
6742
6743 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
6744 don't give an error.
6745
6746 * gdb.base/term.exp: Call delete_breakpoints before starting.
6747
6748 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
6749 (t10): Add comment.
6750
6751Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
6752
6753 Reorganization of the GDB Test Suite.
6754
6755 * gdb.base: New directory, contains all the basic tests.
6756 * gdb.c++: New directory, tests specific to C++.
6757 * gdb.chill: New directory, tests specific to Chill.
6758 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
6759 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
6760 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
6761 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
6762 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
6763 t30-31 to chill).
6764 * */gdbme.*: Rename to match appropriate expect scripts.
6765 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
6766 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
6767 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
6768 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
6769 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
6770 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
6771 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
6772 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
6773 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
6774 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
6775 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
6776 gdb.c++/virtfunc.cc: New names of C++ files.
6777 * gdb.chill/chillvars.ch: New name of Chill file.
6778 * gdb.base/configure.in, gdb.c++/configure.in,
6779 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
6780 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
6781 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
6782 * configure.in (configdirs): Update to reflect directory changes.
6783 (target_abbrev): No longer define for any configuration.
6784 * Makefile.in: Cosmetic improvements to header comments.
6785
6786Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
6787
6788 Various changes to gdb.t31:
6789
6790 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
6791 * gdbme.ch: Make all key-words and predefineds be upper-case.
6792 * chillvars.exp: Expect key-words and predefinds in upper-case.
6793
6794 * chillvars.exp: Use gdb_test_exact many places.
6795 Change expected output for arrays (which now includes index labels).
6796
6797 * pr-5020.exp, gdme.ch (module PR_5020):
6798 New test, for PR-5020.
6799
6800Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
6801
6802 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
6803 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
6804
6805Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
6806
6807 * Makefile.in: Fix bit-rot in definitions of CHILL,
6808 CHILL_FOR_TARGET and Chill_LIB.
6809 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
6810 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
6811 CHILL, and CHILL_LIB.
6812
6813Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
6814
6815 * Revert the previous changes. Please see Rob's directory
6816 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
6817
6818Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
6819
6820 * Makefile.in, configure.in, config/mips-gdb.exp,
6821 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
6822 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
6823 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
6824 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
6825 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
6826 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
6827 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
6828 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
6829 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
6830 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
6831 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
6832 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
6833 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
6834 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
6835 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
6836 changes from 94Q1.
6837
6838Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
6839
6840 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
6841 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
6842 Rob's new testing fragments.
6843
6844Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
6845
6846 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
6847 lib/gdb.exp: Replace error proc calls with perror.
6848
6849Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
6850
6851 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
6852 version also, match on casted version strings, and match on
6853 gdb startup case where the line numbers might be messed up.
6854
6855Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
6856
6857 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
6858 (CFLAGS): Delete it from here.
6859
6860Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
6861
6862 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
6863
6864Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
6865
6866 * Makefile.in (RUNTEST): Default to just "runtest".
6867
6868Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6869
6870 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
6871 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
6872 the code has been restructured.
6873
6874Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6875
6876 * gdb.t00/default.exp (set write): Allow any number of \r and/or
6877 \n, not just one of each.
6878
6879 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
6880 /bin/cc gives a warning if you do.
6881
6882Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
6883
beb998c6 6884 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
6885 __t10ListS_link1ZUiRCUiPT0
6886
6887Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6888
6889 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
6890 on local variables in recursive functions.
6891
6892 * gdb.t07/Makefile.in: Build the new test.
6893
6894Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6895
6896 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
6897 directly. Instead compare the return values from actual calls.
6898
6899Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
6900
6901 * Makefile.in (check): Set TCL_LIBRARY for runtest.
6902
6903Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6904
6905 * From Peter Schauer with minor modifications.
6906 * gdb.t15/return.exp (return_tests): Handle targets where "return"
6907 stops in mid-line in the caller. Add xfail for returning a float
6908 value on X86 targets.
6909
6910Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6911
6912 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
6913 to avoid expect lossage.
6914 (fmem_LRbug_tests): Likewise.
6915 * gdb.disasm/hppa.s: Corresponding changes.
6916
6917 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
6918 conditions to work with latest dejagnu/expect.
6919
6920 * gdb.t15/funcargs.exp (finish from indirect call): No longer
6921 expected to fail on the PA.
6922 (backtrace in call with trampolines): Explicitly require main
6923 to be frame #1 (no trampolines should show up in backtrace).
6924
6925 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
6926 "continue -expect".
6927 * gdb.t06/break.exp: Likewise.
6928 * gdb.t07/watchpoint.exp: Likewise.
6929 * gdb.t13/bitfields.exp: Likewise.
6930 * gdb.t15/{funcargs,return}.exp: Likewise.
6931 * gdb.stabs/weird.exp: Likewise.
6932 * config/{mips,udi}-gdb.exp: Likewise.
6933
6934 * hppa.sed: Enclose comments within a sed command to avoid
6935 losing with the old OSF1 sed.
6936
6937Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6938
6939 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
6940 sequent dynix.
6941 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
6942 * gdb.t15/funcargs.exp: Conditionally step again to really
6943 finish from marker_call_with_trampolines. Handle the case where
6944 the first step from within call_with_trampolines already steps
6945 us back to main.
6946 * gdb.t15/gdbme.c: Add comment to closing brace of
6947 call_with_trampolines for funcargs.exp.
6948
6949Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6950
beb998c6 6951 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
6952 Fix typo(s).
6953
6954Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6955
6956 * gdb.t07/gdbme.c: More code for watchpoint testing.
6957
6958 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
6959 "Hardware watchpoint" throughout file.
6960 (test_watchpoint_triggered_in_syscall): New test.
6961 (test_complex_watchpoint): New test.
6962
6963Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
6964
6965 * gdbme.c (call_with_trampolines): New function to try and step
6966 into. Tests trampoline problems on the PA.
6967
6968 * funcargs.exp (localvars_in_indirect_call): No longer expect
6969 stepping into indirect call to fail on PAs.
6970 (test_stepping_over_trampolines): New test.
6971
6972Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6973
6974 * TODO: Add suggestions for static member function tests, and
6975 completion tests.
6976
6977Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6978
6979 * TODO: Add suggestions for "p/a" tests.
6980
6981 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
6982 (default_gdb_exit): Replace all the hair with sending "quit" to
6983 the process with a simple close.
6984
6985Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6986
6987 * TODO: Add suggestions for shared library tests.
6988
6989Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6990
6991 * TODO: Add suggestions for x/s tests.
6992
6993Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6994
6995 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
6996 "enable once", and "enable breakpoints once" with ".*".
6997
6998Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6999
7000 * TODO: Add suggestions about structure passing tests.
7001
7002Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7003
7004 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
7005 the primary1 test, use work around if __GNUC__ < 2.
7006 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
7007 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
7008 Test for bad output rather than waiting for timeout. Issue
7009 second continue only if first continue failed.
7010
7011Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7012
7013 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
7014 operator[] test with gdb_test because the old code didn't seem to
7015 be getting the quoting right with the new dejagnu.
7016
7017Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
7018
7019 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
7020 one from the path.
7021 * Makefile.in: Use a fresh expect if there is one, use runtest
7022 from the src tree if there is one.
beb998c6 7023
c906108c
SS
7024Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7025
7026 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
7027 next over recursive call. Revise the tests from that point on
7028 (which had been skipped) to match GDB's actual (correct) output.
7029
7030 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
7031 with next over a breakpoint whose condition is false.
7032
7033 * gdb.t00/help.exp: Comment out "help set print" tests just like
7034 (and for same reason as) "help set" test.
7035
7036Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7037
7038 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
7039 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
7040
7041Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7042
7043 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
7044 necessary gdb_target_udi.
7045
7046 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
7047
7048 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
7049 1838 and 2417; they are fixed.
7050
7051 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
7052 gdb.t03/ptype.exp (ptype structure, ptype union):
7053 Remove xfails; the test is looser than when the xfails were added.
7054
7055 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
7056 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
7057
7058 * gdb.t01/run.exp: Only run shell test if isnative.
7059
7060 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
7061 since "run" automatically loads if necessary. Call gdb_target_udi
7062 after the "file" since "file" kills any execution target.
7063
7064 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
7065 GDB. GDB doesn't work that way (not anymore at least) on UDI.
7066 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
7067 argument for UDI.
7068
7069Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
7070
7071 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
7072
7073 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
7074
7075Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7076
7077 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
7078 properly quoting regexps. This makes the second argument to
7079 demangle a fixed string, which matches the callers, instead of a
7080 shell-style pattern which is what the previous implementation
7081 used. Update some of the callers.
7082
7083Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7084
7085 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
7086 (comib_nullified_tests): Fix typo.
7087 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
7088 strings. No longer expected to fail.
7089
7090 * gdb.disasm/hppa.s (addib_tests): Fix typo.
7091 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
7092 strings. No longer expected to fail.
7093
7094 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
7095 string. No longer expected to fail.
7096
7097Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7098
7099 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
7100 No longer expected to fail.
7101
7102 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
7103 string. No longer expected to fail.
7104
7105Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7106
7107 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
7108 only in the names (I probably got most of them). I was even
7109 generous with some which differed in underscores in names, and
7110 probably missed a few, and I *still* was able to remove almost a
7111 third of the file with almost no impact on testsuite coverage.
7112
7113Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7114
7115 * gdb.t00/default.exp: Match udi_attach error message as well as
7116 the one from child_attach.
7117
7118 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
7119
7120 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
7121
7122 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
7123 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
7124
7125 * Move test with enums and partial symbols back to
7126 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
7127 Reverts the change of 26 May 93. Per today's change to
7128 stabs.texinfo, the behavior that weird.exp was expecting was
7129 unreasonable; what is important is that the compiler+gdb get
7130 things right, which happens with a recent gcc. Also fix the test
7131 to deal with native compilers which put out the stab gdb can't
7132 deal with.
7133
7134Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7135
7136 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
7137 in the names. The main thing these accomplish is to slow things down.
7138 Many more such duplicates surely remain.
7139
7140 * gdb.t00/help.exp: Comment out "help support" test just like
7141 (and for same reason as) "help set" test.
7142
7143Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
7144
7145 * gdb.t06/break.exp: Remove setup_xfails for
7146 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
7147 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
7148 about known bug in gcc to include up through 2.5.8.
7149 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
7150 well as "_vb$".
7151 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
7152 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
7153 with latest gcc and gdb.
7154 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
7155 well as "_vb$".
7156
7157Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7158
7159 * configure.in (hppa*-*-*): Also configure and build stabs-only
7160 tests.
7161
7162Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7163
7164 * gdb.t10/hppa.mt: A makefile fragment for the PA.
7165 * gdb.t10/configure.in (hppa*-*-*): Use it.
7166
7167Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7168
7169 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
7170
7171Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7172
7173 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
7174 versions prior to 1.13.5.
7175
7176Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7177
7178 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
7179 the prompt is at the start of a line.
7180
7181Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
7182
7183 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
7184 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
7185 in the copr tests now.
7186 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
7187 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
7188 expected to fail.
7189
7190Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
7191
7192 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
7193 gdb.t31/chillvars.exp, lib/gdb.exp:
7194 Tweak to run under either version of expect.
7195 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
7196 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
7197 * gdb.t11/list.exp: Remove extraneous whitespace.
7198
7199Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7200
7201 * gdb.t16/printcmds.exp (test_print_strings): Accept
7202 "(unsigned char *) " before the string.
7203
7204 * TODO: Add notes about printing of fancy types and GDB expressions.
7205
7206Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
7207
7208 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
7209 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 7210 if doing mips-idt-ecoff.
c906108c
SS
7211
7212Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
7213
7214 * Most .exp files: Tweak to run under either version of expect.
7215
7216Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7217
7218 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
7219 xfails; I'm not sure why they are failing, but not because of PR 1806.
7220
7221Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
7222
7223 * config/unix-gdb.exp: Remove gdb_unload cause it's already
7224 defined in lib/gdb.exp.
7225
7226Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7227
7228 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
7229 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
7230 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
7231 have to be typeless.
7232
7233Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
7234
7235 * TODO: Add suggestion for copyright year test.
7236
7237Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
7238
7239 * configure.in (*-*-lynxos*): Add stabs tests.
7240
7241Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7242
7243 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
7244 so insert a tab before any assembler directive in column zero.
7245
7246 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
7247 stores.
7248 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
7249 stores.
7250 (fpu_short_memory_tests): Likewise.
7251
7252Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7253
7254 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
7255 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
7256 .stabs directives in comments.
7257
7258Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7259
7260 * TODO: New file, describing tests we could write.
7261 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
7262
7263Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7264
7265 * gdb.t06/signals.exp: Add kludge to force re-sync.
7266
7267 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
7268 to xgdb instead of gdb, get out of gdb.
7269
7270Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
7271
7272 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
7273 for info.
7274
7275Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
7276
7277 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
7278 * gdb.stabs/configure.in (hppa*-*-*): Use it.
7279 * gdb.stabs/hppa.sed: New sed script for the PA.
7280
7281Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7282
7283 * gdb.stabs: Re-write weird.def and configuration to use sed
7284 instead of cpp. sed is portable and POSIX; cpp is neither.
7285
7286Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7287
7288 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
7289
7290Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7291
7292 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
7293
7294Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7295
7296 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
7297 "_vb$".
7298 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
7299 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
7300
7301Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7302
7303 * lib/gdb.exp: Comment out code which depends on non-existent
7304 `transform' procedure.
7305
7306Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
7307
7308 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
7309 * lib/gdb.exp: Transform tool name.
7310 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
7311 1.1's new error handling system.
7312
7313Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7314
7315 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
7316
7317Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7318
7319 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
7320 They made pattern matching so slow that timeouts happened on
7321 heavily loaded systems. Now any output from "show print" which
7322 gets us back to the GDB prompt is a PASS.
7323
7324Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
7325
7326 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
7327
7328Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7329
7330 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
7331
7332 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
7333 It is not from PR 3220.
7334
7335Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7336
7337 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
7338 just started failing because they depended on the order the
7339 subcommands are presented, or exact docstring text. This kind of
7340 test is a pain and has minimal benefit.
7341
7342Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7343
7344 * gdb.t09/corefile.exp: At end of test, use "core" command with
7345 no arguments.
7346
7347Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
7348
7349 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
7350 17}/Makefile.in: Make it possible to run the testsuite with Sun
7351 make and CC = cross gcc by adding explicit build rules for .o
7352 files.
7353
7354Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7355
7356 * gdb.t15/funcargs.exp: Don't put comments on same line as
7357 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 7358
c906108c
SS
7359Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7360
7361 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
7362
7363Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
7364
7365 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
7366 * gdb.t20/inherit.exp: remove three dumplicate entries.
7367
7368Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7369
7370 * gdb.t06/break.exp: For "next over recursive call", fail on any
7371 incorrect output, not just on "factorial (value=2)".
7372
7373Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7374
7375 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
7376 working now. Add an xfail if accesing a bss variable causes
7377 a memory error if the target is not yet run.
7378
7379Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7380
7381 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
7382 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
7383 name of __st* demangling (2 strings). Did Kung really get the
7384 more than 95 others right without testing them?
7385
7386Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
7387
7388 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
7389
7390Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
7391
7392 * configure.in (configdirs): Add gdb.disasm
7393 * gdb.disasm: New directory for GDB disassembler tests.
7394 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
7395
7396Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7397
7398 * gdb.t00/help.exp: Don't test "help set".
7399
7400 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
7401 from within expect statements. None of these happen anymore and
7402 they cause regressions to be silently unnoticed.
7403
7404 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
7405 messages) about known failures with gcc cygnus-2.4.5-930417.
7406
7407 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
7408 comp-info.exp so it gets built if it doesn't exist.
7409
7410 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
7411 it is no longer used.
7412 * gdb.t13/comp-info.c: Removed.
7413
7414Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7415
7416 * gdb.t06/signals.exp: Add xfail for sun3.
7417
7418Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7419
7420 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
7421 relevant because ^C doesn't get sent but failure can be reproduced
7422 interactively).
7423
7424Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7425
7426 * gdb.stabs/alpha.mt: New configuration file for alpha.
7427 * gdb.stabs/configure.in: Use it.
7428 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
7429 sharing with alpha.mt, redefine long to word via preprocessor.
7430 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
7431 for alpha.
7432 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
7433 native cc.
7434 * gdb.t00/teststrategy.exp: Change expect string so that we
7435 consume the `(xgdb)' from the command echo and from the gdb prompt.
7436 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
7437 gdb currently compares all values as long, so this failure probably
7438 applies to any configuration where LONGEST is bigger than a target int.
7439 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
7440 with gcc.
7441 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
7442 to handle opaque pointers, gcc is.
7443 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
7444 as first argument. Include <sys/types.h> and change all operator
7445 new definitions to use size_t.
7446 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
7447 now that we use size_t.
7448
7449Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7450
7451 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
7452 a long or float array cast all array members to the same type.
7453 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
7454 with 64 bit longs.
7455 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
7456 on alpha.
7457 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
7458
7459Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7460
7461 * gdb.t24 (demangle.exp): Constructors of templates have names like
7462 vector<int>::vector(int) not vector<int>::vector<int>(int). See
7463 section 14.6 of the ARM.
7464
7465 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
7466 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
7467 accomplish little and slow down the testsuite.
7468
7469 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
7470 Accept spaces various places.
7471
7472Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7473
7474 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
7475 with watchpoint enabled.
7476
7477 * Makefile.in: Remove definition of CC and remove the second
7478 definition of CXX (the "CXX = gcc" one remains). These definitions
7479 were causing backquotes to be expanded within backquotes, which
7480 doesn't work.
7481
7482Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
7483
7484 * gdb.t17/callfuncs.exp: Add "return 0" to end.
7485
7486Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7487
7488 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
7489 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
7490 by mips cc and contains no stabs entries.
7491
7492Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
7493
7494 * config/vx-gdb.exp: Use fake device to load files rather than
7495 NFS.
7496 * lib/gdb.exp: New proc to do "file" command.
7497 * config/unix-gdb.exp: Use new "file" proc.
7498
7499Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7500
7501 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
7502 Rework board rebooting slightly.
7503 (gdb_exit): Don't exit from the remote shell; there isn't one.
7504 * gdb.stabs/weird.exp: If a program is being debugged already,
7505 kill it.
7506 * gdb.t04/setvar.exp: Stop and restart gdb.
7507 * gdb.t05/expr.exp: Likewise.
7508 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
7509 restart gdb and reload the program.
7510 * gdb.t08/opaque.exp: Likewise.
7511 * gdb.t12/scope.exp: Likewise.
7512 * gdb.t13/bitfields.exp: Likewise.
7513 * gdb.t15/funcargs.exp: Likewise.
7514 * gdb.t20/classes.exp: Likewise.
7515 * gdb.t03/ptype.exp: Increase timeout.
7516 * gdb.t16/printcmds.exp (test_print_string_constants,
7517 test_print_array_constants): Likewise.
7518 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
7519 * gdb.t20/classes.exp (do_tests): Likewise.
7520 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
7521
7522Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
7523
7524 * gdb.stabs: Renamed *wierd* to *weird*.
7525
7526Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7527
7528 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
7529 for timeout. Add "known gcc 2.4.5 bug" to failure message.
7530
7531Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
7532
7533 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
7534 (do_tests): Remove xfail for whatis on one_var and two_var.
7535
7536Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
7537
7538 * Makefile.in: Made cross building work better by adding
7539 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
7540
7541Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7542
7543 * gdb.t15/{return.c,return.exp,Makefile.in}:
7544 New test, currently commented out.
7545
7546Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
7547
7548 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
7549 still running and removes the leftover named socket so GDb can do
7550 clean restarts.
7551
7552Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
7553
7554 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
7555 console, not GDB.
7556 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
7557 cross testing works better with "make check"
7558 * config/unix-gdb: Use default procedures for exit and version.
7559 * config/vx-gdb.exp: Cleaned up and massaged back to working order
7560 with the newest VxWorks.
7561
7562Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7563
7564 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
7565 old form.
7566
7567 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
7568 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
7569
7570 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
7571
7572 * config/unix-gdb.exp: Remove this version of gdb_exit
7573 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
7574 Rob says he'll look at it when he gets back to testing boards.
7575
7576Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
7577
7578 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
7579 an expected fail for certain ptype commands.
7580
7581 * gdb.t20/classes.exp: Update expected results of "ptype class
7582 Base1" to account for the constructor that now appears in the type.
7583
7584Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
7585
7586 * configure.in (configdirs): Restore gdb.t04, which mysteriously
7587 disappeared from list.
7588 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
7589 "alldone" proc with call to cleanup and exit.
7590 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
7591 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
7592 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
7593 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
7594 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
7595 "alldone" proc with simple returns that suppress remaining
7596 tests. The alldone proc went away many months ago.
7597
7598Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7599
7600 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
7601
7602 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
7603
7604Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7605
7606 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
7607 as vax gdb will display them.
7608
7609Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7610
7611 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
7612 optimizers.
7613
7614 * scope.exp: Change "bad value for localval" messages so each one
7615 is unique.
7616
7617 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
7618 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
7619
7620 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
7621
7622Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7623
7624 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
7625 doesn't exist (due to optimization).
7626
7627Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7628
7629 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
7630 contains \r because the filename is long.
7631
7632 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
7633 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
7634
7635Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7636
7637 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
7638 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
7639 Ultrix.
7640 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
7641 int tests.
7642 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
7643
7644Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
7645
7646 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
7647
7648 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 7649 to match does not match the passing case but still matches the
c906108c
SS
7650 failing case.
7651
7652Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7653
7654 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
7655
7656Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
7657
7658 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
7659 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
7660 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
7661 Remove various versions of gdb_exit.
7662 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
7663 gdb_exit.
7664 * config/unix-gdb.exp: gdb_exit remains here, and should override
7665 the generic version, since it's doing a lot of wierd stuff that
7666 the other versions aren't. FIXME, fold it in, or abandon this
7667 version.
7668
7669Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7670
7671 * gdb.t24/demangle.exp: Add tests for PR 3220.
7672
7673Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7674
7675 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
7676
7677Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
7678
7679 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
7680 "i386-*-*". Works for i486 as well.
7681
7682 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
7683 bug, and expand domain of xfail to all SVR4 systems, since the
7684 actual problem is likely to be in generic SVR4 /proc support.
7685
7686Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7687
7688 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
7689
7690Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
7691
7692 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
7693 xfails for other systems. Match a missing 'Continuing.' as an
7694 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
7695
7696 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
7697 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
7698 Only issue warning for missing executables if -all option is used.
7699
7700 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
7701 file if -all option is used. It's like an unpredictable XFAIL.
7702
7703Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7704
7705 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
7706 for dynamically linked binaries.
7707
7708 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
7709
7710Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7711
7712 * gdb.t20/inherit.exp: Change message for "print tagless struct"
7713 to state that this is a known bug in old versions of g++.
7714
7715Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7716
7717 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
7718 while waiting for `Continuing'.
7719
7720Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
7721
7722 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
7723 in text, data, and bss.
7724 * gdb.t10/nodebug.c: Add local and global test variables for
7725 initialized and uninitialized data.
7726
7727Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7728
7729 * config/unix-gdb.exp (gdb_exit): Add "wait".
7730
7731Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7732
7733 * gdb.t06/signals.exp: xfail the continue from the handler for all
7734 targets.
7735
7736 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
7737 function with watchpoints enabled, the i386 call dummy starts with
7738 a call.
7739
7740 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
7741 386 bsd names its corefiles.
7742
7743Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
7744
7745 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
7746 compilers don't grok it.
7747 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
7748 with small octal ints rather than character constants, which
7749 are signed and might not fit if first promoted to int.
7750
7751Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
7752
7753 * gdb.t09/Makefile.in (clean): Remove corefile.
7754
7755Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7756
7757 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
7758
7759Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7760 and Jim Kingdon (kingdon@cygnus.com)
7761
7762 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
7763 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
7764 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
7765
7766Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7767
7768 * gdb.t17/interrupt.exp: Add xfail for hppa.
7769
7770Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7771
7772 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
7773 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
7774 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
7775 to determine signed-ness of bitfields and use the result to setup
7776 the xfail.
7777 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
7778 * gdb.t15/funcargs.exp: Use them to step until the second indirect
7779 call line is reached if necessary.
7780
7781Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7782
7783 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
7784
7785Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7786
7787 * gdb.t06/break.exp: Also test `clear' command.
7788
7789Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7790
7791 * gdb.t00/teststrategy.exp: Remove extra quote.
7792
7793 * gdb.t07/watchpoint.exp: Change xfail for calling function with
7794 watchpoint enabled to be for all non-68k machines.
7795
7796 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
7797
7798Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7799
7800 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
7801 targets use aout.mt instead of ecoff.mt as gas understands
7802 standard aout format.
7803
7804Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
7805
7806 * lib/gdb.exp (runto): Don't insist that function we are running to
7807 was compiled with -g.
7808
7809 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
7810
7811 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
7812 to get back into the read system call.
7813 Accept leading newline in case where we woke it up.
7814
7815Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7816
7817 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
7818 to make the stabs test work on ecoff systems using gcc and -with-stabs.
7819 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
7820 enable ecoff configuration.
7821
7822Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7823
7824 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
7825
7826Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7827
7828 * gdb.t16/printcmds.exp: Add another printf test.
7829
7830Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
7831
7832 * configure.in: If configured -with-stabs on any target, add
7833 stabsdirs to configdirs.
7834
7835Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7836
7837 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
7838 fun" so pattern does not match the command itself.
7839
7840Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7841
7842 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
7843
7844Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7845
7846 * gdb.t17/interrupt.exp: Test for more things.
7847
7848Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7849
7850 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
7851 compiler arranges the code and line numbers.
7852
7853 * gdb.t17/interrupt.exp: Don't send \n after ^C.
7854
7855Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7856
7857 * gdb.t00/help.exp: Increase expect input buffer size.
7858
7859Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7860
7861 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
7862
7863 * gdb.t07/watchpoint.exp: Add xfail for hppa.
7864
7865 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
7866
7867 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
7868 [0-9]*, not just [0-9].
7869
7870Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7871
7872 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
7873
7874 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
7875
7876Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7877
7878 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
7879
7880Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7881
7882 * gdb.t06/signals.c: Add xfails for sun3.
7883
7884 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
7885
7886 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
7887 test_stepping tests.
7888
7889Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7890
7891 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
7892
7893 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
7894
7895 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
7896 rather than actually putting it through cpp twice.
7897
7898 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
7899
7900Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
7901
7902 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
7903 no longer needed.
7904
7905Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7906
7907 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
7908
7909 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
7910 C++ features prints as "struct", make it a pass, not an xfail.
7911
7912Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7913
7914 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
7915 Don't require VA to print as "class" rather than "struct".
7916
7917Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
7918
7919 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
7920
7921Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7922
7923 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
7924
7925Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7926
7927 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
7928 order.
7929
7930Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7931
7932 * gdb.t16/printcmds.exp: Add printf tests.
7933
7934 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
7935
7936 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
7937
7938Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
7939
7940 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
7941 pass counts, to counteract any existing or future setup_xfails.
7942
7943Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7944
7945 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
7946 {BEGIN,END}_COMMON for common block instead of STAB.
7947 * gdb.stabs/wierd.exp: Add xfail for rs6000.
7948
7949 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
7950 intp_var should be N_GSYM not N_LSYM.
7951 wierd-aout.S: Use a label for the value of the N_SO.
7952 wierd.def: Remove all backslashes.
7953 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
7954
7955Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7956
7957 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
7958 get the expected next to inheritance3.
7959
7960Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7961
7962 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
7963 now that gcc-2.4 gets it right.
7964
7965Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
7966
7967 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
7968
7969 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
7970 generating comp-info.exp which works for cross-compilation.
7971
7972Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
7973
7974 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
7975 "*-*-sysv4.*".
7976
7977Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
7978
7979 * gdb.t01/run.exp: Start with a fresh gdb.
7980 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
7981 SVR4.x.
7982
7983Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
7984
7985 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
7986 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
7987 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
7988 Makefile.in (distclean, realclean): Remove gdbme.c from list of
7989 things to remove.
7990
7991Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
7992
7993 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
7994 test cases from bug reports.
7995
7996Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
7997
7998 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
7999 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
8000 avoid spurious xfails.
8001 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
8002 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
8003 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
8004
8005Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
8006
8007 * gdb.t00/teststrategy.exp: Rework to provide more useful
8008 description of each test, fix problem with systems that define
8009 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
8010 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
8011 results for "next over recursive call" so timeouts aren't taken
8012 by error.
8013
8014Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
8015
8016 * gdb.t12/scope.exp: Test printing of variables before run.
8017
8018 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
8019 printed in wrong order due to sorting.
8020
8021Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
8022
8023 * gdb.t00/teststrategy.exp: Fix expected results for printing
8024 user entered string constant. Is array of char, prints with no
8025 address.
8026
8027 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
8028 commands.
8029 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
8030 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
8031 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
8032 of struct of char arrays.
8033 * gdb.t00/radix.exp: New tests for radix commands.
8034
8035Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
8036
8037 * gdb.t16/printcmd.exp: Print a variable before running program
8038 (with xfail for AIX).
8039
8040Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
8041
8042 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
8043
8044 * gdb.t16/printcmd.exp: Don't print variables before running program.
8045
8046 * gdb.t06/break.exp: Don't require envp argument to main.
8047
8048 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
8049
8050 * gdb.t02/whatis.exp, gdb.t11/list.exp:
8051 Add xfails for rs6000.
8052
8053 * gdb.t02/whatis.exp: Change other tests not to re-test something
8054 we already tested.
8055
8056 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
8057 each type used has a variable of that type.
8058
8059Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
8060
8061 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
8062
8063Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8064
8065 * configure.in: change srctrigger to be a file, not a directory
8066
8067Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
8068
8069 * configure.in (mips-idt-ecoff*): Added trailing '*'.
8070
8071 * gdb.t11/list.exp: Fixed a couple of typos.
8072
8073Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
8074
8075 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
8076 is fixed and PR is closed.
8077 * gdb.t16 (gdbme.c): Add simple test string variable.
8078 * gdb.t16 (printcmds.exp): Add tests with simple test string
8079 variable, primarily for boundaries on "set print elements".
8080
8081Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
8082
8083 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
8084 Make leading 0's optional and don't expect a tab in the middle
8085 of the number.
8086
8087 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
8088
8089 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
8090 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
8091 don't end command passed to gdb_test with newline.
8092
8093 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
8094 signed keyword away, don't expect signed bitfields to be signed.
8095
8096 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
8097 printing with only as many 1's as are in the field as well as printing
8098 with 32 1's (see comment).
8099
8100Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
8101
8102 * gdb.t00/default.exp: Start with a fresh gdb.
8103 * configure.in (configdirs): Remove gdb.t31 until the chill
8104 compiler works again. It no longer is able to find chillrt0
8105 since it isn't in libchill.a anymore.
8106 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
8107 wierd.o, make more modular.
8108 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
8109 spurious newlines that caused problems.
8110
8111Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8112
8113 * Move test with enums and partial symbols from gdb.t03/ptype.exp
8114 to gdb.stabs/wierd.exp since GCC has worked around the bug.
8115 gdb.stabs/wierd.{exp,def}: Many new tests.
8116
8117 * gdb.t00/default.exp: update info line for new message.
8118
8119 * gdb.t02/{whatis.exp,gdbme.c}:
8120 Test that "char *" doesn't print as "caddr_t".
8121
8122Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8123
8124 * gdb.t00/help.exp: Use .* in place of some help messages which
8125 just changed.
8126 gdb.t00/default.exp: Update "info frame" test for new message.
8127 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
8128 Remove some xfails
8129
8130Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8131
8132 * gdb.t03/{gdbme.c,ptype.exp}:
8133 Add tests for typedef'd struct and union without tags.
8134 Also check "whatis" on a variable of a typedef'd enum without a tag.
8135
8136 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
8137 PRMS 1823; the bug still exists but isn't reproduced by this test
8138 anymore), and remove rs6000 XFAIL (the bug is fixed).
8139
8140 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
8141 duplicated from whatis.exp. For those that are left, accept
8142 "long", "long int", or "int" for long variables (whatis.exp already
8143 has an XFAIL for "int", so no need to fail it here).
8144
8145 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
8146 Deal with GCC's names for types now that GDB uses the compiler's names.
8147
8148 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
8149 setup_xfail's for sunos4. If we #defined the signed keyword away,
8150 don't expect GDB to know that char it is signed.
8151
8152 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
8153
8154Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
8155
8156 * configure.in (configdirs): Add gdb.t24 for C++ tests that
8157 should work on any system, regardless of debugging format.
8158 * gdb.t21/demangle.exp: Move to gdb.t24.
8159 * gdb.t24/demangle.exp: Move from gdb.t21.
8160 * gdb.t24/{Makefile.in, configure.in}: New files.
8161
8162Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8163
8164 * configure.in: Do gdb.stabs and C++ tests only for stabs.
8165 * gdb.stabs: New directory.
8166
8167Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8168
8169 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
8170 not just "Quit anyway?".
8171
8172Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
8173
8174 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
8175 that all setup_xfails are immediately followed by clear_xfails.
8176
8177Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
8178
8179 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
8180 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
8181 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
8182 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
8183 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
8184 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8185 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8186 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
8187 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
8188 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
8189 gdb.t31/chillvars.exp, lib/gdb.exp:
8190 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
8191 bug-gdb@prep.ai.mit.edu.
8192
8193Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
8194
8195 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
8196 with 0.0, not integer 0.
8197
8198Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
8199
8200 * gdb.t06/break.exp: Update for "Kill the program" message change.
8201
8202Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
8203
8204 * Makefile.in (GDBFLAGS): Set to -nx.
8205 * Makefile.in (site.exp): Use GDBFLAGS.
8206
8207Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8208
8209 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
8210 Makefiles.
8211 (check): depend on just-check.
8212 (just-check): added so that tests can be run without a noop
8213 build pass.
8214
8215Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
8216
8217 Switch to using configure's configdirs.
8218 * Makefile.in (Makefile): add configure.in dependency.
8219 (SUBDIRS): removed redundant assignment.
8220 * configure.in: switch subdirs assignment to configdirs.
8221 * gdb.t*/configure.in: new files.
8222
8223Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
8224
8225 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
8226 works.
8227
8228Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
8229
8230 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
8231 in explicit rules. Apparently this is not supported by some makes.
8232
8233Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
8234
8235 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
8236
8237Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8238
8239 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
8240 disappeared.
8241
8242Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
8243
8244 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
8245
8246Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
8247
8248 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
8249 watchpoint problem that is now fixed.
8250 * gdb.t30/chexp.exp: Remove setup_xfail for printing
8251 uninitialized convenience variables.
8252 * gdb.t31/chillvars.exp: Fix expected patterns for printing
8253 structures.
8254
8255Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8256
8257 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
8258 which causes expect to get out of sync with gdb on long output
8259 from help set.
8260 * gdb.t09/corefile.exp: Make expected pattern for core file
8261 failing signal and frame output format less sun specific.
8262
8263Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
8264
8265 * gdb.t31/chillvars.exp: Add and remove initial dummy
8266 breakpoint, so that symbol table is forced in.
8267 (Needed at least on Sunos4, though it seems not SVR4.)
8268 * gdb.t31/chillvars.exp: Update for changed output format.
8269
8270Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
8271
8272 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
8273
8274Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
8275
8276 * Makefile.in: Added --srcdir when invoking runtest, removed the
8277 need for a local config file. (optional now)
8278
8279Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
8280
8281 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
8282 failure count used to force early termination. Add some more
8283 expected failures for gnu style demangling.
8284
8285Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8286
8287 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
8288 pmi variable from gdb.t20/gdbme to get optimized away.
8289 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
8290 Check for written corefile upon timeout _and_ eof.
8291
8292Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8293
8294 * config/unix-gdb.exp: Add missing return 0.
8295
8296Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8297
8298 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
8299 test termination.
8300
8301Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
8302
8303 * configure.in (subdirs): Put back gdb.t17 which mysteriously
8304 disappeared.
8305
8306Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
8307
8308 * gdb.t10/crossload.exp: Disable the i860-elf test until such
8309 time as i860 support works.
8310
beb998c6 8311 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
8312 "backtrace 100\r" rather than just "backtrace\r", to match last
8313 change.
8314
8315Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
8316
8317 * config/udi-gdb.exp (gdb_exit): Remove close command.
8318 (gdb_target_udi): New procedure to set the UDI target.
8319 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
8320 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
8321 Added waits for prompts after several question responses. Added
8322 some more responses used by a29k-amd-udi-gdb.
8323 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
8324 pass different arguments, restart UDI connection after program
8325 completion.
8326 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
8327 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
8328 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
8329 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
8330 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
8331 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
8332 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
8333 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
8334 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
8335 after program completion.
8336 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
8337 compiled with a SELECT_VECS setting.
8338 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
8339 infinite recursion.
8340
8341 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
8342 Added checks for COFF results, and made them expected failures for
8343 all targets. It would be better to make them expected failures
8344 for COFF targets only.
8345
8346Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
8347
8348 * Makefile.in: add null dvi target, don't bother to recurse
8349 through test directories for info and install-info; rename
8350 $(datadir) to be dejagnu instead of deja-gnu
8351
8352Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
8353
8354 * gdb.t31/gdbme.ch: Re-enable code that previously caused
8355 compiler to coredump.
8356 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
8357 code.
8358
8359Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
8360
8361 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
8362 coredump.
8363 * gdb.t31/chillvars.exp: Comment out tests that depend on that
8364 code.
8365
8366Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
8367
8368 * gdb.t03/ptype.exp: tests for return code from gdb_test.
8369 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
8370 which in a shell. Deletes xgdb when done.
8371 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
8372 Tests the return from the "set height" or "set width" commands.
8373 Added a few return codes where needed.
8374
8375Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
8376
8377 * Makefile.in (SUBDIRS): Add gdb.t17.
8378 * configure.in (subdirs): Add gdb.t17.
8379 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
8380 files to test gdb's calling of functions in the inferior with
8381 the correct arguments and gdb's ability to retrieve any
8382 result returned.
8383
8384Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
8385
8386 * config/unix-gdb.exp (gdb_exit): Remove close commands that
8387 may be called after gdb goes away. Previous versions of expect
8388 needed these to avoid file descriptor leaks, but they cause
8389 errors with the current revision of expect.
8390 * gdb.t00/gdbvars.exp: Use -re on expected output after
8391 setting sevenbit-strings.
8392 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
8393 to set sevenbit-strings consistent across tests.
8394 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
8395 set sevenbit-strings consistent across tests.
8396
8397Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
8398
8399 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
8400 expected output to match current "expect" expectations.
8401
8402Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
8403
8404 * gdb.t00/default.exp: Change expected output for default "source"
8405 command, to match new gdb behavior which requires a filename to
8406 source.
8407
8408Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
8409
8410 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
8411 expected fail for i486-*-* that misses the marker2 function.
8412 * gdb.t10/crossload.exp (bfddefault): Allow successful
8413 recognition of a format to pass even if no symbols are found.
8414 Explicitly catch failures where the format is not recognized
8415 or is ambiguous, and add the reason to the fail message.
8416 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
8417 the cause is and invalid target and add reason to failure message.
8418 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
8419 elf32-i386, elf32-sparc, and elf32-i860.
8420 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
8421 Set up expected failure for 'filename'::variable scope resolution,
8422 which is now apparently broken on all targets.
8423 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
8424 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
8425 gdb.t23/templates.exp: Change failure for missing binfile into
8426 just a warning.
8427 gdb.t21/demangle.exp: Change all cfront references to 'arm'
8428 references.
8429
8430Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
8431
8432 * gdb.t00/default.exp: Add expected output for default "source"
8433 command, to match new gdb behavior.
8434 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
8435
8436Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
8437
8438 * config/*-gdb.exp: returns an error, rather than exiting on
8439 internal errors.
8440
8441Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
8442
8443 * gdb.t03/gdbme.c: Add pointer to struct variable.
8444 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
8445 referencing struct members.
8446
8447Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
8448
8449 * configure.in (mips-idt-ecoff): New target.
8450 * config/mips-gdb.exp: New file for remote board using MIPS remote
8451 debugging protocol.
8452
8453 * Redid configuration scheme. Removed gdb.t*/configure.in.
8454 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
8455 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
8456 distclean targets. Built executables via .o files. Adjusted
8457 tests to account for source files in $(srcdir) rather than
8458 $(objdir).
8459 * lib/gdb.exp (runto): Don't expect () after the function name,
8460 because it may have arguments.
8461
8462Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
8463
8464 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
8465 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
8466 expected failures for mips-idt-* and mips-sgi-*.
8467 * gdb.t00/default.exp (attach): Kill process if requested.
8468 * gdb.t00/help.exp (help target core, help target): Accept a gdb
8469 that does not read core files.
8470 * gdb.t01/run.exp: Removed checks for exit status code.
8471 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
8472 it is linked in.
8473 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
8474 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
8475 appropriate, rather than doing it by hand.
8476 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
8477 execution.
8478 * gdb.t10/crossload.exp: Kill existing program if needed.
8479 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
8480 appropriate, rather than doing it by hand. Always increase
8481 timeout for this test, not just for VxWorks.
8482
8483Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
8484
8485 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
8486 of Chill STRUCT types and STRUCT values.
8487 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
8488 than "char".
8489 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 8490 struct2): New struct definitions and initializations to test
c906108c
SS
8491 simple Chill STRUCT types.
8492
8493Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
8494
8495 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
8496 the null byte at the end of strings.
8497 * gdb.t00/default.exp: Make show version insensitive to copyright
8498 date.
8499 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
8500 to avoid dependencies on target char signedness.
8501 * gdb.t16/printcmds.exp: Update expected results for explicitly
8502 unsigned char.
8503 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
8504 now work.
8505 * gdb.t21/demangle.exp: Add many more patterns for template
8506 demangling, most of them being expected failures.
8507 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
8508 string we are matching for, to match on the whole string.
8509 * gdb.t21/demangle.exp: Add many new test strings to demangle,
8510 and fix a whole bunch that had incorrect expected output but were
8511 passing anyway because of the bug in "proc demangle".
8512 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
8513 type.
8514 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
8515
8516Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
8517
8518 * gdb/testsuite: made modifications to testcases, etc., to allow
8519 them to work properly given the reorganization of deja-gnu and the
8520 relocation of the testcases from deja-gnu to a "tool" subdirectory.
8521
8522Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
8523
8524 * gdb/testsuite: Initial creation of gdb/testsuite.
8525 Migrated dejagnu testcases and support files for testing nm to
8526 gdb/testsuite from deja-gnu. These files were moved "as is"
8527 with no modifications. This migration is part of a major overhaul
8528 of dejagnu. The modifications to these testcases, etc., which
8529 will allow them to work with the new version of dejagnu will be
8530 made in a future update.
8531\f
8532Local Variables:
8533mode: indented-text
8534left-margin: 8
8535fill-column: 74
8536version-control: never
8537End:
This page took 0.542741 seconds and 4 git commands to generate.