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