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