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