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