* dwarf2cfi.c, dwarf2cfi.h: Remove.
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
d80dbb52
RH
12003-06-02 Richard Henderson <rth@redhat.com>
2
3 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
4
6dd77b81
RH
52003-06-02 Richard Henderson <rth@redhat.com>
6
7 * gdb.base/selftest.exp: Next over lim_at_start initialization.
8
f6347e16
RH
92003-06-02 Richard Henderson <rth@redhat.com>
10
11 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
12
2c161407
DJ
132003-06-01 Daniel Jacobowitz <drow@mvista.com>
14
15 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
16 of globalvar.
17
572eb746
MK
182003-06-01 Mark Kettenis <kettenis@gnu.org>
19
20 * gdb.asm/asm-source.exp: Check for memory read errors in
21 disassembler test on *BSD too.
22
9e9617a5
RH
232003-06-01 Richard Henderson <rth@redhat.com>
24
25 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
26 for .frame.
27 (gdbasm_call): Lose ldgp.
28 (gdbasm_startup): Add frame information.
29 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
30
7b34ad4e
MK
312003-05-31 Mark Kettenis <kettenis@gnu.org>
32
33 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
34 i?86-*-*.
35
10059fdf
MK
362003-05-30 Mark Kettenis <kettenis@gnu.org>
37
38 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
39 FreeBSD.
40
acf4b816
RH
412003-05-29 Richard Henderson <rth@redhat.com>
42
43 * gdb.asm/alpha.inc: New file.
44 * gdb.asm/asm-source.exp: Use it.
45
e9ecd949
JB
462003-05-29 Jim Blandy <jimb@redhat.com>
47
48 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
49 'core.PID'.
50
e3e5a4f3
JB
512003-05-22 Jim Blandy <jimb@redhat.com>
52
53 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
54 backtrace.
55
72fe3d25
DC
562003-05-20 David Carlton <carlton@math.stanford.edu>
57
58 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
59 this time.
60
58da2eb2
DC
612003-05-19 David Carlton <carlton@bactrian.org>
62
63 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
64 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
65
1fcb5155
DC
662003-05-19 David Carlton <carlton@bactrian.org>
67
68 * gdb.c++/namespace.exp: Add namespace scope and anonymous
69 namespace tests.
70 Bump copyright date.
71 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
72 (main): Call C::D::marker2.
73 * gdb.c++/namespace1.cc: New file.
74
85e85163
JJ
752003-05-14 Jeff Johnston <jjohnstn@redhat.com>
76
77 Roland McGrath <roland@redhat.com>
78 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
79 there is no manager thread.
80
a25fbfec
JJ
812003-05-08 Jeff Johnston <jjohnstn@redhat.com>
82
83 * gdb.threads/schedlock.exp: Remove assumption that all threads
84 will run in a particular small time slice. Also ensure we break
85 in one of the child threads rather than the main thread.
86
be375bae
JB
872003-05-07 Jim Blandy <jimb@redhat.com>
88
09bf6082
JB
89 Add support for assembly source testing on the s390x.
90 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
91 architecture.
92 * gdb.asm/s390x.inc: New file.
93
be375bae
JB
94 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
95 succession of 'if' statements.
96
00905d52
AC
972003-05-05 Andrew Cagney <cagney@redhat.com>
98
99 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
100
b1e29e33
AC
1012003-05-05 Andrew Cagney <cagney@redhat.com>
102
103 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
104 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
105
e33d66ec
EZ
1062003-05-02 Elena Zannoni <ezannoni@redhat.com>
107
108 * gdb.base/charset.exp: Update based on new behavior of set/show
109 charset commands.
110
2b6fd0d8
AC
1112003-05-01 Andrew Cagney <cagney@redhat.com>
112
113 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
114 variable do not give memory errors.
115
130cacce
AF
1162003-04-30 Adam Fedor <fedor@gnu.org>
117
118 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
119 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
120 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
121 gdb.objc/basicclass.m: : New files
122
123 * lib/gdb.exp (gdb_compile_objc): New procedure.
124
bea71854
DJ
1252003-04-27 Daniel Jacobowitz <drow@mvista.com>
126
127 * gdb.base/signals.exp: Make backtrace tests more specific.
128
0f20eeea
DC
1292003-04-23 David Carlton <carlton@bactrian.org>
130
131 * gdb.c++/maint.exp (test_first_component): Add tests for
132 'operator' in more locations.
133
c8c4d8dc
KB
1342003-04-16 Kevin Buettner <kevinb@redhat.com>
135
136 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
137
3fe60e3c
EZ
1382003-04-16 Elena Zannoni <ezannoni@redhat.com>
139
140 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
141 func marke' instead. Update test name.
142
9219021c
DC
1432003-04-15 David Carlton <carlton@math.stanford.edu>
144
145 * gdb.c++/maint.exp: New file.
146
5dd55bdd
EZ
1472003-04-14 Elena Zannoni <ezannoni@redhat.com>
148
149 * gdb.threads/schedlock.c: Change type of thread function argument
150 to long, to avoid warnings on 64-bit platforms.
151
00890572
EZ
1522003-04-14 Elena Zannoni <ezannoni@redhat.com>
153
154 * gdb.base/attach.exp: Add new message from ptrace in case of
155 attaching to nonexistent process.
156
93201743
JB
1572003-04-11 Jim Blandy <jimb@redhat.com>
158
159 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
160 gdb.c++/userdef.cc: Place comments on the lines to which the
161 marker function might return.
162 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
163 gdb.c++/userdef.exp: Look for those comments to check that we've
164 returned to the right place, instead of checking line numbers.
165
2a11c64d
EZ
1662003-04-11 Elena Zannoni <ezannoni@redhat.com>
167
168 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
169 match on sourcefile name, instead of directory name.
170
68ab8fc5
EZ
1712003-04-10 Elena Zannoni <ezannoni@redhat.com>
172
173 * gdb.base/completion.exp: Use string_to_regexp to match the
174 working directory name.
175
5624293a
JB
1762003-04-09 Jim Blandy <jimb@redhat.com>
177
178 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
179 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
180 after an inferior function call, report the failure, but allow the
181 test to continue.
182
f1f02ee4
SC
1832003-04-05 Stephane Carrez <stcarrez@nerim.fr>
184
185 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
186 with -DPROTOTYPES.
187
6eb79af0
SC
1882003-04-05 Stephane Carrez <stcarrez@nerim.fr>
189
190 * gdb.base/break.exp: Revert last patch.
191
8dfb4cf0
SC
1922003-04-04 Stephane Carrez <stcarrez@nerim.fr>
193
194 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
195 with -DPROTOTYPES.
196
ed4c619a
AC
1972003-04-02 Andrew Cagney <cagney@redhat.com>
198
199 * gdb.base/callfuncs.exp: Make "print add" messages unique.
200 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
201 matching directories by the name breakpoint.
202 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
203 Make "continue to marker1" consistent.
204 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
205 message consistent.
206 * lib/gdb.exp: Put "the program is no longer running", and "the
207 program exited" in parenthesis.
208 * lib/mi-support.exp: Ditto.
209
4e35d5f0
BR
2102003-04-02 Bob Rossi <bob_rossi@cox.net>
211
212 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
213
71900fe8
AC
2142003-03-29 Andrew Cagney <cagney@redhat.com>
215
216 * gdb.base/sizeof.c (main): Print the value of '\377'.
217 * gdb.base/sizeof.exp: Check the sign of '\377'.
218
c0655a16
MC
2192003-03-27 Michael Chastain <mec@shout.net>
220
221 * gdb.base/gdb1090.exp: New file.
222 * gdb.base/gdb1090.cc: New file.
223
5b2a3989
JB
2242003-03-27 J. Brobecker <brobecker@gnat.com>
225
226 * gdb.gdb/observer.exp: New regression test.
227
79876890
MC
2282003-03-27 Michael Chastain <mec@shout.net>
229
230 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
231 * gdb.base/ptype.exp: Likewise.
232
6eac95e3
CV
2332003-03-27 Corinna Vinschen <vinschen@redhat.com>
234
235 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
236
e8c71839
MC
2372003-03-26 Michael Chastain <mec@shout.net>
238
239 * gdb.base/ptype.exp: Actually use some typedef'd types.
240
71b10041
SC
2412003-03-21 Stephane Carrez <stcarrez@nerim.fr>
242
243 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
244 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
245
2512cf80
CV
2462003-03-20 Corinna Vinschen <vinschen@redhat.com>
247
248 * gdb.base/default.exp: Fix regular expression.
249
0d195a4f
CV
2502003-03-20 Corinna Vinschen <vinschen@redhat.com>
251
252 * gdb.base/args.exp: Fix regular expression.
253
8a2dbca8
CV
2542003-03-20 Corinna Vinschen <vinschen@redhat.com>
255
256 * gdb.base/help.exp: Allow Win32 child process.
257
bf028682
CV
2582003-03-20 Corinna Vinschen <vinschen@redhat.com>
259
260 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
261 when stepping out of main().
262
182dbe85
CV
2632003-03-20 Corinna Vinschen <vinschen@redhat.com>
264
265 * gdb.base/default.exp: Check for win32 specific message when calling
266 "run" without executable.
267
d67a6ba5
CV
2682003-03-20 Corinna Vinschen <vinschen@redhat.com>
269
270 * gdb.base/args.exp: Expect .exe in output.
271
a955b5bb
CV
2722003-03-20 Corinna Vinschen <vinschen@redhat.com>
273
274 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
275 Cygwin native.
276
bf6bad4b
AC
2772003-03-17 Andrew Cagney <cagney@redhat.com>
278
279 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
280 vector registes.
281 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
282 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
283
293e9a31
DC
2842003-03-17 David Carlton <carlton@math.stanford.edu>
285
286 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
287 test, for PR breakpoints/38.
288 Call test_watchpoint_and_breakpoint.
289 * gdb.base/watchpoint.c (func3): New function.
290 (main): Call func3.
291
5330f2db
DC
2922003-03-04 David Carlton <carlton@math.stanford.edu>
293
294 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
295 Garply<Garply<char> >:: garply".
296 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
297 with respect to PR c++/1111; note also PR c++/1113.
298 (test_template_breakpoints): KFAIL "constructor breakpoint" with
299 respect to PR c++/1062.
300 KFAIL "destructor breakpoint" with respect to PR c++/1112.
301
6ece72da
DC
3022003-03-03 David Carlton <carlton@math.stanford.edu>
303
304 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
305 with respect to PR c++/57.
306 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
307 c++/826.
308 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
309 respect to PR c++/57.
310
85ca1584
DC
3112003-03-03 David Carlton <carlton@math.stanford.edu>
312
313 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
314 respect to PR c++/33 into FAILs.
315
98e9c5b8
MC
3162003-03-03 Michael Chastain <mec@shout.net>
317
7bedbf27
MC
318 * configure.in: Update copyright years.
319
3202003-03-03 Michael Chastain <mec@shout.net>
321
322 * Makefile.in: Update copyright years.
98e9c5b8 323
f683e100
DC
3242003-02-28 David Carlton <carlton@math.stanford.edu>
325
326 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
327 print class instead of struct and/or superfluous protection
328 specifiers, as long as the resulting output is equivalent to the
329 source code.
330 Delete FIXME from end of messages on tests that don't need
331 fixing.
332
a9e0cf2c
DC
3332003-02-28 David Carlton <carlton@math.stanford.edu>
334
335 * gdb.c++/templates.exp (do_tests): Allow const in the two
336 Foo<volatile char *>::foo tests.
337
e8d359df
MS
3382003-02-27 Michael Snyder <msnyder@redhat.com>
339
340 * gdb.base/restore.c (main): Return zero, so exit code
341 will be consistant.
342
0b71dc91
DC
3432003-02-26 David Carlton <carlton@math.stanford.edu>
344
345 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
346 char *>::foo" test with respect to PR c++/33. Create a new test
347 which is identical to that one except that it doesn't put the
348 space between the "char" and the "*"; KFAIL it, too.
349
dd14ab43
DC
3502003-02-26 David Carlton <carlton@math.stanford.edu>
351
352 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
353 template types into either PASSes or KFAILs (corresponding to PR
354 c++/57). Tweak indentation. Update copyright.
355
1146c7f1
SC
3562003-02-23 Stephane Carrez <stcarrez@nerim.fr>
357
358 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
359
74641dfb
MC
3602003-02-13 Michael Chastain <mec@shout.net>
361
362 * gdb.base/exprs.exp: Remove i960 remnants.
363 * gdb.base/funcargs.exp: Likewise.
364 * gdb.base/list.exp: Likewise.
365 * gdb.base/ptype.exp: Likewise.
366
559cd2d0
DC
3672003-02-14 David Carlton <carlton@math.stanford.edu>
368
369 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
370 pEe->D::vg()" from XFAIL to KFAIL.
371
c4f90d87
JM
3722003-02-13 Jason Molenda (jmolenda@apple.com)
373
374 * gdb.base/maint.exp: Update maint print statistics regexp to include
375 new entries.
376
cbc4d97c
MC
3772003-02-13 Michael Chastain <mec@shout.net>
378
379 * gdb.c++/inherit.exp: Remove call to get_debug_format.
380
40f235b7
MC
3812003-02-12 Michael Chastain <mec@shout.net>
382
383 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
384 * gdb.c++/inherit.exp: Likewise.
385 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
386 * gdb.c++/templates.exp: Likewise.
387 * gdb.c++/virtfunc.exp: Likewise.
388
c56716b0
JM
3892003-02-06 Jason Molenda (jason-cl@molenda.com)
390
391 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
392 why the code is written that way.
393
070afcf8
MC
3942003-02-05 Michael Chastain <mec@shout.net>
395
396 * gdb.base/dump.exp: Add missing copyright line.
397
5d0331e5
JM
3982003-02-05 Jason Molenda (jason-cl@molenda.com)
399
f7ae6d3e 400 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
401 at the beginning so the breakpoint doesn't get set on the loop.
402
92851186
MC
4032003-02-05 Michael Chastain <mec@shout.net>
404
405 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
406 output for configurations with gcc 2.95.3.
407
cbf1e085
AC
4082003-02-05 Keith Seitz <keiths@redhat.com>
409 Andrew Cagney <ac131313@redhat.com>
410
411 * gdb.mi/mi-cli.exp: New file.
412
29518e1e
MC
4132003-02-04 Michael Chastain <mec@shout.net>
414
415 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
416 Call perror and then continue.
417
5af1d5f3
MC
4182003-02-03 Michael Chastain <mec@shout.net>
419
420 * gdb.c++/pr-1023.cc: New file.
421 * gdb.c++/pr-1023.exp: New file.
422
6b549786
JB
4232003-02-05 Jim Blandy <jimb@redhat.com>
424
425 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
426 it's local to foobar. Check for it there, and check that it's not
427 present in main.
428 * gdb.c++/local.cc (marker2): New function.
429 (foobar): Call marker1.
430 (main): Call marker2 instead of marker1.
431
67f16606
AC
4322003-02-04 Andrew Cagney <ac131313@redhat.com>
433
434 * gdb.disasm/mn10200.exp: Obsolete file.
435 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
436 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
437 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
438
1c5cb38e
DC
4392003-02-04 David Carlton <carlton@math.stanford.edu>
440
441 * gdb.c++/overload.exp: Test intToChar(1).
442 * gdb.c++/overload.cc (intToChar): New.
443 (main): Call intToChar.
444
d1fe6965
DC
4452003-02-03 David Carlton <carlton@math.stanford.edu>
446
447 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
448 'might_kfail' arg.
449 KFAIL some of the continue_to_bp_overloaded calls, according to
450 PR c++/1025.
451
9ba61c5d
MC
4522003-02-01 Michael Chastain <mec@shout.net>
453
454 * gdb.base/advance.c (marker1): New marker function.
455 * gdb.base/advance.exp: When the 'advance' command lands on the
456 return breakpoint, it can legitimately stop on either the
457 current line or the next line. Accommodate both outcomes.
458 * gdb.base/until.exp: Likewise.
459
e7494ffb
AC
4602003-02-02 Andrew Cagney <ac131313@redhat.com>
461
462 2002-11-10 Jason Molenda (jason-cl@molenda.com):
463 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
464 now a list, not a tuple.
465 * gdb.mi/mi-var-display.exp: Ditto.
466 * gdb.mi/gdb792.exp: Ditto.
467
075559bc
AC
4682003-02-01 Andrew Cagney <ac131313@redhat.com>
469
470 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
471 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
472 stack backtraces.
473 * gdb.mi/mi-syn-frame.c: Part of same.
474
2bd4c7b1
MK
4752003-02-01 Mark Kettenis <kettenis@gnu.org>
476
477 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
478 gdb.mi/mi1-pthreads.exp: Return instead of calling
479 gdb_suppress_entire_file.
480
eabd8992
MS
4812003-02-01 Mark Salter <msalter@redhat.com>
482
483 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
484
71469e2f
MS
4852003-01-31 Mark Salter <msalter@redhat.com>
486
487 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
488 Support empty arg.
489
38a94d44
MC
4902003-01-30 Michael Chastain <mec@shout.net>
491
492 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
493 This was a workaround for a UTF-8 bug in readline 4.3. The bug
494 has been fixed in gdb/readline on 2003-01-09.
495
19ea9e73
MS
4962003-01-29 Michael Snyder <msnyder@redhat.com>
497
e8d359df
MS
498 * gdb.base/maint.exp: Allow for leading underscore in symbol.
499 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
500 * gdb.base/args.exp: Skip if target does not support args passing.
501
2307bd6a
DJ
5022003-01-22 Daniel Jacobowitz <drow@mvista.com>
503
19ea9e73 504 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
505 gdb_test. Accept a list of expect arguments as the third
506 parameter.
507 (gdb_test): Use it.
508
f2dd3617
EZ
5092003-01-20 Elena Zannoni <ezannoni@redhat.com>
510
511 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
512 allow for different test tree configurations. Update some
513 tescases accordingly.
514 * gdb.arch/altivec-regs.exp: Ditto.
515 * gdb.asm/asm-source.exp: Ditto.
516 * gdb.base/advance.exp: Ditto.
517 * gdb.base/display.exp: Ditto.
518 * gdb.base/long_long.exp: Ditto.
519 * gdb.base/mips_pro.exp: Ditto.
520 * gdb.base/overlays.exp: Ditto.
521 * gdb.base/relocate.exp: Ditto.
522 * gdb.base/setshow.exp: Ditto.
523 * gdb.base/step-line.exp: Ditto.
524 * gdb.base/step-test.exp: Ditto.
525 * gdb.base/until.exp: Ditto.
526 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
527
c71cdefd
DC
5282003-01-17 David Carlton <carlton@math.stanford.edu>
529
530 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
531 corresponding to PR c++/945.
532 Update copyright.
533
fdba05d7
DC
5342003-01-17 David Carlton <carlton@math.stanford.edu>
535
536 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
537 corresponding to PR c++/68.
538
5392003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
540
541 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
542 (test_paddr_hairy_functions): Call print_addr_2_kfail for
543 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
544
c362c33a
EZ
5452003-01-15 Elena Zannoni <ezannoni@redhat.com>
546
0fbc361c
EZ
547 * gdb.base/break.exp: Fix change of default location, because of
548 removal of until tests.
549 * gdb.base/help.exp: Update test for new 'until' help message.
550 Add test for help on 'advance'.
c362c33a
EZ
551 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
552
dabf8a35
MK
5532003-01-15 Mark Kettenis <kettenis@gnu.org>
554
555 * gdb.base/default.exp: Adapt "info float" test for recent changes
556 to that command. Add test for "info vector".
557 * gdb.base/float.exp: New file. Add test for "info float" that
558 resembles the old test in gdb.base/default.exp.
559
a1769aca
DC
5602003-01-15 David Carlton <carlton@math.stanford.edu>
561
562 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
563
82025e13
EZ
5642003-01-15 Elena Zannoni <ezannoni@redhat.com>
565
566 * gdb.base/break.exp: Move the tests of until command from here...
567 * gdb.base/until.exp: ... to here. New file. Add other tests.
568 * gdb.base/advance.c: New file.
569 * gdb.base/advance.exp: New file.
570
8f9ab801
EZ
5712003-01-14 Elena Zannoni <ezannoni@redhat.com>
572
573 * gdb.base/args.c: New file.
574 * gdb.base/args.exp: New file.
575
9ae66589
DJ
5762003-01-14 Daniel Jacobowitz <drow@mvista.com>
577
578 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
579
8d77e5c3
DJ
5802003-01-14 Daniel Jacobowitz <drow@mvista.com>
581
582 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
583
12d2f0a1
DJ
5842003-01-14 Daniel Jacobowitz <drow@mvista.com>
585
586 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
587 dates.
588
6ca37014
DJ
5892003-01-13 Daniel Jacobowitz <drow@mvista.com>
590
591 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
592
b0023472
DJ
5932003-01-13 Daniel Jacobowitz <drow@mvista.com>
594
595 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
596 (ptype &*"foo").
597 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
598
d6abaea5
DJ
5992002-01-13 Daniel Jacobowitz <drow@mvista.com>
600
601 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
602 * gdb.mi/mi1-console.exp: Likewise.
603
dfd536a7
DJ
6042002-01-13 Daniel Jacobowitz <drow@mvista.com>
605
606 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
607 * gdb.mi/mi1-console.exp: Likewise.
608
a1fb14a2
DJ
6092003-01-13 Daniel Jacobowitz <drow@mvista.com>
610
611 * gdb.c++/overload.exp: Remove some fixed XFAILs.
612
c4cf40b7
DJ
6132003-01-09 Daniel Jacobowitz <drow@mvista.com>
614
615 * gdb.base/detach.exp: New test.
616
696d5a5b
DJ
6172003-01-09 Daniel Jacobowitz <drow@mvista.com>
618
619 * Makefile.in (ALL_SUBDIRS): New variable.
620 (subdirs, clean, distclean): Use it.
621 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
622 regenerating Makefile, since it is generated from the top level.
623 * gdb.asm/Makefile.in: Likewise.
624 * gdb.base/Makefile.in: Likewise.
625 * gdb.c++/Makefile.in: Likewise.
626 * gdb.disasm/Makefile.in: Likewise.
627 * gdb.java/Makefile.in: Likewise.
628 * gdb.mi/Makefile.in: Likewise.
629 * gdb.threads/Makefile.in: Likewise.
630 * gdb.trace/Makefile.in: Likewise.
631
754533e4
DC
6322003-01-09 David Carlton <carlton@math.stanford.edu>
633
634 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
635 Add copyright year 2003.
636
d8b3e9ee
MC
6372003-01-06 Michael Chastain <mec@shout.net>
638
639 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
640 When selecting a thread, 'line' and 'file' are optional.
641 * gdb.mi/mi1-pthreads.exp: Likewise.
642
8e9e0fe6
AS
6432003-01-06 Andreas Schwab <schwab@suse.de>
644
645 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
646 failures.
647
b5ab8ff3
DJ
6482003-01-04 Daniel Jacobowitz <drow@mvista.com>
649
650 Fix PR gdb/844
651 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
652 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
653
654 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
655 instead of calling gdb_suppress_entire_file.
656 * gdb.threads/print-threads.exp: Likewise.
657 * gdb.threads/schedlock.exp: Likewise.
658
659 * gdb.threads/killed.exp: Return instead of calling
660 gdb_suppress_entire_file.
661 * gdb.threads/linux-dp.exp: Likewise.
662 * gdb.threads/pthreads.exp: Likewise.
663
1e698235
DJ
6642003-01-04 Daniel Jacobowitz <drow@mvista.com>
665
666 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
667 stabs.
668 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
669 * gdb.base/whatis.exp: Always allow (void) after function names.
670
147ff08c
DJ
6712003-01-04 Daniel Jacobowitz <drow@mvista.com>
672
673 * gdb.c++/casts.exp: Correct regexp.
674
dc62bfc2
MK
6752003-01-04 Mark Kettenis <kettenis@gnu.org>
676
677 * configure.in: Call AC_CONFIG_HEADER. Don't call
678 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
679 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
680 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
681 aforementioned directories in the AC_OUPUT call.
682 * config.hin: New file.
683 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
684 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
685 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
686 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
687 pass -I$objdir instead of -I$objdir/$subdir in compilation.
688 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
689 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
690 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
691 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
692 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
693 gdb.threads/configure.in, gdb.threads/configure,
694 gdb.threads/config.in, gdb.trace/configure.in,
695 gdb.trace/configure: Removed.
696
77afa639
MC
6972003-01-03 Michael Chastain <mec@shout.net>
698
699 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
700 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
701
7634bb6e
DJ
7022003-01-03 Daniel Jacobowitz <drow@mvista.com>
703
704 * gdb.base/store.exp: Fix regular expressions.
705
b39c905e
MK
7062002-12-28 Mark Kettenis <kettenis@gnu.org>
707
708 * configure.in: Rewrite.
709 * configure: Regenerated.
710
0a8551dd
DC
7112003-01-03 David Carlton <carlton@math.stanford.edu>
712
713 * gdb.base/psymtab.exp: New file.
714 * gdb.base/psymtab1.c: Ditto.
715 * gdb.base/psymtab2.c: Ditto.
716
c60b7188
AF
7172002-12-23 Adam Fedor <fedor@gnu.org>
718
719 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
720
ee73db83
DC
7212002-12-23 David Carlton <carlton@math.stanford.edu>
722
723 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
724 and current_directory initialization.
725
d6c1774e
JB
7262002-12-22 Jim Blandy <jimb@redhat.com>
727
f0a847b8
JB
728 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
729 rather than as part of the output file name.
730
d6c1774e
JB
731 * gdb.base/attach.exp: There's no need to copy the test program to
732 /tmp; that was only ever necessary on HP/UX, and this test is
733 entirely disabled there anyway.
734
f0708dbb
JB
7352002-12-21 Jim Blandy <jimb@redhat.com>
736
4c2acfea
JB
737 * gdb.c++/psmang.exp: Doc fix.
738
f0708dbb
JB
739 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
740 test.
741
9579e000
DC
7422002-12-20 David Carlton <carlton@math.stanford.edu>
743
744 * gdb.c++/annota2.exp: KFAIL annotate-quit.
745
d1810171
MC
7462002-12-18 Michael Chastain <mec@shout.net>
747
748 * gdb.c++/annota2.exp: Add copyright year 2002.
749
76565097
DC
7502002-12-17 David Carlton <carlton@math.stanford.edu>
751
752 * gdb.c++/try_catch.cc: Add marker comments.
753 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
754 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
755 * gdb.c++/m-static.cc: Ditto.
756 * gdb.c++/m-static1.cc: Ditto.
757 * gdb.c++/try_catch.cc: Ditto.
758
da81390b
JJ
7592002-12-16 Jeff Johnston <jjohnstn@redhat.com>
760
761 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
762 to see whether we are using the new -environment-directory
763 command which resets via -r or the old version of the command
764 which may prompt the user. Part of fix for gdb/741.
765
b304d130
AC
7662002-12-13 Andrew Cagney <ac131313@redhat.com>
767
768 * gdb.fortran/types.exp: Update obsolete comment.
769 * gdb.fortran/exprs.exp: Ditto.
770 * lib/gdb.exp: Delete obsolete code.
771 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
772 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
773 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
774 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
775 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
776 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
777 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
778 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
779 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
780 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
781 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
782 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
783 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
784 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
785 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
786 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
787 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
788 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
789 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
790 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
791 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
792 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
793 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
794 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
795 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
796 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
797 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
798 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
799 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
800 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
801 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
802 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
803 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
804 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
805 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
806 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
807 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
808
a23b6e6a
DC
8092002-12-11 David Carlton <carlton@math.stanford.edu>
810
811 * gdb.c++/m-data.exp: Add test for members that shadow global
812 variables: see PR gdb/804.
813 * gdb.c++/m-data.cc: Ditto.
814
6604731b
DJ
8152002-12-10 Daniel Jacobowitz <drow@mvista.com>
816
817 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
818
de46ecd7
DC
8192002-12-06 David Carlton <carlton@math.stanford.edu>
820
821 * gdb.base/store.c: Don't declare functions static.
822
27e829d0
AC
8232002-12-04 Andrew Cagney <ac131313@redhat.com>
824
825 * gdb.base/store.exp, gdb.base/store.c: New files.
826
92806416
DJ
8272002-12-03 Daniel Jacobowitz <drow@mvista.com>
828
829 * gdb.base/selftest.exp: Update for current gdb.
830
3bcbaac5
DJ
8312002-12-03 Daniel Jacobowitz <drow@mvista.com>
832
833 * gdb.base/maint.exp: Only dump symbols from one source file
834 or objfile.
835
f4f00b1f
DJ
8362002-12-03 Daniel Jacobowitz <drow@mvista.com>
837
838 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
839 function call.
840
f1c8a949
JB
8412002-11-25 Jim Blandy <jimb@redhat.com>
842
843 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
844 function appearing in error message.
845
9e297a97
DJ
8462002-11-21 Daniel Jacobowitz <drow@mvista.com>
847
848 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
849
1f312e79
JJ
8502002-11-08 Jeff Johnston <jjohnstn@redhat.com>
851
852 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
853 for mi1 and current mi is in correct format. New mi startup message
854 should be in mi console format. This is part of fix for PR gdb/604.
855
83c31e7d
FN
8562002-09-18 Fernando Nasser <fnasser@redhat.com>
857
858 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
859 which explicitly prints the zero offset as "+0".
860
322b3f65
DJ
8612002-10-22 Daniel Jacobowitz <drow@mvista.com>
862
863 * gdb.threads/schedlock.c (args): Make unsigned.
864
8652002-10-21 Daniel Jacobowitz <drow@mvista.com>
866
867 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
868 numbers. Allow "foo2|selected stack frame".
869 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
870 * gdb.asm/asmsrc2.s: Likewise.
871 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
872 comments.
873 * gdb.asm/mips.inc: New file.
874
5e2fe5b8
AF
8752002-10-18 Adam Fedor <fedor@gnu.org>
876
877 * gdb.base/default.exp: Update expected output to include 'ObjC'.
878 * gdb.base/help.exp: Likewise.
879
abe1a5d0
KB
8802002-10-17 Kevin Buettner <kevinb@redhat.com>
881
882 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
883 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
884
10abb1d4
JB
8852002-10-02 Jim Blandy <jimb@redhat.com>
886
887 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
888
1f609b42
AC
8892002-10-01 Andrew Cagney <ac131313@redhat.com>
890
891 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
892 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
893 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
894 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
895 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
896 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
897 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
898
0aee02e4
AC
8992002-09-29 Andrew Cagney <ac131313@redhat.com>
900
901 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
902 * mi0-disassemble.exp, mi0-eval.exp: Delete.
903 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
904 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
905 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
906 * mi0-var-block.exp, mi0-var-child.exp: Delete.
907 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
908
6fde09ad
KB
9092002-09-27 Kevin Buettner <kevinb@redhat.com>
910
911 * gdb.base/annota1.exp (info break): Make directory components of
912 path optional since not all compilers emit this debug information.
913
914 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
915 step ends up stepping out of the function instead of stopping on
916 the epilogue.
917
9e8aab75
KS
9182002-09-26 Keith Seitz <keiths@redhat.com>
919
920 * lib/insight-support.exp (gdbtk_start): Figure out where
921 the insight executable is based on where gdb is. Use this
922 executable to start insight instead of gdb.
923
e36180d7
AC
9242002-09-25 Andrew Cagney <cagney@redhat.com>
925
926 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
927
9dd34b2b
AC
9282002-09-24 Andrew Cagney <ac131313@redhat.com>
929
930 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
931 test_isolated_complaints.
932 (test_empty_complaint): New function.
933 (test_empty_complaints): New function. Check no output when no
934 complaints.
935
dea97812
KB
9362002-09-19 Jim Blandy <jimb@redhat.com>
937
938 * gdb.base/charset.exp, gdb.base/charset.c: New files.
939
54951bd7
AC
9402002-09-19 Andrew Cagney <ac131313@redhat.com>
941
942 * gdb.gdb/complaints.exp: New file.
943
dec43320
AC
9442002-09-18 Andrew Cagney <ac131313@redhat.com>
945
946 * gdb.base/maint.exp: Check `help maint internal-warning'.
947
e70d6e3f
DC
9482002-09-18 David Carlton <carlton@math.stanford.edu>
949
950 * gdb.c++/m-static.exp: Remove breakpoints depending on line
951 numbers, and replace them by a single breakpoint after the
952 constructors are all finished.
953 Add test 4.
954 * gdb.c++/m-static.cc: Add test 4.
955 * gdb.c++/m-static.h: New file.
956 * gdb.c++/m-static1.cc: New file.
957
958 * gdb.c++/printmethod.exp: New file.
959 * gdb.c++/printmethod.cc: New file.
960
961 * gdb.c++/pr-574.exp: New file.
962 * gdb.c++/pr-574.cc: New file.
963
afb5c968
CV
9642002-09-18 Corinna Vinschen <vinschen@redhat.com>
965
966 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
967 embedded targets which never actually exit.
968
31e45dee
FN
9692002-09-18 Fernando Nasser <fnasser@redhat.com>
970
971 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
972 "don't step after run" as unresolved or unsupported, instead of xfail.
973
a283c5a1
CV
9742002-09-18 Corinna Vinschen <vinschen@redhat.com>
975
976 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
977 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
978 Add newline to expected string in "step out of main (status wrapper)"
979 case.
980
11350d2a
CV
9812002-09-18 Corinna Vinschen <vinschen@redhat.com>
982
983 * lib/gdb.exp (rerun_to_main): Allow restarting application.
984 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
985
0deec7d6
TT
9862002-09-17 Tom Tromey <tromey@redhat.com>
987
988 * gdb.base/printcmds.exp (test_print_string_constants): Expect
989 \000, not \0, in double-quoted string.
990
b2b4a1b5
CV
9912002-09-14 Corinna Vinschen <vinschen@redhat.com>
992
993 * gdb.base/command.exp: Don't expect a "Program exited normally"
994 string after running the commands execution on breakpoint tests.
995
1c56143a
CV
9962002-09-13 Corinna Vinschen <vinschen@redhat.com>
997
998 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
999
37f8da45
JB
10002002-09-12 Joel Brobecker <brobecker@gnat.com>
1001
1002 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1003
08b468e0
KS
10042002-09-10 Keith Seitz <keiths@redhat.com>
1005
1006 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1007 runto proc.
1008 (mi_run_to_main): Use mi_runto.
1009 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1010
dc360f58
KS
10112002-09-10 Keith Seitz <keiths@redhat.com>
1012
1013 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1014 regexp for stopping at main. Could have multiple event notifications.
1015 Don't assume that main was declared with no parameters.
1016 (mi_next): Use mi_step_to.
1017 (mi_step): Use mi_next_to.
1018
ce3abcfb
CV
10192002-09-09 Corinna Vinschen <vinschen@redhat.com>
1020
1021 * gdb.base/default.exp: Fix expected string in `info float' test.
1022
d1f5b980
BE
10232002-09-09 Ben Elliston <bje@redhat.com>
1024
1025 * config/mips.exp: Update comments.
1026 * config/mips-idt.exp: Likewise.
1027 * config/nind.exp: Likewise.
1028 * config/slite.exp: Likewise.
1029 * config/sparclet.exp: Likewise.
1030 * config/udi.exp: Likewise.
1031 * config/vx.exp: Likewise.
1032 * config/vxworks29k.exp: Likewise.
1033
2f71430b
JB
10342002-09-05 Jim Blandy <jimb@redhat.com>
1035
1036 * gdb.threads/killed.exp: Fix test failure message.
1037
7ddebc7e
KS
10382002-09-04 Keith Seitz <keiths@redhat.com>
1039
1040 * lib/mi-support.exp: Update copyright.
1041 (mi_gdb_test): Increase the priority of the expected pattern
1042 so that it matches gdb_test.
1043
0ae67eb3
KS
10442002-09-03 Keith Seitz <keiths@redhat.com>
1045
1046 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1047 Use integer comparison instead of string comparison for testing
1048 whether binary was built.
1049
38fc42c8
JB
10502002-09-03 Jim Blandy <jimb@redhat.com>
1051
1052 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1053
b6ff0e81
JB
10542002-08-29 Jim Blandy <jimb@redhat.com>
1055
1056 * gdb.threads/pthreads.exp: Move the portable thread compilation
1057 code into a function in lib/gdb.exp, and call that from here.
1058 * lib/gdb.exp (gdb_compile_pthreads): New function.
1059
07c98896
KS
10602002-08-29 Keith Seitz <keiths@redhat.com>
1061
1062 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1063 expect_out so that callers can get at it.
1064
0312286c
DJ
10652002-08-23 Daniel Jacobowitz <drow@mvista.com>
1066
1067 * gdb.threads/print-threads.c: New file.
1068 * gdb.threads/print-threads.exp: New file.
1069 * gdb.threads/schedlock.c: New file.
1070 * gdb.threads/schedlock.exp: New file.
1071
dd039bc4
EZ
10722002-08-22 Elena Zannoni <ezannoni@redhat.com>
1073
1074 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1075 not altivec.c.
1076
1f36144c
MK
10772002-08-17 Mark Kettenis <kettenis@gnu.org>
1078
1079 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1080 targets. The problem should be fixed now.
1081
16057ec7 10822002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1083
1084 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1085 2002-07-24 change that removes final dots from error messages.
1086
3c1499ad
TT
10872002-08-13 Tom Tromey <tromey@redhat.com>
1088
1089 * gdb.base/readline.exp: New file.
1090
a20ce2c3
AC
10912002-08-01 Andrew Cagney <ac131313@redhat.com>
1092
1093 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1094 supress message.
1095
db034ac5
AC
10962002-08-01 Andrew Cagney <cagney@redhat.com>
1097
1098 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1099 CHILL_FOR_TARGET and CHILL_LIB.
1100 * configure.in (configdirs): Remove gdb.chill.
1101 * configure: Regenerate.
1102 * lib/gdb.exp: Obsolete references to chill.
1103 * gdb.fortran/types.exp: Ditto.
1104 * gdb.fortran/exprs.exp: Ditto.
1105
3e000b18
KB
11062002-07-30 Kevin Buettner <kevinb@redhat.com>
1107
1108 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1109 set Irix-specific compile and link flags.
1110
28f4966b
KB
11112002-07-29 Kevin Buettner <kevinb@redhat.com>
1112
1113 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1114 source files. The ``-o'' option doesn't work with the ``-E'' option
1115 when using the Irix compiler.
1116
46c0d5a6
DJ
11172002-07-19 Daniel Jacobowitz <drow@mvista.com>
1118
1119 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1120 Improve support for reusing an exec file. Copy exec file
1121 to target, and run gdbserver on the target instead of on the host.
1122
eecf4bed
JB
11232002-07-18 Jim Blandy <jimb@redhat.com>
1124
0f815cdf
JB
1125 * gdb.base/ending-run.exp: Don't expect to see the program end in
1126 some orderly fashion when we're running on a real stand-alone
1127 board.
1128
eecf4bed
JB
1129 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1130 targets that don't support interrupts.
1131
52d309e4
JB
11322002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1133
1134 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1135 systems.
1136 Move comments in expect statements to inside the actions, so that they
1137 don't get matched against.
1138
ff683d9e
MK
11392002-07-10 Mark Kettenis <kettenis@gnu.org>
1140
1141 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1142 function when asleep" test.
1143
b5356753
AC
11442002-07-10 Andrew Cagney <ac131313@redhat.com>
1145
1146 * gdb.base/page.exp: Rewrite to handle problems with very long
1147 `info set' output. Update copyright.
1148
6aa4d13a
AC
11492002-06-26 Andrew Cagney <ac131313@redhat.com>
1150
1151 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1152 gdb.threads-hp.
1153 * gdb.hp/configure: Regenerate.
1154 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1155 * gdb.hp/gdb.threads-hp/configure: Delete file.
1156 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1157
8cf8c2b8
AC
11582002-06-22 Andrew Cagney <ac131313@redhat.com>
1159
1160 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1161 setlocale, bindtextdomain and textdomain.
1162
6827a8f8
JB
11632002-06-11 Jim Blandy <jimb@redhat.com>
1164
919d772c
JB
1165 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1166 preprocessor macro information is present.
1167
6827a8f8
JB
1168 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1169 tests.
1170
c15b0d21
MS
11712002-06-06 Michael Snyder <msnyder@redhat.com>
1172
c5984d70
MS
1173 * gdb.base/overlays.exp: Record addresses of overlay
1174 functions in TCL variables rather than in GDB variables,
1175 to avoid having GDB convert them to pointers (with loss
1176 of information).
1177
99a8512b
MS
1178 * gdb.base/d10v.ld: Merge in several years worth of
1179 default linker script changes.
c15b0d21
MS
1180 * gdb.base/long_long.exp: Add check for sizeof (long double).
1181
be26fe0d
ML
11822002-06-06 Michal Ludvig <mludvig@suse.cz>
1183
1184 * gdb.asm/asm-source.exp: Add x86-64 target.
1185 * gdb.asm/x86_64.inc: New.
1186
258093ca 11872002-05-30 Michael Chastain <mec@shout.net>
258093ca 1188
4b3153f1 1189 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1190 * gdb.c++/m-static.cc: New file.
1191 * gdb.c++/m-static.exp: New file.
1192
241264c6
MS
11932002-05-28 Michael Snyder <msnyder@redhat.com>
1194
1195 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1196 precision.
1197
9bba8c8f 11982002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1199
4b3153f1 1200 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1201 * gdb.c++/m-data.cc: New file.
1202 * gdb.c++/m-data.exp: New file.
1203
12042002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1205
4b3153f1 1206 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1207 * gdb.c++/try_catch.cc: New file.
1208 * gdb.c++/try_catch.exp: New file.
1209
def1b996
MC
12102002-05-27 Michael Chastain <mec@shout.net>
1211
1212 * gdb.c++/local.exp: Accept more nested types in output.
1213
522ba268
MC
12142002-05-26 Michael Chastain <mec@shout.net>
1215
1216 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1217
277254ba
MS
12182002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1219
1220 * lib/gdb.exp (gdb_wrapper_init): Just because
1221 gdb_wrapper_file exists, this does not mean that the file
1222 should not be rebuilt. That is what gdb_wrapper_initialized
1223 is for.
1224 (default_gdb_init): Reset gdb_wrapper_initialized.
1225
b61a8733
MS
12262002-05-23 Michael Snyder <msnyder@redhat.com>
1227
5bdb6d01
MS
1228 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1229 the precision of the floating point test results.
1230 * gdb.base/call-rt-st.exp: Ditto.
1231
b61a8733
MS
1232 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1233 * gdb.base/call-rt-st.exp: Ditto.
1234
56f6e910
MC
12352002-05-19 Michael Chastain <mec@shout.net>
1236
1237 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1238
ad0b0016
EZ
12392002-05-19 Elena Zannoni <ezannoni@redhat.com>
1240
1241 * configure.in (configdirs): Add gdb.arch.
1242 * configure: Regenerate.
1243
f617d2b6
JB
12442002-05-17 Jim Blandy <jimb@redhat.com>
1245
1246 * gdb.base/completion.exp: Recognize the more detailed error
1247 messages produced by the macro expander's lexical analyzer.
1248
eac2a696
EZ
12492002-05-14 Elena Zannoni <ezannoni@redhat.com>
1250
1251 * gdb.arch/altivec-abi.c: New file.
1252 * gdb.arch/altivec-abi.exp: New file.
1253 * gdb.arch/altivec-regs.c: New file.
1254 * gdb.arch/altivec-regs.exp: New file.
1255
2fdde8f8
DJ
12562002-05-14 Daniel Jacobowitz <drow@mvista.com>
1257
1258 * gdb.base/maint.exp (maint print type): Update for new type
1259 structure.
eac2a696 1260
e31f1a7c
EZ
12612002-05-14 Elena Zannoni <ezannoni@redhat.com>
1262
1263 * gdb.arch: New directory.
1264 * gdb.arch/configure.in: New file.
1265 * gdb.arch/configure: New file.
1266 * gdb.arch/Makefile.in: New file.
1267
db589741
CV
12682002-05-13 Corinna Vinschen <vinschen@redhat.com>
1269
1270 * gdb.asm/asm-source.exp: Add v850 as supported target.
1271 * gdb.asm/v850.inc: New file.
1272
8ce2a7dc
DJ
12732002-05-13 Daniel Jacobowitz <drow@mvista.com>
1274
1275 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1276
df763c7f
DJ
12772002-05-12 Daniel Jacobowitz <drow@mvista.com>
1278
1279 * gdb.base/break.exp: Check 'break "marker2"'.
1280
377daeed
MS
12812002-05-10 Michael Snyder <msnyder@redhat.com>
1282
1283 * gdb.base/long_long.exp: Fix typo.
1284
c4b7bc2b
JB
12852002-05-10 Jim Blandy <jimb@redhat.com>
1286
ecac9a4e
JB
1287 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1288 a bug.
1289
c4b7bc2b
JB
1290 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1291 Recognize more detailed error message produced by the macro
1292 expander's lexical analyzer.
1293 * lib/gdb.exp (test_print_reject): Same.
1294
e71019a1
MK
12952002-05-09 Mark Kettenis <kettenis@gnu.org>
1296
1297 * gdb.c++/method.exp: Fix typo.
1298
fedfc8e6
MS
12992002-05-08 Michael Snyder <msnyder@redhat.com>
1300
166a1957
MS
1301 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1302 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1303 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1304 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1305 Add iftarget clause for strongarm.
1306
f1c47eb2
MS
13072002-05-06 Michael Snyder <msnyder@redhat.com>
1308
cb9a9d3e
MS
1309 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1310 (gdb_continue_to_end): Accept output from status wrapper.
1311 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1312 Clean up fail messages to match pass messages.
1313
f1c47eb2
MS
1314 Enable the "needs_status_wrapper" testsuite feature.
1315 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1316 (gdb_compile): Conditionally call gdb_wrapper_init.
1317 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1318 * gdb.c++/method.exp: Recognize output from status wrapper.
1319
6079c749
BE
13202002-05-06 Ben Elliston <bje@redhat.com>
1321From Graydon Hoare <graydon@redhat.com>
1322
1323 * config/sid.exp: Include support for "rawsid" protocol.
1324
188baff3
JB
13252002-05-03 Jim Blandy <jimb@redhat.com>
1326
1327 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1328 * gdb.c++/hang3.C: New file.
1329
b9c07f0f
AC
13302002-05-04 Andrew Cagney <ac131313@redhat.com>
1331
1332 * gdb.base/default.exp: Remove obsolete code.
1333 * gdb.c++/misc.exp: Ditto. Update copyright.
1334 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1335 * gdb.base/whatis.exp: Ditto. Update copyright.
1336 * gdb.base/scope.exp: Ditto. Update copyright.
1337 * gdb.base/ptype.exp: Ditto. Update copyright.
1338 * gdb.base/printcmds.exp: Ditto. Update copyright.
1339 * gdb.base/opaque.exp: Ditto. Update copyright.
1340 * gdb.base/list.exp: Ditto.
1341 * gdb.base/funcargs.exp: Ditto. Update copyright.
1342 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1343 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1344 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1345 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1346 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1347 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1348
5c7a0397
MS
13492002-05-02 Michael Snyder <msnyder@redhat.com>
1350
d6dcc264 1351 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1352 * gdb.base/long_long.exp: Add xscale target.
1353 * gdb.base/default.exp: Add xscale target.
1354
eb7f1c48
JB
13552002-05-01 Jim Blandy <jimb@redhat.com>
1356
1357 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1358 gdb.c++/hang.exp: New test.
1359
a6befae8
FF
13602002-05-01 Fred Fish <fnf@redhat.com>
1361
1362 * gdb.base/completion.exp: Handle completions of "./Make" for
1363 more than one completion possibility, as is the case when we
1364 build and test in the source tree.
1365
0a310277
AG
13662002-04-29 Anthony Green <green@redhat.com>
1367
1368 * gdb.java/jmisc1.exp: New file.
1369 * gdb.java/jmisc2.exp: New file.
1370
6ff9af88
DJ
13712002-04-24 Daniel Jacobowitz <drow@mvista.com>
1372
1373 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1374
96b3d632
EZ
13752002-04-23 Elena Zannoni <ezannoni@redhat.com>
1376
1377 * gdb.base/help.exp: Change 'help status' to allow for target
1378 dependent output differences.
1379
5019bb54
MC
13802002-04-22 Michael Chastain <mec@shout.net>
1381
1382 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1383
a805a116
MC
13842002-04-22 Michael Chastain <mec@shout.net>
1385
1386 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1387
a1706bfd
DM
13882002-04-17 David S. Miller <davem@redhat.com>
1389
1390 * gdb.asm/sparc64.inc: New file.
1391 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1392
a73a20a2
EZ
13932002-04-19 Elena Zannoni <ezannoni@redhat.com>
1394
1395 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1396 instruction file directly into the build tree. Clean up at end of
1397 test.
1398
ba678339
DM
13992002-04-18 David S. Miller <davem@redhat.com>
1400
1401 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1402 handle 64-bit platforms correctly.
1403 * gdb.base/maint.exp: Likewise.
1404
b03399da
KB
14052002-04-18 Kevin Buettner <kevinb@redhat.com>
1406
1407 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1408 ``-fpic'' when compiling files comprising a shared library, but
1409 it does need additional linker flags in order to find shared
1410 libraries at run time.
1411
e2004992
KB
14122002-04-18 Kevin Buettner <kevinb@redhat.com>
1413
1414 * gdb.base/cvexpr.c (use): New function.
1415 (main): Invoke use() on all global variables to prevent
1416 some linkers from deleting these otherwise unused symbols.
1417
d8937120
MC
14182002-04-17 Michael Chastain <mec@shout.net>
1419From David S. Miller <davem@redhat.com>
1420
1421 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1422 handle 64-bit platforms correctly.
1423
ffd61a58
MS
14242002-04-12 Michael Snyder <msnyder@redhat.com>
1425From Jim Blandy <jimb@redhat.com>
1426 * gdb.base/foo.c (foox): Remove section attribute; the linker
1427 script can handle this instead.
1428 * gdb.base/bar.c (barx): Same.
1429 * gdb.base/baz.c (bazx): Same.
1430 * gdb.base/grbx.c (grbxx): Same.
1431
1432 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1433 manager doesn't automatically unmap overlays unnecessarily.
1434
6b8426a6
MH
14352002-04-10 Martin M. Hunt <hunt@redhat.com>
1436
1437 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1438 stepping out of main.
1439
34af4875
MC
14402002-04-09 Michael Chastain <mec@shout.net>
1441
1442 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1443 scope so that the nested scope tests will make sense.
1444 * gdb.c++/local.exp: Write patterns that actually work with gcc
1445 (the HP patterns "were never known to work with gcc").
1446 Keep the old aCC patterns too.
1447
2d1676a0
DJ
14482002-04-09 Daniel Jacobowitz <drow@mvista.com>
1449
1450 * gdb.base/attach.exp: Correct target board test.
1451
3a63e3f9
MC
14522002-04-08 Michael Chastain <mec@shout.net>
1453
1454 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1455 in a const method. Add some xfail and fail cases for configurations
1456 that do not emit the "const ...".
1457
f18dabd2
MC
14582002-04-07 Michael Chastain <mec@shout.net>
1459
1460 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1461 Accept "A * const" and "const A * const" as type of "this".
1462 Fix spelling of getFunky throughout. Make messages uniform.
1463
0fcddd82
EZ
14642002-04-07 Elena Zannoni <ezannoni@redhat.com>
1465
1466 Work around for PR gdb/285:
1467 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1468
16a8534a
EZ
14692002-04-07 Elena Zannoni <ezannoni@redhat.com>
1470
1471 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1472 instructions file at run time instead of configure time.
1473 Sometimes we run the test in a directory that is not the one we
1474 configured in.
1475 * gdb.asm/configure.in: Delete creation of symlink.
1476 * gdb.asm/configure: Regenerate.
1477
24181d81
JB
14782002-04-05 J. Brobecker <brobecker@gnat.com>
1479
1480 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1481 xfullpath () function.
1482
7cdb7107
DJ
14832002-04-04 Daniel Jacobowitz <drow@mvista.com>
1484
1485 * gdb.asm/Makefile.in: Correct dependencies.
1486
1487 * gdb.asm/powerpc.inc: New file.
1488 * gdb.asm/asm-source.exp: Add PowerPC.
1489 * gdb.asm/configure.in: Likewise.
1490 * gdb.asm/configure: Regenerated.
1491
a7d17088
DJ
14922002-04-04 Daniel Jacobowitz <drow@mvista.com>
1493
1494 * gdb.base/relocate.exp: New file.
1495 * gdb.base/relocate.c: New file.
1496
cd721503
FF
14972002-04-04 Fred Fish <fnf@redhat.com>
1498
1499 * gdb.base/step-test.exp: Update comment regarding stopping in
1500 memcpy/bcopy calls inserted as part of the compiler runtime.
1501
b22ad7a7
MS
15022002-04-04 Michael Snyder <msnyder@redhat.com>
1503
1504 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1505
5f279fa6
DJ
15062002-04-03 Daniel Jacobowitz <drow@mvista.com>
1507
1508 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1509 (gdb_expect): Remove $notransfer hack.
1510
dd0fd3ce
DJ
15112002-04-02 Daniel Jacobowitz <drow@mvista.com>
1512
1513 * gdb.c++/classes.exp ("calling method for small class"): Match
1514 updated register output.
1515
1e50cda1
DJ
15162002-03-30 Daniel Jacobowitz <drow@mvista.com>
1517
1518 Fix PR gdb/452
1519 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1520 when finished. Make gdb_file_cmd send "exec-file" when
1521 appropriate.
1522
24015922
DJ
15232002-03-30 Daniel Jacobowitz <drow@mvista.com>
1524
1525 * gdb.base/attach.exp: Remove extra setup_xfail.
1526
dd7dfd64
MS
15272002-03-26 Michael Snyder <msnyder@redhat.com>
1528
1529 * gdb.base/default.exp: Add tests for dump, append, and restore.
1530 * gdb.base/help.exp: Add tests for dump, append, and restore.
1531 * gdb.base/dump.exp: New file, test dump, append and restore.
1532 * gdb.base/dump.c: New file.
1533
48b2f8d7
MS
15342002-03-27 Michael Snyder <msnyder@redhat.com>
1535
1536 * gdb.base/help.exp: Modify expect strings to reflect
1537 clean-ups in help messages.
1538
05b4d525
FF
15392002-03-26 Fred Fish <fnf@redhat.com>
1540
1541 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1542 have debugging info for those functions and the compiler uses them
1543 internally to copy structs around.
1544
d7679631
FF
15452002-03-26 Fred Fish <fnf@redhat.com>
1546
1547 * gdb.base/list.exp: Revert the change made yesterday and add note
1548 about why we don't list the default lines for remote targets.
1549
523ac3f9
MS
15502002-03-25 Michael Snyder <msnyder@redhat.com>
1551
1552 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1553
754b2b8d
FF
15542002-03-25 Fred Fish <fnf@redhat.com>
1555
1556 * gdb.base/list.exp: This test works on remote targets so remove
1557 the short circuit for remote targets. Update copyright.
1558
33c3e192
FF
15592002-03-25 Fred Fish <fnf@redhat.com>
1560
1561 * gdb.base/attach.exp: Fix logic error that was suppressing this
1562 test for all non hppa*-*-hpux* targets, instead of the hp target.
1563 Move comments closer to the suppression point. Also now need to
1564 check that we are running natively.
1565
d43e73ee
MS
15662002-03-22 Michael Snyder <msnyder@redhat.com>
1567
882c8f02
MS
1568 * gdb.base/default.exp: Add test for gcore. Update copyright.
1569 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1570
04c12f60
FF
15712002-03-06 Fred Fish <fnf@redhat.com>
1572
1573 * gdb.base/funcargs.c: Remove extraneous ';' character.
1574 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1575
b43df995
MC
15762002-03-04 Michael Chastain <mec@shout.net>
1577
1578 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1579 accommodate gcc v3 function signature.
1580 * gdb.mi/mi0-var-cmd-exp: Ditto.
1581
92362027
AC
15822002-02-24 Andrew Cagney <ac131313@redhat.com>
1583
1584 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1585 ``GNU/Linux'' or ``Linux kernel''
1586 * testsuite/gdb.threads/pthreads.c: Ditto.
1587
258ad32d
MC
15882002-02-24 Michael Chastain <mec@shout.net>
1589
1590 * gdb.threads/pthreads.c (thread1): Add a return statement.
1591 (thread2): Likewise.
1592 (foo): Likewise.
1593
04c3b3d4
MC
15942002-02-23 Michael Chastain <mec@shout.net>
1595
1596 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1597 to placate gcc.
1598
5a2a0a20
MC
15992002-02-23 Michael Chastain <mec@shout.net>
1600
1601 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1602 test "ptype bint". The test passes on all my stabs configurations.
1603
a640f7fc
JB
16042002-02-21 Jim Blandy <jimb@redhat.com>
1605
27924826
JB
1606 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1607 filename at a time, and watch for the ones we want to see.
1608
a640f7fc
JB
1609 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1610 types of pointers to prototyped functions.
1611
edcc8c75
AC
16122002-02-20 Andrew Cagney <ac131313@redhat.com>
1613
1614 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1615 signed, unsigned and straight char.
1616 (padding_char, padding_short, padding_int, padding_long,
1617 padding_long_long, padding_float, padding_double,
1618 padding_long_double): New global variables.
1619 (fill, fill_structs): New functions.
1620
1621 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1622 for correctly sized writes. Update copyright.
1623 (get_valueof): New procedure.
1624 (get_sizeof): Call get_valueof.
1625 (check_valueof): New procedure.
1626 (check_padding): New procedure.
1627
ac57ea44
MC
16282002-02-20 Michael Chastain <mec@shout.net>
1629
1630 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1631 to setup_xfail. Document some of the remaining calls.
1632
7a10c941
MC
16332002-02-18 Michael Chastain <mec@shout.net>
1634
1635 * gdb.c++/userdef.exp: Update copyright year.
1636
fb8acdcc
DJ
16372002-02-18 Daniel Jacobowitz <drow@mvista.com>
1638
1639 * gdb.c++/userdef.exp: Test overloaded operators properly.
1640 Remove xfails.
1641
fda6ae12
MS
16422002-02-14 Michael Snyder <msnyder@redhat.com>
1643
1644 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1645
676a0442
DJ
16462002-02-14 Daniel Jacobowitz <drow@mvista.com>
1647
1648 * gdb.base/a2-run.exp: Check for a remote target properly.
1649 * gdb.base/annota1.exp: Likewise.
1650 * gdb.base/list.exp: Likewise.
1651 * gdb.base/reread.exp: Likewise.
1652 * gdb.base/scope.exp: Likewise.
1653 * gdb.base/shlib-call.exp: Likewise.
1654 * gdb.base/term.exp: Likewise.
1655 * gdb.c++/annota2.exp: Likewise.
1656
78b4f468
RE
16572002-02-13 Richard Earnshaw <rearnsha@arm.com>
1658
1659 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1660
9a81ba51
MC
16612002-02-10 Michael Chastain <mec@shout.net>
1662
1663 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1664 (call_after_alloca): Ditto.
1665
004af6c7
DJ
16662002-02-10 Daniel Jacobowitz <drow@mvista.com>
1667
1668 * gdb.base/ending-run.exp: Guard "cont" test with
1669 gdb_skip_stdio_test.
1670
37225f62
JB
16712002-02-06 Jim Blandy <jimb@redhat.com>
1672
1673 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1674 from here...
1675 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1676 To here. Disable this test on non-HP platforms. Add big comment.
1677
fe6fdd96
MS
16782002-02-04 Michael Snyder <msnyder@redhat.com>
1679
1680 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1681 other than d10v and m32r.
1682
036fad3f
RE
16832002-02-02 Richard Earnshaw <rearnsha@arm.com>
1684
1685 * gdb.base/default.exp: Rewrite test patterns to reduce time
1686 taken to match them.
1687
7148ab62
DJ
16882002-01-30 Daniel Jacobowitz <drow@mvista.com>
1689
1690 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1691 Allow a start function above main.
1692 * gdb.threads/linux-dp.exp: Fix copyright date.
1693
396cc255
DJ
16942002-01-30 Daniel Jacobowitz <drow@mvista.com>
1695
1696 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1697 (check_philosopher_stack): Check for manager thread before checking
1698 for a just-starting thread.
1699
f038d31b
DJ
17002002-01-30 Daniel Jacobowitz <drow@mvista.com>
1701
1702 From Neil Booth <neil@daikokuya.demon.co.uk>:
1703 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1704 warnings.
1705
b3ff9d9a
FF
17062002-01-21 Fred Fish <fnf@redhat.com>
1707
1708 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1709 not caller.
1710
39ad761d
JB
17112002-01-21 Jim Blandy <jimb@redhat.com>
1712
1713 * gdb.base/reread.exp: Check that GDB properly re-reads the
1714 executable file when it changes while no inferior is running.
1715
aaf320fa
FF
17162002-01-21 Fred Fish <fnf@redhat.com>
1717
1718 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1719 optionally accept the "shlib events" variation.
1720
808a31f5
JB
17212002-01-21 Jim Blandy <jimb@redhat.com>
1722
1723 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1724 call `fflush' after every `printf', so that the output is produced
1725 at predictable points, regardless of whatever buffering does (or
1726 doesn't) take place.
1727 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1728 at different points.
1729
4420d5e2
DJ
17302002-01-20 Daniel Jacobowitz <drow@mvista.com>
1731
1732 * gdb.c++/inherit.exp: Update copyright years.
1733 * gdb.c++/method.exp: Likewise.
1734
3e36a0f4
DJ
17352002-01-20 Daniel Jacobowitz <drow@mvista.com>
1736
1737 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1738 artificial methods/arguments.
1739 * gdb.c++/derivation.exp: Likewise.
1740 * gdb.c++/inherit.exp: Likewise.
1741 * gdb.c++/method.exp: Likewise.
1742 * gdb.c++/virtfunc.exp: Likewise.
1743
b4ceaee6
AC
17442002-01-18 Andrew Cagney <ac131313@redhat.com>
1745
1746 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1747 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1748 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1749 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1750 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1751 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1752
ecace851
JB
17532002-01-17 Jim Blandy <jimb@redhat.com>
1754
1755 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1756 anchoring the pattern matching the entry point symbol's name.
1757
375fc983
AC
17582002-01-17 Andrew Cagney <ac131313@redhat.com>
1759
1760 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1761 continue/quit query. Update copyright.
1762
fe6fdd96
MS
17632002-01-14 Michael Snyder <msnyder@redhat.com>
1764
1765 * gdb.base/gcore.exp: Remove extra debugging output.
1766
e017c81f
DJ
17672002-01-13 Daniel Jacobowitz <drow@mvista.com>
1768
1769 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1770 for slightly dubious v2 mangled string.
1771
37ab3bf8
DJ
17722002-01-13 Daniel Jacobowitz <drow@mvista.com>
1773
1774 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1775
1bc05c3a 17762002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1777
1bc05c3a 1778 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1779
1bc05c3a
JM
1780 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1781 constructors.
1782 * gdb.c++/derivation.exp: Likewise.
1783 * gdb.c++/templates.exp: Likewise.
1784 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1785
1bc05c3a
JM
17862002-01-10 Michael Snyder <msnyder@redhat.com>
1787
1788 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1789
a911c360
MS
17902002-01-08 Michael Snyder <msnyder@redhat.com>
1791
1792 * gdb.base/gcore.exp: New test for generate-core-file command.
1793 * gdb.base/gcore.c: Testcase for above.
1794 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1795
ea2119ec
JM
17962002-01-08 Jason Merrill <jason@redhat.com>
1797
1798 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1799
68203136
FF
18002002-01-07 Fred Fish <fnf@redhat.com>
1801
1802 * gdb.c++/overload.exp: Remove unconditional xfails for:
1803 print foo_instance1.overloadargs(1)
1804 print foo_instance1.overloadargs(1, 2)
1805 print foo_instance1.overloadargs(1, 2, 3)
1806 print foo_instance1.overloadargs(1, 2, 3, 4)
1807 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1808 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1809 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1810 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1811 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1812 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1813 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1814 print foo_instance1.overload1arg()
1815 print foo_instance1.overload1arg((char)arg2)
1816 print foo_instance1.overload1arg((signed char)arg3)
1817 print foo_instance1.overload1arg((unsigned char)arg4)
1818 print foo_instance1.overload1arg((int)arg7)
1819 print foo_instance1.overload1arg((unsigned int)arg8)
1820 print foo_instance1.overload1arg((float)arg11)
1821 print foo_instance1.overload1arg((double)arg12)
1822
21b9b5b1
MS
18232002-01-07 Michael Snyder <msnyder@redhat.com>
1824
1825 * gdb.base/huge.exp: New test. Print a very large target data object.
1826 (skip_huge_test): New test variable. Define if you want to skip this
1827 test. The test reads an 8 megabyte data object from the target, so it
1828 might be very time consuming on remote targets with a slow connection.
1829 * gdb.base/huge.c: New file. Test case for above.
1830
725f922e
FF
18312002-01-07 Fred Fish <fnf@redhat.com>
1832
1833 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1834 g_instance.bfoo, and g_instance.cfoo.
1835
634d57ec
JL
1836Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1837
f286b2c3
JL
1838 * gdb.base/break.c (multi_line_if_conditional): New function.
1839 (multi_ilne_while_conditional): Likewise.
1840 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1841 IF or WHILE condition puts the breakpoint at the start of
1842 the condition.
1843
634d57ec
JL
1844 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1845 hppa*-*-hpux* expected failure.
1846 * gdb.base/structs.exp (do_function_calls): Similarly.
1847
1848 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1849 watchpoints.
1850
9fbfe2dc
AC
18512002-01-06 Andrew Cagney <ac131313@redhat.com>
1852
1853 Fix PR gdb/66.
1854 * gdb.base/structs.exp: Replace skip for a29k with skip for
1855 gdb,cannot_call_functions.
1856 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1857 * gdb.base/callfuncs.exp: Ditto.
1858 * gdb.base/call-rt-st.exp: Ditto.
1859 * gdb.base/call-strs.exp: Ditto.
1860 * gdb.base/callfwmall.exp: Ditto.
1861 * gdb.base/scope.exp: Obsolete xfail a29k.
1862 * gdb.c++/misc.exp: Ditto.
1863 * gdb.c++/cplusfuncs.exp: Ditto.
1864 * gdb.base/ptype.exp: Ditto.
1865 * gdb.base/printcmds.exp: Ditto.
1866 * gdb.base/opaque.exp: Ditto.
1867 * gdb.base/list.exp: Ditto.
1868 * gdb.base/funcargs.exp: Ditto.
1869 * gdb.base/default.exp: Ditto.
1870
8ddad156
MS
18712002-01-04 Michael Snyder <msnyder@redhat.com>
1872
ca4976a6 1873 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1874 * gdb.base/maint.exp: Add tests for maint info sections options.
1875
1b074332
JL
1876Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1877
1878 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1879
7d159115
CV
18802001-12-20 Corinna Vinschen <vinschen@redhat.com>
1881
1882 * gdb.asm/arm.inc: New file.
1883 * gdb.asm/asm-source.exp: Add arm targets.
1884 * gdb.asm/configure.in: Ditto.
1885 * gdb.asm/configure: Recreated from configure.in.
1886
8fb87725
JL
1887Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1888
afabe08c
JL
1889 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1890 with HP's compiler.
1891 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1892 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1893 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1894 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1895
1896 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1897 either HP's compilers or GCC.
1898
db521deb
JL
1899 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1900 a SIGBUS or SIGSEGV.
1901
1902 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1903
1904 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1905 can be compiled with either HP's compiler or GCC.
1906
cfa88ab7
JL
1907 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1908 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1909 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1910
ca344dff
JL
1911 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1912 to match current gdb output. Update due to using auto-solib-limit
1913 for limiting instead of overloading auto-solib-add.
1914 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1915 test program.
1916
3f3c6e55 1917 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1918 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1919 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1920 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1921 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1922 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1923 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1924 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1925 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1926 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1927 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1928 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1929 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1930
8fb87725
JL
1931 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1932 a SIGTRAP to the inferior.
1933
cf599fa7
CV
19342001-12-19 Corinna Vinschen <vinschen@redhat.com>
1935
1936 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1937 Substitute call to target_link by call to gdb_compile.
1938
2cd045cd
JL
1939Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1940
1941 * gdb.base/break.exp: Fix HP specific search string when testing
1942 backtracing in a called function.
1943
1944 * gdb.base/constvars.exp: Only set lang to C++ if we're
1945 compiling the test with HP's compilers.
1946 * gdb.base/volatile.exp: Similarly.
1947
99ebe9ac
JB
19482001-12-19 Jim Blandy <jimb@redhat.com>
1949
1950 * gdb.base/printcmds.exp: Expect the null character to be printed
1951 as '\0', and the '\013' to be printed as '\v'.
1952 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1953 * gdb.base/setvar.exp: Same.
1954
b9891b29
JB
19552001-12-17 Jim Blandy <jimb@redhat.com>
1956
0eba65ab
JB
1957 * gdb.base/completion.exp: Rather than completing very long
1958 filenames, which can make the readline library produce output we
1959 don't recognize, cd to the directory first, and then complete
1960 using nice, short relative paths.
1961
6970b5b1
JB
1962 * gdb.base/completion.exp: On some systems, there is, in fact, a
1963 variable named `b' in scope, since GDB treats all static
1964 variables as being in scope. So use `no_var_named_this'
1965 instead of `b'.
1966
b9891b29
JB
1967 * gdb.base/corefile.exp: Recognize the message saying that GDB
1968 can't find the core file's registers as a failure.
1969
e6ccd35f
JSC
19702001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
1971
1972 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
1973 test expect string more specific.
1974
105ba819
CV
19752001-12-13 Corinna Vinschen <vinschen@redhat.com>
1976
1977 * gdb.asm/asm-source.exp: Add support for xstormy16.
1978 * gdb.asm/configure.in: Ditto.
1979 * gdb.asm/configure: Rebuild.
1980 * gdb.asm/xstormy16.inc: New file.
1981
e9e79dd9
FF
19822001-12-10 Fred Fish <fnf@redhat.com>
1983
1984 * gdb.base/maint.exp: Update to match changes in type dumping code.
1985
347dc97d
JB
19862001-12-10 Jim Blandy <jimb@redhat.com>
1987
1988 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
1989 matching the entry point symbol's name at the beginning of the
1990 line.
1991
5178b9d6
DJ
19922001-12-07 Daniel Jacobowitz <drow@mvista.com>
1993
1994 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
1995 gdb.c++/inherit.exp, gdb.c++/method.exp,
1996 gdb.c++/namespace.exp, gdb.c++/templates.exp,
1997 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
1998 and class layout support.
1999
af890c52
DJ
20002001-12-07 Daniel Jacobowitz <drow@mvista.com>
2001
2002 * gdb.c++/classes.exp: Add test for static member function.
2003 * gdb.c++/misc.cc: Add class with static member function.
2004
7a345fb3
JB
20052001-12-07 Jim Blandy <jimb@redhat.com>
2006
f2e54a80 2007 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2008 those tests as `unsupported'.
2009 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2010 Rewrite subsequent tests to use it.
2011
2012 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2013 those tests as `unsupported'.
2014 * gdb.base/structs.exp (call_struct_func): New function.
2015 (do_function_calls): Use call_struct_func to call the functions
2016 returning structs.
2017
0bc69509
JB
2018 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2019 whether functions are prototyped or not, so we can't possibly pass
2020 arguments to t_float_values2 properly.
2021
7a345fb3
JB
2022 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2023 value of `timeout' for targets other than the mips*tx39-*.
2024
edb6ede1
MS
20252001-12-06 Michael Snyder <msnyder@redhat.com>
2026
2027 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2028 and detect whether the start symbol has a leading underscore.
2029
2d842f13
JB
20302001-12-04 Jim Blandy <jimb@redhat.com>
2031
2032 * gdb.base/completion.exp: Clarify indentation.
2033
68550daf
JB
20342001-12-03 Jim Blandy <jimb@redhat.com>
2035
2036 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2037 variables on the S/390, not `.word'.
2038
cd5195a8
JB
20392001-11-30 Jim Blandy <jimb@redhat.com>
2040
2041 Add assembly-source tests for s390-ibm-linux.
2042 * gdb.asm/s390.inc: New file.
2043 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2044 the S/390 architecture.
2045 * gdb.asm/configure: Regenerated.
2046
ca9efc90
MS
20472001-11-30 Michael Snyder <msnyder@redhat.com>
2048
2049 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2050 next, info source, info sources, info line, global and static
2051 variables, and static functions.
2052 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2053 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2054 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2055 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2056 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2057 (gdbasm_leave): Restore frame pointer.
2058 (gdbasm_startup): Copy stack set-up from crt0.S.
2059
d0e66976
FN
20602001-11-26 Fernando Nasser <fnasser@redhat.com>
2061
2062 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2063 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2064 to a local (non-static) variable. Copy tstruct.a to a static buffer
2065 and return a pointer to that buffer.
2066 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2067
e2334072
MK
20682001-11-24 Mark Kettenis <kettenis@gnu.org>
2069
2070 * gdb.asm/configure.in: Fix recognition of ix86 target.
2071 * gdb.asm/configure: Regenerate.
2072
756caa3d
MS
20732001-11-21 Michael Snyder <msnyder@redhat.com>
2074
2075 * gdb.asm/sparc.inc: New file.
2076 * gdb.asm/asm-source.exp: Recognize sparc target.
2077 * gdb.asm/configure.in: Recognize sparc target.
2078 * gdb.asm/configure: Regenerate.
2079
9a4d72d5
MS
20802001-11-21 Michael Snyder <msnyder@redhat.com>
2081
2082 * gdb.asm/m32r.inc: New file.
2083 * gdb.asm/asm-source.exp: Recognize m32r target.
2084 * gdb.asm/configure.in: Recognize m32r target.
2085 * gdb.asm/configure: Regenerate.
2086
a773d1cd
MS
20872001-11-20 Michael Snyder <msnyder@redhat.com>
2088
017ac23d
MS
2089 * gdb.asm/i386.inc: New file.
2090 * gdb.asm/asm-source.exp: Recognize ix86 target.
2091 * gdb.asm/configure.in: Recognize ix86 target.
2092 * gdb.asm/configure: Regenerate.
2093
a773d1cd
MS
2094 * gdb.c++/namespace.exp: Fix quotes in output messages.
2095
bb632afb
MS
20962001-11-14 Michael Snyder <msnyder@redhat.com>
2097
25d559ca 2098 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2099 qualifier in a type cast expression, to designate an address
2100 in the instruction space (Harvard architecture).
2101
4749e309
MS
21022001-11-13 Michael Snyder <msnyder@redhat.com>
2103
2104 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2105 Tests for expressions using 'const' and 'volatile'.
2106
25050984
CV
21072001-11-13 Corinna Vinschen <vinschen@redhat.com>
2108
2109 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2110
1902c51f
DJ
21112001-11-12 Daniel Jacobowitz <drow@mvista.com>
2112
2113 * lib/mi-support.exp (mi_run_to_helper): Move comments
2114 outside of gdb_expect.
2115
dcf95b47
DJ
21162001-11-11 Daniel Jacobowitz <drow@mvista.com>
2117
2118 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2119 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2120 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2121 mi0_run_to): New functions.
2122 * gdb.mi/mi-simplerun.exp: Use them.
2123 * gdb.mi/mi0-simplerun.exp: Likewise.
2124 * gdb.mi/mi-var-cmd.exp: Likewise.
2125 * gdb.mi/mi0-var-cmd.exp: Likewise.
2126
45b074e1
AC
21272001-11-10 Andrew Cagney <ac131313@redhat.com>
2128
2129 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2130 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2131
bf50d346
AC
21322001-11-09 Andrew Cagney <ac131313@redhat.com>
2133
2134 * gdb.base/restore.exp: Include $expected value in restored test
2135 message.
2136
9383332c
AC
21372001-11-09 Andrew Cagney <ac131313@redhat.com>
2138
2139 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2140 implemented.
2141
db62520a
MS
21422001-11-08 Michael Snyder <msnyder@redhat.com>
2143
2144 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2145 Add pass/fail message for stop at breakpoint in call dummy function.
2146
b5703437
MS
21472001-11-07 Michael Snyder <msnyder@redhat.com>
2148
760f6330
MS
2149 * gdb.c++/templates.exp (test_template_breakpoints):
2150 If we get an overload menu, but it does not match what
2151 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2152 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2153 making the whitespace optional. Argument for "new" may be
2154 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2155 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2156 making the whitespace optional. Also replace "(void) with
2157 "((void|)), making the keyword "void" optional.
63f50499
MS
2158 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2159 making the whitespace optional. Also replace "(void) with
2160 "((void|)), making the keyword "void" optional.
3bf40917
MS
2161 * gdb.base/callfuncs.c (t_float_values): This function must
2162 _not_ be prototyped, and the following function (t_float_values2)
2163 must be prototyped (if the compiler supports it), so that GDB
2164 can be tested against both cases. Usually one case involves
2165 promotion of float to double, while the other does not.
2166 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2167 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2168 includes a stack frame for "start".
2169
c8ab4e6d
JB
21702001-11-05 Jim Blandy <jimb@redhat.com>
2171
2172 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2173 pointers are 32 bits long, and that offsets of relocs are always
2174 stored in the data (REL-style), and not in the reloc entry itself
2175 (RELA-style).
2176 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2177 stabs.
2178
3f08ced9
MS
21792001-11-01 Michael Snyder <msnyder@redhat.com>
2180
2181 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2182 and regular expression operators by using quoting.
2183
cbfa24cd
MS
21842001-10-31 Michael Snyder <msnyder@redhat.com>
2185
2186 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2187 depending on what the symbol table contains.
2188 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2189 the output of the ptype command. Similarly, accept both "const &"
2190 and "const&".
2191
aaa68313
CV
21922001-10-31 Corinna Vinschen <vinschen@redhat.com>
2193
2194 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2195 symbol `STORAGE' to allow to choose the storage class of
2196 the local datastructures.
2197 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2198 compiler directive.
2199
91740388
MS
22002001-10-30 Michael Snyder <msnyder@redhat.com>
2201
2202 * gdb.base/jump.exp: Allow it to run for all targets.
2203
1b7c05e7
CV
22042001-10-29 Corinna Vinschen <vinschen@redhat.com>
2205
2206 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2207 with new double_array size.
2208 (main): Change storage class of all local variables to static.
2209 Reduce size of double_array to 9.
2210 * gdb.base/call-ar-st.exp: Increase timeout value.
2211 Change expected output for double array to match new size in
2212 call-ar-st.c.
2213
36a22261
CV
22142001-10-29 Corinna Vinschen <vinschen@redhat.com>
2215
2216 * gdb.base/ending-run.exp: Create identical output when passing
2217 `step to end of run' case. Add regular expression branch satisfying
2218 Stormy16 target.
2219
92b8ae91
MK
22202001-10-28 Mark Kettenis <kettenis@gnu.org>
2221
2222 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2223 that we catch the expected failure under Linux/x86.
2224
cb135b83
OF
22252001-10-29 Orjan Friberg <orjanf@axis.com>
2226
2227 * gdb.base/setvar.exp: Escape curly braces.
2228 * gdb.stabs/weird.exp: Ditto.
2229
6884aa54
DJ
22302001-10-27 Daniel Jacobowitz <drow@mvista.com>
2231
2232 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2233 * gdm.mi/mi0-hack-cli.exp: Likewise.
2234
0398c9aa
AC
22352001-10-25 Andrew Cagney <ac131313@redhat.com>
2236
2237 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2238 messages.
2239
d20bf2e8
AC
22402001-10-21 Andrew Cagney <ac131313@redhat.com>
2241
2242 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2243 checking MI enabled.
2244
03dd63aa
CV
22452001-10-09 Corinna Vinschen <vinschen@redhat.com>
2246
2247 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2248
1d9d99f3
FCE
22492001-10-04 Frank Ch. Eigler <fche@redhat.com>
2250
2251 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2252 if gdb child process crashes, just signal an error.
2253
838ae6c4
JB
22542001-10-02 Jim Blandy <jimb@redhat.com>
2255
2256 * lib/gdb.exp (test_xfail_format): Simplify.
2257
2258 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2259 front of the variable name `format'. Simplify `if'.
2260
8f0cbc1c
DJ
22612001-10-01 Daniel Jacobowitz <drow@mvista.com>
2262
2263 * gdb.threads/pthreads.exp: Wait for output and delay
2264 before sending ^C.
2265
1f08dafd
DJ
22662001-10-01 Daniel Jacobowitz <drow@mvista.com>
2267
2268 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2269 some incorrect output instead of timing out.
2270 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2271
674f90ff
CV
22722001-09-28 Corinna Vinschen <vinschen@redhat.com>
2273
2274 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2275 check to allow additional `int'.
2276
9b284272
DJ
22772001-09-27 Daniel Jacobowitz <drow@mvista.com>
2278
2279 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2280 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2281
b55a4771
MS
22822001-09-27 Michael Snyder <msnyder@redhat.com>
2283
2284 * lib/gdb.exp (test_debug_format): New proc.
2285 (setup_xfail_format): Use new proc test_debug_format.
2286 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2287 proc; use new service proc test_debug_format.
2288 Replace all other "gcc_compiled" tests with this test.
2289 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2290 proc; use new service proc test_debug_format.
2291 Replace all other "gcc_compiled" tests with this test.
2292
22932001-09-27 Michael Snyder <msnyder@redhat.com>
2294
2295 * gdb.base/cvexpr.exp: New file.
2296 * gdb.base/cvexpr.c: New file
2297 Test for expressions using const and volatile keywords.
2298
4e6667ac
CV
22992001-09-26 Corinna Vinschen <vinschen@redhat.com>
2300
2301 * gdb.base/constvars.exp: Check for different orders of keywords
2302 and additional "int" strings in output.
2303
4f337972
AC
23042001-09-22 Andrew Cagney <ac131313@redhat.com>
2305
2306 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2307 responses from "help maint".
2308
2015650d
FCE
23092001-09-19 Frank Ch. Eigler <fche@redhat.com>
2310
2311 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2312 to localhost:NNN instead of :NNN, in case Xvfb is listening
2313 only on TCP.
2314
f3bcedc1
CV
23152001-09-19 Corinna Vinschen <vinschen@redhat.com>
2316
2317 * gdb.base/recurse.exp: When checking leaving the watchpoint
2318 scope, recognize when gdb is in function's epilogue and pass.
2319
6b819c92
KS
23202001-09-18 Keith Seitz <keiths@redhat.com>
2321
2322 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2323 support for running tests against sid targets.
2324 (gdbtk_done): Ditto.
2325
a10c9419
CV
23262001-09-18 Corinna Vinschen <vinschen@redhat.com>
2327
2328 * gdb.base/ending-run.c (main): Set stdout buffersize
2329 to the same reasonable value for any target.
2330 * gdb.base/ending-run.exp: Add a regular expression
2331 to make testsuite happy on Sanyo Stormy16 target.
2332
739d0d99
CV
23332001-09-17 Corinna Vinschen <vinschen@redhat.com>
2334
2335 * gdb.base/display.c (do_loops): Add float variable `f'.
2336 Increment f in loop.
2337 * gdb.base/display.exp: Increment timeout by 60 seconds.
2338 Change float display test to use variable `f'.
2339
1b8947f0
JB
23402001-09-17 Jim Blandy <jimb@redhat.com>
2341
2342 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2343 overflowing the limited breakpoint tables on some ROM monitors
2344 (like the ROM68K).
2345
9890ac81
FCE
23462001-09-15 Frank Ch. Eigler <fche@redhat.com>
2347
2348 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2349 the "-ac" (disable access control) flag.
2350
6db765ea
JH
23512001-08-30 Jeff Holcomb <jeffh@redhat.com>
2352
2353 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2354 ints.
2355
4c32cc04
KS
23562001-08-30 Keith Seitz <keiths@redhat.com>
2357
2358 * lib/gdb.exp: Move all insight-related functionality into
2359 separate file.
2360 * lib/insight-support.exp: New file.
2361
8d6e6f81
FCE
23622001-08-29 Frank Ch. Eigler <fche@redhat.com>
2363
2364 * config/sid.exp (sid_start): Never set sid verbosity; disable
2365 expect_background {} that consumed its stdout; tolerate </dev/null.
2366 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2367
6a90e1d0
AC
23682001-08-18 Andrew Cagney <ac131313@redhat.com>
2369
2370 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2371 CLI jump command to start it.
2372 (mi_run_to_main): Fail immediatly when unexpected output.
2373
1759b3c3
AC
23742001-08-18 Andrew Cagney <ac131313@redhat.com>
2375
2376 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2377 beginning of function. Fix PR gdb/191.
2378
61d11d80
FCE
23792001-08-16 Frank Ch. Eigler <fche@redhat.com>
2380
2381 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2382 what to force sid endianness to.
2383
942a4df2
KS
23842001-08-15 Keith Seitz <keiths@redhat.com>
2385
2386 * lib/gdb.exp (gdbtk_start): Don't set environment
2387 variables for TCL_LIBRARY and friends. Insight will
2388 now figure these out for itself.
2389
0521c418
MS
23902001-08-02 Michael Snyder <msnyder@redhat.com>
2391
2392 * gdb.base/completion.exp: Remove the symbol "a64l" from
2393 the expect string; this is target-specific, and not related
2394 to what is being tested.
2395
74a9a58a
DB
23962001-08-02 Dave Brolley <brolley@redhat.com>
2397
2398 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2399
c70819fa
MS
24002001-07-25 Michael Snyder <msnyder@redhat.com>
2401
c2b8fa57
MS
2402 * gdb.base/consecutive.exp: New file. Test stepping over
2403 breakpoints on consecutive instructions.
2404 * gdb.base/consecutive.c: New file.
2405
c70819fa
MS
2406 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2407 curly braces in regular expressions.
2408
2b1a1355
MS
24092001-07-25 Michael Snyder <msnyder@redhat.com>
2410
2411 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2412 legitimate output from stepping out of main.
2413
413eca6f
KS
24142001-07-22 Keith Seitz <keiths@redhat.com>
2415
2416 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2417 the empty string, do not run the tests.
2418
7e5a9322
SC
24192001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2420
2421 * gdb.base/long_long.exp: Detect size of pointer. Take into
2422 account 2-byte pointers when testing for p/a results.
2423
de58f10f
SC
24242001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2425
2426 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2427 and defined to 1K for m68hc11.
2428 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2429 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2430 (sizeof_random_data): New variable to tell the size of the data table;
2431 don't test past this size; always run to main.
2432
d6f5fea1
SC
24332001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2434
2435 * gdb.base/return2.exp: return of long long and double fails for
2436 68HC11; don't execute these tests on that platform.
2437 * gdb.base/return.exp: Return of a double fails for 68hc11.
2438
c477543d
SC
24392001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2440
2441 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2442 tests that print a float.
2443 * call-rt-st.exp: Likewise.
2444
63cf1c79
MK
24452001-07-12 Mark Kettenis <kettenis@gnu.org>
2446
2447 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2448 running this test on Linux.
2449
112f9ab5
MC
24502001-06-24 Michael Chastain <chastain@redhat.com>
2451
2452 * gdb.base/arithmet.exp: Remove some tests to make all test names
2453 unique.
2454
4970cb0f
MS
24552001-07-03 Michael Snyder <msnyder@redhat.com>
2456
2457 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2458 the output of the ptype command.
2459
d85da69f
MS
24602001-07-02 Michael Snyder <msnyder@redhat.com>
2461
4c8a82de
MS
2462 * gdb.base/completion.exp: Don't assume that break.c is the only
2463 source file that may contain functions named "marker".
d85da69f
MS
2464 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2465
8afc772b
AC
24662001-06-28 Andrew Cagney <ac131313@redhat.com>
2467
2468 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2469 of files to delete.
2470
2471 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2472 * gdb.disasm/h8300s.exp: New file.
2473 gdb.disasm/h8300s.s: Likewise.
2474
cff22675
AC
24752001-06-27 Andrew Cagney <ac131313@redhat.com>
2476
2477 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2478 empty breakpoint tables.
2479
68c81b54
AC
24802001-06-25 Andrew Cagney <ac131313@redhat.com>
2481
2482 * lib/mi-support.exp: Update args=... part of stop-reason
2483 patterns. Accept either a list or a tuple.
2484
2dd62704
AC
24852001-06-23 Andrew Cagney <ac131313@redhat.com>
2486
2487 * lib/mi-support.exp: Remove local emacs variable defining
2488 change-log-default-name.
2489
b4127474
MC
24902001-06-22 Michael Chastain <chastain@redhat.com>
2491
2492 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2493 This is operationally compatible with the previous version.
2494
8dbfb380
JB
24952001-06-13 Jim Blandy <jimb@redhat.com>
2496
2497 * lib/gdb.exp (gdb_test): Doc fix.
2498
f2d8c86d
MC
24992001-06-10 Michael Chastain <chastain@redhat.com>
2500
2501 * gdb.base/exprs.exp: Remove a duplicate test.
2502
81564d34
JB
25032001-06-06 Jim Blandy <jimb@redhat.com>
2504
2505 * gdb.base/return2.exp (main): Use values to test float and double
2506 returns that are not NaN's, to avoid being confused by IEEE
2507 comparison rules.
2508
da55addb
MS
25092001-06-04 Michael Snyder <msnyder@redhat.com>
2510
2511 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2512 non-zero if control_c fails. Terminate the test on failure,
2513 rather than wait for 12 more tests to time out.
2514
42c65987
JB
25152001-06-06 Jim Blandy <jimb@redhat.com>
2516
b18bced9
JB
2517 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2518 Don't forget to match the GDB prompt.
2519
42c65987
JB
2520 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2521
5b41e5f0
JB
25222001-06-04 Jim Blandy <jimb@redhat.com>
2523
2524 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2525 command.
2526
015e046f
KB
25272001-05-31 Kevin Buettner <kevinb@redhat.com>
2528
2529 * gdb.base/annota1.exp (info break): Match four or more spaces
2530 after "Address".
2531
fb1ffbbe
MC
25322001-05-31 Michael Chastain <chastain@redhat.com>
2533
2534 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2535 (dm_type_int_star): Likewise.
2536 (dm_type_long_star): Likewise.
2537 (dm_type_void_star): Likewise.
2538
5ea2a32c
KB
25392001-05-29 Kevin Buettner <kevinb@redhat.com>
2540
2541 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2542 to a known value in order to get consistent results regardless
2543 of the setting of INPUTRC or the presence or contents of .inputrc.
2544
ae23c492
MS
25452001-05-24 Michael Snyder <msnyder@redhat.com>
2546
ac55707e
MS
2547 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2548 Don't require that the main thread and the manager thread are the
2549 first in the list.
2550
ae23c492
MS
2551 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2552 debugging. If test fails, issue an "unsupported" not a "fail".
2553
400071f1
JB
25542001-05-24 Jim Blandy <jimb@redhat.com>
2555
2556 Don't assume that short is shorter than int.
2557 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2558 assume that shorts are smaller than ints. On a 16-bit machine,
2559 this isn't true.
2560 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2561 an int, is not equal to ~0 stored in an unsigned char. This tests
2562 the same thing that the previous test meant to, but works on
2563 16-bit machines, too.
2564 ("print unsigned char != (~0)"): Same test, complemented.
2565
0816a3e5
MS
25662001-05-24 Michael Snyder <msnyder@redhat.com>
2567
2568 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2569 test for (full_coverage == 0). This makes the test run faster,
2570 and prevents dejagnu getting out of step.
2571
f6dc23a9
KB
25722001-05-23 Kevin Buettner <kevinb@redhat.com>
2573
2574 * gdb.base/finish.exp (finish_void): Revise pattern for
2575 stopping on the call statement to not permit stopping at
2576 the start of the instructions comprising the call sequence.
2577
7dbd117d
MC
25782001-05-19 Michael Chastain <chastain@redhat.com>
2579
2580 * gdb.base/callfuncs.exp: Make all test names unique.
2581 * gdb.base/commands.exp: Make all test names unique.
2582 * gdb.base/condbreak.exp: Make all test names unique.
2583 * gdb.base/dbx.exp: Make all test names unique.
2584 * gdb.base/default.exp: Make all test names unique.
2585 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2586 and TIMEOUT messages to their corresponding PASS message.
2587 * gdb.base/ending-run.exp: Make all test names unique.
2588 * gdb.base/long_long.exp: Remove duplicate test.
2589
6b0b0a9e
KB
25902001-05-21 Kevin Buettner <kevinb@redhat.com>
2591
2592 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2593 stop on the call statement as well as the statement after the
2594 call.
2595
2caa35cb
MS
25962001-05-21 Michael Snyder <msnyder@redhat.com>
2597
2598 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2599
40713331
EZ
26002001-05-10 Elena Zannoni <ezannoni@redhat.com>
2601
2602 * gdb.base/completion.exp: Revamp test. Make it execute on all
2603 platforms.
2604
c2c1be8d
EZ
26052001-05-10 Elena Zannoni <ezannoni@redhat.com>
2606
2c9cd303
EZ
2607 * config/gdbserver.exp (gdb_load): Handle the case
2608 in which the arguments to gdbserver are given in the
2609 baseboard configuration file.
2610 Also handle the case in which the server needs to do a
2611 load.
2612
9671de48
KS
26132001-05-07 Keith Seitz <keiths@cygnus.com>
2614
2615 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2616 set up the display for testing.
2617 (gdbtk_start): Convert all paths to paths that tcl will like.
2618 Export target information to environment.
2619 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2620 necessary.
2621 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2622 (to_tcl_path): New proc to convert a given pathname into
2623 a path acceptible as an argument to a tcl command.
2624 (_gdbtk_export_target_info): New proc to export target info
2625 into the environment for gdbtk testing.
2626 (gdbtk_done): New proc to signal end-of-test.
2627
5a360f47
JB
26282001-05-06 Jim Blandy <jimb@redhat.com>
2629
2630 * restore.c: Make the code of caller0 correspond to its comment.
2631
66c756c6
MS
26322001-05-03 Michael Snyder <msnyder@redhat.com>
2633
2634 * config/sid.exp (gdb_target_sid): Check for error messages.
2635 On error or timeout, don't make expect exit (which will terminate
2636 all subsequent tests); instead just make gdb exit.
2637 (gdb_load): Check for error messages. On error or timeout,
2638 return a negative value.
2639
a966fde5
JB
26402001-04-24 Jim Blandy <jimb@redhat.com>
2641
851c18e0
JB
2642 * gdb.c++/templates.exp: If we see the prompt for the overload
2643 list, but we haven't recognized any of the longer patterns,
2644 arrange for this test to fail, not hang.
2645
a966fde5
JB
2646 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2647 variations.
2648
db144853
MC
26492001-04-22 Michael Chastain <chastain@redhat.com>
2650
2651 * gdb.c++/local.exp: Use the 'runto' library function.
2652 * gdb.c++/namespace.exp: Likewise.
2653 * gdb.c++/overload.exp: Likewise.
2654
3207ec21
KB
26552001-03-26 Kevin Buettner <kevinb@redhat.com>
2656
2657 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2658 * gdb.base/step-line.exp: New file. Test step/next in presence of
2659 #line directives.
2660 * gdb.base/step-line.c: New file. Test program for the above.
2661 * gdb.base/step-line.inp: New file. We pretend that this file has
2662 been transformed by some other tool into step-line.c.
2663
13b57657
JB
26642001-03-21 Jim Blandy <jimb@redhat.com>
2665
2666 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2667 unmangled operator names.
2668
754cbe1c
JB
26692001-03-20 Jim Blandy <jimb@redhat.com>
2670
2671 * gdb.threads/linux-dp.exp: Recognize an additional message
2672 generated by GDB when it doesn't understand how to debug threads
2673 on the target system.
2674
177495c9
AC
26752001-03-19 Andrew Cagney <ac131313@redhat.com>
2676
2677 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2678
f266096b
MC
26792001-03-12 Michael Chastain <chastain@redhat.com>
2680
2681 * gdb.c++/derivation.exp: Use the 'runto' library function.
2682
cac3c2ff
MC
26832001-03-12 Michael Chastain <chastain@redhat.com>
2684
2685 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2686
b6c11a24
MC
26872001-02-24 Michael Chastain <chastain@redhat.com>
2688
2689 * gdb.c++/ref-types.exp: Change handwritten code to library
2690 function 'runto'.
2691
6bae5bce
OF
26922001-03-16 Orjan Friberg <orjanf@axis.com>
2693
2694 * gdb.base/signals.exp: Set count to 0 explicitly.
2695
0015fd9a
MS
26962001-03-15 Mark Salter <msalter@redhat.com>
2697
2698 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2699 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2700 (gdb_load): Add support for additional target_info: gdb_download_size
2701 and gdb_load_timeout.
0015fd9a 2702
fc33412a
DT
2703Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2704
2705 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2706 file -- to prevent failing when the compile fails but we have no
2707 intention of running the tests anyway.
2708
2709 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2710 tests if set.
2711
2712 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2713 integers.
2714
2715 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2716 * gdb.c++/namespace.exp: Ditto.
2717
115f06de
OF
27182001-03-07 Orjan Friberg <orjanf@axis.com>
2719
2720 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2721 * gdb.base/pointers.exp: Relax pattern match of decimals.
2722
b6ba6518
KB
27232001-03-06 Kevin Buettner <kevinb@redhat.com>
2724
2725 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2726 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2727 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2728 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2729 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2730 config/sh.exp, config/sid.exp, config/slite.exp,
2731 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2732 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2733 config/vxworks.exp, config/vxworks29k.exp,
2734 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2735 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2736 gdb.base/arithmet.exp, gdb.base/assign.exp,
2737 gdb.base/async.exp, gdb.base/attach.exp,
2738 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2739 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2740 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2741 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2742 gdb.base/commands.exp, gdb.base/completion.exp,
2743 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2744 gdb.base/constvars.exp, gdb.base/corefile.exp,
2745 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2746 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2747 gdb.base/ending-run.exp, gdb.base/environ.exp,
2748 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2749 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2750 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2751 gdb.base/funcargs.exp, gdb.base/help.exp,
2752 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2753 gdb.base/logical.exp, gdb.base/long_long.exp,
2754 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2755 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2756 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2757 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2758 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2759 gdb.base/regs.exp, gdb.base/relational.exp,
2760 gdb.base/remote.exp, gdb.base/reread.exp,
2761 gdb.base/restore.exp, gdb.base/return2.exp,
2762 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2763 gdb.base/selftest.exp, gdb.base/setshow.exp,
2764 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2765 gdb.base/sigall.exp, gdb.base/signals.exp,
2766 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2767 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2768 gdb.base/step-test.exp, gdb.base/structs.c,
2769 gdb.base/structs.exp, gdb.base/structs2.exp,
2770 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2771 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2772 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2773 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2774 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2775 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2776 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2777 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2778 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2779 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2780 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2781 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2782 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2783 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2784 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2785 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2786 gdb.trace/circ.exp, gdb.trace/collection.exp,
2787 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2788 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2789 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2790 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2791 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2792 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2793 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2794 notices.
2795
dc96c6c7 27962001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2797
2798 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2799 first arg is int not float.
2800
dc96c6c7 28012001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2802
2803 * gdb.base/reread.exp: Unsupported for non-native targets;
2804 doesn't work for remote debugging.
2805
9b0c4aeb
FN
28062001-02-19 Fernando Nasser <fnasser@redhat.com>
2807
2808 From Drew Moseley <dmoseley@redhat.com>
2809 * gdb.base/ending-run.exp: Properly handle the BSP state when
2810 stepping past the end of main.
2811
02aa71d5
MC
28122001-02-19 John Moore <jmoore@redhat.com>
2813
2814 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2815 Converted HPUX fix for non-expected items following multiple
2816 step commands into general solution for all platforms.
2817
1fa449a4
MC
28182001-02-18 Michael Chastain <chastain@redhat.com>
2819
2820 * gdb.c++/classes.exp (do_tests): Change runto statements
2821 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2822 statements demangler agnostic.
2823 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2824 (gdb_virtfunc_restart): Likewise.
2825
b2f9ec70
MC
28262001-02-14 Michael Chastain <chastain@redhat.com>
2827
2828 * gdb.c++/inherit.exp (do_tests): Change runto statements
2829 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2830 statements demangler agnostic.
2831
cf74b8ca
AC
2832Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2833
2834 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2835 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2836 before calling common_routine 15 times'' tests.
2837
99f78f56
MC
28382001-02-11 Michael Chastain <chastain@redhat.com>
2839
2840 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2841 Helps the test script figure out which demangler is in use.
2842 (dm_type_foo_ref): Ditto.
2843 (dm_type_int_star): Ditto.
2844 (dm_type_long_star): Ditto.
2845 (dm_type_unsigned_int): Ditto.
2846 (dm_type_void): Ditto.
2847 (dm_type_void_star): Ditto.
99707966 2848 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2849 Probe the gdb demangler and set variables to accommodate
2850 formatting differences.
2851 (info_func_regexp): New function. Same as info_func, but
2852 matches against a regexp.
2853 (info_func): Match against a literal string.
2854 (print_addr_2): New function. Match against a literal string,
2855 which can be different from the input to gdb.
2856 (print_addr): Simply call print_addr_2 with the same argument twice.
2857 (test_lookup_operator_functions): Use demangler formatting variables.
2858 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2859 the tests in the same order as the C++ class declaration.
2860 (test_paddr_operator_functions): Ditto.
2861 (test_paddr_overloaded_functions): Ditto.
2862 (test_paddr_hairy_functions): Use demangler formatting variables.
2863 Add reference to gdb/19 for related tests.
2864 (do_tests): Call probe_demangler.
2865
1de8f023
KB
28662001-01-30 Kevin Buettner <kevinb@redhat.com>
2867
2868 * gdb.c++/templates.cc (printf): Remove unused function definition.
2869
ca3f91ed
MS
28702001-01-26 Felix Lee <flee@redhat.com>
2871
2872 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2873
28742001-01-25 matthew green <mrg@redhat.com>
2875
2876 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2877 up sid.
2878 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2879
28802001-01-25 matthew green <mrg@redhat.com>
2881
2882 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2883 Deprecate $sid_spawn_id.
2884 (sid_exit): Remove code necessary only for `spawn.'
2885
28862001-01-25 matthew green <mrg@redhat.com>
2887
2888 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2889
fb18ec4a
MC
28902001-01-28 Michael Chastain <chastain@redhat.com>
2891
2892 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2893 to call when tests fail. It takes gdb out of the overloaded
2894 function choice menu back to the main prompt, so that the test
2895 program stays synchronized.
2896 (set_bp_overloaded): New proc to collect all the common
2897 code for setting a breakpoint on an overloaded name. Calls
2898 take_gdb_out_of_choice_menu when needed.
2899 (menu_overload1arg): New variable to collect the repeated
2900 instances of the expected menu for an overloaded name. Change
2901 the regular expression to handle changes in g++ type encoding:
2902 "void" can be either "void" or "", and "unsigned int" can be
2903 either "unsigned int" or "unsigned".
2904 (continue_to_bp_overloaded): Change regular expressions to handle
2905 changes in g++ type encoding.
2906 (no proc): Call take_gdb_out_of_choice_menu when needed.
2907 Remove redundant calls to "info break". Accept either "canceled"
2908 or "cancelled". Change regular expressions in "info break"
2909 calls to handle changes in g++ type encoding. Give all tests
2910 unique strings.
2911
9c646a6e
BE
29122001-01-17 Ben Elliston <bje@redhat.com>
2913
2914 * config/sid.exp: New file.
2915
9549d9c1
AC
2916Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2917
2918 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2919
dc96c6c7 29202000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2921
2922 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2923 Add a RE to accept a non-ascii char if one is ever presented.
2924
b4df4f68
FN
29252000-12-20 Fernando Nasser <fnasser@redhat.com>
2926
297dd0fd 2927 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2928
dc96c6c7 29292000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2930
2931 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2932 in regexp. One '\' does not suffice on Linux.
2933
4a7bddb6
MC
29342000-12-09 Michael Chastain <chastain@redhat.com>
2935
2936 * gdb.base/break.exp (test_clear_command): Use a marker function
2937 rather than 'main' for the test function. Also move this
2938 test to an execution point where the marker function names are
2939 guaranteed to be bound to functions. (Executing tests after a
2940 'finish' from main runs into name conflicts with local names
2941 in __libc_start_main).
2942
dc96c6c7 29432000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2944
2945 * gdb.base/finish.exp: New test for gdb's "finish" command.
2946 * gdb.base/return2.exp: New test for gdb's "return" command.
2947 * gdb.base/return2.c: New source file for above.
2948
dc96c6c7 29492000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2950
2951 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2952 * gdb.base/miscexprs.exp: Ditto.
2953 * gdb.base/pointers.exp: Ditto.
2954 * gdb.c++/derivation.exp: Ditto.
2955 * gdb.c++/local.exp: Ditto.
2956 * gdb.c++/namespace.exp: Ditto.
2957 * gdb.c++/overload.exp: Ditto.
2958 * gdb.c++/ref-types.exp: Ditto.
2959
dc96c6c7 29602000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
2961
2962 * gdb.base/constvars.exp: Test result of "up" command.
2963 * gdb.base/miscexprs.exp: Ditto.
2964 * gdb.base/pointers.exp: Ditto.
2965 * gdb.base/scope.exp: Ditto.
2966 * gdb.c++/derivation.exp: Ditto.
2967 * gdb.c++/local.exp: Ditto.
2968 * gdb.c++/namespace.exp: Ditto.
2969 * gdb.c++/overload.exp: Ditto.
2970 * gdb.c++/ref-types.exp: Ditto.
2971
44097287
FN
29722000-11-22 Michael Chastain <chastain@redhat.com>
2973
2974 * mips_pro.exp: Accept either "middle -> top -> main" or
2975 "middle -> main" in the backtrace, because gcc can optimize
2976 tail calls to jumps. Remove setup_xfail for the hppa case.
2977 Add a comment with the original warning messages from PR 3016,
2978 which was filed in 1993, to preserve them for posterity.
2979
9d2e1bab
ND
29802000-11-17 Nick Duffek <nsd@redhat.com>
2981
2982 * lib/gdb.exp (gdb_test): Override timeout with board info.
2983
1aca8eb7
ND
29842000-11-17 Nick Duffek <nsd@redhat.com>
2985
2986 * gdb.base/display.exp: Don't kill running stub. Add "again" to
2987 the second kill and detach messages.
2988
93076499
ND
29892000-11-17 Nick Duffek <nsd@redhat.com>
2990
2991 * configure.in: Add AC_EXEEXT.
2992 * configure: Regenerate.
2993 * Makefile.in (just-check): Export EXEEXT.
2994 * lib/gdb.exp ($EXEEXT): Import from environment.
2995 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
2996 expect "maint dump-me" on Cygwin.
2997 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
2998 $EXEEXT.
2999
30e87cd3
ND
30002000-11-17 Nick Duffek <nsd@redhat.com>
3001
3002 * gdb.base/break.exp: Test backtrace and finish from called
3003 function on all platforms, not just HP-UX.
3004
dc96c6c7 30052000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3006
3007 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3008 code from gdb_target_monitor, so it can be used independantly
3009 for gdbserver. Also comment out an unnecessary PUTS.
3010
dc96c6c7 30112000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3012
3013 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3014 * gdb.base/corefile.exp: Expect the message "Program is being
3015 debugged already" when we send the "corefile" command, since
3016 the preceeding gdb_load may have connected gdb to a remote target.
3017 * gdb.base/display.exp: Disable hardware watchpoints if new
3018 board info variable "no_hardware_watchpoints" is true.
3019 Replace single-letter commands with more readable ones.
3020 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3021 if new board info variable "no_hardware_watchpoints" is true.
3022 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3023 to see if stdio (printf) testing is possible.
3024 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3025 board info variable "no_hardware_watchpoints" is true. Use new
3026 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3027
39124dea
FN
30282000-11-13 Fernando Nasser <fnasser@redhat.com>
3029
3030 From Orjan Friberg <orjanf@axis.com>:
3031 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3032 in array print pattern match.
3033
a9e2e984
FN
30342000-11-09 Fernando Nasser <fnasser@redhat.com>
3035
3036 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3037 spelling "cancelled" to U.S. spelling "canceled" to match changes
3038 made to gdb.
3039 * gdb.c++/ovldbreak.exp: Ditto.
3040
c7db355b
PS
30412000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3042
3043 * gdb.base/callfuncs.c (main): Moved to end of file, call
3044 t_double_values to initialize the FPU before inferior calls are made.
3045 * gdb.base/callfuncs.exp: Test for register preservation after calling
3046 inferior functions. Add tests for continuining, finishing and
3047 returning from a stop in a call dummy.
3048
dc96c6c7 30492000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3050
3051 * gdb.base/commands.exp: Break up long lines, and re-indent.
3052
dc96c6c7 30532000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3054
3055 * config/gdbserver.exp: Rewritten from the ground up, to make it
3056 compatible with the current dejagnu tree, and to make it work with
3057 the new "gdbserver" in libremote.
3058
dc96c6c7 30592000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3060
3061 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3062 * gdb.base/varargs.exp: Skip entire test if no printf support.
3063 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3064 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3065
dc96c6c7 30662000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3067
3068 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3069 no floating point support.
3070 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3071 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3072 * gdb.base/call-rt-st.exp: Ditto.
3073 * gdb.base/call-strs.exp: Ditto.
3074
bac5fc66
JG
30752000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3076
3077 * gdb.base/sizeof.c: include <stdio.h>.
3078
3079 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3080 'finish', otherwise uncaptured gdb_prompt would potentially
3081 throw remaining test points out of sync.
3082
b22a6027
SB
30832000-07-26 Scott Bambrough <scottb@netwinder.org>
3084
3085 * gdb.base/recurse.exp: Run tests for all targets.
3086 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3087 gnu-oldld case on ARM.
3088 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3089 for ARM targets.
3090
d8231941
AG
3091Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3092
3093 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3094 * gdb.java/configure: Rebuild.
3095
8caabe69
AG
3096Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3097
3098 * gdb.java/jv-exp.exp: New file.
3099
9d273ca3
AG
3100Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3101
3102 * configure: Rebuilt.
3103 * configure.in (configdirs): Add gdb.java.
3104 * gdb.java/jmisc.java: New file.
3105 * gdb.java/jmisc.exp: New file.
3106 * gdb.java/Makefile.in: New file.
3107 * gdb.java/configure: Rebuilt.
3108 * gdb.java/configure.in: New file.
3109 * lib/java.exp: New file.
3110
4f823a66
AC
3111Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3112
3113 * gdb.base/exprs.exp: Test casts to a pointer including over and
3114 underflow.
3115
2391e11d
AC
3116Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3117
3118 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3119 and the compilers sizes.
3120
54602222
ND
31212000-07-09 Nick Duffek <nsd@redhat.com>
3122
3123 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3124 (use_methods): New function.
3125 (main): Call use_methods().
3126 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3127 (do_tests): Call test_method_param_class.
3128
2bec0572
ND
31292000-07-09 Nick Duffek <nsd@redhat.com>
3130
3131 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3132 spelling.
3133 (test_enums): New procedure. Move enum tests from end of script
3134 to here. Set breakpoint on function name instead of line number.
3135 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3136 (enums2): New marker function.
3137 (enums1): New function.
3138 (main): Call enums1(). Move enum tests to enums1().
3139
78492fde
AC
3140Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3141
3142 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3143 compile/link program. Update line numbers.
3144 * gdb.asm/d10v.inc: Define ``startup''.
3145 * gdb.asm/asmsrc1.s: Add definition of _start.
3146
49a2cef8
AC
3147Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3148
3149 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3150
3e6c8688
EZ
31512000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3152
3153 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3154 of 'help maint print' command.
3155
9ff5cbe9
AC
3156Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3157
3158 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3159 they use gdb_expect_list.
3160
17c579bd
AC
3161Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3162
3163 * gdb.base/commands.exp: Use ``set remote
3164 memory-read-packet-size'' instead of ``set endian big'' to test
3165 long commands.
3166
e6d71bf3
DB
31672000-06-03 Daniel Berlin <dan@cgsoftware.com>
3168
3169 * gdb.c++/templates.exp (do_tests): Make all of these work under
3170 g++, and stop skipping them.
3171
3172 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3173 work under g++.
3174
e5f9ba7b
MS
3175 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3176 initialization.
3177
dc96c6c7 31782000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3179
3180 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3181 the regular expression: accept an (almost) arbitrary sequence of
3182 "frames-invalid" and "breakpoints-invalid" messages both before
3183 and after the "starting" message.
3184
dc96c6c7 31852000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3186
3187 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3188
dc96c6c7 31892000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3190
3191 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3192 Relax the regular expression a little, make it pass on Solaris 8.
3193
8216cda9
KB
31942000-05-12 Kevin Buettner <kevinb@redhat.com>
3195
3196 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3197 a call, do not require that gdb stop on the line after the call.
3198 Instead, it is permissible for gdb to stop on the line of the
3199 call itself.
3200
1a570b2f
MS
32012000-05-12 Michael Snyder <msnyder@.cygnus.com>
3202
3203 * gdb.base/break.exp (bp on small function, optimized file):
3204 Add a second pass pattern. The behavior differs here between stabs
3205 and dwarf for one-line functions. Stabs preserves two line symbols
3206 (one before the prologue and one after) with the same line number,
3207 but dwarf regards these as duplicates and discards one of them.
3208 Therefore the address after the prologue (where the breakpoint is)
3209 has no exactly matching line symbol, and GDB reports the breakpoint
3210 as if it were in the middle of a line rather than at the beginning.
3211
dc96c6c7 32122000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3213
3214 * gdb.base/interrupt.exp: Make "pass" message say "send"
3215 rather than "send_gdb" (for consistancy).
3216
7d418785
AC
3217Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3218
3219 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3220 * gdb.c++/templates.cc: Properly check for GCC version number.
3221 * lib/compiler.cc: Likewise
3222
dc96c6c7 32232000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3224
3225 * gdb.base/break.exp: When compiled with -O2 optimization,
3226 gdb may not stop at the first line of main, due to code motion.
3227
dc96c6c7 32282000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3229
3230 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3231 This test depends on parsing the printf output from the target.
3232 Since the sparclet stub doesn't do stdio, this will never work.
3233 * gdb.base/call-rt-st.exp: ditto.
3234 * gdb.base/call-strs: ditto.
3235
dc96c6c7 32362000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3237
3238 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3239
3240 * gdb.base/ending-run.exp: After connecting to a remote target,
3241 but before running, the target will appear to be in a random
3242 location. Specify both a file and a line for breakpoints.
3243 Also, the function that calls main may be called 'init'
3244 rather than 'start'.
3245
a5a51225
EZ
32462000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3247
3248 * gdb.base/help.exp: Update output for add-symbol-file command.
3249
7930cc7c
FN
32502000-04-10 Fernando Nasser <fnasser@cygnus.com>
3251
3252 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3253 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3254
23e37ab1
C
32552000-04-07 J.T. Conklin <jtc@redback.com>
3256
e93c542c
C
3257 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3258
23e37ab1
C
3259 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3260
591b8fa3
PDM
3261Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3262
3263 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3264 values that can be represented exactly.
3265 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3266 above change, and to not check against the directory part of the source
3267 file name.
3268 (step into print_long_arg_list): Likewise.
3269 (print print_small_structs from print_long_arg_list): Likewise.
3270 (print print_long_arg_list): Likewise.
3271
7a495180
EZ
32722000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3273
30b53638 3274 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3275
beb998c6
AC
3276Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3277
3278 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3279
1c689132
DB
32802000-03-25 Daniel Berlin <dan@cgsoftware.com>
3281
3282 * gdb.base/commands.exp (deprecated_command_test): Add test for
3283 deprecate with no arguments.
3284
c1790a9d
JL
32852000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3286
3287 * gdb.base/break.exp: Add new test for setting breakpoints on
3288 optimized code so we can test breakpoints work even when function
3289 prologues may be optimized away
3290
003ba290
FN
32912000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3292
3293 From David Whedon <dwhedon@gordian.com>
3294 * gdb.base/commands.exp : Added command deprecator tests.
3295
6837a0a2
DB
32962000-03-22 Daniel Berlin <dan@cgsoftware.com>
3297
3298 * gdb.base/help.exp: Added test for new apropos command.
3299
b9593231
KB
33002000-03-21 Kevin Buettner <kevinb@redhat.com>
3301
3302 * gdb.base/pointers.c (usevar): New function.
3303 (main): Make sure that global variables v_int_pointer2, rptr,
3304 and y are all referenced someplace in the program by calling
3305 usevar() on them. [Some linkers delete symbols which are
3306 never referenced. The space remains, but there's no way to
3307 get a (symbolic) handle on the variable from the debugger.]
3308
751a959b
EZ
33092000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3310
3311 * gdb.base/printcmds.c: Add typedeffed arrays.
3312
3313 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3314 procedure to test arrays that are typedef'd.
3315
73a93a32
JI
33162000-03-13 James Ingham <jingham@leda.cygnus.com>
3317
3318 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3319 the library directories.
73a93a32 3320
fb40c209
AC
3321Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3322
3323 * configure.in (configdirs): Add sub directory gdb.mi.
3324 * configure: Re-generate.
3325
3326 * gdb.mi: New directory.
beb998c6 3327
ee4dd2c9
AC
33282000-02-25 Scott Bambrough <scottb@netwinder.org>
3329
3330 * gdb.base/long_long.exp: Correct test suite failure when printing
3331 a long long value as a double on ARM platforms.
3332
70f0cc22
JB
33332000-02-16 Jim Blandy <jimb@redhat.com>
3334
3335 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3336 default source file is set properly before running this test.
3337
853819b8
EZ
33382000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3339
3340 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3341 gdbtk/library directory, not in gdbtcl2.
3342
dfcd3bfb
JM
33432000-02-04 Jim Blandy <jimb@redhat.com>
3344
3345 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3346 backslash from regexp pattern.
3347
3348 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3349 procedure. Use it to run all the "continue to bp overloaded"
3350 tests. Note that this changes the names of the tests slightly.
3351 If the breakpoint hit message includes a hex PC value, because
3352 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3353 from the real source code, still consider that a pass.
3354
3355 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3356 XFAIL here if the breakpoint message contains a hex address. Note
3357 similar change on 1999-11-02.
3358
3359 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3360
3361 * gdb.base/ptype.exp: Establish a default source file before
3362 calling get_debug_format.
3363
33642000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3365
3366 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3367
8b93c638
JM
33682000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3369
3370 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3371 of successive stepi commands -- while in the prologue we should see
3372 the function entry bracket.
3373
33742000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3375
3376 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3377 reach __change_mode() when stepping through the end of main().
3378
c5394b80
JM
33792000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3380
3381 * gdb.base/default.exp: Fix expected pattern.
3382 * gdb.base/help.exp: Same.
3383
0d06e24b
JM
33842000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3385
3386 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3387 Don't use xfail's because that affects only the following test.
beb998c6 3388
0d06e24b
JM
3389 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3390 solaris or linux.
3391
3392 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3393
dc96c6c7 33942000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3395
beb998c6 3396 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3397 "A syntax error" rather than "A parse error". Accept both.
3398
33992000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3400
3401 * gdb.base/default.exp: Remove OS dependent string from "target
3402 remote" test.
3403 * gdb.base/help.exp: Same for "help target remote" test.
3404
c3f6f71d
JM
34052000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3406
3407 From Jim Kingdon <kingdon@redhat.com>:
3408
3409 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3410 prompt (cleanup rather than necessity, but still might keep output
3411 from spilling to next test).
3412
34132000-01-02 Fred Fish <fnf@cygnus.com>
3414
3415 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3416 AIX, which defines them in <sys/types.h>.
3417
ed9a39eb 34181999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3419
ed9a39eb
JM
3420 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3421 float" test.
3422
34231999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3424
ed9a39eb 3425 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3426
3427 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3428 outermost frame disallowed".
3429
34301999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3431
3432 * gdb.base/setvar.exp: New tests for setting the value of a struct
3433 with a constant list.
3434
34351999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3436
3437 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3438 require the user to type a cast before setting the value of a struct.
3439
de57eccd
JM
34401999-12-06 Jim Blandy <jimb@cygnus.com>
3441
3442 * gdb.base/default.exp: Expect the new 'info float' command on
3443 all i386 platforms.
3444
3445 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3446 LinuxThreads libraries that don't support debugging.
3447
c2d11a7d
JM
3448Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3449
3450 * gdb.base/remote.c: Fill the buffer with truely random data.
3451 Change the buffer type to ``unsigned char'' to simplify size
3452 arithmetic.
3453
3454 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3455 stub only handles 400-1 byte packets. Verify that the download
3456 worked.
3457
34581999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3459
3460 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3461 tests, using UNRESOLVED for the untested cases. Also, does not wait
3462 for a timeout if the prompt was received before a recognizable pattern.
3463
34641999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3465
3466 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3467
34681999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3469
3470 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3471 watchpoints.
3472
34731999-11-24 Jason Merrill <jason@casey.cygnus.com>
3474
3475 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3476
3477 * gdb.c++/local.exp: Be more flexible in recognizing local class
3478 name mangling. Don't allow horribly truncated method names.
3479 * gdb.c++/derivation.exp: Expect protected inheritance.
3480 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3481 * gdb.c++/virtfunc.exp: Likewise.
3482 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3483 when printing a nested enum.
3484
34851999-11-22 Jim Blandy <jimb@cygnus.com>
3486
3487 * gdb.base/step-test.exp: Properly await GDB's response to setting
3488 a breakpoint on the call to large_struct_by_value.
3489
3490 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3491 just because we have debug info for the `start' function.
3492
34931999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3494
3495 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3496 "Unknown signal" messages, which indicate (on LinuxThreads) that
3497 GDB doesn't know how to debug threads on this system. This is
3498 better than hanging while philosopher 0 dumps chatter into gdb.log.
3499
35001999-11-18 Tom Tromey <tromey@cygnus.com>
3501
3502 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3503
35041999-11-18 Fred Fish <fnf@cygnus.com>
3505
3506 * gdb.base/coremaker2.c: Add sample program for generating
3507 cores that is more self contained than coremaker.c. Eventually
3508 I'll add more code to this and tie it into the testsuite.
3509
4ce44c66
JM
35101999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3511
3512 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3513
35141999-11-10 Jimmy Guo <guo@cup.hp.com>
3515
3516 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3517 from $srcdir/lib/.
3518 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3519 and gdb.c++/.
3520
3521 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3522
beb998c6 3523 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3524 'continue with watch' test point.
3525
35261999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3527
3528 Merged from p2linux-990323-branch:
beb998c6 3529
4ce44c66
JM
3530 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3531
11cf8741
JM
3532Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3533
3534 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3535 {limit,fixed}''. Test ``set download-write-size''.
3536
3537Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3538
3539 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3540 gdb_expect_list.
3541
3542Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3543
3544 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3545
35461999-11-03 Mark Salter <msalter@cygnus.com>
3547
3548 * gdb.base/break.exp: Fix "stub continue" pattern.
3549
35501999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3551
3552 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3553
35541999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3555
3556 * gdb.base/display.exp ("finish"): Add timeout clause.
3557
3558 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3559 plain prompt clause, so this doesn't have to time out in order to
3560 fail.
3561
3562 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3563 breakpoint hit messages include an address.
3564
3565 * gdb.base/display.exp: Don't forget to escape parens in regular
3566 expressions. Unix regexp notatation sucks.
3567
35681999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3569
3570 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3571 order for 'signalled' message.
3572
5c44784c
JM
35731999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3574
3575 From Jimmy Guo <guo@cup.hp.com>:
3576 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3577 * gdb.base/annota1.c: Add code for tests to work with.
3578
35791999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3580
3581 * gdb.base/remote.exp: New test for remote downloading settings.
3582 * gdb.base/remote.c: New file with large .data.
3583
917317f4
JM
35841999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3585
3586 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3587 for LinuxThreads support, merged from the Code Fusion branch.
3588
3589Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3590
3591 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3592 containing exp_continue into a while within an expect. Don't
3593 attempt a start more than three times. Check return value from
3594 gdb_load.
beb998c6 3595
2df3850c
JM
3596Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3597
3598 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3599 a pass case.
3600
2acceee2
JM
36011999-10-01 Kevin Buettner <kevinb@cygnus.com>
3602
3603 * gdb.base/break.c (main): Added a statement that we can step
3604 off of.
3605 * gdb.base/break.exp: Added tests for setting a breakpoint
3606 at an offset and stepping onto a breakpoint.
3607
36081999-10-01 Fred Fish <fnf@cygnus.com>
3609
beb998c6 3610 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3611 gdb output.
3612
c2c6d25f
JM
36131999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3614
3615 * gdb.base/break.exp: Code locations are in hex, don't forget!
3616 (For HP-UX.)
3617
36181999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3619
3620 * condbreak.exp: Use break.c as test program.
3621 * condbreak.c: Remove, redundant with break.c.
3622
36231999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3624
3625 * config/monitor.exp (gdb_target_monitor): Disable X- and
3626 Z-packets if the target needs it.
3627
36281999-09-13 James Ingham <jingham@leda.cygnus.com>
3629
3630 * gdb.c++/overload.exp: Added tests for listing overloaded
3631 functions with function pointers in the arg, explicitly calling
3632 out the version you want.
3633
cff3e48b
JM
36341999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3635
3636 * long_long.exp: Add variations of test cases that work for
3637 targets with 16-bit ints and 32-bit doubles.
3638
d4f3574e
SS
36391999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3640
3641 * break.c (main): Compare a possibly-uninitialized argc with an
3642 unlikely value that fits in 16 bits.
3643
36441999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3645
3646 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3647 0xfeeb, don't want negative numbers if ints are 16 bits.
3648
3649 * lib/gdb.exp (skip_cplus_tests): New proc.
3650 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3651 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3652 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3653 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3654 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3655 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3656 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3657 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3658
3659 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3660
3661Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3662
3663 * gdb.base/corefile.exp (up): Allow a parameter to appear
3664 in the frame that we're going up to.
3665
3666 From Jim Blandy <jimb@cygnus.com>:
3667
3668 * gdb.base/default.exp (info float): Expect some output now.
3669
3670 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3671 returning floating-point values to fail on the x86.
3672 * gdb.base/callfwmall.exp (do_function_calls): Same.
3673
3674 * gdb.base/list.exp (test_listsize): Correct expectations for
3675 listing line 1 with listsize 2. Also, listing a single line
3676 works now, as does listing three lines. [Kevin's note: There
3677 were a number of other cases fixed too where the expectations
3678 differed...]
3679
36801999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3681
3682 * gdb.base/selftest.exp: Add case for when version prints as
3683 constant string instead of char pointer.
3684
104c1213
JM
36851999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3686
3687 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3688 stepping out of main.
3689
3690 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3691 G++ used.
3692
3693 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3694 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3695
3696 * gdb.c++/ovldbreak.exp: Update match string in test that
3697 includes a warning of multiple breakpoints.
3698
36991999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3700
3701 * gdb.base/display.exp: Improve precision of step-after-finish
3702 added yesterday.
3703
3704 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3705 test.
3706
3707 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3708 configs when using G++, not just hppa*.
3709
37101999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3711
3712 * gdb.base/async.c: New file.
3713 * gdb.base/async.exp: New file.
3714
3715Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3716
3717 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3718 PA64.
3719
53a5351d
JM
3720Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3721
104c1213
JM
3722 * gdb.base/display.exp: "finish" can leave us mid-line on many
3723 targets, deal with it. Add a small constant to main, instead of
3724 1000 since main+1000 may not be a valid address in the target.
3725
53a5351d
JM
3726 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3727 on hpux11.
3728
3729 * gdb.base/attach.exp: Handle another hpux11 error message variant
3730 when attaching to a process that does not exist.
3731
37321999-08-19 J.T. Conklin <jtc@redback.com>
3733
3734 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3735 characters in 'continue to 1241' test.
3736
37371999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3738
3739 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3740 stop in print_long_arg_list, define and use a whitespace
3741 variable in print_small_structs test, add an XFAIL for Solaris.
3742 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3743 interested enough to fix.
3744
7be570e7
JM
37451999-08-13 Keith Seitz <keiths@cygnus.com>
3746
3747 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3748 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3749 proc knows about targets other than the natives.
3750 (test_assign): Use "gdb_run_cmd" to "run" the target.
3751 Check that we've actually hit the breakpoint at main.
3752 When we attempt to assign a value to a local variable, check
3753 that the variable is in the current scope, i.e., don't use
3754 a test with an empty result.
3755
3756Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3757
3758 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3759 command.
3760
37611999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3762
3763 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3764 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3765 gdb.compat, gdb.threads-hp.
3766 gdb.hp/configure, gdb.hp/configure.in: New files.
3767 gdb.hp/Makefile.in: Recurse into new subdirs.
3768 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3769 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3770 in object files.
3771 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3772
96baa820
JM
37731999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3774
3775 * gdb.base/display.exp: Help expect by putting a newline in the
3776 funky printf, remove a bogus p/a test.
3777
37781999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3779
3780 * gdb.base/display.exp: Make sure that when we say 'run', we are
3781 connected to the target. This is necessary when running not
3782 natively.
3783
37841999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3785
3786 * gdb.base/step-test.exp: Removed some extraneous messages.
3787
3788 * gdb.base/long_long.exp: Don't run memory examination tests
3789 on little-endian targets (they will need a different set of
3790 results to match).
3791
37921999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3793
3794 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3795 until somebody decides to fix GDB.
3796
3797 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3798 constant as "ULL".
3799 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3800 matches for a couple x/2 commands.
3801
a0b3c4fd
JM
38021999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3803
3804 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3805 by merging in ref-types2 tests.
3806 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3807
3808 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3809 * gdb.c++/Makefile.in: Add standard actions.
3810 (EXECUTABLES): Rename from PROGS, update list.
3811 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3812 from gdb.hp.
3813 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3814 foo and bar locals.
3815 * gdb.c++/anon-union.exp: Fix tests to match.
3816 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3817 expect matches to handle output variations.
3818 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3819 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3820 output, add HP alternatives for new and delete prints.
3821 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3822 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3823 * gdb.c++/demangle.exp: Use $style when reporting failure.
3824 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3825 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3826 match alternatives.
3827 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3828 compilers.
3829 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3830 * gdb.c++/method.exp: Add match alternatives.
3831 * gdb.c++/misc.cc: Add bool types.
3832 * gdb.c++/misc.exp: Add tests for bool types.
3833 * gdb.c++/overload.exp: Add xfails.
3834 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3835 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3836 add some more template parameter tests (only for HP currently).
3837 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3838 * gdb.c++/virtfunc.cc: Add return type and value for main.
3839 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3840 match alternatives.
beb998c6 3841
a0b3c4fd
JM
38421999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3843
3844 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3845
38461999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3847
3848 * gdb.base/signals.exp: Don't expect getting a backtrace from
3849 within a signal handler to fail on Linux.
3850
38511999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3852
3853 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3854 * lib/gdb.exp: Remove some gratuitious semicolons.
3855 (delete_breakpoints): Increase timeout.
3856 (gdb_expect): Add -notransfer option.
3857 (gdb_test): Use -notransfer option.
3858 (get_compiler_info): Add f77 case.
3859 (get_compiler): New proc, split out from gdb_preprocess, add f77
3860 case.
3861 (gdb_preprocess): Call get_compiler.
3862
3863 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3864 * gdb.base/attach.exp, gdb.base/display.exp,
3865 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3866 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3867 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3868 third arg to gdb_test.
3869 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3870 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3871 HP-UX xfails, add others.
3872 * gdb.base/completion.exp: Reflect name change of self-test.
3873 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3874 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3875 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3876 HP failure number.
3877 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3878 useless HP-UX 10.30 references.
3879 * gdb.base/maint.exp: Loosen matches.
3880 * gdb.base/pointers.c (main): Declare more_code.
3881 * gdb.base/pointers.exp: Match on output of a `next'.
3882 * gdb.base/structs.c: Add prototypes.
3883 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3884 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3885
38861999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3887
3888 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3889 command.
3890
38911999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3892
3893 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3894 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3895
3896 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3897 debug info. Deal with lack of signal hanlder info in stack.
3898
3899 From Jim Kingdon <kingdon@redhat.com>:
3900 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3901
5a2468f5
JM
39021999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3903
3904 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3905 gdb.base/foll-vfork.exp: Don't run for crosses.
3906
adf40b2e
JM
3907Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3908
3909 * gdb.base/configure.in: Check for gdbvars.exp instead of
3910 a1-selftest.exp.
3911 * gdb.base/configure: Re-generate.
3912
39131999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3914
3915 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3916 in trying to run first and name is too long.
3917
3918 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3919 pointers2.c and pointers2.exp, respectively.
3920 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3921 doschk happier.
3922
43e526b9
JM
39231999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3924
3925 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3926 callfuncs2.c and callfuncs2.exp.
3927
3928 * gdb.base/list.exp: Remove mistaken xfails.
3929 * gdb.base/list0.h: Add optional prototypes.
3930
9846de1b
JM
3931Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3932
3933 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3934 calling malloc.
3935 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3936 * ptype.exp: Move test for get_debug_format to before its first
3937 use.
3938
39391999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3940
3941 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3942 * gdb.base/annota2.cc, annota2.exp: Move from here.
3943 * gdb.c++/annota2.cc, annota2.exp: To here.
3944 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3945
43ff13b4
JM
3946Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3947
3948 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3949 a consistent format.
3950
085dd6e6
JM
39511999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3952
3953 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3954 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3955 HP compilers, also set the globals $true and $false.
3956
3957 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
3958 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
3959 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
3960 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
3961 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
3962 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
3963 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
3964 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
3965 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
3966 whatis.c} Add C++ compatible function definitions and return
3967 types, add includes for library functions.
3968 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
3969 * gdb.base/step-test.c (myglob): Rename from glob.
3970 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
3971 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
3972 files, move here from gdb.hp.
3973 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
3974 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
3975 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
3976 Adjust line numbers in regexps.
3977
3978 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
3979 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
3980 instead of 0/1.
3981
3982 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
3983 foll-vfork.exp: New files, move here from gdb.hp.
3984 * gdb.base/page.exp: New file, test of pagination command.
3985
3986 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
3987 recursion test.
3988 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
3989
3990 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
3991 gdb.base/solib.exp: Fix compiler invocation process.
3992
3993 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
3994 HP-UX 11, turn off overload resolution explicitly.
3995 * gdb.base/commands.exp: Set argument list explicitly, add
3996 watchpoint test.
3997 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
3998 them work.
3999 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4000 expressions properly.
4001 * gdb.base/corefile.exp: Loosen the match slightly.
4002 * gdb.base/default.exp: Allow "Error accessing memory" message
4003 also.
4004 * gdb.base/display.exp: Skip over x/0 j if PA64.
4005 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4006 * gdb.base/interrupt.exp: Ditto.
4007 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4008 in use.
4009 * gdb.base/list.exp: Add xfails for HP-UX.
4010 * gdb.base/long_long.exp: Refine some of the numeric matches.
4011 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4012 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4013 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4014 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4015 * gdb.base/ptype.exp: Succeed on more varieties of output.
4016 * gdb.base/scope.exp: Add xfails for HP-UX.
4017 * gdb.base/sect-cmd.exp: Add more cases.
4018 * gdb.base/setvar.exp: Add xfails for HP-UX.
4019 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4020 * gdb.base/signals.exp: Match on void symbolically.
4021 * gdb.base/step-test.exp: Add case for PA64.
4022 * gdb.base/term.exp: Add exit and restart.
4023 * gdb.base/twice.exp: Clean up after self.
4024 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4025 * gdb.base/whatis.exp: Allow more ways to pass tests.
4026
4027 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4028 no longer useful.
4029
4030Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4031
4032 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4033 list of patterns.
4034 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4035 print_double_array(double_array)", "continuing to breakpoint
4036 1018", "print print_double_array(array_d)" and "continuing to
4037 1034" tests.
beb998c6 4038
085dd6e6
JM
40391999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4040
4041 * Makefile.in: Add empty html and install-html targets.
4042
40431999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4044
4045 * config/mt-*: Remove, these haven't been used since 1996.
4046
40471999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4048
4049 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4050 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4051 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4052
9e0b60a8
JM
40531999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4054
4055 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4056 simpler match case for the ptype of the big class.
4057
40581999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4059
4060 * gdb.exp: Fix test for gdb_prompt existence.
4061
40621999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4063
4064 * gdb.exp (gdb_test): Add fail after calls to perror.
4065
40661999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4067
4068 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4069
40701999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4071
4072 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4073
0f71a2f6
JM
4074Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4075
4076 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4077 malloc() is linked in.
4078
40791999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4080
4081 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4082 step at end.
4083
4084 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4085
40861999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4087
4088 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4089
cce74817
JM
4090Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4091
4092 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4093 * gdb.base/mips_pro.exp: Likewise.
4094
40951999-06-02 Keith Seitz <keiths@cygnus.com>
4096
4097 * gdb.c++/templates.cc: Change all "new" operators to throw
4098 an exception.
4099 * gdb.c++/cplusfuncs.cc: Likewise.
4100
4101 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4102
4103Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4104
4105 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4106 * gdb.base/ending-run.exp: When stepping out of main, accept a
4107 step into an arbitrary assembler file.
4108
392a587b
JM
41091999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4110
beb998c6 4111 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4112 "breakpoint-invalid" to be printed.
beb998c6 4113 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4114 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4115 * gdb.base/annota2.cc: Initialize a.x to 0.
4116
9e086581
JM
41171999-05-17 Keith Seitz <keiths@cygnus.com>
4118
4119 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4120 when "skip_float_tests" set.
4121 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4122 "print print_ten_doubles", and "step into print_long_arg_list".
4123 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4124 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4125 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4126 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4127 "skip_float_tests" is set.
4128 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4129 when "skip_float_tests" set.
beb998c6 4130
cd0fc7c3
SS
41311999-05-06 Keith Seitz <keiths@cygnus.com>
4132
4133 * gdb.base/annota2.cc: Include stdio.h.
4134
4135Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4136
4137 * gdb.base/crossload.exp: Remove, this has been disabled ever
4138 since BFD stopped including all targets, and cross-GDB gets
4139 plenty of testing anyway.
4140 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4141 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4142 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4143 * gdb.base/README: Remove, was doc for this.
4144 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4145 needed.
4146
b83266a0
SS
41471999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4148
4149 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4150 output.
4151
4152 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4153 * gdb.base/annota2.exp: New file. More annotation tests.
4154 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4155 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4156
41571999-04-23 Angela Marie Thomas <angela@cygnus.com>
4158
4159 * config/cfdbug.exp: New file.
4160
7a292a7a
SS
41611999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4162
4163 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4164 Marcus Daniel's and Dale Hawkins's demangler crashes.
4165
4166 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4167 test_lucid_style_demangling, test_arm_style_demangling,
4168 test_hp_style_demangling): Try Tom Tromey's core-dumping
4169 identifier under each demangling style.
4170
41711999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4172
4173 * gdb.c++/demangle.exp: Include the current demangling style
4174 in all test names.
4175 (current_demangling_style): New global variable.
4176 (set_demangling_style, test_demangling_core, test_demangling,
4177 test_demangling_exact): New functions.
4178 (test_gnu_style_demangling, test_lucid_style_demangling,
4179 test_arm_style_demangling, test_hp_style_demangling): Use those,
4180 instead of calling gdb_test and gdb_test_exact directly.
4181 (catch_demangling_errors): New function, which reports errors
4182 signalled by the demangling test functions in an orderly way.
4183 (do_tests): Use catch_demangling_errors.
4184
41851999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4186
4187 * gdb.base/signals.exp (test_handle_all_print): Use () for
4188 grouping in expressions, not {}.
4189
4190 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4191 initialized yet.
4192
41931999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4194
4195 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4196 are listed.
4197
41981999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4199
4200 * gdb.stabs/weird.exp: Test for CC being defined before
4201 looking at its value.
4202
42031999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4204
4205 * gdb.base/call-ar-st.exp: Remove stray '#'.
4206 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4207 "short int" and "long int".
4208 * gdb.c++/overload.cc: Cast the string added in the previous
4209 change, to mollify finicky HP compiler.
4210 * gdb.hp/reg-test.exp (testfile): Fix file name.
4211 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4212
7a292a7a
SS
4213 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4214 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4215 alternate form of enum ptype.
4216
c906108c
SS
42171999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4218
7a292a7a
SS
4219 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4220 * gdb.hp/*.exp: Change all to run compiler probe only after
4221 passing skip_hp_tests, so as not to waste time on guaranteed
4222 failure.
4223
c906108c
SS
4224 * gdb.c++/overload.cc: Pass string instead of char addr, always
4225 init ccpfoo.
4226 * gdb.c++/templates.cc: Fix syntax error.
4227
7a292a7a
SS
4228Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4229
4230 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4231 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4232 command.
4233
42341999-03-18 James Ingham <jingham@cygnus.com>
4235
4236 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4237
4238 * gdb.c++/method.exp: It was testing an uninitialized int on the
4239 stack and assuming it was positive.
4240
4241 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4242
4243 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4244 keep it from killing the rest of the tests.
7a292a7a
SS
4245 Use gdb_continue_to_end.
4246
4247 * gdb.base/sigall.exp: use gdb_continue_to_end.
4248
4249 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4250
4251 * gdb.base/display.exp: use runto_main, not run.
4252
beb998c6
AC
4253 * gdb.base/default.exp: Check for the current error message in the
4254 r abbreviation test.
7a292a7a
SS
4255 Add strongarm to the targets that know info float.
4256
beb998c6 4257 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4258 run which doesn't work with monitors.
4259
4260 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4261
4262 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4263
4264 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4265 program. Traps the case (in Cygmon) when the program never really
4266 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4267 more places, so I used my name. Sorry Mark...
4268
4269 * config/monitor.exp (gdb_target_monitor): added another
4270 target_info parameter: remotebinarydownload. This will set the
4271 remotebinarydownload flag if this is causing some boards trouble.
4272
42731999-03-18 Mark Salter <msalter@cygnus.com>
4274
4275 * lib/gdb.exp (continue_to_exit): New function.
4276
4277 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4278 * gdb.base/ending-run.exp: Ditto.
4279 * gdb.base/step-test.exp: Ditto.
4280
42811999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4282
4283 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4284 (suggested by Art Haas <ahaas@neosoft.com>).
4285
42861999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4287
4288 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4289
4290Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4291
4292 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4293 descriptions of types (short unsigned int vs unsigned short, etc).
4294
42951999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4296
4297 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4298 a call to strlen; sometimes we do have sources.
4299
43001999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4301
4302 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4303 character, so GDB won't print garbage after its end.
beb998c6 4304
c906108c
SS
4305 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4306 breakpoint there instead. Sometimes GCC emits memcpy to handle
4307 the large structures being passed by value, so we step into that
4308 instead of sum_array_print, which obscures what we're really testing.
4309 * gdb.base/step-test.exp: However, we do want a test that notices
4310 the bizarre steps into memcpy, so do that here. Add check for
4311 stepping into function calls that pass large structures by value.
4312 ("Is that a noun clause, or are you just happy to see me?")
4313 Remove all references to specific line numbers.
4314 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4315 New type and function.
4316 (main): Call large_struct_by_value, passing it a large struct by value.
4317 * lib/gdb.exp (gdb_get_line_number): New function.
4318
4319 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4320 more portable.
4321
7a292a7a
SS
43221999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4323
c906108c
SS
4324 * lib/gdb.exp: Doc fixes.
4325
7a292a7a
SS
43261999-03-05 Nick Clifton <nickc@cygnus.com>
4327
beb998c6 4328 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4329
43301999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4331
c906108c
SS
4332 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4333 commands. They're not germane to this test, and they don't work
4334 that way on remote targets.
4335
3fc11d3e
JM
43361999-03-01 James Ingham <jingham@cygnus.com>
4337
4338 * Changelog entries merged over from gdb development branch.
4339
3fc11d3e
JM
4340 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4341
4342 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4343 for outputting results of test run.
4344
2d4a1622 4345 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4346
4347 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4348
7a292a7a
SS
43491999-02-25 Felix Lee <flee@cygnus.com>
4350
4351 * lib/gdb.exp (debug_format): initialize
4352
c906108c
SS
43531999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4354
4355 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4356 * gdb.base/call-rt-st.c: Ditto.
4357
c906108c
SS
43581999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4359
4360 * gdb.threads/pthreads.exp (horiz): New variable.
4361 (test_startup): Fix regexps that capture thread numbers.
4362
43631999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4364
4365 * gdb.base/smoke.exp: Disambiguate two test case names (both
4366 called ``print'').
4367
4368Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4369
4370 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4371 compilation.
4372
43731999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4374
4375 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4376 actual output formatting.
4377 * gdb.base/smoke.exp: GDB removes leading 0's.
4378 * gdb.base/volatile.exp: Don't check type of remuneration;
4379 that variable is no longer defined in constvars.c.
4380 * gdb.base/step-test.c (main): Exit with explicit exit code.
4381 * gdb.base/step-test.exp: Remove two nexti checks--they are
4382 not portable.
4383
43841999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4385
4386 * gdb.base/help.exp ("help delete display"): Fix test to match
4387 gdb's output.
4388
4389 * gdb.base/long_long.c (known_types): Initialize values to zero.
4390 * gdb.base/long_long.exp: Step one more line
4391 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4392 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4393 unique test case names.
4394
4395Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4396
beb998c6 4397 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4398
4399 * gdb.c++/method.exp: Add missing close brace.
4400
44011999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4402
4403 * gdb.base/maint.exp: Use 'set height 0' to disable page
4404 prompting, not 'set height 400'.
4405
4406 Fix a bunch of timeouts.
4407 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4408 four separate tests, so expect doesn't take forever to match a ton
4409 of text against a regexp with lots of .* forms.
4410 ("maint print psymbols", "maint print symbols"): Make some of
4411 these greps more selective, so that expect doesn't try to wade
4412 through huge piles of output and time out.
4413
4414 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4415
4416 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4417 tests: one which doesn't expect shlib events to be reported, and
4418 another which does, but is XFAIL for all platforms other than
4419 HP/UX.
4420
4421 * gdb.base/break.exp: Teach the test suite that the `catch
4422 fork', `catch vfork', and `catch exec' commands produce error
4423 messages on platforms that don't provide these features.
4424
4425Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4426
4427 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4428 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4429 (shortening names from solib_threshold.exp etc), won't run on
4430 anything but HP-UX for the foreseeable future.
4431 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4432 reflect move.
4433
4434Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4435
4436 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4437 gdb.trace/Makefile.in (clean): Remove all test executables.
4438
4439Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4440
4441 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4442 successfully re-sets breakpoints in shared libraries.
4443 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4444
4445Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4446
beb998c6
AC
4447 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4448 and compiled w/o GCC.
c906108c
SS
4449
4450 * gdb.hp/watch-cmd.exp: ditto.
4451
4452 * gdb.hp/watch-hp.exp: ditto.
4453
4454 * gdb.hp/xdb1.exp: ditto.
4455
4456 * gdb.hp/xdb2.exp: ditto.
4457
4458 * gdb.hp/dbx.exp: ditto.
4459
4460Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4461
4462 * constvars.c: Remove C++-isms.
4463 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4464 with GCC.
4465
4466Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4467
4468 The following changes are part of the HP merge.
4469
4470 * gdb.base/break.exp: new tests to verify that catchpoints for
4471 fork, vfork, and exec don't trigger inappropriately.
4472
4473 * gdb.base/opaque.exp: compile one file at a time, then link.
4474
4475 * gdb.base/signals.exp: be more restrictive about which hppa
4476 systems receive a setup_xfail. new tests.
4477
4478 * gdb.base/solib_threshold.build: new file.
4479 * gdb.base/solib_threshold.exp: new file.
4480 * gdb.base/solib_threshold.link_opts: new file.
4481 * gdb.base/solib_threshold.mk: new file.
4482 * gdb.base/gen_solib_threshold.c: new file.
4483
4484 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4485 tests. New tests for enums inside classes.
4486
4487 * gdb.c++/compiler.cc: indicate support of template debugging.
4488
4489 * gdb.c++/demangle.exp: run hp style demangling tests.
4490
4491 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4492 tests.
4493
4494 * gdb.c++/misc.cc: changes to support new tests.
4495
4496 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4497 to support new tests.
4498
4499 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4500 gcc, then skip these tests.
4501
4502Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4503
4504 The following files are part of the HP merge; some had longer
4505 names at HP, but have been renamed to be no more than 14
4506 characters in length.
4507
4508 * gdb.hp/ambiguous.cc: new file.
4509 * gdb.hp/ambiguous.exp: new file.
4510 * gdb.hp/attach.exp: new file.
4511 * gdb.hp/attach2.exp: new file.
4512 * gdb.hp/classes-hp.exp: new file.
4513 * gdb.hp/ctti.exp: new file.
4514 * gdb.hp/ctti-add.cc: new file.
4515 * gdb.hp/ctti-add1.cc: new file.
4516 * gdb.hp/ctti-add2.cc: new file.
4517 * gdb.hp/ctti-add3.cc: new file.
4518 * gdb.hp/dbx.exp: new file.
4519 * gdb.hp/exception.cc: new file.
4520 * gdb.hp/exception.exp: new file.
4521 * gdb.hp/foll-exec.c: new file.
4522 * gdb.hp/foll-exec.exp: new file.
4523 * gdb.hp/foll-fork.c: new file.
4524 * gdb.hp/foll-fork.exp: new file.
4525 * gdb.hp/foll-vfork.c: new file.
4526 * gdb.hp/foll-vfork.exp: new file.
4527 * gdb.hp/inherit-hp.exp: new file.
4528 * gdb.hp/more-steps.exp: new file.
4529 * gdb.hp/namespace.cc: new file.
4530 * gdb.hp/namespace.exp: new file.
4531 * gdb.hp/optimize.exp: new file.
4532 * gdb.hp/pxdb.c: new file.
4533 * gdb.hp/pxdb.exp: new file.
4534 * gdb.hp/quicksort.exp: new file.
4535 * gdb.hp/reg-test.exp: new file.
4536 * gdb.hp/reg-test.s: new file.
4537 * gdb.hp/sized-enum.c: new file.
4538 * gdb.hp/sized-enum.exp: new file.
4539 * gdb.hp/start-stop.exp: new file.
4540 * gdb.hp/templ-hp.cc: new file.
4541 * gdb.hp/templ-hp.exp: new file.
4542 * gdb.hp/thr-lib.c: new file.
4543 * gdb.hp/thr-lib.exp: new file.
4544 * gdb.hp/thr-lib.h: new file.
4545 * gdb.hp/thr-liblib.c: new file.
4546 * gdb.hp/virtfun-hp.c: new file.
4547 * gdb.hp/virtfun-hp.exp: new file.
4548 * gdb.hp/watch-cmd.exp: new file.
4549 * gdb.hp/watch-hp.exp: new file.
4550 * gdb.hp/xdb1.exp: new file.
4551 * gdb.hp/xdb2.exp: new file.
4552 * gdb.hp/xdb3.exp: new file.
4553
4554Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4555
4556 The following files are part of the HP merge; some had longer
4557 names at HP, but have been renamed to be no more than 14
4558 characters in length.
4559
4560 * gdb.base/ss.h: new file.
4561 * gdb.base/call-ar-st.c: new file.
4562 * gdb.base/call-ar-st.exp: new file.
4563 * gdb.base/call-rt-st.c: new file.
4564 * gdb.base/call-rt-st-exp: new file.
4565 * gdb.base/call-strs.exp: new file.
4566 * gdb.base/ena-dis-br.exp: new file.
4567 * gdb.base/environ.exp: new file.
4568 * gdb.base/long_long.exp: new file.
4569 * gdb.base/sect-cmd.exp: new file.
4570 * gdb.base/shlib-cl2.exp: new file.
4571 * gdb.base/smoke.exp: new file.
4572 * gdb.base/so-impl-ld.c: new file.
4573 * gdb.base/so-impl-ld.exp: new file.
4574 * gdb.base/so-indr-cl.c: new file.
4575 * gdb.base/so-indr-cl.exp: new file.
4576 * gdb.base/varargs.exp: new file.
4577 * gdb.base/volatile.exp: new file.
4578 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4579 * gdb.base/display.exp: new file.
c906108c
SS
4580 * gdb.c++/derivation.exp: new file.
4581 * gdb.c++/local.exp: new file.
4582 * gdb.c++/member-ptr.exp: new file.
4583 * gdb.c++/overload.exp: new file.
4584 * gdb.c++/ovldbreak.exp: new file.
4585 * gdb.c++/ref-types.exp: new file.
4586 * gdb.c++/ref-types2.exp: new file.
4587 * gdb.c++/userdef.exp: new file.
beb998c6 4588
c906108c
SS
4589Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4590
4591 * gdb.base/default.exp: Reflect wording change in remote.c.
4592
dc96c6c7 4593Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4594
4595 * gdb.base/help.exp: Update to reflect current text.
4596
4597Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4598
4599 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4600 they're stack variables and contain garbage.
4601 * gdb.c++/anon-union.exp: new file.
4602
4603 The following changes were made by David Taylor
4604 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4605 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4606 in changes by HP.
4607
4608 * gdb.base/bitops.exp: new file.
4609 * gdb.base/default.exp: change expected messages for catch and
4610 info catch tests to reflect HP merge changes.
4611 * gdb.base/enable-disable-break.exp
4612 * gdb.base/ending-run.c: new file.
4613 * gdb.base/long_long.c: new file.
4614 * gdb.base/maint.exp: new file.
4615 * gdb.base/pointers2.exp: new file.
4616 * gdb.base/shlib-call2.exp: new file.
4617 * gdb.base/solib.exp: new file.
4618 * gdb.base/step-test.c: new file.
4619 * gdb.c++/anon-union.cc: new file.
4620 * gdb.c++/local.cc: new file.
4621 * gdb.c++/member-pointer.cc: new file.
4622 * gdb.c++/method.cc: new file.
4623 * gdb.c++/ref-types.cc: new file.
4624 * gdb.c++/ref-types2.cc: new file.
4625 * gdb.c++/userdef.cc: new file.
beb998c6 4626
c906108c
SS
4627 * gdb.base/scope.exp: compile one file at a time, then link.
4628 * gdb.base/langs.exp: ditto.
4629 * gdb.base/list.exp: ditto.
beb998c6 4630
c906108c
SS
4631Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4632
4633 The following changes were made by David Taylor
4634 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4635 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4636 in changes by HP.
beb998c6 4637
c906108c
SS
4638 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4639 skip tests. When compiling pass c++ flag to gdb_compile.
4640 * gdb.c++/
beb998c6 4641
c906108c
SS
4642 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4643 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4644 (skip_hp_tests): new function.
4645 (gdb_preprocess): new function.
4646
4647 * configure.in (hpdir): decide whether to configure gdb.hp.
4648 * configure: regenerated.
4649
4650 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4651 to delete on clean.
4652 (EXECUTABLES): update to reflect new additions.
4653 * gdb.base/commands.exp: update message expected.
4654 * gdb.base/default.exp: add copyright notice.
4655 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4656 * gdb.base/help.exp: update messages to reflect current text.
4657 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4658 targets for recurse tests.
4659 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4660 skip this file.
4661
4662 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4663 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4664 compilation.
4665 * gdb.c++/misc.exp: ditto.
4666 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4667 run the tests. tell gdb_compile that it's a c++ compilation.
4668
4669 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4670
c906108c
SS
4671 * gdb.base/all-bin.exp: new file.
4672 * gdb.base/arithmet.exp: new file.
4673 * gdb.base/assign.exp: new file.
4674 * gdb.base/completion.exp: new file.
4675 * gdb.base/cond-expr.exp: new file.
4676 * gdb.base/condbreak.exp: new file.
4677 * gdb.base/define.exp: new file.
4678 * gdb.base/dollar.exp: new file.
4679 * gdb.base/environment.exp: new file.
4680 * gdb.base/eval-skip.exp: new file.
4681 * gdb.base/jump.exp: new file.
4682 * gdb.base/logical.exp: new file.
4683 * gdb.base/pointers.exp: new file.
4684 * gdb.base/relational.exp: new file.
4685 * gdb.base/section_command.exp: new file.
4686 * gdb.base/whatis-expr.exp: new file.
4687
4688 * gdb.base/all-types.c: new file.
4689 * gdb.base/call-array-struct.c: new file.
4690 * gdb.base/call-return-struct.c: new file.
4691 * gdb.base/call-strings.c: new file.
4692 * gdb.base/callfuncs2.c: new file.
4693 * gdb.base/condbreak.c: new file.
4694 * gdb.base/constvars.c: new file.
4695 * gdb.base/display.c: new file.
4696 * gdb.base/int-type.c: new file.
4697 * gdb.base/jump.c: new file.
4698 * gdb.base/miscexprs.c: new file.
4699 * gdb.base/pointers.c: new file.
4700 * gdb.base/pointers2.c: new file.
4701 * gdb.base/shmain.c: new file.
4702 * gdb.base/shr1.c: new file.
4703 * gdb.base/shr2.c: new file.
4704 * gdb.base/solib.c: new file.
4705 * gdb.base/solib1.c: new file.
4706 * gdb.base/solib2.c: new file.
4707 * gdb.base/varargs.c: new file.
4708 * gdb.c++/derivation.cc: new file.
4709 * gdb.c++/overload.cc: new file.
4710 * gdb.c++/ovldbreak.cc: new file.
4711 * gdb.hp/attach.c: new file.
4712 * gdb.hp/attach2.c: new file.
4713 * gdb.hp/average.c: new file.
4714 * gdb.hp/compiler.c: new file.
4715 * gdb.hp/compiler.cc: new file.
4716 * gdb.hp/execd-program.c: new file.
4717 * gdb.hp/follow-exec.c: new file.
4718 * gdb.hp/follow-fork.c: new file.
4719 * gdb.hp/follow-vfork-and-exec.c: new file.
4720 * gdb.hp/misc-hp.cc: new file.
4721 * gdb.hp/more-steps.c: new file.
4722 * gdb.hp/optimize.c: new file.
4723 * gdb.hp/quicksort.c: new file.
4724 * gdb.hp/run-hp.c: new file.
4725 * gdb.hp/start-stop.c: new file.
4726 * gdb.hp/sum.c: new file.
4727 * gdb.hp/templates-hp.cc: new file.
4728 * gdb.hp/thread-local-in-lib.c: new file.
4729 * gdb.hp/thread-local-in-lib.h: new file.
4730 * gdb.hp/thread-local-in-lib.lib.c: new file.
4731 * gdb.hp/vforked-program.c: new file.
4732 * gdb.hp/virtfunc-hp.cc: new file.
4733 * gdb.hp/watchpoint-hp.c: new file.
4734 * gdb.hp/xdb.c: new file.
4735 * gdb.hp/xdb0.c: new file.
4736 * gdb.hp/xdb0.h: new file.
4737 * gdb.hp/xdb1.c: new file.
4738
4739Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4740
4741 The following change was made by Edith Epstein
4742 <eepstein@cygnus.com> as part of a project to merge in changes
4743 originally made by HP; HP did not create ChangeLog entries.
4744
4745 * gdb.c++/demangle.exp: changed the expected output for some
4746 ARM-style mangling -- removed second reference to datatype.
4747 For example, maint demangle __dt__11T1__pt__2_cFv
4748 T1<char>::~T1<char>(void)
4749 becomes,
4750 maint demangle __dt__11T1__pt__2_cFv
4751 T1<char>::~T1(void)
4752
4753 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4754
c906108c
SS
4755Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4756
4757 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4758 * gdb.trace/backtrace.exp: Likewise.
4759 * gdb.trace/circ.exp: Likewise.
4760 * gdb.trace/collection.exp: Likewise.
4761 * gdb.trace/deltrace.exp: Likewise.
4762 * gdb.trace/infotrace.exp: Likewise.
4763 * gdb.trace/limits.exp: Likewise.
4764 * gdb.trace/packetlen.exp: Likewise.
4765 * gdb.trace/passc-dyn.exp: Likewise.
4766 * gdb.trace/passcount.exp: Likewise.
4767 * gdb.trace/report.exp: Likewise.
4768 * gdb.trace/save-trace.exp: Likewise.
4769 * gdb.trace/tfind.exp: Likewise.
4770 * gdb.trace/tracecmd.exp: Likewise.
4771 * gdb.trace/while-dyn.exp: Likewise.
4772 * gdb.trace/while-stepping.exp: Likewise.
4773
47741998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4775
4776 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4777
4778Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4779
4780 From Brendan Kehoe:
4781 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4782 int return types.
4783
4784Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4785
4786 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4787 remote dos host testing right.
4788
4789Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4790
4791 * gdb.base/corefile.exp: remove some xfails.
4792
4793Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4794
4795 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4796 have different timestamps.
4797
4798Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4799
4800 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4801 gdb.base/default.exp: Replace "exec" with "executable".
4802
4803Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4804
4805 * gdb.base/default.exp: Change else if to elseif from previous
4806 delta.
4807
4808Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4809
4810 * gdb.base/default.exp: Add brace missing from previous delta.
4811
4812Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4813
4814 * gdb.base/default.exp: Support test for info float for all
4815 varieties of arm toolchain.
4816
dc96c6c7 4817Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4818
4819 * gdb.trace/*.exp: remove "remote_download" command.
4820
dc96c6c7 4821Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4822
4823 * gdb.trace/*.exp: remove -gdwarf from compile.
4824
4825Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4826
4827 * gdb.trace/configure.in(AC_INIT): typo
4828 * gdb.trace/configure: regenerated
4829
dc96c6c7 4830Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4831
4832 * config/m68k-emc.exp: New file.
4833 * lib/<emc-support.exp trace-support.exp}: New files.
4834 * configure.in: add new test directory gdb.trace.
4835 * gdb.trace/{configure configure.in Makefile.in}: New files.
4836 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4837 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4838 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4839 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4840 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4841 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4842 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4843
dc96c6c7 4844Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4845
4846 * gdb.c++/classes.exp: Change all regular expressions to match
4847 arbitrary combinations of newline/carriage-return, so that they
4848 will work equally well on Unix and Windows.
4849 * gdb.c++/inherit.exp: ditto.
4850 * gdb.c++/virtfunc.exp: ditto.
4851
48521998-08-11 Dawn Perchik <dawn@cygnus.com>
4853
4854 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4855
c2d11a7d
JM
4856Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4857
4858 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4859 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4860 to use a0-a3/d0-d3 as needed.
4861
4862Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4863
4864 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4865 * gdb.disasm/am33.exp: Corresponding changes.
4866
c906108c
SS
48671998-07-11 Felix Lee <flee@cygnus.com>
4868
4869 * gdb.base/callfuncs.exp: add cmp10 test.
4870 * gdb.base/callfuncs.c (cmp10): new function.
4871
4872Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4873
beb998c6 4874 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4875 into two parts to get around a synchronization problem in expect.
4876
3fc11d3e
JM
4877Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4878
4879 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4880
4881 * configure.in: Add options for gdbtk testsuite.
4882
4883 * configure: Regenerate.
4884
4885 * gdb.gdbtk: New directory to hold gdbtk tests.
4886
c906108c
SS
4887Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4888
4889 * gdb.fortran/types.exp: Escape brackets in expect patterns
4890 for test_float_literal_types_accepted tests.
4891 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4892 before run test.
4893
c2d11a7d
JM
4894Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4895
4896 * am33.exp: Just compile, do not link the testcase.
4897 * am33.s: Add ".am33" pseudoop to force am33 mode.
4898
c906108c
SS
48991998-06-25 Felix Lee <flee@cygnus.com>
4900
4901 * gdb.base/setshow.exp: make sure $pc is sane.
4902
4903 * gdb.stabs/weird.exp: split expect patterns properly.
4904
c2d11a7d
JM
4905Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4906
4907 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4908 * gdb.disasm/am33.exp: Run it.
4909
dc96c6c7 4910Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4911
4912 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4913 match processing (and eliminate spurious timeouts when running).
4914
dc96c6c7 4915Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4916
4917 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4918 exception test, but conditionalize it on target [mach | gnu].
4919
dc96c6c7 4920Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4921
4922 * gdb.base/overlays.exp: fixup compile line for linker script.
4923
4924Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4925
4926 * gdb.fortran/types.exp: don't guess at float size.
4927
4928Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4929
4930 * gdb.base/exprs.exp: delete test that depends on int size.
4931
4932Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4933
4934 * config/sim.exp: Removed checks for target triplets.
4935 (gdb_target_sim): Use gdb,target_sim_options.
4936
4937Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4938
4939 * gdb.base/reread.exp: New file.
4940 * gdb.base/reread1.c: New file.
4941 * gdb.base/reread2.c: New file.
4942
4943Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4944
4945 * config/sim.exp: Use 'target sim -sparclite' when running
4946 SPARClite programs.
4947
4948Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4949
4950 * gdb.base/structs2.exp: New file.
4951 * gdb.base/structs2.c: New file.
4952
4953Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4954
4955 * gdb.asm/common.inc: New file.
4956 * gdb.asm/d10v.inc: New file.
4957 * asm-source.exp: Pass -I's to gas to find .inc files.
4958 Update line numbers in expected output.
4959 * asmsrc1.s: Rewrite.
4960 * asmsrc2.s: Rewrite.
4961 * configure.in: Create arch.inc symlink.
4962 * configure: Regenerate.
4963 * Makefile.in (distclean): Delete arch.inc.
4964
4965Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
4966
4967 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
4968 (t_enum_value2): ditto
4969 (t_enum_value3): ditto
4970 (main): ditto
4971Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4972
4973 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
4974 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
4975 change.
4976 Use gdb_test instead of send_gdb/gdb_expect sequences.
4977
4978Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
4979
4980 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
4981 not void.
4982
4983Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
4984
4985 * gdb.base/branches.c: Code with lots of loops and
4986 subroutines. Used to test gdbs ability to single step through PC
4987 changes, especially to test mips-tdep.c:mips_next_pc
4988
4989Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
4990
4991 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
4992 more rigorous EGCS C++ error checking.
4993
4994Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
4995
4996 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 4997 tests.
c906108c 4998 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 4999 function when asleep.
c906108c 5000 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5001 for i*86 Linux and SVR4 signal handling problems.
5002 Remove linux xfail for `next to handler in signals_tests_1', fixed
5003 by recent infrun.c change.
c906108c 5004 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5005 stack backtraces.
c906108c
SS
5006 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5007 target.[ch] change.
5008
5009Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5010
5011 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5012 for a newline from gdb before continuing.
5013 (default_gdb_exit): Just look for y or n.
5014 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5015 it does, fail the rests of the tests in the file.
5016
5017Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5018
5019 * config/cygmon.exp: New file.
5020
5021Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5022
5023 * gdb.base/list.exp: Fix problem with "list default lines around
5024 main" test on remote targets.
5025
5026 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5027 run test on remote targets.
5028
5029Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5030
5031 * gdb.asm: New directory.
5032 * configure.in: Configure it.
5033 * configure: Regenerate.
5034 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5035 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5036
5037Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5038
5039 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5040
dc96c6c7 5041Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5042
c906108c
SS
5043 * gdb.base/overlays (several files): Merge the two overlay
5044 managers into one. Change variables (foox, barx, bazx, grbxx)
5045 back into ints but force them to load in their proper sections.
5046
5047Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5048
5049 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5050 on-chip insn memory and IMAP1 to upper 128k.
5051 (D10VCopy): Handle memory regions crossing 16k boundaries.
5052 (D10VCopy): Transfer data in 32 bit chunks.
5053
5054Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5055
5056 * gdb.base/overlays.c (main): Exit normally when result is
5057 correct.
5058
5059 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5060 map. Include space for printf in .text segment.
5061
5062 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5063 updated d10v memory VMA/LMA map.
5064 (D10VCopy): Call D10VTranslate.
beb998c6 5065
c906108c
SS
5066Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5067
5068 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5069
5070 * gdb.base/bar.c (barx, bar): Change variable to small array so
5071 that it won't be put into the .sdata - small data -
5072 section. Update reference.
5073 * gdb.base/baz.c (bazx, baz): Ditto.
5074 * gdb.base/foo.c (foox, foo): Ditto.
5075 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5076
5077 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5078 to be arrays.
beb998c6 5079
dc96c6c7 5080Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5081
c906108c
SS
5082 * gdb.base/overlays.exp: fix up and get working again.
5083 Add tests for backtraces from an overlay function.
beb998c6 5084
c906108c
SS
5085Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5086
5087 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5088 "calling function with watchpoint enabled".
5089
5090Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5091
5092 * gdb.base/break.exp (test_next_with_recursion): Remove
5093 gdb_suppress_tests for d10v-*-*.
5094 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5095 pending review of whether it is useful or not.
5096
5097Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5098
5099 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5100
5101Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5102
5103 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5104 * config/dve.exp: New file to support Densan boards.
5105
5106Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5107
5108 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5109 reads and BSD.
5110
5111Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5112
5113 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5114 response.
5115
5116 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5117
5118Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5119
5120 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5121 test.
5122
5123 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5124 target_sizeof_long and target_bigendian_p.
5125 (structs_by_value, structs_by_reference): Check values according
5126 to targets word size and endianess.
beb998c6 5127
c906108c
SS
5128Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5129
5130 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5131 output.
5132
5133Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5134
5135 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5136 Update test of set args help to match source change.
5137
5138Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5139
5140 * gdb.base/default.exp: Expect help system output to be in
5141 alphabetical order.
5142 * gdb.base/help.exp: Ditto.
5143
5144Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5145
5146 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5147 "i*86-pc-linux-gnu*".
5148 * gdb.base/interrupt.exp: Ditto.
5149 * gdb.base/corefile.exp: Ditto.
5150
5151 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5152 define vxworks when building the testcase.
5153
5154 * gdb.base/ptype.exp: Fix testnames to be unique.
5155 * gdb.base/radix.exp: Ditto.
5156 * gdb.base/term.exp: Ditto.
5157 * gdb.base/whatis.exp: Ditto.
5158 * gdb.c++/classes.exp: Ditto.
5159
5160Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5161
5162 * gdb.base/callfuncs.exp: Fix indentation.
5163
5164 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5165 suppress_flag has been set.
5166 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5167 target feature.
5168
5169Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5170
5171 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5172 the testcase.
5173
5174 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5175 set_debug_traps() and breakpoint().
5176 * gdb.c++/misc.cc (main): Ditto.
5177 * gdb.c++/templates.cc (main): Ditto.
5178 * gdb.c++/virtfunc.cc (main): Ditto.
5179
5180Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5181
5182 * lib/gdb.exp(gdb_step_for_stub): New function.
5183 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5184 exists, reload the executable and do a "continue" instead of
5185 doing a jump.
5186 (runto_main): Use gdb_step_for_stub.
beb998c6 5187
c906108c
SS
5188 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5189 tests to have unique names.
5190 * gdb.base/callfuncs.exp: Ditto.
5191 * gdb.base/commands.exp: Ditto.
5192 * gdb.base/default.exp: Ditto.
5193 * gdb.base/help.exp: Ditto.
5194 * gdb.base/list.exp: Ditto.
5195 * gdb.base/opaque.exp: Ditto.
5196 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5197 similar tests.
beb998c6 5198
c906108c
SS
5199 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5200 * gdb.c++/cplusfuncs.cc: Ditto.
5201 * gdb.c++/virtfunc.cc: Ditto.
5202
5203 * config/monitor.exp: Keep track of the last file we saw, rather
5204 than trying to get the info from gdb.
5205
5206 * gdb.fortran/types.exp: Move comment to previous line.
5207
5208Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5209
5210 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5211 target mode.
5212
5213Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5214
5215 From Bob Manson:
5216 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5217 string from GDB when it connects.
5218
5219 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5220
5221Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5222
5223 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5224 if we can't get a debug format from GDB (we may be testing an
5225 older GDB). Use a 10 second timeout when checking for the format.
5226
5227 * gdb.stabs/weird.exp: Fix quoting.
5228
5229 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5230
5231Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5232
5233 * config/arm-ice.exp: New file.
5234
5235Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5236
5237 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5238 until it has been modified to work with the new testsuite.
5239
99707966 5240 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5241 testcase won't compile, cause all of the testcases in the file to
5242 fail instead.
5243
5244 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5245 (gdb_clear_suppressed): New procedure.
5246 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5247 it contains a positive value.
5248
5249Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5250
5251 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5252
5253 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5254
5255Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5256
5257 * lib/gdb.exp (setup_xfail_format): New function.
5258 (get_debug_format): New function to get debug format.
5259 (debug_format): New global variable to hold last value set
5260 by get_debug_format.
5261 * gdb.base/list.exp: Call get_debug_format and expect some
5262 tests to fail for DWARF 1 and COFF formats.
5263 * gdb.c++/ptype.exp: Ditto.
5264 * gdb.c++/classes.exp: Ditto.
5265 * gdb.c++/cplusfuncs.exp: Ditto.
5266 * gdb.c++/inherit.exp: Ditto.
5267 * gdb.c++/templates.exp: Ditto.
5268 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5269
c906108c
SS
5270Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5271
5272 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5273 host doesn't have a currently-open connection.
5274
5275 * config/sparclet.exp: Cleanups and fixes to make it generic for
5276 any gdb stub target. Handle cases where gdb doesn't respond when
5277 interrupted in a sane fashion.
5278
5279 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5280 same thing in a totally different way.
5281
5282 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5283 setting "timeout".
5284 (gdb_start): We set the global gdb_prompt variable in
5285 default_gdb_init now.
5286
5287Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5288
5289 * gdb.base/printcmds.exp: Fix "check for floating addition"
5290 regexp to accept results within approx +/- .01 of exact value.
5291 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5292
5293Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5294
5295 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5296 properly.
5297 (gdb_expect): Add optional timeout parameter, and add timeout
5298 value to various calls.
5299 (gdb_suppress_tests): Only give one warning message per group.
5300
5301Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5302
5303 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5304 global variables. Handle getting a value for $timeout more
5305 gracefully.
5306
5307Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5308
5309 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5310 initialize.
5311 (default_gdb_init): New procedure; allow gdb_init to be overridden
5312 by a target configuration file.
5313 (gdb_expect): Pass the timeout to remote_expect.
5314
5315 * config/monitor.exp(gdb_load): Fix typo in regexp.
5316
5317Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5318
5319 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5320
5321Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5322
5323 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5324 here. Call gdb_target_exec before rebooting the target, to make
5325 sure the connection to the target is closed.
5326 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5327 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5328 Also detect "Timeout reading from remote" error.
5329
5330 * config/gdbserver.exp: Pass the executable being loaded to
5331 gdb_target_monitor. Don't call gdb_file_cmd here; let
5332 gdb_target_monitor do it.
5333
5334 * gdb.disasm/hppa.exp: Don't use exec_output.
5335
5336Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5337
5338 * gdb.base/list.exp: If we're debugging a non-native target,
5339 try to set the pc register to point to the start of the
5340 program before doing the first list command.
5341
5342 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5343 test_calls after restarting.
5344
5345 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5346 reloading.
5347
5348 * gdb.base/watchpoint.exp: Fix typo.
5349
5350 * gdb.base/setshow.exp: Check for use_gdb_stub.
5351
5352 * gdb.base/break.exp: Fix continue until exit test for the gdb
5353 stub case.
5354 * gdb.base/langs.exp: Ditto.
5355
5356 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5357 gdb_load_offset. If we weren't given a file to load, figure out
5358 what the current file is and use it.
5359
5360 * config/i386-bozo.exp: New file.
5361
5362Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5363
5364 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5365 feature.
5366
5367 * config/proelf.exp: New entry.
5368
5369Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5370
5371 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5372 of regexps.
5373
5374 * gdb.base/watchpoint.exp: Don't run the test_stepping
5375 tests if gdb can't call functions on the target.
5376
5377 * gdb.base/setshow.exp: Don't run the set prompt tests if
5378 the board has gdb_prompt set.
5379
5380Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5381
5382 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5383 * gdb.base/commands.exp: Likewise.
5384 * gdb.base/setshow.exp: Likewise.
5385
5386Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5387
5388 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5389 feature.
5390
5391 * config/i960.exp: New file.
5392
5393Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5394
5395 * gdb.base/funcargs.exp: Check for gdb,short_int target
5396 feature instead of looking for explicit target triplets.
5397
dc96c6c7 5398Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5399
beb998c6 5400 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5401 "p 123DEADBEEF", to check parse_number.
5402 * top.c: change "to enable to enable" to "to enable" in a couple
5403 of help strings.
5404
5405Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5406
5407 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5408 on the mn10300.
beb998c6 5409
c906108c
SS
5410Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5411
5412 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5413 where the test executable is run with explicit args.
5414 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5415
5416Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5417
5418 * gdb.base/run.c: Use FAKEARGV to build test executable that
5419 does not require a command line arg, since most simulators
5420 don't currently support passing such an arg into the simulated
5421 program.
5422 * gdb.base/commands.exp: Change tests to insert the proper
5423 value as the arg to the first recursive factorial call. Change
5424 compilation line to define FAKEARGV at compile time.
5425
5426Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5427
5428 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5429 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5430 function with watchpoint enabled" test.
5431
5432Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5433
5434 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5435 Don't call gdb_test when the command doesn't return to a gdb prompt.
5436
5437 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5438 "Tests restarted" messages.
5439
5440Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5441
5442 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5443
dc96c6c7 5444Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5445
5446 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5447 for INFO SYMBOL; add help tests for OVERLAY commands.
5448 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5449 add tests for OVERLAY commands
5450 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5451 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5452 * gdb.base/sigall.c: add usestubs code frag
5453 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5454
c906108c
SS
5455Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5456
5457 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5458 failures.
5459 (gdb_stop_suppressing_tests): Note that tests have restarted.
5460
5461Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5462
5463 * config/h8300.exp: New file.
5464
5465Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5466
5467 * gdb.base/setshow.exp: Check for the existence of a
5468 feature, not its value.
5469
5470Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5471
5472 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5473
5474 * gdb.base/scope.exp: It's now init0(), not init().
5475
5476 * gdb.base/scope0.c: For now, change init() to be init0().
5477
5478 * config/monitor.exp: Use gdb_serial in preference to serial
5479 or netport.
5480
5481 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5482 and it's not already set.
5483
5484Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5485
5486 * gdb.base/setshow.exp: Only test the run command if the target
5487 isn't using a stub and if it supports argument passing.
5488
5489Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5490
5491 * config/udi.exp(gdb_start): Make sure UDICONF is set
5492 properly before starting gdb.
5493
5494Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5495
5496 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5497 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5498 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5499
5500Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5501
5502 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5503 specialized code to reboot the board, use remote_reboot instead.
5504
5505 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5506
5507 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5508
5509 * config/monitor.exp: Make sure we disconnect from the target.
5510 Also, try a reboot/reload cycle instead of failing if the
5511 load fails.
5512
5513Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5514
5515 * gdb.base/default.exp: Don't set match_max.
5516 * gdb.base/help.exp: Ditto.
5517 * gdb.base/list.exp: Ditto.
5518 * gdb.base/signals.exp: Ditto.
5519
5520 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5521 set, use remote_ld to download the testcase instead of
5522 the GDB loader.
5523
5524Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5525
5526 * config/vr5000.exp: New file.
5527
5528 * config/monitor.exp(gdb_target_monitor): Add pattern for
5529 "Ending remote" to detect errors in connecting.
5530
5531 * gdb.base/setshow.exp: Add .* within auto language test.
5532
5533 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5534 target feature.
5535
5536 * config/monitor.exp(gdb_load): Check for a failure when loading,
5537 and reboot the board if necessary.
5538
5539 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5540 a set of tests. Remove print.* from the patterns being checked.
5541
5542Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5543
5544 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5545 refer to gdb_spawn_id.
5546
5547 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5548 longer used.
5549 * config/sparclet.exp: Ditto.
5550 * config/sparclet-old.exp: Ditto.
5551 * config/slite.exp: Ditto.
5552 * config/sim.exp: Ditto.
5553 * gdb.base/funcargs.exp: Ditto.
5554
5555 * lib/gdb.exp:Remove references to gdb_spawn_id.
5556 (gdb_expect): Move to remote.exp.
5557
5558Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5559
5560 * config/monitor.exp: Detect the "Couldn't establish connection"
5561 message from GDB.
5562
5563Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5564
5565 * gdb.base/bitfields.exp: Use runto instead of explicit
5566 gdb_run_cmd/gdb_expect sequences.
5567
5568 * gdb.base/break.exp(text_next_with_recursion): Add match for
5569 gdb_expect call.
5570
5571 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5572 We also need to handle the "A program is being debugged already"
5573 prompt from gdb. Use gdb_test to set the baud rate.
5574
5575 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5576 to 20000. Really. I mean it.
5577
5578Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5579
5580 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5581 fails. If suppress_flag is set, skip perror message about not
5582 being able to send to GDB.
5583 (send_gdb): If suppress_flag is set, don't try to send commands to
5584 GDB.
5585 (gdb_expect): If suppress_flag is set, always fail immediately.
5586 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5587 (gdb_init): Call gdb_stop_suppressing_tests.
5588 (default_gdb_exit): Ditto.
5589 (default_gdb_start): Ditto.
5590
5591 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5592 gdb_stop_suppressing_tests as appropriate.
5593 * gdb.base/break.exp: Ditto.
5594 * gdb.base/callfuncs.exp: Ditto.
5595 * gdb.base/commands.exp: Ditto.
5596 * gdb.base/exprs.exp: Ditto.
5597 * gdb.base/funcargs.exp: Ditto.
5598 * gdb.base/list.exp: Ditto.
5599 * gdb.base/recurse.exp: Ditto.
5600 * gdb.base/scope.exp: Ditto.
5601 * gdb.base/structs.exp: Ditto.
5602 * gdb.c++/inherit.exp: Ditto.
5603
5604Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5605
5606 * config/vr4300.exp: New file.
5607
99707966
MC
5608 * gdb.*/*.exp: Call gdb_expect instead of expect.
5609
5610 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5611
5612Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5613
5614 * lib/gdb.exp(gdb_init): New function.
5615
5616 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5617 for each individual variable set.
5618
5619 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5620 name.
5621
5622 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5623
5624 * gdb.base/scope.exp: Use gdb_test.
5625
5626 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5627 aborting; the testsuite driver will do that for us (see
5628 gdb_finish). Also, use gdb_test in a few more places.
5629
5630Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5631
5632 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5633
5634Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5635
5636 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5637 and "add_tests" are not at the same address.
5638
5639Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5640
5641 * gdb.base/ptype.exp: Use gdb_test.
5642
5643Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5644
5645 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5646 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5647 left in. No longer expect them to fail.
5648
5649 * gdb.stabs/*.mt; Deleted, no longer used.
5650 * gdb.stabs/configure.in: Remove references to target makefile
5651 frags.
5652 * gdb.stabs/configure: Rebuilt.
5653
5654 * gdb.disasm/*.mt: Deleted, no longer used.
5655 * gdb.disasm/configure.in: Remove references to target makefile
5656 frags. Use "sh3.s" as the unique filename for this directory.
5657 * gdb.disasm/configure: Rebuilt.
5658
5659 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5660 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5661 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5662
5663Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5664
5665 * config/udi.exp: Use mondfe,name instead of remote_host.
5666
5667Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5668
5669 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5670 a function with a watchpoint enabled on the mn10200.
5671
5672 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5673 before trying to create it!
5674
5675Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5676
5677 * config/vx.exp: Use hostname instead of netport.
5678
5679 * config/vxworks.exp: New file.
5680
5681 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5682
5683 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5684 gdb before assuming everything worked. Send a ^C if a timeout
5685 occurs.
5686
5687 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5688 $gdb_spawn_id directly.
5689 (gdb_run_cmd): Try _start as well as start. Use the target feature
5690 gdb,start_symbol as the symbol to start from when jumping.
5691
5692Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5693
5694 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5695 redundant) test.
5696
5697 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5698 it doesn't lose for 16bit integer systems.
5699
5700Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5701
5702 * gdb.fortran/types.exp: If the target doesn't support "double"
5703 data types, then expect "real" types to only be 4 bytes.
5704
5705 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5706 call tests if the target doesn't support inferior function calls.
5707
5708 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5709 in printf tests.
5710
5711Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5712
5713 * gdb.base/help.exp: Disable "help set", "help show", and
5714 "help support". Simplify regexp for "help stack".
5715
5716 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5717 to 60 seconds. Temporarily set match_max to 15000 around the
5718 "info copying" test.
5719
5720 * gdb.base/nodebug.exp: Don't try to do an inferior function
5721 call if the target doesn't support them.
5722 * gdb.base/printcmds.exp: Likewise.
5723 * gdb.base/setvar.exp: Likewise.
5724 * gdb.base/structs.exp: Likewise.
5725 * gdb.c++/templates.exp: Likewise.
5726 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5727
5728 * gdb.base/recurse.exp: Enable for the mn10200.
5729
5730 * configure.in: Do configure gdb.stabs directory for *-*-elf
5731 targets.
5732 * configure: Rebuilt.
5733
5734 * gdb.base/break.exp: Check for gdb,noresults before testing
5735 exit status and/or results from the target.
5736 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5737 * lib/gdb.exp: Remove old (now bogus) initialization of
5738 noinferior, noargs, noresults and nosignals.
5739
5740Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5741
5742 * config/sh.exp: New file.
5743
5744 * config/slite.exp: Try to connect multiple times to the board
5745 before rebooting. Only send a "monitor run" if need_monitor_run
5746 is set.
5747
5748 * gdb.base/break.exp: Don't do the "stub continue" test if
5749 the target has gdb_stub set.
5750
5751 * gdb.base/callfuncs.exp: Increase the timeout.
5752
5753 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5754 if the target has gdb,noinferiorio set.
5755
5756 * gdb.base/list.exp: Increase match_max to 10000 characters.
5757
5758 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5759
5760 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5761 target.
5762
5763 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5764
5765Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5766
5767 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5768 trying to delete the copy of gdb. Catch the file delete so we
5769 don't die if the delete fails; also, the file should be copied to
5770 the host, not to the build.
5771
5772Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5773
5774 * lib/gdb.exp(gdb_test): Surround the result pattern with
5775 parenthesis in case it contains multiple regexps separated
5776 with |.
5777
5778 * gdb.base/watchpoint.exp: Use gdb_test.
5779 * gdb.base/default.exp: Ditto.
5780
5781Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5782
99707966 5783 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5784
c906108c
SS
5785 * gdb.base/scope.exp: Use gdb_test.
5786 * gdb.c++/classes.exp: Ditto.
5787 * gdb.c++/inherit.exp: Ditto.
5788
5789Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5790
5791 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5792 remote_exec instead.
5793 * gdb.base/corefile.exp: Don't be ridiculous.
5794 * gdb.base/*.c: Add missing stub invocations.
5795
5796Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5797
5798 * config/slite.exp: Miscellaneous fixes.
5799
5800 * lib/gdb.exp: Fix runto.
5801
5802 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5803 the target.
5804
5805 * gdb.base/watchpoint.exp: Fix regexp.
5806
5807 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5808 close and wait commands, as the descriptor may now be
5809 invalid. Always call "remote_close host".
5810
5811Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5812
5813 Major rewrite for testsuite revision.
beb998c6 5814
c906108c
SS
5815 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5816 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5817 instead of relying on spawn_id to always contain a valid
5818 spawn id.
5819 (get_compiler_info): New procedure to build the ${binfile}.ci
5820 file, instead of replicating this in N different places.
5821 (gdb_compile): New procedure.
beb998c6 5822
c906108c
SS
5823 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5824 appropriate arguments) instead of compile. Use gdb_test in a lot
5825 more places. Use send_gdb instead of send. Always run gdb_start
5826 at the start of a testcase, as this is no longer done magically.
5827
5828 config/*-gdb.exp: Rename without the -gdb suffix.
5829
5830 config/mips.exp: Use remote_close instead of exit_remote_shell.
5831 config/monitor.exp: Use target_info instead of looking at
5832 baud, timeout, etc.
5833 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5834
5835Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5836
5837 * gdb.c++/templates.exp (test_ptype_of_templates),
5838 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5839 Update expect patterns for destructors and assignment operators
5840 to match corresponding c-typeprint.c changes.
5841 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5842 to destructor breakpoint test, GDB should be able to set the
5843 destructor breakpoint without specifying arguments.
5844
5845Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5846
5847 * gdb.threads/pthreads.exp: Change result for failure to compile due
5848 to lack of pthreads runtime support from an error to simply an
5849 unsupported test, per dejagnu standards.
5850
5851Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5852
5853 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5854 where GDB exits to reduce pattern match time.
5855 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5856
5857 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5858
dc96c6c7 5859Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5860
5861 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5862 * gdb.base/default.exp: ditto.
5863 * gdb.base/nodebug.exp: ditto.
5864 * gdb.base/printcmds.exp: ditto.
5865 * gdb.base/ptype.exp: ditto.
5866 * gdb.base/setvar.exp: ditto.
5867 * gdb.base/structs.exp: ditto.
5868 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5869
5870Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5871
5872 * configure, */configure: Rebuild with autoconf 2.12.
5873
5874Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5875
5876 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5877 use new i*86-pc-linux*-gnu quads.
5878 * gdb.base/corefile.exp: Ditto.
5879 * gdb.base/signals.exp: Ditto.
5880 * gdb.base/sigall.exp: Ditto.
5881 * gdb.base/interrupt.exp: Ditto.
5882
5883 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5884 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5885 RedHat 4.0.
beb998c6 5886
c906108c
SS
5887 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5888 linux. This allows the test case to at least compile on latest
5889 linux, but still not run due to missing the threads runtime library.
5890
5891Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5892
5893 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5894 directory to search gdb directory. Accept and step over conditional
5895 stack alignment code. Consume $prompt in failure cases.
5896 Reset timeout to $oldtimeout instead of some arbitrary value.
5897 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5898 timeout problems with infinite stack backtraces.
5899 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5900 Accept function parameters for linkfunc member.
5901
5902Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5903
5904 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5905 (CXXFLAGS): Remove, unreferenced.
5906 (B_OPTIONS): Add for -B options and add code to initialize with
5907 previous -B options and also add -B option to pick up cross compiled
5908 runtime.
5909 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5910 doing cross compiles.
5911 (target_alias): Declare global.
5912 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5913 to verify that gcc exists in build tree, and if so set CC to that
5914 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5915
c906108c
SS
5916Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5917
5918 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5919 ptype test for anonymous union. Fixup testcase to match
5920 current gcc debug output.
5921
5922Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5923
5924 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5925 force argument to an unsigned long type.
5926
5927Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5928
5929 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5930 tests and anonymous union print/ptype tests.
5931 * gdb.base/list.exp (test_forward-search): Increase timeout by
5932 5 minutes for the "search extremely long line" case.
5933 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5934 completely optional and that the pass/fail messages use the command as
5935 the message if that third arg is a null string.
5936 (gdb_test_exact): Arrange that a null string pattern means match a
5937 null string output rather than any output, which might include random
5938 errors.
5939 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5940 backtrace test.
5941 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5942 always failing and failure is now exposed by gdb.exp changes.
5943
5944Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5945
5946 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5947 weren't being noted.
5948
5949Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5950
5951 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5952 * gdb.stabs/weird.exp: Remove v_comb xfails.
5953
dc96c6c7 5954Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5955
5956 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
5957 list.exp scope.exp watchpoint.exp]
5958 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 5959
dc96c6c7 5960Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5961
5962 * config/monitor.exp: Increase download timeout to 1000 seconds.
5963
dc96c6c7 5964Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5965
5966 * config/m32r.exp: Increase timeout to 120 seconds.
5967
5968Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
5969
5970 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
5971 and accept older ordering as obsolescent gcc or gdb.
5972 * gdb.c++/templates.exp: Ditto.
5973 * gdb.c++/virtfunc.exp: Ditto.
5974
5975Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
5976
5977 * gdb.base/coremaker.c: Add code to mmap some data so we
5978 can check that it ends up in the core file.
5979 * gdb.base/corefile.exp: Add test to read mmapped data
5980 from core file.
5981
dc96c6c7 5982Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5983
5984 * config/m32r.exp: New file.
5985
5986Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
5987
5988 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
5989 that cflags can contains -gstabs, and work correctly for other tests.
5990
dc96c6c7 5991Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5992
5993 * gdb.base/setshow.exp: New file, tests show and set.
5994 * gdb.base/setshow.c: New file, tests show and set.
5995 * gdb.base/help.exp: Add test for help set|show annotate.
5996 * gdb.base/default.exp: Add test for set|show annotate.
5997
5998Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
5999
6000 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6001 errors unique.
6002 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6003 explicitly.
6004
6005Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6006
6007 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6008 and width commands. This is done elsewhere.
6009 * (gdb_start): Don't call gdb_start_sim here. That's already
6010 done in gdb_load. This fixes lots of failures in default.exp.
6011
6012Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6013
6014 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6015 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6016 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6017 in the same we we treat other failures (since it may be an expected
6018 condition), rather than as an error.
6019 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6020 old test format.
6021
6022Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6023
6024 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6025 (distclean maintainer-clean realclean): No need to remove files
6026 twice. Nuke the duplicates.
6027 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6028 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6029 Remove config.h along with other config files.
6030
6031Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6032
6033 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6034 "p func1 ()" and note that rests of tests are skipped.
6035 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6036 setup_xfails for "print func2::coremaker_local".
6037 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6038 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6039 affected by the previous run test.
6040 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6041 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6042 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6043 "pass int powerset tuple" and "pass modeless int powerset tuple".
6044 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6045 "real write 4" and "real write 8".
6046 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6047 setup_xfails for "print vs1 after tuple assign 2",
6048 "print \$i after tuple assign 2", and
6049 "print vs2 after tuple assign 2".
6050 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6051 meaningful error message and return -1 so the caller can
6052 suppress further tests and avoid a cascade of errors.
beb998c6 6053
c906108c
SS
6054Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6055
6056 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6057 format for printing version.
6058 * gdb.base/default.exp: Ditto.
6059 * gdb.base/interrupt.exp: Fix problem with cascade of
6060 errors if child process dies while calling a function.
beb998c6 6061
c906108c
SS
6062Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6063
6064 * Makefile.in (VPATH): Add
6065 * Makefile.in (Makefile, config.status): Fix rules so things get
6066 remade when necessary.
6067
6068Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6069
6070 * Makefile.in (just-check): Add path to sibling expect dir
6071 to environment variable specified by RPATH_ENVVAR.
6072
6073Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6074
6075 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6076 (just-check): Add shared library paths for libstdc++, tk,
6077 tcl, bfd, and opcodes to the environment variable specified
6078 in RPATH_ENVVAR.
6079 * configure.in: Add support to recognize --enable-shared flag
6080 and generate correct value for RPATH_ENVVAR.
6081 * configure: Regenerated with autoconf.
6082
6083Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6084
6085 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6086 include all osf versions.
6087 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6088 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6089 when target is linux. When failing to build pthreads test
6090 executable, give more meaningful message.
6091 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6092 arg for pthread_create.
beb998c6 6093
c906108c
SS
6094Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6095
6096 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6097 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6098 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6099 and -lpthreads (everybody else).
6100 (test_startup): Fail gracefully if threads are not supported.
6101 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6102 "p/c array_index("abcdef",2)" when not gcc compiled.
6103 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6104 "print func2::coremaker_local" when not gcc compiled.
6105 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6106 "ptype on opaque struct tagname (statically)",
6107 "ptype on opaque struct tagname (dynamically) 1", and
6108 "ptype on opaque struct tagname (dynamically) 2"
6109 for not compiled with gcc.
6110 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6111 backtrace when compiled with gcc.
beb998c6 6112 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6113 than always return success.
6114
6115Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6116
6117 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6118
6119Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6120
6121 * gdb.base/structs.exp: Undo last change.
6122
6123Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6124
6125 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6126 encapsulate all the steps/nexts done during self test, starting
6127 at main, and makes them less sensitive to optimization issues.
6128 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6129 signal handler" test.
6130 * gdb.threads/pthreads.exp: Only run this for native configs.
6131 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6132 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6133 tests.
6134 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6135 for "runto test_calls(void)" test.
beb998c6 6136
c906108c
SS
6137Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6138
6139 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6140 and don't expect address info in breakpoint confirmations.
6141
6142Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6143
6144 * gdb.base/list.exp (test_forward_search): Increase timeout
6145 temporarily by 60 seconds for searching extremely long line,
6146 and then reset to old value when done. Increase expect input
6147 buffer to 10000.
6148
6149Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6150
6151 * gdb.base/list.exp (test_forward_search): Fix to handle very
6152 long source line without overflowing expect's input buffer.
6153
6154Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6155
6156 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6157 "buffer_full".
6158
6159 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6160 "buffer_full".
6161
6162 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6163 "buffer_full".
6164
6165 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6166 "buffer_full".
6167
6168Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6169
6170 * configure.in (configdirs): Add gdb.threads.
6171 * configure: Regenerated with autoconf.
6172 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6173 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6174 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6175
c906108c
SS
6176Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6177
6178 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6179
6180Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6181
6182 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6183 each signal's status in the output of "handle all print".
6184 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6185 the \r\n sequence that immediately precedes the gdb prompt.
6186 * gdb.base/a1-selftest.exp: Save original timeout and restore
6187 after test.
6188
6189Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6190
6191 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6192 symbol.
6193
6194Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6195
6196 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6197
6198Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6199
6200 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6201 timeout by 60 seconds.
6202
6203Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6204
6205 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6206 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6207 error return.
6208
6209Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6210
6211 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6212 gdb initialization, also report how long dejagnu waited. Restore
6213 old timeout before doing error return. Temporarily increase timeout
6214 by 3 minutes to allow for slow startups over heavy NFS use.
6215
6216Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6217
6218 * lib/gdb.exp: Report timeout value for verbosity level 2.
6219 * config/gdbserver.exp: Ditto.
6220 * config/hppro.exp: Ditto.
6221 * config/mips-gdb.exp: Ditto.
6222 * config/monitor.exp: Ditto.
6223 * config/netware.exp: Ditto.
6224 * config/sim-gdb.exp: Ditto.
6225 * config/slite-gdb.exp: Ditto.
6226 * config/udi-gdb.exp: Ditto.
6227 * config/unix-gdb.exp: Ditto.
6228 * config/vx-gdb.exp: Ditto.
6229 * gdb.base/a1-selftest.exp: Ditto.
6230 * gdb.base/a2-run.exp: Ditto.
6231 * gdb.base/break.exp: Ditto.
6232 * gdb.base/corefile.exp: Ditto.
6233 * gdb.base/list.exp: Ditto.
6234 * gdb.base/recurse.exp: Ditto.
6235 * gdb.base/scope.exp: Ditto.
6236 * gdb.base/signals.exp: Ditto.
6237
6238Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6239
6240 * gdb.threads/Makefile.in (docdir): Removed.
6241
6242Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6243
6244 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6245 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6246 @srcdir@.
beb998c6 6247 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6248 autoconf 2.5 or higher.
6249 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6250
6251Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6252
6253 * configure: Regenerated.
6254 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6255 avoid name clashes with SunOS headers.
6256
6257Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6258
6259 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6260
6261Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6262
6263 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6264 prototype information ends up in the compiler info file.
6265
6266Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6267
6268 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6269 attempting to regenerate it. Eliminate use of a temporary file
6270 and just generate the info file directly. Source it immediately,
6271 for consistency of use.
6272 * gdb.base/corefile.exp: Ditto
6273 * gdb.base/exprs.exp: Ditto.
6274 * gdb.base/funcargs.exp: Ditto.
6275 * gdb.base/langs.exp: Ditto.
6276 * gdb.base/list.exp: Ditto.
6277 * gdb.base/mips_pro.exp: Ditto.
6278 * gdb.base/nodebug.exp: Ditto.
6279 * gdb.base/opaque.exp: Ditto.
6280 * gdb.base/ptype.exp: Ditto.
6281 * gdb.base/scope.exp: Ditto.
6282 * gdb.base/setvar.exp: Ditto.
6283 * gdb.base/signals.exp: Ditto.
6284 * gdb.base/whatis.exp: Ditto.
6285 * gdb.c++/templates.exp: Ditto.
6286 * gdb.c++/virtfunc.exp: Ditto.
6287 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6288 whether or not to add -lstdc++ to the compile command line args.
6289
6290Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6291
6292 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6293 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6294 Increase timeout, a lot of single stepping might be needed if the
6295 target has no hardware watchpoints.
6296
6297Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6298
6299 * gdb.base/break.exp: Ignore compiler warnings when compiling
6300 break.c.
6301 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6302 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6303 from remote-sim.
6304 * gdb.base/exprs.exp: Add h8300 xfails.
6305 * gdb.base/funcargs.exp: Likewise.
6306 * gdb.base/nodebug.exp: Likewise.
6307 * gdb.base/printcmds.exp: Likewise.
6308 * gdb.base/ptype.exp: Likewise.
6309 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6310 h8300 xfails.
beb998c6 6311 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6312 on the h8300.
6313 * gdb.base/funcargs.c: Explicitly make last constant argument to
6314 call_after_alloca_subr an unsigned long type.
6315 * gdb.base/return.c: Include stdio.h.
6316
6317Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6318
6319 * config/abug.exp: New file for the older Motorola Bug monitor
6320 that runs on the mvme13x series VME boards.
6321 * config/monitor.exp: Use the new config array for target settings
6322 if they exist.
6323
6324Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6325
6326 * sim-gdb.exp: Make the SH simulator allocate less space when
6327 it is targeted.
6328
6329Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6330
6331 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6332 test.
6333
6334Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6335
6336 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6337 "rs6000-*-*" for "list function in include file" when gcc compiled.
6338 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6339 for "p ctable1[120]".
6340 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6341 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6342 Remove setup_xfail for "rs6000-*-*" for
6343 "print 'scope0.c'::filelocal before run".
6344 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6345 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6346 since some compilers don't allow both options to be given
6347 on the same command line. Create object file and move it.
beb998c6 6348
c906108c
SS
6349Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6350
6351 * gdb.base/corefile.exp: Always regenerate the core file, since
6352 we always regenerate the coremaker program. Detect special case
6353 where registers cannot be read from core file.
beb998c6 6354
c906108c
SS
6355Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6356
6357 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6358 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6359 * gdb.c++/templates.exp: Only match on basename of file since
6360 some formats like xcoff don't encode directory information.
6361 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6362 and rs6000 AIX xcoff targets.
6363 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6364 * configure: Regenerate.
6365 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6366 here, rather than in distclean.
beb998c6 6367
c906108c
SS
6368Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6369
6370 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6371 defined, and use it to compile the test case with -O2. The
6372 native compilation still uses no optimization.
6373 * gdb.base/mips_pro.c: Remove inline assembly code since
6374 it is compiled PIC by default, which results in assembler
6375 warnings that make the testsuite think the compilation
6376 was unsuccessful.
6377
6378Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6379
6380 * gdb.c++/misc.exp: Add note to message for
6381 "print s.a for foo struct" that this is a known gcc 2.7.2
6382 and earlier bug.
6383
6384Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6385
6386 * gdb.base/break.exp: Fix pattern for matching "Delete all
6387 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6388 setup_xfail for deleting all breakpoints test. Fix various
6389 timeout messages to include "(timeout)".
6390 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6391 for "p t_float_values2(3.14159,float_val2)".
6392 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6393 for "continue to call2g" when gcc compiled.
6394 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6395 "up to foo in langs.exp", "show language at foo in langs.exp",
6396 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6397 and "show language at fsub in langs.exp".
6398 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6399 "list line 1 in include file", "list message for lines past EOF",
6400 "list function in include file", "list list0.h:foo", and
6401 "list filename:function; nonexistant function".
6402 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6403 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6404 and "ptype t_char_array" to be for native cc only.
beb998c6 6405
c906108c
SS
6406Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6407
beb998c6 6408 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6409 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6410 "print func2::coremaker_local", and "backtrace in corefile.exp".
6411
6412Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6413
6414 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6415 "bt in signals.exp". This problem only appears when running
6416 the testsuite, and then only intermittently.
6417
6418Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6419
6420 * gdb.base/return.exp (return_tests): Differentiate between
6421 two tests of continuing.
6422
6423Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6424
6425 * */Makefile.in (maintainer-clean): Remove config.log.
6426 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6427 * gdb.c++/Makefile.in (PROGS): Add inherit.
6428 (clean): Remove *.ci.
6429
6430Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6431
6432 * gdb.c++/misc.cc: Add test code from Mike Stump.
6433 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6434
6435Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6436
6437 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6438 to "alpha-*-osf2*" and add comment.
6439 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6440 setup_xfail for "step over execarg initialization" and
6441 "step over corearg initialization".
6442 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6443 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6444 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6445 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6446 "print func2::coremaker_local", and "backtrace in corefile.exp".
6447 * gdb.base/signals.exp: Build and source signals.ci.
6448 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6449 to be for gcc only.
6450 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6451
c906108c
SS
6452Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6453
6454 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6455 Feb 3 procfs.c change.
6456
6457Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6458
6459 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6460
6461Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6462
6463 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6464 from dejagnu's apparent default of 10 seconds, which gives random
6465 results when running the tests over NFS on moderately loaded systems.
6466 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6467
6468Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6469
6470 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6471 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6472 result reports.
6473
6474Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6475
6476 * configure.in (CY_AC_PATH_TCLH): Remove.
6477 * configure: Regenerate.
6478
6479Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6480
6481 * gdb.c++/Makefile.in (clean): Add missing '{'.
6482
6483Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6484
6485 * lib/gdb.exp: Provide a default value for noinferior.
6486
6487 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6488 Load libgloss.exp.
6489
6490Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6491
6492 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6493 the executable, not the .o to run the tests from.
6494
6495Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6496
6497 * gdb.base/break.exp: Don't test for program exit or exit status
6498 if $noresults if nonzero.
6499 * gdb.base/langs.exp: Likewise.
6500 * gdb.base/watchpoint.exp: Likewise.
6501
6502 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6503 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6504 trying to compile the testcase.
6505
6506Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6507
6508 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6509 * gdb.base/signals.exp (continue to handler): Likewise.
6510
6511Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6512
6513 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6514
6515 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6516
6517Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6518
6519 * gdb.base/corefile.exp: Recognize "not found" as failure
6520 when trying to determine if a core file was generated.
6521 If no core file was generate the first time, try again without
6522 the ulimit -c to work around braindamaged shells.
6523
6524Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6525
6526 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6527 [] tests with "test" and enclose string in quotes.
6528 * gdb.stabs/configure: Rebuild
beb998c6 6529
c906108c
SS
6530Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6531
6532 Changes in sync with expect:
6533 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6534 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6535 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6536 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6537 argument to AC_REQUIRE.
6538 * configure: Regenerated.
6539
6540Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6541
6542 * gdb.base/corefile.exp: When generating a core, discard any
6543 error messages about ulimit not found and the "core dumped"
6544 message from the shell that runs the coredumper.
6545
6546Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6547
6548 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6549
6550 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6551 which sed script to run. Expect failure for v_comb test
6552 on PA targets too.
beb998c6 6553
c906108c
SS
6554Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6555
6556 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6557 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6558
6559Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6560
6561 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6562 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6563 "sparc-sun-solaris*" xfails for "p v_comb".
6564 * lib/gdb.exp (default_gdb_start): Fix typo.
6565 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6566 messages to not include the full program name that caused
6567 the core dump since some systems (such as solaris) apparently
6568 truncate this path to about 80 characters.
6569 When generating a core file first try increasing the core file
6570 size limit to unlimited since some systems may default it to
6571 zero, and it is harmless to try it. Move the test for failing
6572 to generate a core file to where it will actually get executed.
6573 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6574 new gdb result from g++ debug info improvements and make old
6575 pattern obsolescent. Also account for size_t differences
6576 (may be int or long).
6577 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6578 initialization before function call is placed in the delay slot
6579 and thus appears to be skipped over by commands such as "next".
6580
6581Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6582
6583 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6584
6585Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6586
6587 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6588 input source file; fix code to compile test to deal with this
6589 convention.
6590 * gdb.c++/*.exp: Likewise.
6591
6592Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6593
6594 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6595 "bt in signals.exp".
6596
6597Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6598
6599 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6600 "step over execarg initialization" and
6601 "step over corearg initialization".
6602
6603Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6604
6605 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6606 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6607
6608Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6609
6610 From Rob Savoye (rob@poseidon.cygnus.com)
6611 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6612 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6613 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6614 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6615 configure.in}: Major reworking for autoconfig.
6616 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6617 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6618 New files.
6619 * config/unix-gdb.exp: Make GDB global.
6620 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6621 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6622 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6623 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6624 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6625 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6626 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6627 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6628 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6629 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6630 pr-8136.exp, result.exp, string.exp, tuples.exp},
6631 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6632 to returns as necessary, arrange for test to compile own testcase
6633 executable.
6634 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6635
c906108c
SS
6636Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6637
6638 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6639 clear_xfail at end of test which might not call either pass or fail.
6640 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6641 "backtrace through signal handler".
6642
6643Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6644
6645 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6646 continuing from a job control stop signal.
6647 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6648
6649Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6650
6651 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6652 * gdb.base/corefile.exp: Likewise.
6653 * gdb.base/funcargs.exp: Likewise.
6654
6655Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6656
6657 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6658 * config/monitor.exp: Add support for setting baud rate.
6659
6660Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6661
6662 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6663 i*86-*-linux* xfails for "backtrace through signal handler".
6664 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6665 "print func2::coremaker_local".
6666 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6667 alpha-dec-osf2* xfail for
6668 "delete all breakpoints when none".
6669
6670Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6671
6672 * gdb.base/break.exp: Change test that deletes all breakpoints
6673 when no user breakpoints are installed. A post 4.15 change
6674 causes gdb to no longer prompt in this case.
6675
6676Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6677
6678 * gdb.base/return.exp (return_tests): Change xfail for test
6679 "correct value returned double test" to stop xfailing at
6680 Solaris 2.5. Apparently the bug has been fixed.
6681
6682Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6683
6684 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6685 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6686
6687Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6688
6689 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6690 * gdb.disasm/hppa.s: Corresponding changes.
6691
6692Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6693
6694 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6695 makefile fragment.
6696 * config/mt-hpux: Deleted.
6697
6698Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6699
beb998c6 6700 * Many files: When warning about suppressed tests due to a
c906108c
SS
6701 nonexistant test binary, avoid incrementing the warning count.
6702
6703Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6704
6705 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6706
c906108c
SS
6707Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6708
6709 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6710 "sparc-*-solaris2*".
6711
6712Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6713
6714 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6715 Add global and local variables and initialize them.
6716 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6717 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6718 extracts the file name and terminating signal from the core file.
6719 * TODO: Remove note about tests for correct mapping of corefile.
6720 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6721 from optimizing it away.
6722 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6723 handles common blocks.
6724
6725Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6726
6727 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6728 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6729
6730Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6731
6732 * Makefile.in (maintainer-clean): New target, synonym for
6733 realclean.
6734 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6735 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6736 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6737 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6738 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6739 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6740
6741Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6742
6743 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6744 xfails when not gcc compiled for "print foo::funclocal".
6745 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6746 "print foo::funclocal at foo",
6747 "print 'scope1.c'::foo::funclocal at foo",
6748 "print foo::funclocal_bss at foo",
6749 "print 'scope1.c'::foo::funclocal_bss at foo",
6750 "print foo::funclocal_ro at foo",
6751 "print 'scope1.c'::foo::funclocal_ro at foo",
6752 "print bar::funclocal at foo" and
6753 "print 'scope1.c'::bar::funclocal at foo".
6754 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6755 gcc compiled for "print foo::funclocal at bar".
6756 Expand all messages to ensure that they identify that
6757 the test is at bar().
6758 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6759 gcc compiled for:
6760 "ptype on opaque struct pointer (statically)",
6761 "ptype on opaque struct tagname (statically)",
6762 "ptype on opaque struct pointer (dynamically) 1",
6763 "ptype on opaque struct tagname (dynamically) 1",
6764 "ptype on opaque struct pointer (dynamically) 2" and
6765 "ptype on opaque struct tagname (dynamically) 2
6766 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6767 gcc compiled for:
6768 "p datalocal"
6769 "whatis datalocal",
6770 "ptype datalocal",
6771 "p bsslocal",
6772 "whatis bsslocal", and
6773 "ptype bsslocal".
6774 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6775 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6776 when not gcc compiled.
6777 * gdb.base/funcargs.exp (float_and_integral_args): Add
6778 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6779 compiled.
6780 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6781 "backtrace from call6a" when not gcc compiled.
6782 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6783 "backtrace from call7a" when not gcc compiled.
6784 * gdb.base/callfuncs.exp (do_function_calls):
6785 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6786 "p t_char_array_values(char_array_val2,char_array_val1)",
6787 "p t_char_array_values(char_array_val1,char_array_val2)",
6788 "p t_char_array_values("carray 1","carray 2")",
6789 "p t_char_array_values("carray 1",char_array_val2)",
6790 "p t_char_array_values(char_array_val1,"carray 2")",
6791 "p sum_args(1,{2})",
6792 "p sum_args(2,{2,3})",
6793 "p sum_args(3,{2,3,4})",
6794 "p sum_args(4,{2,3,4,5})"
6795 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6796 "backtrace in corefile.exp" when not gcc compiled.
6797
6798Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6799
6800 * gdb.base/signals.exp: Rewrite `handle all print' test as
6801 a procedure. Accept blanks or TABs as whitespace, increase
6802 timeout and expect input buffer size for the large output
6803 from the command. Remove "i*86-*-bsdi2.0" xfail.
6804
6805Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6806
6807 * gdb.base/setvar.exp: Add new testcases for truncation when
6808 assigning invalid values to bitfields.
6809
6810Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6811
beb998c6 6812 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6813 mips-sgi-irix* xfail for
6814 "call inferior func with struct - returns char *"
6815 and fix test so that an optional (unsigned char *) cast is
6816 accepted in the result.
6817
6818Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6819
6820 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6821 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6822 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6823 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6824 that accidentally got checked in.
6825
6826Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6827
beb998c6 6828 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6829 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6830 compiled test.
6831 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6832 Add mips-sgi-irix5* xfail for not gcc compiled.
6833 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6834 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6835 "p top", "whatis top", "p middle", and "whatis middle".
6836 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6837 "whatis signed char" for not gcc compiled.
6838 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6839 "set variable signed char=-1 (-1)" and
6840 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6841 * gdb.base/funcargs.exp (float_and_integral_args):
6842 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6843 Add mips-sgi-irix* xfail when not gcc compiled for
6844 "continue to call2b".
6845 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6846 "continue to call2g".
6847 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6848 "backtrace from call6a"
6849 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6850 "backtrace from call7k".
6851 Add mips-sgi-irix5* xfail when not gcc compiled for
6852 "backtrace from call7a".
6853 (localvars_after_alloca): Fix gdb_test cmds for
6854 "print * after runto ...".
6855 Remove rs6000-*-* xfails for
6856 "print i after runto localvars_after_alloca" and
6857 "print l after runto localvars_after_alloca"
6858 for all compilers.
6859 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6860 when not compiled with gcc, for:
6861 "print signed char == (minus)",
6862 "print signed char != (minus)",
6863 "print signed char < (minus)",
6864 "print signed char > (minus)".
6865 * gdb.base/callfuncs.exp (do_function_calls):
6866 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6867 "call inferior func with struct - returns char *".
beb998c6 6868 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6869 "correct value returned double test" to include Solaris 2.4.
6870 * gdb.base/funcargs.exp (float_and_integral_args):
6871 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6872
c906108c
SS
6873Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6874
6875 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6876 enumeration bitfields if compiling with GNU C.
6877 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6878 to empty' prompt.
6879
6880Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6881
6882 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6883 test for PRO targets.
6884
6885 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6886 breakpoints in the inferior at any given time by making
6887 two groups of breakpoints for call2*, call6* and call7*
6888 tests.
6889
6890Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6891
6892 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6893 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6894 from optimizing it away.
6895 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6896 "call inferior func with struct".
6897
6898Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6899
6900 * configure.in: Only configure gdb.chill for particular targets.
6901
6902Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6903
6904 * gdb.base/Makefile.in: Add action to .c.o transformation
6905 rule that generates a .ci file for each .o file and remove
6906 explicit .c.o rules except for callfuncs.o.
6907 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6908 generates a .ci file for each .o file and remove explicit
6909 .cc.o rules.
6910 (clean): Remove *.tmp *.ci files.
6911 (EXECUTABLES): Remove templ-info.exp.
6912 * gdb.base/compiler.c: New file.
6913 * gdb.c++/compiler.cc: New file
6914 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6915 Change rs6000-*-* xfail for
6916 "print 'scope0.c'::filelocal_ro" and
6917 "print 'scope1.c'::filelocal" and
6918 "print 'scope1.c'::filelocal_bss" and
6919 "print 'scope1.c'::filelocal_ro" and
6920 "print 'scope1.c'::foo::funclocal" and
6921 "print 'scope1.c'::foo::funclocal_ro" and
6922 "print 'scope1.c'::bar::funclocal" and
6923 "print 'scope0.c'::filelocal_ro" and
6924 "print 'scope1.c'::filelocal at foo" and
6925 "print 'scope1.c'::filelocal_bss at foo" and
6926 "print 'scope1.c'::filelocal_ro at foo" and
6927 "print 'scope1.c'::foo::funclocal at foo" and
6928 "print 'scope1.c'::foo::funclocal_bss at foo" and
6929 "print 'scope1.c'::foo::funclocal_ro at foo" and
6930 "print 'scope1.c'::bar::funclocal at foo" and
6931 "print 'scope0.c'::filelocal_ro" and
6932 "print 'scope1.c'::filelocal" and
6933 "print 'scope1.c'::filelocal_bss" and
6934 "print 'scope1.c'::filelocal_ro" and
6935 "print 'scope1.c'::foo::funclocal" and
6936 "print 'scope1.c'::foo::funclocal_bss" and
6937 "print 'scope1.c'::foo::funclocal_ro" and
6938 "print 'scope1.c'::bar::funclocal" and
6939 "print 'scope1.c'::bar::funclocal_bss"
6940 to only be xfail'd when not compiled with gcc.
beb998c6 6941 Add rs6000-*-* xfail for
c906108c
SS
6942 "print 'scope0.c'::filelocal_bss before run"
6943 when compiled with gcc.
6944 (test_at_main): Add rs6000-*-* xfail for
6945 "print filelocal_ro in test_at_main"
6946 when compiled with gcc.
6947 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6948 Add rs6000-*-aix* xfail for
c906108c
SS
6949 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6950 "ptype t_char_array", not compiled with gcc.
6951 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6952 xfail for "list foo (in include file)" when gcc compiled.
6953 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6954 (integral_args): Add rs6000-*-* xfail for
6955 "run to call0a" if not compiled with gcc.
6956 (unsigned_integral_args): Add rs6000-*-* xfail for
6957 "run to call1a" if not compiled with gcc.
6958 (float_and_integral_args): Add rs6000-*-* xfail for
6959 "run to call2a" if not compiled with gcc and for
6960 "continue to call2b" for any compiler.
6961 Add rs6000-*-* xfail to
6962 "print f1 after run to call2a" for gcc compiled.
6963 (discard_and_shuffle): Add rs6000-*-* xfail for
6964 "run to call6a".
6965 (shuffle_round_robin): Add rs6000-*-* xfail for
6966 "backtrace from call7a" if not compiled with gcc.
6967 Add rs6000-*-* xfail for
6968 "backtrace from call7b" if compiled with gcc.
6969 (call_after_alloca): Add rs6000-*-* xfail for
6970 "print c in call_after_alloca" and
6971 "print s in call_after_alloca" and
6972 "backtrace from call_after_alloca_subr"
6973 if not compiled with gcc.
6974 (localvars_in_indirect_call): Add rs6000-*-* xfail for
6975 "print c in localvars_in_indirect_call" and
6976 "print c in localvars_in_indirect_call" and
6977 "backtrace in indirectly called function" and
6978 "stepping into indirectly called function"
6979 if not compiled with gcc.
6980 (localvars_after_alloca): Add rs6000-*-* xfail for
6981 "print c after runto localvars_after_alloca" and
6982 "print s after runto localvars_after_alloca" and
6983 "print i after runto localvars_after_alloca" and
6984 "print l after runto localvars_after_alloca"
6985 for all compilers.
6986 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
6987 than whatis-info.exp.
6988 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
6989 than opaque-info.exp.
6990 Setup rs6000-*-* xfail for
beb998c6 6991 "ptype on opaque struct pointer (statically)" and
c906108c
SS
6992 "ptype on opaque struct pointer (dynamically)" when
6993 not compiled with gcc.
6994 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
6995 rather than callf-info.exp.
6996 (do_function_calls): Add clear_xfail for rs6000-*-* for
6997 "p t_float_values2(3.14159,float_val2)". Seems to work
6998 fine there, both with xlc and gcc. Need to find out what
6999 it is doing right and fix other platforms.
7000 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7001 "call inferior func with struct - returns int",
7002 "call inferior func with struct - returns long",
7003 "call inferior func with struct - returns float",
7004 "call inferior func with struct - returns double",
7005 "call inferior func with struct - returns char *",
7006 but only if not gcc compiled (presumes xlc compiled).
7007 Change rs6000-*-* xfails for
7008 "call inferior func with struct - returns char" and
7009 " call inferior func with struct - returns short" to only
7010 xfail if not using gcc.
7011 (clean mostlyclean): Remove *.ci and *.tmp files.
7012 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7013 than templ-info.exp.
7014 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7015 Add rs6000-*-* xfail for "up to foo in langs.exp"
7016 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7017 when not gcc compiled.
beb998c6 7018
c906108c
SS
7019Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7020
7021 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7022 * gdb.base/corefile.exp: Likewise.
7023 * gdb.base/list.exp: Likewise.
7024 * gdb.base/scope.exp: Likewise.
7025 * gdb.base/siganls.exp: Likewise.
7026
7027 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7028 compiler output.
7029 * gdb.base/whatis.exp: Likewise.
7030
7031Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7032
7033 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7034 failure (opcode table has been fixed to match reality).
7035
7036Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7037
7038 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7039 "call inferior func with struct - returns char",
7040 "call inferior func with struct - returns short"
7041
7042 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7043 "print 'scope0.c'::filelocal at main",
7044 "print 'scope0.c'::filelocal_bss in test_at_main",
7045 "print 'scope0.c'::filelocal at foo",
7046 "print 'scope0.c'::filelocal_bss in test_at_foo",
7047 "print 'scope0.c'::filelocal at bar",
7048 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7049
c906108c
SS
7050 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7051 in source file 1". This bug seems to have been fixed with both
7052 gcc and native cc (was native assembler bug?).
7053
7054Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7055
7056 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7057 "backtrace through signal handler" to "i*86-*-sysv4*".
7058 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7059 continue" case. Add "known SVR4 bug" to fail message.
7060 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7061 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7062 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7063 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7064 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7065 "up to foo in langs.exp", "show language at foo in
7066 langs.exp", "up to cppsub_ in langs.exp", "show
7067 language at cppsub_ in langs.exp", "up to fsub in
7068 langs.exp", and "show language at fsub in langs.exp".
7069 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7070 "bactrace in corefile.exp".
7071 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7072 "call inferior function with struct - returns float" and
7073 "call inferior function with struct - returns double".
beb998c6 7074
c906108c
SS
7075Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7076
7077 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7078 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7079 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7080 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7081
7082Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7083
7084 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7085 (or overriden) "CHILL" macro rather then bare "gcc".
7086 Also look for ../../gcc/xgcc since that is what we will
7087 actually need, not "Makefile". Remove following assignment
7088 of CHILL to CHILL_FOR_TARGET because that results in
7089 recursive definition.
7090
7091Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7092
7093 * gdb.base/corefile.exp: Change xfail for backtrace in
7094 corefile.exp from linuxaout to all linux.
7095 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7096 cases where we miss the breakpoint at the signal handler
7097 for some reason. Setup xfail for linuxoldld/linuxaout and
7098 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7099 hitting SIGURG breakpoint.
7100 * gdb.base/signals.exp: Setup xfail for "next" acting like
7101 continue to add linuxoldld. Setup xfail for all linux for
7102 "next to handler in signals_tests_1", "backtrace in
7103 signals_tests_1", "continue to func1", "pass SIGUSR1",
7104 and continue to handler".
7105
7106Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7107
7108 * Update all FSF addresses except those in COPYING* files.
7109
7110Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7111
7112 * gdb.base/a2-run.exp: Change messages to be more explicit about
7113 the status of args, and quote binfile in results.
7114
7115Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7116
7117 * gdb.base/callfuncs.exp: Add tests for passing structs to
7118 inferior functions and return various types.
7119 * gdb.base/callfuncs.c: Add functions to receive a struct
7120 and return a member of the struct, in various types.
7121
7122Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7123
7124 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7125
7126Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7127
7128 * config/vxworks29k.exp: New file, sources vxworks.exp.
7129
7130Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7131
7132 * config/gdbremote.exp: New file. Testing framework using
7133 gdbserver.
7134
7135Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7136
7137 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7138 "call function when asleep" and "send end of file".
7139 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7140 for "backtrace in corefile.exp".
7141 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7142 for "backtrace through signal handler".
7143 * gdb.base/corefile.exp: Make sure we actually generate a core file
7144 before trying the core tests. Some systems allow the user to suppress
7145 generation of core files and default to that (linux for example).
7146 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7147 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7148
7149Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7150
7151 * gdb.threads: New directory with some crude multi-threaded
7152 gdb tests (step.exp and step2.exp).
7153 * config/mt-lynx (STEP_EXECUTABLE): Define.
7154 (THREADFLAGS): Define.
7155
7156Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7157
7158 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7159
7160 * gdb.base/signals.exp: Disable whole file for lynx until
7161 further notice.
7162
7163 * gdb.base/signals.exp: xfail test where "next" acts like
7164 "continue" for lynx.
7165
7166 * gdb.base/interrupt.exp: xfail test for calling function while
7167 inferior is asleep for lynx.
7168
7169 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7170 than one cr-lf after each command.
7171
7172Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7173
7174 * configure.in: Reinstate setting of stabsdirs variable, fix
7175 typo in setting up configdirs for native builds.
7176
7177 * gdb.base/return.exp: Fix typo in return double test.
7178 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7179 compiler from optimizing them away.
7180
7181Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7182
7183 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7184 sequences to be echo'd by gdb when using gdb_test.
7185 * gdb.chill/chexp.exp: Likewise.
7186 * gdb.fortran/exprs.exp: Likewise
7187
7188Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7189
7190 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7191 after the inferior gdb has started.
7192
7193 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7194 after each command.
7195 * gdb.base/funcargs.exp: Likewise.
7196 * gdb.base/gdbvars.exp: Likewise.
7197 * gdb.base/interrupt.exp: Likewise.
7198 * gdb.base/list.exp: Likewise.
7199 * gdb.base/watchpoint.exp: Likewise.
7200 * gdb.c++/demangle.exp: Likewise.
7201 * gdb.c++/inherit.exp: Likewise.
7202 * gdb.chill/chexp.exp: Likewise.
7203 * gdb.fortran/exprs.exp: Likewise.
7204
7205 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7206 test if we can't handle IO to/from the inferior.
7207
7208 * gdb.c++/misc.exp: Always check for a program already being
7209 started after sending a "run" command to gdb.
7210
7211 * gdb.base/twice.exp: Start with a fresh gdb.
7212
7213 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7214 only depend on gdb's expression code, not the chill runtime.
7215
7216 * gdb.base/return.c: Put return values into variables so we
7217 can have gdb print them rather than depending on the program
7218 to print them.
7219 * gdb.base/return.exp: Corresponding changes.
7220
7221 * lib/gdb.exp: Provide default value for noinferiorio.
7222 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7223 the inferior.
7224
7225 * gdb.base/break.exp: Always check for a program already being
7226 started after sending a "run" command to gdb.
7227 (text_next_with_recursion): Don't check the output from the
7228 program's printf statement. Instead just make sure the program
7229 exited.
7230
7231 * gdb.base/commands.exp: Protect tests which need arguments with
7232 $noargs conditionals.
7233
7234Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7235
7236 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7237 of structure member arrays to match gdb/valops.c:value_addr change.
7238
7239Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7240
7241 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7242 cases.
7243
7244Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7245
7246 * configure.in (configdirs): Remove gdb.chill from default list
7247 of subdirs and then add it back in only if doing a native build.
7248 The current chill compiler does not yet work in any cross build.
7249 * Revert all signal changes from Jul 6.
7250 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7251 for sh-hms targets, allowing these tests to link, with no other
7252 changes. Testing is suppressed by setting "nosignals" in site.exp.
7253
7254Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7255
7256 * configure.in (signaldirs): Define and add to configdirs for all
7257 targets except some specific ones that are known to not support signals.
7258 Also clean up formatting.
7259 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7260 (signals, sigall): Remove rules to build.
7261 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7262 Moved to new gdb.signals directory.
7263 * gdb.signals: New test directory.
7264 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7265 signals.c signals.exp}: New or moved files.
7266
7267Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7268
7269 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7270
7271Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7272
7273 * gdb.base/return.exp: Xfail `return double' test failure
7274 on at least Solaris 2.3 and handle future/past versions on
7275 a case by case basis as appropriate. Also update message
7276 to include i*86 failures.
7277
7278Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7279
7280 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7281
7282 * lib/gdb.exp: Fix comment which erroneously identified
7283 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7284 gdb_file_cmd not gdb_load).
7285 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7286
7287 * gdb.base/setvar.exp: Make test names consistent between pass and
7288 fail cases. Use gdb_test more.
7289
7290Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7291
7292 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7293
7294Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7295
7296 * gdb.base/help.exp: Fix expected help string for `show commands'.
7297
7298Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7299
7300 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7301
7302 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7303 of a text section.
7304
7305Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7306
7307 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7308 that loop eventually terminates. Fix Connection refused logic so
7309 that testsuite will expire nicely.
7310
7311Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7312
7313 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7314 config/rom68k.exp: New tcl glue for the appropriate monitors.
7315 These all just end up calling monitor.exp.
7316 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7317 refused' by retrying. Cleanup some timeout issues.
7318 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7319 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7320 callers don't have to set/restore global timeout variable.
7321
7322 * The following set of changes centralizes management of the global
7323 timeout variable. This way, it can be set in one target dependent
7324 place instead of dozens of places scattered throughout the test suite.
7325 If you need to lengthen a timeout, then you should either set timeout
7326 in one of the config/{target}.exp files, or multiply it by a factor.
7327 Setting it to an absolute value is always going to lose for some
7328 targets.
7329 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7330 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7331 * gdb.base/funcargs.exp: Don't set timeout.
7332 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7333 * gdb.base/printcmds.exp (test_print_string_constants
7334 test_print_array_constants): Don't set timeout.
7335 * gdb.base/ptype.exp: Don't set timeout.
7336 * gdb.base/recurse.exp: Don't set timeout.
7337 * gdb.base/return.exp: Don't set timeout.
7338 * gdb.base/watchpoint.exp: Don't set timeout.
7339 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7340 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7341
7342Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7343
7344 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7345
7346Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7347
7348 * lib/gdb.exp: Disable chill tests for irix5.
7349
7350Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7351
7352 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7353 each test pass or fail.
7354
7355Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7356
7357 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7358 xlc not gcc.
7359
7360Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7361
7362 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7363
7364Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7365
7366 * config/est.exp: Fix copyright and comments. Remove dead code.
7367 Use targetname, serialport and baud variables instead of fixed
7368 constants.
7369 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7370 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7371
7372Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7373
7374 * gdb.base/watchpoint.exp: Don't run
7375 test_watchpoint_triggered_in_syscall for sunos.
7376
7377Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7378
7379 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7380 they don't seem to exist. Do include stdio.h.
7381
7382Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7383
7384 * gdb.base/a1-selftest.exp: Add alpha xfail.
7385
7386Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7387
7388 * gdb.base/watchpoint.c (main): Prompt before calling read().
7389 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7390 Revise accordingly. Remove cruft about sending "123" several
7391 times, until it gets noticed. Clean up the "print buf[0]" stuff
7392 so that it passes or fails, and waits for prompts in the usual way.
7393
7394Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7395
7396 * gdb.base/recurse.exp: Fix comment.
7397
7398 * TODO: Remove item about printing variables in nodebug.exp. Add
7399 item about enabling tests which are only run on some targets.
7400
7401 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7402 fail, make test names unique, use new gdb_test convention
7403 regarding pattern, use gdb_test more, etc.).
7404
7405 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7406 fail, make test names unique, etc.).
7407
7408Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7409
7410 * gdb.base/nodebug.c: Change return type of top and middle to
7411 short.
7412 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7413 are fixed by the recent mdebugread.c changes. Allow `short ()'
7414 as type for top and middle.
7415
7416Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7417
7418 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7419 nearly as I can tell, the whole thing was an accident in Stu's
7420 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7421 to replace a send/expect pair with gdb_test, but ended up only
7422 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7423 of 30 Mar 1995 took care of it, but left this vestigial comment
7424 which I am now nuking.
7425
7426Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7427
7428 * gdb.base/break.exp: Look for different line number for
7429 breakpoint at main depending on usestubs.
7430
7431Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7432
7433 * gdb.base/list.exp: Adjust some alternate expect patterns to
7434 match recent list0.c change. Add alternate expect pattern for
7435 output from `list default lines around main' for optimizing
7436 compilers.
7437
7438Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7439
7440 * lib/gdb.exp: If nosignals is not set, set it to 0.
7441
7442Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7443
7444 * config/slite-gdb.exp: Responds to load symbol table prompt.
7445 * gdb.base/break.exp: Adjust line number, fix rerun.
7446 * gdb.base/langs0.c: Add #ifdef usestubs.
7447
7448Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7449
7450 * gdb.base/list.exp: Adjust line contents after adding new lines in
7451 list0.c. Also fix a syntax error.
7452
7453 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7454 * gdb.base/break.exp: ditto.
7455 * gdb.base/list.exp: ditto.
7456 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7457 * gdb.base/run.c: ditto.
7458 * gdb.base/list0.c: ditto.
7459 * gdb.base/funcargs.c: ditto.
7460
7461Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7462
7463 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7464 $targetname, $serialport and $baud instead of hardwired variables.
7465 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7466 target doesn't support signals.
7467
7468Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7469
7470 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7471
7472Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7473
7474 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7475 Don't rely on the value of an auto variable before it has been
7476 initialized. Use gdb_test more.
7477
7478Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7479
7480 * lib/gdb.exp (default_gdb_version): A version number must start
7481 with a digit, but other than that contains all characters up to
7482 the first whitespace character.
7483
7484Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7485
7486 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7487
7488Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7489
7490 * gdb.c++/*.exp: Warn if executable does not exist. The original
7491 reason for skipping the warning was that configure.in sometimes
7492 intentionally skipped building the executables but the tcl code
7493 had no way of knowing. That (a) was always bogus with respect to
7494 error handling, (b) is no longer true (right now there is no way
7495 to skip C++ tests).
7496
7497 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7498
7499Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7500
7501 * gdb.base/list.exp: Add expect patterns for output from
7502 SunPRO compiled executables.
7503 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7504 types.
7505
7506Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7507
7508 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7509 number (we are already testing that the correct source line text
7510 gets printed).
7511
7512 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7513 that is what is intended, but something needed to be done to get
7514 sunos4 native working again.
7515
7516 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7517
7518 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7519 apparently went with a (very) old xfail.
7520
7521Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7522
7523 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7524 runto_main is a proc in gdb.exp that will do 'step' for target use
7525 stubs.
7526 * gdb.base/exprs.exp: ditto.
7527 * gdb.base/interrupt.exp: ditto.
7528 * gdb.base/opaque.exp: ditto.
7529 * gdb.base/printcmds.exp: ditto.
7530 * gdb.base/ptype.exp: ditto.
7531 * gdb.base/scope.exp: ditto.
7532 * gdb.base/setvar.exp: ditto.
7533 * gdb.base/signals.exp: ditto.
7534 * gdb.base/twice.exp: ditto.
7535 * gdb.c++/classes.exp: ditto.
7536 * gdb.c++/inherit.exp: ditto.
7537 * gdb.c++/templates.exp: ditto.
7538 * gdb.base/break.exp: no run and hit main for stubs. Change line
7539 numbers for breakpoints and info breakpoint.
7540 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7541 breakpoint().
7542 * gdb.base/callfuncs.c: ditto.
7543 * gdb.base/exprs: ditto.
7544 * gdb.base/interrupt.c: ditto.
7545 * gdb.base/opaque0.c: ditto.
7546 * gdb.base/printcmds.c: ditto.
7547 * gdb.base/ptype.c: ditto.
7548 * gdb.base/scope0.c: ditto.
7549 * gdb.base/setvar.c: ditto.
7550 * gdb.base/signals.c: ditto.
7551 * gdb.base/twice.c: ditto.
7552 * gdb.c++/misc.cc: ditto.
7553 * gdb.c++/templates.cc: ditto.
7554
7555Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7556
7557 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7558
7559 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7560 somewhere between `read' and `main.c'. I'm pretty sure the
7561 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7562 and it isn't particularly useful.
7563
7564 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7565
7566Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7567
7568 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7569
7570Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7571
7572 * config/mt-slite: add LIBS and -nostdlib.
7573 * config/slite-gdb.exp: add this new file to support sparclite target.
7574
7575Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7576
7577 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7578
7579 * gdb.base/a2-run.exp: Change argument to istarget from
7580 "*-*-vxworks" to "*-*-vxworks*".
7581 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7582
7583Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7584
7585 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7586 will not runto main but do a 'step' to step out of breakpoint().
7587 * config/mt-slite: add -Dusestubs.
7588
7589Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7590
7591 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7592 instead of just @.
7593
7594 * gdb.base/signals.exp: Add test for "handle all print".
7595 * TODO: Remove "handle all print". Also remove item about
7596 checking copyright date (I don't like the idea of a spurious FAIL
7597 based on when we run the tests).
7598
7599 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7600 for SunOS4 (reason for failure not investigated). Remove
7601 redundant test for $binfile.
7602
7603 * gdb.base/nodebug.c (array_index): Call malloc.
7604
7605 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7606
7607Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7608
7609 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7610 conventions and slightly simplify the matching regexp.
7611
7612Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7613
7614 * gdb.base/break.exp: Update gdb_test invocation to use new
7615 convention.
7616
7617 * lib/gdb.exp: If noargs is not set, set it to 0.
7618
7619 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7620 tests unique.
7621
7622 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7623
7624Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7625
7626 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7627 one argument of type "<non-float parameter>".
7628
7629Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7630
7631 * config/rom68k.exp: New file to support Motorola IDP board.
7632 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7633 * gdb.base/break.c: Change things around so that this program
7634 doesn't depend upon args. This is necessary to make remote
7635 targets work (in general, they can't take args).
7636 * gdb.base/break.exp: Don't try to send args to program. Don't
7637 expect output. Also, replace lots of code with gdb_test.
7638
7639Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7640
7641 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7642 printing of '\'' (which is what the comment says we are testing,
7643 even though we were not), not '''.
7644 (test_integer_literals_rejected): Test that printing ''' is an error.
7645
7646 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7647 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7648 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7649 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7650 Use gdb_test not test_print_accept.
7651 * lib/gdb.exp: Remove test_print_accept.
7652
7653 * gdb.base/signals.exp (signal_tests_1): Make pass message
7654 consistent with fail message.
7655
7656 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7657 unsigned char; the bug (PR 1821) is fixed.
7658
7659 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7660
7661 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7662 successful tests--makes xfailing them work right.
7663
7664Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7665
7666 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7667 only \r\n, not .*. The test can pass .* as the last thing in
7668 $pattern if that is what it wants. In addition to providing this
7669 flexibility, this change should speed up pattern matching in cases
7670 where the pattern already ended with .* (there were a number of
7671 them). This change also helps catch bad patterns--in the old
7672 scheme the typo "char \*" instead of "char \\*" would pass. Now
7673 it is caught.
7674 * Many .exp files: Update callers.
7675
7676 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7677 clearer and does not spuriously match multiple ('s. Likewise for
7678 ) and *.
7679
7680 * gdb.base/nodebug.exp: Test ability to call a function and pass
7681 it a string (even with no debugging info).
7682
7683 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7684 "p '\'", which is the same as "p ''" once tcl gets done with
7685 quoting, to "p '\\'", which I suspect is what is intended (one
7686 backslash gets sent to GDB).
7687
7688 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7689
7690Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7691
7692 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7693 1817) was fixed literally years ago.
7694
7695Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7696
7697 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7698 test, it causes stepping out of call_after_alloca_subr with
7699 optimizing compilers.
7700 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7701 fails.
7702
7703 * gdb.c++/templates.exp: Source templ-info.exp only if
7704 the templates executable exists.
7705
7706 * gdb.c++/misc.cc (class Contains_static_instance,
7707 class Contains_nested_static_instance),
7708 gdb.c++/classes.exp (test_static_members): Test printing of
7709 a class that contains a static instance of the class.
7710
7711Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7712
7713 * gdb.base/langs2.c (cppsub_): Don't prototype.
7714 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7715 only, I believe).
7716
7717Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7718
7719 * lib/gdb.exp (skip_chill_tests): New procedure.
7720
7721 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7722
7723Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7724
7725 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7726 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7727
7728Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7729
7730 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7731
7732 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7733 disassemble 8, not 16, instructions for part 4.
7734
7735 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7736 support the latter anymore.
7737
7738 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7739 -DNO_PROTOTYPES.
7740 * gdb.base/callfuncs.c: Control use of prototypes based on
7741 NO_PROTOTYPES, not __STDC__.
7742 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7743 t_float_values2 tests if prototypes in use.
7744
7745 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7746 t_double_values): When checking differences against DELTA, check
7747 that difference is within the range (-DELTA,DELTA), not just
7748 (-infinity,DELTA).
7749
7750Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7751
7752 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7753 'file' command firts, then 'target', then 'load', this is due to gdb
7754 target set up.
7755 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7756
7757Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7758
7759 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7760 FP load/store variants.
7761 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7762
7763Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7764
7765 * gdb.base/term.exp: Do not give a warning if not native, it is
7766 not an abnormal condition.
7767
7768Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7769
7770 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7771 t_char_array".
7772
7773Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7774
7775 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7776 are getting the version number.
7777
7778 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7779 if not native, it is not an abnormal condition.
7780
7781Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7782
7783 * lib/gdb.exp: Just use "file exists", rather than undocumented
7784 dejagnu procedure "findfile".
7785
7786Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7787
7788 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7789 (LDFLAGS): Set to -Xlinker -Ur.
7790
7791 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7792 Removed, these values are set by lib/gdb.exp.
7793
7794 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7795
7796Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7797
7798 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7799 of replicating gdb startup code.
7800
7801 * config/mt-vxworks (LDFLAGS): Set to -r.
7802 (CFLAGS_FOR_TARGET): Removed.
7803
7804 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7805 (gdb) and gdb for vxworks uses (vxgdb).
7806
7807 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7808 executable is not in the tree and host != target, use sed and
7809 program_transform_name to determine the gdb name used by the
7810 target.
7811
7812 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7813 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7814
7815Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7816
7817 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7818 floats, chars, and shorts where there are ANSI-style function
7819 definitions.
7820
7821 * gdb.base/langs.exp, gdb.base/langs*: New test.
7822 * gdb.base/Makefile.in: Build it.
7823 * TODO: Remove item about checking that C names don't get C++
7824 demangling applied; this test tests it.
7825
7826Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7827
7828 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7829 went with the const70 xfail. The xfail went away a year ago.
7830
7831 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7832
7833 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7834 for hp300.
7835
7836 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7837
7838 * gdb.base/a1-selftest.exp: Don't run on hp300.
7839
7840Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7841
7842 * Makefile.in (site.exp): Set host_alias and target_alias as well
7843 as host_triplet and target_triplet.
7844
7845Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7846
7847 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7848
7849 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7850 places as other ecoff systems).
7851
7852 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7853 ultrix.
7854
7855Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7856
7857 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7858 remove them.
7859 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7860 variable and "variable" in addition to "data variable".
7861 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7862
7863 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7864 2.
7865 * gdb.base/list1.c (long_line): Add additional statement at start
7866 of function.
7867 * gdb.base/list.exp (test_forward_search): Update line number to
7868 reflect new statement.
7869
7870Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7871
7872 * gdb.base/signals.exp: Reinitialize searched source directories
7873 after gdb_start call.
7874
7875Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7876
7877 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7878 * gdb.stabs/Makefile.in: Likewise.
7879
7880 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7881 change. Instead split the tests into smaller pieces.
7882 * gdb.disasm/hppa.s: Corresponding changes.
7883
7884Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7885
7886 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7887 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7888
7889 * gdb.base/funcargs.exp: Modify many tests so that every test
7890 either passes or fails. Make some test names unique.
7891
7892Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7893
7894 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7895 Call stty to set interrupt character.
7896
7897 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7898 for HP assembler versus GNU assembler based on actual behavior of
7899 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7900
7901 * TODO: Suggest a few more stepping tests.
7902
7903Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7904
7905 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7906 restart GDB for h8300 after a continue.
7907 (return): Add pattern to match a29k-udi behavior.
7908 * gdb.base/nodebug.exp: Remove obsolete comment.
7909 * gdb.base/regs.exp: New file, testing of register displays.
7910 * gdb.base/return.exp: Fix typo in reference to $objdir.
7911 * gdb.base/whatis.exp: Always start with a fresh GDB.
7912
7913Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7914
7915 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7916 higher, these tests generate a lot of output.
7917
7918Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7919
7920 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7921 code following the catch silently ignored some errors; without the
7922 catch they should be thrown like any other tcl error. Also, the
7923 catch used "" instead of {} which meant all the callers who wanted
7924 to include one of the characters "[]$ had to quote it an extra time.
7925 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7926 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7927 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7928 Remove extra quoting.
7929
7930Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7931
7932 * gdb.base/commands.exp: Make test names unique; every test either
7933 passes or fails. Update some comments.
7934
7935 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7936
7937Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7938
7939 The following fixes a FAIL caused by the fact that the alpha stabs
7940 configuration didn't use the ".if alpha" code in weird.def.
7941 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7942 bit pointer, so the 32 bit version works even on the alpha.
7943 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7944 Remove the stuff which allowed us to have separate versions for
7945 alpha and everything else.
7946
7947 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7948 regexp which "info func operator\[\](" is supposed to match. Fix
7949 string to send to GDB. Note that GDB still doesn't work right. Add a
7950 new test for "info func .perator\[\](" which GDB does handle correctly.
7951
7952 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7953
7954Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7955
7956 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
7957 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
7958 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
7959 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
7960 it makes the tests harder to understand and confuses test-o-matic.
7961 The preferred style is that each test provides a PASS or a FAIL,
7962 and has a unique message (e.g. "continue #54" not just "continue")
7963 which is the same for the pass and the fail.
7964 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7965 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
7966 to lib/gdb.exp.
7967 * gdb.base/printcmds.exp: Use test_print_accept. Remove
7968 prt_accept which was basically the same thing. Likewise for
7969 test_print_reject and prt_reject.
7970 * lib/gdb.exp (test_print_reject): Add some more error message
7971 patterns to match from the former printcmds.exp (prt_reject).
7972 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
7973 One defect of the passcount stuff is that some of it failed to
7974 report XPASS where appropriate.
7975 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
7976 stuff before and after arg in expected pattern.
7977 (test_paddr_operator_functions): Re-do test without print_addr_of;
7978 this is the only test which seems to want extra stuff there.
7979
7980Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7981
7982 * gdb.base/nodebug.exp: Update new tests to reflect improved
7983 wording of gdb output.
7984
7985 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
7986 and "ptype" work on variables in files compiled without -g.
7987 Replaces commented out "maint print msymbol" tests.
7988
7989Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
7990
7991 * gdb.base/setvar.c (dummy): Call malloc.
7992
7993 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
7994 losing with the irix4 sed.
7995
7996 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
7997 ALRM" on irix4.
7998
7999Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8000
8001 * TODO: Remove items about corefile.exp testing new exec-file and
8002 backtrace; both are now done. Add items about printing enums.
8003
8004Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8005
8006 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8007 "get signal $thissig" test fails.
8008
8009 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8010
8011Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8012
8013 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8014 compiler warning with dec alpha compiler.
8015
8016 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8017 extra \n from gdb_test call (this explains why the prompt test
8018 that I removed yesterday was there).
8019 (user_defined_command_test): Remove extra \n and prompt test.
8020
8021 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8022 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8023 doesn't exist.
8024 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8025 Also remove alpha workaround, which turns out to be because
8026 SIGABRT == SIGLOST.
8027
8028 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8029
8030 * gdb.base/help.exp: Don't test "help show".
8031
8032Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8033
8034 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8035 "set print address" is on.
8036 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8037 pass prompt to gdb_test; gdb_test already looks for the prompt.
8038
8039 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8040
8041 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8042 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8043 was to make sure that gdb can read a core file. But (a) the "read
8044 the corefile" part didn't make it to a1-selftest.exp, we just
8045 delete the corefile after creating it, and (b) we test reading
8046 corefiles in corefile.exp anyway. Also, this test left around a
8047 xgdb process on Solaris.
8048
8049 * gdb.base/corefile.exp: Also test backtrace.
8050
8051Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8052
8053 * gdb.base/commands.exp: Test a simple user defined command with
8054 arguments and if/while statements; verify the full user command is
8055 printed by "show user".
8056
8057 * gdb.base/commands.exp: Test if/while commands as part of a
8058 breakpoint command list; verify they appear in breakpoint
8059 information.
8060
8061Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8062
8063 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8064 than by dividing by zero.
8065
8066Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8067
8068 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8069 performing an inferior call with watchpoints enabled.
8070 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8071 call.
8072
8073Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8074
8075 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8076 of "file" command.
8077
8078 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8079 Add additional pattern for when "int operator int(void);" appears
8080 in a different order.
8081
8082Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8083
8084 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8085
8086 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8087 and "signal" with ".*".
8088
8089Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8090
8091 * TODO: Add note about "handle all nostop".
8092
8093 * gdb.base/{sigall.c, sigall.exp}: New test.
8094 * gdb.base/Makefile.in: Add it.
8095
8096Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8097
8098 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8099 when invoking GDB, suppresses any windowing interface.
8100
8101Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8102
8103 * config/sim-gdb: New file, simulator testing support.
8104
8105Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8106
8107 * gdb.base/interrupt.exp: Test calling func1 twice.
8108
8109Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8110
8111 * gdb.base/list.exp (test_forward_search): Set timeout higher
8112 when we'll be getting lots of output from gdb.
8113
8114 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8115 "init_malloc" to after the expect statement. Run it if that
8116 regexp is taken, but also for two others which happen if source
8117 cannot be found.
8118
8119Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8120
8121 * gdb.base/printcmds.exp: New test, for printing register before
8122 program is running.
8123
8124Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8125
8126 * gdb.base/list.exp: Correct some alternate expect patterns
8127 to reflect changes in list1.c.
8128
8129Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8130
8131 * TODO: Add item regarding large frames.
8132
8133 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8134
8135 * TODO: Remove item about enabling return.exp; it
8136 is enabled. Suggest a few more "return" tests.
8137
8138Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8139
8140 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8141 anonymous unions.
8142
8143Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8144
8145 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8146 and pr-5646.o, so "make" is the same as "make all", not "make
8147 pr-4975.o".
8148
8149Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8150
8151 * gdb.base/list.exp: Adjust expectations to reflect changes in
8152 list1.c.
8153 (test_forward_search): New test proc.
8154 * gdb.base/list1.c (long_line): New function, has long source line.
8155
8156Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8157
8158 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8159 additional line of code that was added.
8160
8161Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8162
8163 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8164 tests so as not to overflow expect's input buffers.
8165 * gdb.disasm/hppa.exp: Corresponding changes.
8166
8167Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8168
8169 Beginnings of template debugging tests.
8170 * gdb.c++/templ-info.cc: New file to test for template
8171 debugging capability of the compiler.
8172 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8173 templ-info.cc.
8174 * gdb.c++/templates.cc: Add explicit template instantiations
8175 to enable compiling with -fno-implicit-templates. Add destructor
8176 and 'value' method to T5 class for template tests.
8177 * gdb.c++/templates.exp: Add testcases for printing of template
8178 types, setting breakpoints on template methods and calling a
beb998c6 8179 template method.
c906108c
SS
8180
8181Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8182
8183 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8184 branch target since some assemblers (gas-2.5) may emit a
8185 relocation for the branch instead of resolving it in the
8186 assembler.
8187
8188Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8189
8190 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8191 through signal handler.
8192
8193Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8194
8195 * configure.in (*-*-netware): Use config/mt-netware.
8196
8197 * config/mt-netware: New file.
8198 * config/mt-i386-netware: Removed, separate configs for different
8199 netware architectures are no longer needed now that we have
8200 --with-headers.
8201
8202Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8203
8204 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8205 by the recent changes to use ANSI C arithmetic conversions.
8206
8207Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8208
8209 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8210 bug involving using inferior_pid to figure out whether to select a
8211 frame.
8212
8213Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8214
8215 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8216 match the current disassembler output.
8217
8218Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8219
8220 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8221 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8222 types, expect "int" as type of integer values (for now).
8223
8224Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8225
8226 * gdb.base/commands.exp: New tests for if/while commands.
8227
8228Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8229
8230 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8231 by .*, since hex values have different syntax in Chill mode.
8232
8233Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8234
8235 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8236 linefeed from expect pattern for repeated types with indices > 9.
8237
8238Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8239
8240 First part of Fortran test suite.
8241 * gdb.fortran: New directory.
8242 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8243
8244Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8245
8246 * gdb.base/default.exp: Update expect pattern for load command
8247 without arguments.
8248
8249Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8250
8251 * configure.in: Change i386 to i[345]86.
8252 * gdb.base/configure.in: Likewise.
8253 * gdb.c++/configure.in: Likewise.
8254 * gdb.chill/configure.in: Likewise.
8255
8256Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8257
8258 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8259 patterns, since that is not a valid context for comments.
8260
8261Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8262
8263 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8264 repeated types and repeated types with indices > 9.
8265
8266Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8267
8268 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8269 2417; old bug has been fixed.
8270
8271Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8272
8273 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8274 send the newline ourselves instead of assuming gdb_test will do
8275 so when passed an empty input string.
8276
8277 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8278 stabs testcode.
8279
8280Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8281
8282 * lib/gdb.exp (gdb_test): Don't send anything if the first
8283 argument is an empty string. This makes cases where we want to
8284 match output that is already in expect's buffers (for example,
8285 matching a breakpoint after gdb_run_cmd has been called) work
8286 reliably.
8287
8288Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8289
8290 * config/netware.exp: New file.
8291
8292Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8293
8294 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8295 the -B and -L prefixes so we can find the debugging stub.
8296
8297 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8298 there and we are using the gcc from the tree.
8299
8300 * gdb.base/types.c: Removed.
8301
8302 * gdb.base/configure.in: Look for makefile fragments in ../config.
8303 Recognize i386-*-netware.
8304 * gdb.c++/configure.in: Likewise.
8305
8306Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8307
8308 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8309 the correct TCL syntax.
8310
8311Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8312
8313 * gdb.base/opaque.exp: use runto instead of messing around with
8314 breakpoints. Simplify by using gdb_test.
8315
8316 * gdb.base/bitfields.exp: restart between tests on netware targets
8317 because breakpoints aren't relocated after target death. Run
8318 processes to completion.
8319
8320 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8321
8322Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8323
8324 * Makefile.in: Remove extra tabs that confuse some versions
8325 of "make". Use the newly built gdb to test with by default,
8326 rather than the first one in the tester's search path.
8327
8328Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8329
8330 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8331
8332 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8333 condition help.
8334
8335Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8336
8337 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8338
8339 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8340 running.
8341 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8342 * gdb.base/funcargs.exp: Likewise.
8343
8344 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8345 * gdb.base/funcargs.exp: Likewise.
8346
8347 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8348 message is "".
8349
8350Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8351
8352 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8353 return,signals,twice}.exp: Handle non-existant binaries
8354 consistantly.
8355
8356 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8357 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8358 might testing a cross development system.
8359
8360Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8361
8362 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8363 runtest script is relative to ${srcdir}, not ${rootdir}.
8364
8365Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8366
8367 * gdb.base/signals.exp: Allow for optionality of breakpoint
8368 address.
8369
8370Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8371
8372 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8373
8374Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8375
8376 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8377 for size_t definition.
8378 * gdb.c++/templates.cc: Likewise
8379
8380 * config/mt-i386-netware: New file.
8381
8382 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8383 defined.
8384
8385 * gdb.base/Makefile.in: Added support for systems that name core
8386 files by appending "core" to the program name.
8387 * gdb.base/a1-selftest.exp: Likewise.
8388
8389Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8390
8391 * gdb.base/return.exp: Add comment and message for `return double'
8392 test failure on Sparc Solaris.
8393
8394Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8395
8396 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8397
8398Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8399
8400 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8401 from optimizing them away.
8402 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8403 patterns to include default constructors and assignment operators,
8404 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8405 character in the output of the virtual base pointer.
8406
8407Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8408
8409 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8410 expression match in print_addr_of to avoid unintented matches.
8411 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8412 versions up to 2.5.8.
8413
8414Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8415
8416 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8417 included file to run under newer versions of expect.
8418 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8419 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8420 Remove xfail for the virtual table of BDDHookV.
8421
8422Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8423
8424 * lib/gdb.exp (string_to_regexp): Set a default result.
8425 (default_gdb_start): Fix misleading message.
8426
8427Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8428
8429 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8430 Remove all CC, etc definitions.
8431 * config/mt-hpux: New file.
8432 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8433 (CFLAGS, LDFLAGS): Define.
8434 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8435
8436 * Makefile.in (site.exp): Don't insert host_os, etc.
8437 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8438 (distclean): Check existence of subdir.
8439 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8440 * gdb.base/Makefile.in: General cleanup and simplification.
8441 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8442 to build executables. Use default rule to build .o files.
8443 (EXPECT, RUNTEST, CC): Fix relative pathname.
8444 (site.exp): Don't insert host_os, etc.
8445 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8446 and/or SIGUSR1 defined.
8447 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8448 * gdb.c++/Makefile.in: General cleanup and simplification.
8449 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8450 (CFLAGS): Remove.
8451 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8452
8453Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8454
8455 * gdb.base/recurse.exp: Misc changes to get tests running again
8456 after Kung's changes to the watchpoint code.
8457 * gdb.base/watchpoint.exp: Likewise.
8458
8459Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8460
8461 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8462
8463Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8464
8465 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8466 * lib/gdb.exp (default_gdb_start): Define.
8467 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8468 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8469 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8470 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8471 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8472 Don't call gdb_target_udi in between tests.
8473
8474Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8475
8476 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8477 (which was basically just a local version of the same thing). In
8478 addition to avoiding duplication, gdb_test_exact is faster.
8479 * lib/gdb.exp (gdb_test_exact): Fix typo.
8480
8481 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8482 don't give an error.
8483
8484 * gdb.base/term.exp: Call delete_breakpoints before starting.
8485
8486 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8487 (t10): Add comment.
8488
8489Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8490
8491 Reorganization of the GDB Test Suite.
8492
8493 * gdb.base: New directory, contains all the basic tests.
8494 * gdb.c++: New directory, tests specific to C++.
8495 * gdb.chill: New directory, tests specific to Chill.
8496 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8497 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8498 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8499 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8500 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8501 t30-31 to chill).
8502 * */gdbme.*: Rename to match appropriate expect scripts.
8503 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8504 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8505 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8506 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8507 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8508 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8509 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8510 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8511 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8512 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8513 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8514 gdb.c++/virtfunc.cc: New names of C++ files.
8515 * gdb.chill/chillvars.ch: New name of Chill file.
8516 * gdb.base/configure.in, gdb.c++/configure.in,
8517 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8518 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8519 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8520 * configure.in (configdirs): Update to reflect directory changes.
8521 (target_abbrev): No longer define for any configuration.
8522 * Makefile.in: Cosmetic improvements to header comments.
8523
8524Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8525
8526 Various changes to gdb.t31:
8527
8528 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8529 * gdbme.ch: Make all key-words and predefineds be upper-case.
8530 * chillvars.exp: Expect key-words and predefinds in upper-case.
8531
8532 * chillvars.exp: Use gdb_test_exact many places.
8533 Change expected output for arrays (which now includes index labels).
8534
8535 * pr-5020.exp, gdme.ch (module PR_5020):
8536 New test, for PR-5020.
8537
8538Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8539
8540 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8541 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8542
8543Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8544
8545 * Makefile.in: Fix bit-rot in definitions of CHILL,
8546 CHILL_FOR_TARGET and Chill_LIB.
8547 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8548 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8549 CHILL, and CHILL_LIB.
8550
8551Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8552
8553 * Revert the previous changes. Please see Rob's directory
8554 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8555
8556Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8557
8558 * Makefile.in, configure.in, config/mips-gdb.exp,
8559 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8560 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8561 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8562 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8563 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8564 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8565 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8566 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8567 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8568 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8569 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8570 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8571 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8572 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8573 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8574 changes from 94Q1.
8575
8576Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8577
8578 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8579 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8580 Rob's new testing fragments.
8581
8582Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8583
8584 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8585 lib/gdb.exp: Replace error proc calls with perror.
8586
8587Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8588
8589 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8590 version also, match on casted version strings, and match on
8591 gdb startup case where the line numbers might be messed up.
8592
8593Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8594
8595 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8596 (CFLAGS): Delete it from here.
8597
8598Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8599
8600 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8601
8602Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8603
8604 * Makefile.in (RUNTEST): Default to just "runtest".
8605
8606Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8607
8608 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8609 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8610 the code has been restructured.
8611
8612Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8613
8614 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8615 \n, not just one of each.
8616
8617 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8618 /bin/cc gives a warning if you do.
8619
8620Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8621
beb998c6 8622 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8623 __t10ListS_link1ZUiRCUiPT0
8624
8625Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8626
8627 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8628 on local variables in recursive functions.
8629
8630 * gdb.t07/Makefile.in: Build the new test.
8631
8632Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8633
8634 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8635 directly. Instead compare the return values from actual calls.
8636
8637Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8638
8639 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8640
8641Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8642
8643 * From Peter Schauer with minor modifications.
8644 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8645 stops in mid-line in the caller. Add xfail for returning a float
8646 value on X86 targets.
8647
8648Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8649
8650 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8651 to avoid expect lossage.
8652 (fmem_LRbug_tests): Likewise.
8653 * gdb.disasm/hppa.s: Corresponding changes.
8654
8655 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8656 conditions to work with latest dejagnu/expect.
8657
8658 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8659 expected to fail on the PA.
8660 (backtrace in call with trampolines): Explicitly require main
8661 to be frame #1 (no trampolines should show up in backtrace).
8662
8663 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8664 "continue -expect".
8665 * gdb.t06/break.exp: Likewise.
8666 * gdb.t07/watchpoint.exp: Likewise.
8667 * gdb.t13/bitfields.exp: Likewise.
8668 * gdb.t15/{funcargs,return}.exp: Likewise.
8669 * gdb.stabs/weird.exp: Likewise.
8670 * config/{mips,udi}-gdb.exp: Likewise.
8671
8672 * hppa.sed: Enclose comments within a sed command to avoid
8673 losing with the old OSF1 sed.
8674
8675Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8676
8677 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8678 sequent dynix.
8679 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8680 * gdb.t15/funcargs.exp: Conditionally step again to really
8681 finish from marker_call_with_trampolines. Handle the case where
8682 the first step from within call_with_trampolines already steps
8683 us back to main.
8684 * gdb.t15/gdbme.c: Add comment to closing brace of
8685 call_with_trampolines for funcargs.exp.
8686
8687Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8688
beb998c6 8689 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8690 Fix typo(s).
8691
8692Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8693
8694 * gdb.t07/gdbme.c: More code for watchpoint testing.
8695
8696 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8697 "Hardware watchpoint" throughout file.
8698 (test_watchpoint_triggered_in_syscall): New test.
8699 (test_complex_watchpoint): New test.
8700
8701Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8702
8703 * gdbme.c (call_with_trampolines): New function to try and step
8704 into. Tests trampoline problems on the PA.
8705
8706 * funcargs.exp (localvars_in_indirect_call): No longer expect
8707 stepping into indirect call to fail on PAs.
8708 (test_stepping_over_trampolines): New test.
8709
8710Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8711
8712 * TODO: Add suggestions for static member function tests, and
8713 completion tests.
8714
8715Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8716
8717 * TODO: Add suggestions for "p/a" tests.
8718
8719 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8720 (default_gdb_exit): Replace all the hair with sending "quit" to
8721 the process with a simple close.
8722
8723Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8724
8725 * TODO: Add suggestions for shared library tests.
8726
8727Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8728
8729 * TODO: Add suggestions for x/s tests.
8730
8731Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8732
8733 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8734 "enable once", and "enable breakpoints once" with ".*".
8735
8736Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8737
8738 * TODO: Add suggestions about structure passing tests.
8739
8740Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8741
8742 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8743 the primary1 test, use work around if __GNUC__ < 2.
8744 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8745 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8746 Test for bad output rather than waiting for timeout. Issue
8747 second continue only if first continue failed.
8748
8749Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8750
8751 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8752 operator[] test with gdb_test because the old code didn't seem to
8753 be getting the quoting right with the new dejagnu.
8754
8755Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8756
8757 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8758 one from the path.
8759 * Makefile.in: Use a fresh expect if there is one, use runtest
8760 from the src tree if there is one.
beb998c6 8761
c906108c
SS
8762Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8763
8764 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8765 next over recursive call. Revise the tests from that point on
8766 (which had been skipped) to match GDB's actual (correct) output.
8767
8768 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8769 with next over a breakpoint whose condition is false.
8770
8771 * gdb.t00/help.exp: Comment out "help set print" tests just like
8772 (and for same reason as) "help set" test.
8773
8774Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8775
8776 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8777 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8778
8779Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8780
8781 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8782 necessary gdb_target_udi.
8783
8784 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8785
8786 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8787 1838 and 2417; they are fixed.
8788
8789 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8790 gdb.t03/ptype.exp (ptype structure, ptype union):
8791 Remove xfails; the test is looser than when the xfails were added.
8792
8793 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8794 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8795
8796 * gdb.t01/run.exp: Only run shell test if isnative.
8797
8798 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8799 since "run" automatically loads if necessary. Call gdb_target_udi
8800 after the "file" since "file" kills any execution target.
8801
8802 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8803 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8804 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8805 argument for UDI.
8806
8807Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8808
8809 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8810
8811 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8812
8813Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8814
8815 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8816 properly quoting regexps. This makes the second argument to
8817 demangle a fixed string, which matches the callers, instead of a
8818 shell-style pattern which is what the previous implementation
8819 used. Update some of the callers.
8820
8821Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8822
8823 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8824 (comib_nullified_tests): Fix typo.
8825 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8826 strings. No longer expected to fail.
8827
8828 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8829 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8830 strings. No longer expected to fail.
8831
8832 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8833 string. No longer expected to fail.
8834
8835Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8836
8837 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8838 No longer expected to fail.
8839
8840 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8841 string. No longer expected to fail.
8842
8843Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8844
8845 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8846 only in the names (I probably got most of them). I was even
8847 generous with some which differed in underscores in names, and
8848 probably missed a few, and I *still* was able to remove almost a
8849 third of the file with almost no impact on testsuite coverage.
8850
8851Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8852
8853 * gdb.t00/default.exp: Match udi_attach error message as well as
8854 the one from child_attach.
8855
8856 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8857
8858 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8859
8860 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8861 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8862
8863 * Move test with enums and partial symbols back to
8864 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8865 Reverts the change of 26 May 93. Per today's change to
8866 stabs.texinfo, the behavior that weird.exp was expecting was
8867 unreasonable; what is important is that the compiler+gdb get
8868 things right, which happens with a recent gcc. Also fix the test
8869 to deal with native compilers which put out the stab gdb can't
8870 deal with.
8871
8872Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8873
8874 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8875 in the names. The main thing these accomplish is to slow things down.
8876 Many more such duplicates surely remain.
8877
8878 * gdb.t00/help.exp: Comment out "help support" test just like
8879 (and for same reason as) "help set" test.
8880
8881Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8882
8883 * gdb.t06/break.exp: Remove setup_xfails for
8884 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8885 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8886 about known bug in gcc to include up through 2.5.8.
8887 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8888 well as "_vb$".
8889 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8890 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8891 with latest gcc and gdb.
8892 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8893 well as "_vb$".
8894
8895Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8896
8897 * configure.in (hppa*-*-*): Also configure and build stabs-only
8898 tests.
8899
8900Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8901
8902 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8903 * gdb.t10/configure.in (hppa*-*-*): Use it.
8904
8905Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8906
8907 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8908
8909Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8910
8911 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8912 versions prior to 1.13.5.
8913
8914Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8915
8916 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8917 the prompt is at the start of a line.
8918
8919Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8920
8921 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8922 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8923 in the copr tests now.
8924 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8925 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8926 expected to fail.
8927
8928Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8929
8930 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8931 gdb.t31/chillvars.exp, lib/gdb.exp:
8932 Tweak to run under either version of expect.
8933 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8934 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8935 * gdb.t11/list.exp: Remove extraneous whitespace.
8936
8937Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8938
8939 * gdb.t16/printcmds.exp (test_print_strings): Accept
8940 "(unsigned char *) " before the string.
8941
8942 * TODO: Add notes about printing of fancy types and GDB expressions.
8943
8944Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8945
8946 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8947 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8948 if doing mips-idt-ecoff.
c906108c
SS
8949
8950Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8951
8952 * Most .exp files: Tweak to run under either version of expect.
8953
8954Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8955
8956 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
8957 xfails; I'm not sure why they are failing, but not because of PR 1806.
8958
8959Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
8960
8961 * config/unix-gdb.exp: Remove gdb_unload cause it's already
8962 defined in lib/gdb.exp.
8963
8964Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8965
8966 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
8967 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
8968 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
8969 have to be typeless.
8970
8971Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8972
8973 * TODO: Add suggestion for copyright year test.
8974
8975Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
8976
8977 * configure.in (*-*-lynxos*): Add stabs tests.
8978
8979Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
8980
8981 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
8982 so insert a tab before any assembler directive in column zero.
8983
8984 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
8985 stores.
8986 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
8987 stores.
8988 (fpu_short_memory_tests): Likewise.
8989
8990Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8991
8992 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
8993 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
8994 .stabs directives in comments.
8995
8996Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
8997
8998 * TODO: New file, describing tests we could write.
8999 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9000
9001Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9002
9003 * gdb.t06/signals.exp: Add kludge to force re-sync.
9004
9005 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9006 to xgdb instead of gdb, get out of gdb.
9007
9008Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9009
9010 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9011 for info.
9012
9013Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9014
9015 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9016 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9017 * gdb.stabs/hppa.sed: New sed script for the PA.
9018
9019Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9020
9021 * gdb.stabs: Re-write weird.def and configuration to use sed
9022 instead of cpp. sed is portable and POSIX; cpp is neither.
9023
9024Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9025
9026 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9027
9028Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9029
9030 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9031
9032Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9033
9034 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9035 "_vb$".
9036 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9037 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9038
9039Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9040
9041 * lib/gdb.exp: Comment out code which depends on non-existent
9042 `transform' procedure.
9043
9044Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9045
9046 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9047 * lib/gdb.exp: Transform tool name.
9048 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9049 1.1's new error handling system.
9050
9051Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9052
9053 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9054
9055Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9056
9057 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9058 They made pattern matching so slow that timeouts happened on
9059 heavily loaded systems. Now any output from "show print" which
9060 gets us back to the GDB prompt is a PASS.
9061
9062Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9063
9064 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9065
9066Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9067
9068 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9069
9070 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9071 It is not from PR 3220.
9072
9073Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9074
9075 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9076 just started failing because they depended on the order the
9077 subcommands are presented, or exact docstring text. This kind of
9078 test is a pain and has minimal benefit.
9079
9080Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9081
9082 * gdb.t09/corefile.exp: At end of test, use "core" command with
9083 no arguments.
9084
9085Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9086
9087 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9088 17}/Makefile.in: Make it possible to run the testsuite with Sun
9089 make and CC = cross gcc by adding explicit build rules for .o
9090 files.
9091
9092Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9093
9094 * gdb.t15/funcargs.exp: Don't put comments on same line as
9095 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9096
c906108c
SS
9097Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9098
9099 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9100
9101Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9102
9103 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9104 * gdb.t20/inherit.exp: remove three dumplicate entries.
9105
9106Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9107
9108 * gdb.t06/break.exp: For "next over recursive call", fail on any
9109 incorrect output, not just on "factorial (value=2)".
9110
9111Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9112
9113 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9114 working now. Add an xfail if accesing a bss variable causes
9115 a memory error if the target is not yet run.
9116
9117Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9118
9119 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9120 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9121 name of __st* demangling (2 strings). Did Kung really get the
9122 more than 95 others right without testing them?
9123
9124Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9125
9126 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9127
9128Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9129
9130 * configure.in (configdirs): Add gdb.disasm
9131 * gdb.disasm: New directory for GDB disassembler tests.
9132 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9133
9134Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9135
9136 * gdb.t00/help.exp: Don't test "help set".
9137
9138 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9139 from within expect statements. None of these happen anymore and
9140 they cause regressions to be silently unnoticed.
9141
9142 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9143 messages) about known failures with gcc cygnus-2.4.5-930417.
9144
9145 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9146 comp-info.exp so it gets built if it doesn't exist.
9147
9148 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9149 it is no longer used.
9150 * gdb.t13/comp-info.c: Removed.
9151
9152Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9153
9154 * gdb.t06/signals.exp: Add xfail for sun3.
9155
9156Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9157
9158 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9159 relevant because ^C doesn't get sent but failure can be reproduced
9160 interactively).
9161
9162Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9163
9164 * gdb.stabs/alpha.mt: New configuration file for alpha.
9165 * gdb.stabs/configure.in: Use it.
9166 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9167 sharing with alpha.mt, redefine long to word via preprocessor.
9168 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9169 for alpha.
9170 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9171 native cc.
9172 * gdb.t00/teststrategy.exp: Change expect string so that we
9173 consume the `(xgdb)' from the command echo and from the gdb prompt.
9174 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9175 gdb currently compares all values as long, so this failure probably
9176 applies to any configuration where LONGEST is bigger than a target int.
9177 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9178 with gcc.
9179 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9180 to handle opaque pointers, gcc is.
9181 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9182 as first argument. Include <sys/types.h> and change all operator
9183 new definitions to use size_t.
9184 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9185 now that we use size_t.
9186
9187Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9188
9189 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9190 a long or float array cast all array members to the same type.
9191 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9192 with 64 bit longs.
9193 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9194 on alpha.
9195 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9196
9197Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9198
9199 * gdb.t24 (demangle.exp): Constructors of templates have names like
9200 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9201 section 14.6 of the ARM.
9202
9203 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9204 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9205 accomplish little and slow down the testsuite.
9206
9207 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9208 Accept spaces various places.
9209
9210Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9211
9212 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9213 with watchpoint enabled.
9214
9215 * Makefile.in: Remove definition of CC and remove the second
9216 definition of CXX (the "CXX = gcc" one remains). These definitions
9217 were causing backquotes to be expanded within backquotes, which
9218 doesn't work.
9219
9220Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9221
9222 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9223
9224Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9225
9226 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9227 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9228 by mips cc and contains no stabs entries.
9229
9230Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9231
9232 * config/vx-gdb.exp: Use fake device to load files rather than
9233 NFS.
9234 * lib/gdb.exp: New proc to do "file" command.
9235 * config/unix-gdb.exp: Use new "file" proc.
9236
9237Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9238
9239 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9240 Rework board rebooting slightly.
9241 (gdb_exit): Don't exit from the remote shell; there isn't one.
9242 * gdb.stabs/weird.exp: If a program is being debugged already,
9243 kill it.
9244 * gdb.t04/setvar.exp: Stop and restart gdb.
9245 * gdb.t05/expr.exp: Likewise.
9246 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9247 restart gdb and reload the program.
9248 * gdb.t08/opaque.exp: Likewise.
9249 * gdb.t12/scope.exp: Likewise.
9250 * gdb.t13/bitfields.exp: Likewise.
9251 * gdb.t15/funcargs.exp: Likewise.
9252 * gdb.t20/classes.exp: Likewise.
9253 * gdb.t03/ptype.exp: Increase timeout.
9254 * gdb.t16/printcmds.exp (test_print_string_constants,
9255 test_print_array_constants): Likewise.
9256 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9257 * gdb.t20/classes.exp (do_tests): Likewise.
9258 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9259
9260Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9261
9262 * gdb.stabs: Renamed *wierd* to *weird*.
9263
9264Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9265
9266 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9267 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9268
9269Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9270
9271 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9272 (do_tests): Remove xfail for whatis on one_var and two_var.
9273
9274Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9275
9276 * Makefile.in: Made cross building work better by adding
9277 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9278
9279Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9280
9281 * gdb.t15/{return.c,return.exp,Makefile.in}:
9282 New test, currently commented out.
9283
9284Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9285
9286 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9287 still running and removes the leftover named socket so GDb can do
9288 clean restarts.
9289
9290Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9291
9292 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9293 console, not GDB.
9294 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9295 cross testing works better with "make check"
9296 * config/unix-gdb: Use default procedures for exit and version.
9297 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9298 with the newest VxWorks.
9299
9300Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9301
9302 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9303 old form.
9304
9305 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9306 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9307
9308 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9309
9310 * config/unix-gdb.exp: Remove this version of gdb_exit
9311 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9312 Rob says he'll look at it when he gets back to testing boards.
9313
9314Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9315
9316 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9317 an expected fail for certain ptype commands.
9318
9319 * gdb.t20/classes.exp: Update expected results of "ptype class
9320 Base1" to account for the constructor that now appears in the type.
9321
9322Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9323
9324 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9325 disappeared from list.
9326 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9327 "alldone" proc with call to cleanup and exit.
9328 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9329 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9330 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9331 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9332 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9333 "alldone" proc with simple returns that suppress remaining
9334 tests. The alldone proc went away many months ago.
9335
9336Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9337
9338 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9339
9340 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9341
9342Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9343
9344 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9345 as vax gdb will display them.
9346
9347Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9348
9349 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9350 optimizers.
9351
9352 * scope.exp: Change "bad value for localval" messages so each one
9353 is unique.
9354
9355 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9356 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9357
9358 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9359
9360Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9361
9362 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9363 doesn't exist (due to optimization).
9364
9365Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9366
9367 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9368 contains \r because the filename is long.
9369
9370 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9371 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9372
9373Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9374
9375 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9376 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9377 Ultrix.
9378 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9379 int tests.
9380 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9381
9382Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9383
9384 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9385
9386 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9387 to match does not match the passing case but still matches the
c906108c
SS
9388 failing case.
9389
9390Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9391
9392 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9393
9394Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9395
9396 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9397 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9398 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9399 Remove various versions of gdb_exit.
9400 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9401 gdb_exit.
9402 * config/unix-gdb.exp: gdb_exit remains here, and should override
9403 the generic version, since it's doing a lot of wierd stuff that
9404 the other versions aren't. FIXME, fold it in, or abandon this
9405 version.
9406
9407Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9408
9409 * gdb.t24/demangle.exp: Add tests for PR 3220.
9410
9411Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9412
9413 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9414
9415Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9416
9417 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9418 "i386-*-*". Works for i486 as well.
9419
9420 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9421 bug, and expand domain of xfail to all SVR4 systems, since the
9422 actual problem is likely to be in generic SVR4 /proc support.
9423
9424Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9425
9426 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9427
9428Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9429
9430 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9431 xfails for other systems. Match a missing 'Continuing.' as an
9432 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9433
9434 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9435 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9436 Only issue warning for missing executables if -all option is used.
9437
9438 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9439 file if -all option is used. It's like an unpredictable XFAIL.
9440
9441Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9442
9443 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9444 for dynamically linked binaries.
9445
9446 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9447
9448Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9449
9450 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9451 to state that this is a known bug in old versions of g++.
9452
9453Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9454
9455 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9456 while waiting for `Continuing'.
9457
9458Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9459
9460 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9461 in text, data, and bss.
9462 * gdb.t10/nodebug.c: Add local and global test variables for
9463 initialized and uninitialized data.
9464
9465Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9466
9467 * config/unix-gdb.exp (gdb_exit): Add "wait".
9468
9469Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9470
9471 * gdb.t06/signals.exp: xfail the continue from the handler for all
9472 targets.
9473
9474 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9475 function with watchpoints enabled, the i386 call dummy starts with
9476 a call.
9477
9478 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9479 386 bsd names its corefiles.
9480
9481Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9482
9483 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9484 compilers don't grok it.
9485 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9486 with small octal ints rather than character constants, which
9487 are signed and might not fit if first promoted to int.
9488
9489Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9490
9491 * gdb.t09/Makefile.in (clean): Remove corefile.
9492
9493Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9494
9495 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9496
9497Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9498 and Jim Kingdon (kingdon@cygnus.com)
9499
9500 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9501 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9502 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9503
9504Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9505
9506 * gdb.t17/interrupt.exp: Add xfail for hppa.
9507
9508Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9509
9510 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9511 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9512 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9513 to determine signed-ness of bitfields and use the result to setup
9514 the xfail.
9515 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9516 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9517 call line is reached if necessary.
9518
9519Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9520
9521 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9522
9523Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9524
9525 * gdb.t06/break.exp: Also test `clear' command.
9526
9527Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9528
9529 * gdb.t00/teststrategy.exp: Remove extra quote.
9530
9531 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9532 watchpoint enabled to be for all non-68k machines.
9533
9534 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9535
9536Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9537
9538 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9539 targets use aout.mt instead of ecoff.mt as gas understands
9540 standard aout format.
9541
9542Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9543
9544 * lib/gdb.exp (runto): Don't insist that function we are running to
9545 was compiled with -g.
9546
9547 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9548
9549 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9550 to get back into the read system call.
9551 Accept leading newline in case where we woke it up.
9552
9553Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9554
9555 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9556 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9557 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9558 enable ecoff configuration.
9559
9560Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9561
9562 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9563
9564Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9565
9566 * gdb.t16/printcmds.exp: Add another printf test.
9567
9568Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9569
9570 * configure.in: If configured -with-stabs on any target, add
9571 stabsdirs to configdirs.
9572
9573Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9574
9575 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9576 fun" so pattern does not match the command itself.
9577
9578Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9579
9580 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9581
9582Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9583
9584 * gdb.t17/interrupt.exp: Test for more things.
9585
9586Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9587
9588 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9589 compiler arranges the code and line numbers.
9590
9591 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9592
9593Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9594
9595 * gdb.t00/help.exp: Increase expect input buffer size.
9596
9597Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9598
9599 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9600
9601 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9602
9603 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9604
9605 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9606 [0-9]*, not just [0-9].
9607
9608Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9609
9610 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9611
9612 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9613
9614Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9615
9616 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9617
9618Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9619
9620 * gdb.t06/signals.c: Add xfails for sun3.
9621
9622 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9623
9624 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9625 test_stepping tests.
9626
9627Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9628
9629 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9630
9631 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9632
9633 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9634 rather than actually putting it through cpp twice.
9635
9636 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9637
9638Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9639
9640 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9641 no longer needed.
9642
9643Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9644
9645 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9646
9647 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9648 C++ features prints as "struct", make it a pass, not an xfail.
9649
9650Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9651
9652 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9653 Don't require VA to print as "class" rather than "struct".
9654
9655Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9656
9657 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9658
9659Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9660
9661 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9662
9663Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9664
9665 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9666 order.
9667
9668Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9669
9670 * gdb.t16/printcmds.exp: Add printf tests.
9671
9672 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9673
9674 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9675
9676Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9677
9678 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9679 pass counts, to counteract any existing or future setup_xfails.
9680
9681Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9682
9683 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9684 {BEGIN,END}_COMMON for common block instead of STAB.
9685 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9686
9687 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9688 intp_var should be N_GSYM not N_LSYM.
9689 wierd-aout.S: Use a label for the value of the N_SO.
9690 wierd.def: Remove all backslashes.
9691 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9692
9693Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9694
9695 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9696 get the expected next to inheritance3.
9697
9698Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9699
9700 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9701 now that gcc-2.4 gets it right.
9702
9703Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9704
9705 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9706
9707 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9708 generating comp-info.exp which works for cross-compilation.
9709
9710Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9711
9712 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9713 "*-*-sysv4.*".
9714
9715Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9716
9717 * gdb.t01/run.exp: Start with a fresh gdb.
9718 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9719 SVR4.x.
9720
9721Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9722
9723 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9724 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9725 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9726 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9727 things to remove.
9728
9729Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9730
9731 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9732 test cases from bug reports.
9733
9734Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9735
9736 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9737 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9738 avoid spurious xfails.
9739 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9740 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9741 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9742
9743Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9744
9745 * gdb.t00/teststrategy.exp: Rework to provide more useful
9746 description of each test, fix problem with systems that define
9747 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9748 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9749 results for "next over recursive call" so timeouts aren't taken
9750 by error.
9751
9752Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9753
9754 * gdb.t12/scope.exp: Test printing of variables before run.
9755
9756 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9757 printed in wrong order due to sorting.
9758
9759Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9760
9761 * gdb.t00/teststrategy.exp: Fix expected results for printing
9762 user entered string constant. Is array of char, prints with no
9763 address.
9764
9765 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9766 commands.
9767 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9768 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9769 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9770 of struct of char arrays.
9771 * gdb.t00/radix.exp: New tests for radix commands.
9772
9773Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9774
9775 * gdb.t16/printcmd.exp: Print a variable before running program
9776 (with xfail for AIX).
9777
9778Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9779
9780 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9781
9782 * gdb.t16/printcmd.exp: Don't print variables before running program.
9783
9784 * gdb.t06/break.exp: Don't require envp argument to main.
9785
9786 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9787
9788 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9789 Add xfails for rs6000.
9790
9791 * gdb.t02/whatis.exp: Change other tests not to re-test something
9792 we already tested.
9793
9794 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9795 each type used has a variable of that type.
9796
9797Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9798
9799 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9800
9801Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9802
9803 * configure.in: change srctrigger to be a file, not a directory
9804
9805Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9806
9807 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9808
9809 * gdb.t11/list.exp: Fixed a couple of typos.
9810
9811Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9812
9813 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9814 is fixed and PR is closed.
9815 * gdb.t16 (gdbme.c): Add simple test string variable.
9816 * gdb.t16 (printcmds.exp): Add tests with simple test string
9817 variable, primarily for boundaries on "set print elements".
9818
9819Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9820
9821 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9822 Make leading 0's optional and don't expect a tab in the middle
9823 of the number.
9824
9825 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9826
9827 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9828 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9829 don't end command passed to gdb_test with newline.
9830
9831 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9832 signed keyword away, don't expect signed bitfields to be signed.
9833
9834 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9835 printing with only as many 1's as are in the field as well as printing
9836 with 32 1's (see comment).
9837
9838Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9839
9840 * gdb.t00/default.exp: Start with a fresh gdb.
9841 * configure.in (configdirs): Remove gdb.t31 until the chill
9842 compiler works again. It no longer is able to find chillrt0
9843 since it isn't in libchill.a anymore.
9844 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9845 wierd.o, make more modular.
9846 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9847 spurious newlines that caused problems.
9848
9849Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9850
9851 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9852 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9853 gdb.stabs/wierd.{exp,def}: Many new tests.
9854
9855 * gdb.t00/default.exp: update info line for new message.
9856
9857 * gdb.t02/{whatis.exp,gdbme.c}:
9858 Test that "char *" doesn't print as "caddr_t".
9859
9860Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9861
9862 * gdb.t00/help.exp: Use .* in place of some help messages which
9863 just changed.
9864 gdb.t00/default.exp: Update "info frame" test for new message.
9865 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9866 Remove some xfails
9867
9868Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9869
9870 * gdb.t03/{gdbme.c,ptype.exp}:
9871 Add tests for typedef'd struct and union without tags.
9872 Also check "whatis" on a variable of a typedef'd enum without a tag.
9873
9874 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9875 PRMS 1823; the bug still exists but isn't reproduced by this test
9876 anymore), and remove rs6000 XFAIL (the bug is fixed).
9877
9878 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9879 duplicated from whatis.exp. For those that are left, accept
9880 "long", "long int", or "int" for long variables (whatis.exp already
9881 has an XFAIL for "int", so no need to fail it here).
9882
9883 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9884 Deal with GCC's names for types now that GDB uses the compiler's names.
9885
9886 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9887 setup_xfail's for sunos4. If we #defined the signed keyword away,
9888 don't expect GDB to know that char it is signed.
9889
9890 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9891
9892Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9893
9894 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9895 should work on any system, regardless of debugging format.
9896 * gdb.t21/demangle.exp: Move to gdb.t24.
9897 * gdb.t24/demangle.exp: Move from gdb.t21.
9898 * gdb.t24/{Makefile.in, configure.in}: New files.
9899
9900Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9901
9902 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9903 * gdb.stabs: New directory.
9904
9905Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9906
9907 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9908 not just "Quit anyway?".
9909
9910Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9911
9912 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9913 that all setup_xfails are immediately followed by clear_xfails.
9914
9915Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9916
9917 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9918 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9919 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9920 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9921 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9922 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9923 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9924 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9925 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9926 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9927 gdb.t31/chillvars.exp, lib/gdb.exp:
9928 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9929 bug-gdb@prep.ai.mit.edu.
9930
9931Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9932
9933 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9934 with 0.0, not integer 0.
9935
9936Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9937
9938 * gdb.t06/break.exp: Update for "Kill the program" message change.
9939
9940Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9941
9942 * Makefile.in (GDBFLAGS): Set to -nx.
9943 * Makefile.in (site.exp): Use GDBFLAGS.
9944
9945Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9946
9947 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9948 Makefiles.
9949 (check): depend on just-check.
9950 (just-check): added so that tests can be run without a noop
9951 build pass.
9952
9953Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9954
9955 Switch to using configure's configdirs.
9956 * Makefile.in (Makefile): add configure.in dependency.
9957 (SUBDIRS): removed redundant assignment.
9958 * configure.in: switch subdirs assignment to configdirs.
9959 * gdb.t*/configure.in: new files.
9960
9961Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
9962
9963 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
9964 works.
9965
9966Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
9967
9968 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
9969 in explicit rules. Apparently this is not supported by some makes.
9970
9971Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
9972
9973 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
9974
9975Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9976
9977 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
9978 disappeared.
9979
9980Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
9981
9982 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
9983
9984Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
9985
9986 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
9987 watchpoint problem that is now fixed.
9988 * gdb.t30/chexp.exp: Remove setup_xfail for printing
9989 uninitialized convenience variables.
9990 * gdb.t31/chillvars.exp: Fix expected patterns for printing
9991 structures.
9992
9993Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9994
9995 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
9996 which causes expect to get out of sync with gdb on long output
9997 from help set.
9998 * gdb.t09/corefile.exp: Make expected pattern for core file
9999 failing signal and frame output format less sun specific.
10000
10001Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10002
10003 * gdb.t31/chillvars.exp: Add and remove initial dummy
10004 breakpoint, so that symbol table is forced in.
10005 (Needed at least on Sunos4, though it seems not SVR4.)
10006 * gdb.t31/chillvars.exp: Update for changed output format.
10007
10008Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10009
10010 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10011
10012Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10013
10014 * Makefile.in: Added --srcdir when invoking runtest, removed the
10015 need for a local config file. (optional now)
10016
10017Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10018
10019 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10020 failure count used to force early termination. Add some more
10021 expected failures for gnu style demangling.
10022
10023Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10024
10025 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10026 pmi variable from gdb.t20/gdbme to get optimized away.
10027 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10028 Check for written corefile upon timeout _and_ eof.
10029
10030Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10031
10032 * config/unix-gdb.exp: Add missing return 0.
10033
10034Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10035
10036 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10037 test termination.
10038
10039Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10040
10041 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10042 disappeared.
10043
10044Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10045
10046 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10047 time as i860 support works.
10048
beb998c6 10049 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10050 "backtrace 100\r" rather than just "backtrace\r", to match last
10051 change.
10052
10053Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10054
10055 * config/udi-gdb.exp (gdb_exit): Remove close command.
10056 (gdb_target_udi): New procedure to set the UDI target.
10057 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10058 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10059 Added waits for prompts after several question responses. Added
10060 some more responses used by a29k-amd-udi-gdb.
10061 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10062 pass different arguments, restart UDI connection after program
10063 completion.
10064 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10065 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10066 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10067 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10068 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10069 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10070 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10071 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10072 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10073 after program completion.
10074 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10075 compiled with a SELECT_VECS setting.
10076 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10077 infinite recursion.
10078
10079 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10080 Added checks for COFF results, and made them expected failures for
10081 all targets. It would be better to make them expected failures
10082 for COFF targets only.
10083
10084Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10085
10086 * Makefile.in: add null dvi target, don't bother to recurse
10087 through test directories for info and install-info; rename
10088 $(datadir) to be dejagnu instead of deja-gnu
10089
10090Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10091
10092 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10093 compiler to coredump.
10094 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10095 code.
10096
10097Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10098
10099 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10100 coredump.
10101 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10102 code.
10103
10104Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10105
10106 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10107 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10108 which in a shell. Deletes xgdb when done.
10109 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10110 Tests the return from the "set height" or "set width" commands.
10111 Added a few return codes where needed.
10112
10113Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10114
10115 * Makefile.in (SUBDIRS): Add gdb.t17.
10116 * configure.in (subdirs): Add gdb.t17.
10117 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10118 files to test gdb's calling of functions in the inferior with
10119 the correct arguments and gdb's ability to retrieve any
10120 result returned.
10121
10122Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10123
10124 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10125 may be called after gdb goes away. Previous versions of expect
10126 needed these to avoid file descriptor leaks, but they cause
10127 errors with the current revision of expect.
10128 * gdb.t00/gdbvars.exp: Use -re on expected output after
10129 setting sevenbit-strings.
10130 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10131 to set sevenbit-strings consistent across tests.
10132 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10133 set sevenbit-strings consistent across tests.
10134
10135Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10136
10137 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10138 expected output to match current "expect" expectations.
10139
10140Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10141
10142 * gdb.t00/default.exp: Change expected output for default "source"
10143 command, to match new gdb behavior which requires a filename to
10144 source.
10145
10146Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10147
10148 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10149 expected fail for i486-*-* that misses the marker2 function.
10150 * gdb.t10/crossload.exp (bfddefault): Allow successful
10151 recognition of a format to pass even if no symbols are found.
10152 Explicitly catch failures where the format is not recognized
10153 or is ambiguous, and add the reason to the fail message.
10154 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10155 the cause is and invalid target and add reason to failure message.
10156 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10157 elf32-i386, elf32-sparc, and elf32-i860.
10158 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10159 Set up expected failure for 'filename'::variable scope resolution,
10160 which is now apparently broken on all targets.
10161 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10162 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10163 gdb.t23/templates.exp: Change failure for missing binfile into
10164 just a warning.
10165 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10166 references.
10167
10168Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10169
10170 * gdb.t00/default.exp: Add expected output for default "source"
10171 command, to match new gdb behavior.
10172 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10173
10174Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10175
10176 * config/*-gdb.exp: returns an error, rather than exiting on
10177 internal errors.
10178
10179Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10180
10181 * gdb.t03/gdbme.c: Add pointer to struct variable.
10182 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10183 referencing struct members.
10184
10185Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10186
10187 * configure.in (mips-idt-ecoff): New target.
10188 * config/mips-gdb.exp: New file for remote board using MIPS remote
10189 debugging protocol.
10190
10191 * Redid configuration scheme. Removed gdb.t*/configure.in.
10192 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10193 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10194 distclean targets. Built executables via .o files. Adjusted
10195 tests to account for source files in $(srcdir) rather than
10196 $(objdir).
10197 * lib/gdb.exp (runto): Don't expect () after the function name,
10198 because it may have arguments.
10199
10200Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10201
10202 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10203 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10204 expected failures for mips-idt-* and mips-sgi-*.
10205 * gdb.t00/default.exp (attach): Kill process if requested.
10206 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10207 that does not read core files.
10208 * gdb.t01/run.exp: Removed checks for exit status code.
10209 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10210 it is linked in.
10211 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10212 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10213 appropriate, rather than doing it by hand.
10214 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10215 execution.
10216 * gdb.t10/crossload.exp: Kill existing program if needed.
10217 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10218 appropriate, rather than doing it by hand. Always increase
10219 timeout for this test, not just for VxWorks.
10220
10221Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10222
10223 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10224 of Chill STRUCT types and STRUCT values.
10225 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10226 than "char".
10227 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10228 struct2): New struct definitions and initializations to test
c906108c
SS
10229 simple Chill STRUCT types.
10230
10231Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10232
10233 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10234 the null byte at the end of strings.
10235 * gdb.t00/default.exp: Make show version insensitive to copyright
10236 date.
10237 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10238 to avoid dependencies on target char signedness.
10239 * gdb.t16/printcmds.exp: Update expected results for explicitly
10240 unsigned char.
10241 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10242 now work.
10243 * gdb.t21/demangle.exp: Add many more patterns for template
10244 demangling, most of them being expected failures.
10245 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10246 string we are matching for, to match on the whole string.
10247 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10248 and fix a whole bunch that had incorrect expected output but were
10249 passing anyway because of the bug in "proc demangle".
10250 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10251 type.
10252 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10253
10254Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10255
10256 * gdb/testsuite: made modifications to testcases, etc., to allow
10257 them to work properly given the reorganization of deja-gnu and the
10258 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10259
10260Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10261
10262 * gdb/testsuite: Initial creation of gdb/testsuite.
10263 Migrated dejagnu testcases and support files for testing nm to
10264 gdb/testsuite from deja-gnu. These files were moved "as is"
10265 with no modifications. This migration is part of a major overhaul
10266 of dejagnu. The modifications to these testcases, etc., which
10267 will allow them to work with the new version of dejagnu will be
10268 made in a future update.
10269\f
10270Local Variables:
10271mode: indented-text
10272left-margin: 8
10273fill-column: 74
10274version-control: never
10275End:
This page took 1.094485 seconds and 4 git commands to generate.