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