2003-06-14 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
CommitLineData
b257a0d3
AC
12003-06-14 Andrew Cagney <cagney@redhat.com>
2
3 * gdb.base/fileio.c: Include <errno.h>, and <sys/wait.h>. Gag
4 -Wformat errors. Add lost line. Use WEXITSTATUS to get system
5 exit status.
6 * gdb.base/fileio.exp: Disable target when nointerrupts and
7 noinferiorio, instead of limiting it to remote. Use remote_exec
8 instead of system.
9
10
21c38304
JJ
112003-06-12 Jeff Johnston <jjohnstn@redhat.com>
12
13 * gdb.base/float.exp: Add ia64 support.
14
1bcdb424
CV
152003-06-12 Corinna Vinschen <vinschen@redhat.com>
16
17 * gdb.base/fileio.exp: Run only on remote targets.
18
6aeb981f
CV
192003-06-10 Corinna Vinschen <vinschen@redhat.com>
20
21 * gdb.base/fileio.c: New file, testing File-I/O.
22 * gdb.base/fileio.exp: Ditto.
23
53df362e
RG
242003-06-09 Raoul Gough <RaoulGough@yahoo.co.uk>
25
26 * gdb.base/shreloc.exp: New file, check symbol values obtained from
27 shared objects after relocation at load time (gdb PR/1132).
28 * gdb.base/shreloc.c, gdb.base/shreloc1.c, gdb.base/shreloc2.c:
29 as above, part of the shared object relocation test.
30
ffee1b46
MK
312003-06-08 Mark Kettenis <kettenis@gnu.org>
32
b5ca3722
MK
33 * gdb.base/readline.exp: Add tests for operate-and-get-next with a
34 fully filled history list.
35 * gdb.base/gdb_history: New file.
36
03ed860d
MK
37 * gdb.base/signals.exp: XFAIL "continue to func1" on
38 i*86-*-freebsd*.
39
ffee1b46
MK
40 * gdb.base/attach.exp: When trying to attach to a nonexistent
41 process, make it possible to specify the PID based on the target,
42 and do so for *-*-freebsd*.
43
d80dbb52
RH
442003-06-02 Richard Henderson <rth@redhat.com>
45
46 * gdb.base/float.exp: Add expected regexp for alpha-*-*.
47
6dd77b81
RH
482003-06-02 Richard Henderson <rth@redhat.com>
49
50 * gdb.base/selftest.exp: Next over lim_at_start initialization.
51
f6347e16
RH
522003-06-02 Richard Henderson <rth@redhat.com>
53
54 * gdb.base/dump.exp [alpha*-*-*]: Add -taso linker switch.
55
2c161407
DJ
562003-06-01 Daniel Jacobowitz <drow@mvista.com>
57
58 * gdb.asm/asm-source.exp: Dissassemble from &globalvar instead
59 of globalvar.
60
572eb746
MK
612003-06-01 Mark Kettenis <kettenis@gnu.org>
62
63 * gdb.asm/asm-source.exp: Check for memory read errors in
64 disassembler test on *BSD too.
65
9e9617a5
RH
662003-06-01 Richard Henderson <rth@redhat.com>
67
68 * gdb.asm/alpha.inc (gdbasm_enter): Use numeric register names
69 for .frame.
70 (gdbasm_call): Lose ldgp.
71 (gdbasm_startup): Add frame information.
72 * gdb.asm/asm-source.exp (alpha*-*): Add -no-mdebug to asm-flags.
73
7b34ad4e
MK
742003-05-31 Mark Kettenis <kettenis@gnu.org>
75
76 * gdb.base/float.exp: Expect similar output for x86_64-*-* as for
77 i?86-*-*.
78
10059fdf
MK
792003-05-30 Mark Kettenis <kettenis@gnu.org>
80
81 * gdb.asm/asm-source.exp: Make sure the final link succeeds on
82 FreeBSD.
83
acf4b816
RH
842003-05-29 Richard Henderson <rth@redhat.com>
85
86 * gdb.asm/alpha.inc: New file.
87 * gdb.asm/asm-source.exp: Use it.
88
e9ecd949
JB
892003-05-29 Jim Blandy <jimb@redhat.com>
90
91 * gdb.base/corefile.exp: Find corefiles on Linux, which names them
92 'core.PID'.
93
e3e5a4f3
JB
942003-05-22 Jim Blandy <jimb@redhat.com>
95
96 * gdb.base/corefile.exp: Tolerate stuff after argument parens in
97 backtrace.
98
72fe3d25
DC
992003-05-20 David Carlton <carlton@math.stanford.edu>
100
101 * gdb.c++/namespace1.cc: Actually do 'cvs add' before committing
102 this time.
103
58da2eb2
DC
1042003-05-19 David Carlton <carlton@bactrian.org>
105
106 * gdb.c++/rtti.exp: New file, containing tests for PR c++/488.
107 * gdb.c++/rtti.h, gdb.c++/rtti1.cc, gdb.c++/rtti2.cc: Ditto.
108
1fcb5155
DC
1092003-05-19 David Carlton <carlton@bactrian.org>
110
111 * gdb.c++/namespace.exp: Add namespace scope and anonymous
112 namespace tests.
113 Bump copyright date.
114 * gdb.c++/namespace.cc: Add anonymous namespace and namespace C.
115 (main): Call C::D::marker2.
116 * gdb.c++/namespace1.cc: New file.
117
85e85163
JJ
1182003-05-14 Jeff Johnston <jjohnstn@redhat.com>
119
120 Roland McGrath <roland@redhat.com>
121 * gdb.threads/linux-dp.exp: Account for fact that in nptl model
122 there is no manager thread.
123
a25fbfec
JJ
1242003-05-08 Jeff Johnston <jjohnstn@redhat.com>
125
126 * gdb.threads/schedlock.exp: Remove assumption that all threads
127 will run in a particular small time slice. Also ensure we break
128 in one of the child threads rather than the main thread.
129
be375bae
JB
1302003-05-07 Jim Blandy <jimb@redhat.com>
131
09bf6082
JB
132 Add support for assembly source testing on the s390x.
133 * gdb.asm/asm-source.exp: Add a case for the s390x-*-*
134 architecture.
135 * gdb.asm/s390x.inc: New file.
136
be375bae
JB
137 * gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
138 succession of 'if' statements.
139
00905d52
AC
1402003-05-05 Andrew Cagney <cagney@redhat.com>
141
142 * gdb.base/maint.exp: Add tests for "maint print dummy-frames".
143
b1e29e33
AC
1442003-05-05 Andrew Cagney <cagney@redhat.com>
145
146 * gdb.base/watchpoint.exp: Rename CALL_DUMMY_BREAKPOINT_OFFSET to
147 DEPRECATED_CALL_DUMMY_BREAKPOINT_OFFSET in comments.
148
e33d66ec
EZ
1492003-05-02 Elena Zannoni <ezannoni@redhat.com>
150
151 * gdb.base/charset.exp: Update based on new behavior of set/show
152 charset commands.
153
2b6fd0d8
AC
1542003-05-01 Andrew Cagney <cagney@redhat.com>
155
156 * gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
157 variable do not give memory errors.
158
130cacce
AF
1592003-04-30 Adam Fedor <fedor@gnu.org>
160
161 * Makefile.in (ALL_SUBDIRS): Add gdb.objc
162 * configure.in (AC_OUTPUT): Add gdb.objc/Makefile
163 * gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
164 gdb.objc/basicclass.m: : New files
165
166 * lib/gdb.exp (gdb_compile_objc): New procedure.
167
bea71854
DJ
1682003-04-27 Daniel Jacobowitz <drow@mvista.com>
169
170 * gdb.base/signals.exp: Make backtrace tests more specific.
171
0f20eeea
DC
1722003-04-23 David Carlton <carlton@bactrian.org>
173
174 * gdb.c++/maint.exp (test_first_component): Add tests for
175 'operator' in more locations.
176
c8c4d8dc
KB
1772003-04-16 Kevin Buettner <kevinb@redhat.com>
178
179 * gdb.base/args.exp: Invoke gdb_load for simulator targets.
180
3fe60e3c
EZ
1812003-04-16 Elena Zannoni <ezannoni@redhat.com>
182
183 * gdb.base/completion.exp: Make 'info func mark' complete on 'info
184 func marke' instead. Update test name.
185
9219021c
DC
1862003-04-15 David Carlton <carlton@math.stanford.edu>
187
188 * gdb.c++/maint.exp: New file.
189
5dd55bdd
EZ
1902003-04-14 Elena Zannoni <ezannoni@redhat.com>
191
192 * gdb.threads/schedlock.c: Change type of thread function argument
193 to long, to avoid warnings on 64-bit platforms.
194
00890572
EZ
1952003-04-14 Elena Zannoni <ezannoni@redhat.com>
196
197 * gdb.base/attach.exp: Add new message from ptrace in case of
198 attaching to nonexistent process.
199
93201743
JB
2002003-04-11 Jim Blandy <jimb@redhat.com>
201
202 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
203 gdb.c++/userdef.cc: Place comments on the lines to which the
204 marker function might return.
205 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
206 gdb.c++/userdef.exp: Look for those comments to check that we've
207 returned to the right place, instead of checking line numbers.
208
2a11c64d
EZ
2092003-04-11 Elena Zannoni <ezannoni@redhat.com>
210
211 * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
212 match on sourcefile name, instead of directory name.
213
68ab8fc5
EZ
2142003-04-10 Elena Zannoni <ezannoni@redhat.com>
215
216 * gdb.base/completion.exp: Use string_to_regexp to match the
217 working directory name.
218
5624293a
JB
2192003-04-09 Jim Blandy <jimb@redhat.com>
220
221 * gdb.c++/derivation.exp, gdb.c++/overload.exp,
222 gdb.c++/userdef.exp: If GDB fails to restore the selected frame
223 after an inferior function call, report the failure, but allow the
224 test to continue.
225
f1f02ee4
SC
2262003-04-05 Stephane Carrez <stcarrez@nerim.fr>
227
228 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
229 with -DPROTOTYPES.
230
6eb79af0
SC
2312003-04-05 Stephane Carrez <stcarrez@nerim.fr>
232
233 * gdb.base/break.exp: Revert last patch.
234
8dfb4cf0
SC
2352003-04-04 Stephane Carrez <stcarrez@nerim.fr>
236
237 * gdb.base/break.exp: marker4() is defined at line 46 when compiled
238 with -DPROTOTYPES.
239
ed4c619a
AC
2402003-04-02 Andrew Cagney <cagney@redhat.com>
241
242 * gdb.base/callfuncs.exp: Make "print add" messages unique.
243 * gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
244 matching directories by the name breakpoint.
245 * gdb.base/pointers.exp: Make "ptype pppC" message consistent.
246 Make "continue to marker1" consistent.
247 * gdb.base/call-rt-st.exp: Make "finish out from loop_count"
248 message consistent.
249 * lib/gdb.exp: Put "the program is no longer running", and "the
250 program exited" in parenthesis.
251 * lib/mi-support.exp: Ditto.
252
4e35d5f0
BR
2532003-04-02 Bob Rossi <bob_rossi@cox.net>
254
255 * gdb.mi/mi-file.exp: New file for -file-list-exec-source-file.
256
71900fe8
AC
2572003-03-29 Andrew Cagney <cagney@redhat.com>
258
259 * gdb.base/sizeof.c (main): Print the value of '\377'.
260 * gdb.base/sizeof.exp: Check the sign of '\377'.
261
c0655a16
MC
2622003-03-27 Michael Chastain <mec@shout.net>
263
264 * gdb.base/gdb1090.exp: New file.
265 * gdb.base/gdb1090.cc: New file.
266
5b2a3989
JB
2672003-03-27 J. Brobecker <brobecker@gnat.com>
268
269 * gdb.gdb/observer.exp: New regression test.
270
79876890
MC
2712003-03-27 Michael Chastain <mec@shout.net>
272
273 * gdb.base/list.exp: Remove setup_xfail_format for DWARF 1.
274 * gdb.base/ptype.exp: Likewise.
275
6eac95e3
CV
2762003-03-27 Corinna Vinschen <vinschen@redhat.com>
277
278 * gdb.c++/casts.exp: Fix startup to run also on embedded targets.
279
e8c71839
MC
2802003-03-26 Michael Chastain <mec@shout.net>
281
282 * gdb.base/ptype.exp: Actually use some typedef'd types.
283
71b10041
SC
2842003-03-21 Stephane Carrez <stcarrez@nerim.fr>
285
286 * gdb.asm/asm-source.exp: Set asm-arch for m6811 and m6812.
287 * gdb.asm/m68hc11.inc: New file for HC11/HC12 macros.
288
2512cf80
CV
2892003-03-20 Corinna Vinschen <vinschen@redhat.com>
290
291 * gdb.base/default.exp: Fix regular expression.
292
0d195a4f
CV
2932003-03-20 Corinna Vinschen <vinschen@redhat.com>
294
295 * gdb.base/args.exp: Fix regular expression.
296
8a2dbca8
CV
2972003-03-20 Corinna Vinschen <vinschen@redhat.com>
298
299 * gdb.base/help.exp: Allow Win32 child process.
300
bf028682
CV
3012003-03-20 Corinna Vinschen <vinschen@redhat.com>
302
303 * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
304 when stepping out of main().
305
182dbe85
CV
3062003-03-20 Corinna Vinschen <vinschen@redhat.com>
307
308 * gdb.base/default.exp: Check for win32 specific message when calling
309 "run" without executable.
310
d67a6ba5
CV
3112003-03-20 Corinna Vinschen <vinschen@redhat.com>
312
313 * gdb.base/args.exp: Expect .exe in output.
314
a955b5bb
CV
3152003-03-20 Corinna Vinschen <vinschen@redhat.com>
316
317 * gdb.asm/asm-source.exp: Add appropriate --entry linker flag for
318 Cygwin native.
319
bf6bad4b
AC
3202003-03-17 Andrew Cagney <cagney@redhat.com>
321
322 From Elena Zannoni <ezannoni@redhat.com>. Test e500 abi and
323 vector registes.
324 * gdb.arch/e500-regs.c, gdb.arch/e500-regs.exp: New files.
325 * gdb.arch/e500-abi.c, gdb.arch/e500-abi.exp: New files.
326
293e9a31
DC
3272003-03-17 David Carlton <carlton@math.stanford.edu>
328
329 * gdb.base/watchpoint.exp (test_watchpoint_and_breakpoint): New
330 test, for PR breakpoints/38.
331 Call test_watchpoint_and_breakpoint.
332 * gdb.base/watchpoint.c (func3): New function.
333 (main): Call func3.
334
5330f2db
DC
3352003-03-04 David Carlton <carlton@math.stanford.edu>
336
337 * gdb.c++/templates.exp (do_tests): Accept valid const in "print
338 Garply<Garply<char> >:: garply".
339 (test_ptype_of_templates): KFAIL "ptype T5<int>" and "ptype t5i"
340 with respect to PR c++/1111; note also PR c++/1113.
341 (test_template_breakpoints): KFAIL "constructor breakpoint" with
342 respect to PR c++/1062.
343 KFAIL "destructor breakpoint" with respect to PR c++/1112.
344
6ece72da
DC
3452003-03-03 David Carlton <carlton@math.stanford.edu>
346
347 * gdb.c++/classes.exp (test_enums): KFAIL "ptype obj_with_enum"
348 with respect to PR c++/57.
349 KFAIL "print (ClassWithEnum::PrivEnum) 42" with respect to PR
350 c++/826.
351 Create "print ('ClassWithEnum::PrivEnum') 42"; KFAIL it with
352 respect to PR c++/57.
353
85ca1584
DC
3542003-03-03 David Carlton <carlton@math.stanford.edu>
355
356 * gdb.c++/templates.exp (do_tests): Convert the KFAILs with
357 respect to PR c++/33 into FAILs.
358
98e9c5b8
MC
3592003-03-03 Michael Chastain <mec@shout.net>
360
7bedbf27
MC
361 * configure.in: Update copyright years.
362
3632003-03-03 Michael Chastain <mec@shout.net>
364
365 * Makefile.in: Update copyright years.
98e9c5b8 366
f683e100
DC
3672003-02-28 David Carlton <carlton@math.stanford.edu>
368
369 * gdb.c++/classes.exp (test_ptype_class_objects): Accept it if we
370 print class instead of struct and/or superfluous protection
371 specifiers, as long as the resulting output is equivalent to the
372 source code.
373 Delete FIXME from end of messages on tests that don't need
374 fixing.
375
a9e0cf2c
DC
3762003-02-28 David Carlton <carlton@math.stanford.edu>
377
378 * gdb.c++/templates.exp (do_tests): Allow const in the two
379 Foo<volatile char *>::foo tests.
380
e8d359df
MS
3812003-02-27 Michael Snyder <msnyder@redhat.com>
382
383 * gdb.base/restore.c (main): Return zero, so exit code
384 will be consistant.
385
0b71dc91
DC
3862003-02-26 David Carlton <carlton@math.stanford.edu>
387
388 * gdb.c++/templates.exp (do_tests): KFAIL the "print Foo<volatile
389 char *>::foo" test with respect to PR c++/33. Create a new test
390 which is identical to that one except that it doesn't put the
391 space between the "char" and the "*"; KFAIL it, too.
392
dd14ab43
DC
3932003-02-26 David Carlton <carlton@math.stanford.edu>
394
395 * gdb.c++/templates.exp (do_tests): Convert XFAILs about printing
396 template types into either PASSes or KFAILs (corresponding to PR
397 c++/57). Tweak indentation. Update copyright.
398
1146c7f1
SC
3992003-02-23 Stephane Carrez <stcarrez@nerim.fr>
400
401 * lib/gdb.exp: Don't execute C++ tests on m6811/m6812 targets.
402
74641dfb
MC
4032003-02-13 Michael Chastain <mec@shout.net>
404
405 * gdb.base/exprs.exp: Remove i960 remnants.
406 * gdb.base/funcargs.exp: Likewise.
407 * gdb.base/list.exp: Likewise.
408 * gdb.base/ptype.exp: Likewise.
409
559cd2d0
DC
4102003-02-14 David Carlton <carlton@math.stanford.edu>
411
412 * gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
413 pEe->D::vg()" from XFAIL to KFAIL.
414
c4f90d87
JM
4152003-02-13 Jason Molenda (jmolenda@apple.com)
416
417 * gdb.base/maint.exp: Update maint print statistics regexp to include
418 new entries.
419
cbc4d97c
MC
4202003-02-13 Michael Chastain <mec@shout.net>
421
422 * gdb.c++/inherit.exp: Remove call to get_debug_format.
423
40f235b7
MC
4242003-02-12 Michael Chastain <mec@shout.net>
425
426 * gdb.c++/classes.exp: Remove setup_xfail_format for DWARF 1.
427 * gdb.c++/inherit.exp: Likewise.
428 * gdb.c++/cplusfuncs.exp: Remove suppression logic for DWARF 1.
429 * gdb.c++/templates.exp: Likewise.
430 * gdb.c++/virtfunc.exp: Likewise.
431
c56716b0
JM
4322003-02-06 Jason Molenda (jason-cl@molenda.com)
433
434 * gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
435 why the code is written that way.
436
070afcf8
MC
4372003-02-05 Michael Chastain <mec@shout.net>
438
439 * gdb.base/dump.exp: Add missing copyright line.
440
5d0331e5
JM
4412003-02-05 Jason Molenda (jason-cl@molenda.com)
442
f7ae6d3e 443 * gdb.mi/mi-syn-frame.c (subroutine): Add an extra statement
5d0331e5
JM
444 at the beginning so the breakpoint doesn't get set on the loop.
445
92851186
MC
4462003-02-05 Michael Chastain <mec@shout.net>
447
448 * gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
449 output for configurations with gcc 2.95.3.
450
cbf1e085
AC
4512003-02-05 Keith Seitz <keiths@redhat.com>
452 Andrew Cagney <ac131313@redhat.com>
453
454 * gdb.mi/mi-cli.exp: New file.
455
29518e1e
MC
4562003-02-04 Michael Chastain <mec@shout.net>
457
458 * gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
459 Call perror and then continue.
460
5af1d5f3
MC
4612003-02-03 Michael Chastain <mec@shout.net>
462
463 * gdb.c++/pr-1023.cc: New file.
464 * gdb.c++/pr-1023.exp: New file.
465
6b549786
JB
4662003-02-05 Jim Blandy <jimb@redhat.com>
467
468 * gdb.c++/local.exp: Don't expect Local to be in scope in main;
469 it's local to foobar. Check for it there, and check that it's not
470 present in main.
471 * gdb.c++/local.cc (marker2): New function.
472 (foobar): Call marker1.
473 (main): Call marker2 instead of marker1.
474
67f16606
AC
4752003-02-04 Andrew Cagney <ac131313@redhat.com>
476
477 * gdb.disasm/mn10200.exp: Obsolete file.
478 * gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
479 * gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
480 * gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.
481
1c5cb38e
DC
4822003-02-04 David Carlton <carlton@math.stanford.edu>
483
484 * gdb.c++/overload.exp: Test intToChar(1).
485 * gdb.c++/overload.cc (intToChar): New.
486 (main): Call intToChar.
487
d1fe6965
DC
4882003-02-03 David Carlton <carlton@math.stanford.edu>
489
490 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
491 'might_kfail' arg.
492 KFAIL some of the continue_to_bp_overloaded calls, according to
493 PR c++/1025.
494
9ba61c5d
MC
4952003-02-01 Michael Chastain <mec@shout.net>
496
497 * gdb.base/advance.c (marker1): New marker function.
498 * gdb.base/advance.exp: When the 'advance' command lands on the
499 return breakpoint, it can legitimately stop on either the
500 current line or the next line. Accommodate both outcomes.
501 * gdb.base/until.exp: Likewise.
502
e7494ffb
AC
5032003-02-02 Andrew Cagney <ac131313@redhat.com>
504
505 2002-11-10 Jason Molenda (jason-cl@molenda.com):
506 * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
507 now a list, not a tuple.
508 * gdb.mi/mi-var-display.exp: Ditto.
509 * gdb.mi/gdb792.exp: Ditto.
510
075559bc
AC
5112003-02-01 Andrew Cagney <ac131313@redhat.com>
512
513 From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
514 * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
515 stack backtraces.
516 * gdb.mi/mi-syn-frame.c: Part of same.
517
2bd4c7b1
MK
5182003-02-01 Mark Kettenis <kettenis@gnu.org>
519
520 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
521 gdb.mi/mi1-pthreads.exp: Return instead of calling
522 gdb_suppress_entire_file.
523
eabd8992
MS
5242003-02-01 Mark Salter <msalter@redhat.com>
525
526 * gdb.asm/arm.inc (gdbasm_startup): Clear frame pointer, not sp.
527
71469e2f
MS
5282003-01-31 Mark Salter <msalter@redhat.com>
529
530 * lib/mi-support.exp (mi_gdb_load): Support remote targets.
531 Support empty arg.
532
38a94d44
MC
5332003-01-30 Michael Chastain <mec@shout.net>
534
535 * lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
536 This was a workaround for a UTF-8 bug in readline 4.3. The bug
537 has been fixed in gdb/readline on 2003-01-09.
538
19ea9e73
MS
5392003-01-29 Michael Snyder <msnyder@redhat.com>
540
e8d359df
MS
541 * gdb.base/maint.exp: Allow for leading underscore in symbol.
542 * gdb.base/display.exp: Allow for leading underscore in symbol.
19ea9e73
MS
543 * gdb.base/args.exp: Skip if target does not support args passing.
544
2307bd6a
DJ
5452003-01-22 Daniel Jacobowitz <drow@mvista.com>
546
19ea9e73 547 * lib/gdb.exp (gdb_test_multiple): New function, cloned from
2307bd6a
DJ
548 gdb_test. Accept a list of expect arguments as the third
549 parameter.
550 (gdb_test): Use it.
551
f2dd3617
EZ
5522003-01-20 Elena Zannoni <ezannoni@redhat.com>
553
554 * gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
555 allow for different test tree configurations. Update some
556 tescases accordingly.
557 * gdb.arch/altivec-regs.exp: Ditto.
558 * gdb.asm/asm-source.exp: Ditto.
559 * gdb.base/advance.exp: Ditto.
560 * gdb.base/display.exp: Ditto.
561 * gdb.base/long_long.exp: Ditto.
562 * gdb.base/mips_pro.exp: Ditto.
563 * gdb.base/overlays.exp: Ditto.
564 * gdb.base/relocate.exp: Ditto.
565 * gdb.base/setshow.exp: Ditto.
566 * gdb.base/step-line.exp: Ditto.
567 * gdb.base/step-test.exp: Ditto.
568 * gdb.base/until.exp: Ditto.
569 * gdb.c++/virtfunc.exp: Get rid of variable 'src'.
570
c71cdefd
DC
5712003-01-17 David Carlton <carlton@math.stanford.edu>
572
573 * gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
574 corresponding to PR c++/945.
575 Update copyright.
576
fdba05d7
DC
5772003-01-17 David Carlton <carlton@math.stanford.edu>
578
579 * gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
580 corresponding to PR c++/68.
581
5822003-01-17 David Carlton <carlton@math.stanford.edu>
d2b29e01
DC
583
584 * gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
585 (test_paddr_hairy_functions): Call print_addr_2_kfail for
586 hairyfunc5 through hairyfunc7. KFAIL for PR c++/19.
587
c362c33a
EZ
5882003-01-15 Elena Zannoni <ezannoni@redhat.com>
589
0fbc361c
EZ
590 * gdb.base/break.exp: Fix change of default location, because of
591 removal of until tests.
592 * gdb.base/help.exp: Update test for new 'until' help message.
593 Add test for help on 'advance'.
c362c33a
EZ
594 * gdb.base/args.exp: Fix foobar with GDBFLAGS global.
595
dabf8a35
MK
5962003-01-15 Mark Kettenis <kettenis@gnu.org>
597
598 * gdb.base/default.exp: Adapt "info float" test for recent changes
599 to that command. Add test for "info vector".
600 * gdb.base/float.exp: New file. Add test for "info float" that
601 resembles the old test in gdb.base/default.exp.
602
a1769aca
DC
6032003-01-15 David Carlton <carlton@math.stanford.edu>
604
605 * gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.
606
82025e13
EZ
6072003-01-15 Elena Zannoni <ezannoni@redhat.com>
608
609 * gdb.base/break.exp: Move the tests of until command from here...
610 * gdb.base/until.exp: ... to here. New file. Add other tests.
611 * gdb.base/advance.c: New file.
612 * gdb.base/advance.exp: New file.
613
8f9ab801
EZ
6142003-01-14 Elena Zannoni <ezannoni@redhat.com>
615
616 * gdb.base/args.c: New file.
617 * gdb.base/args.exp: New file.
618
9ae66589
DJ
6192003-01-14 Daniel Jacobowitz <drow@mvista.com>
620
621 * gdb.c++/virtfunc.exp: Remove fixed XFAIL.
622
8d77e5c3
DJ
6232003-01-14 Daniel Jacobowitz <drow@mvista.com>
624
625 * gdb.threads/killed.exp: Use KFAIL for gdb/568.
626
12d2f0a1
DJ
6272003-01-14 Daniel Jacobowitz <drow@mvista.com>
628
629 * gdb.base/constvars.exp: Remove two extra XFAILs. Update copyright
630 dates.
631
6ca37014
DJ
6322003-01-13 Daniel Jacobowitz <drow@mvista.com>
633
634 * gdb.c++/printmethod.exp (print virtual method): Accept "(void)".
635
b0023472
DJ
6362003-01-13 Daniel Jacobowitz <drow@mvista.com>
637
638 * gdb.base/printcmds.exp: Enable setup_kfail for gdb/538
639 (ptype &*"foo").
640 * gdb.c++/local.exp: Enable setup_kfail for gdb/482.
641
d6abaea5
DJ
6422002-01-13 Daniel Jacobowitz <drow@mvista.com>
643
644 * gdb.mi/mi-console.exp: Remove extra "(known bug)".
645 * gdb.mi/mi1-console.exp: Likewise.
646
dfd536a7
DJ
6472002-01-13 Daniel Jacobowitz <drow@mvista.com>
648
649 * gdb.mi/mi-console.exp: Add KFAIL for "Hello message (known bug)".
650 * gdb.mi/mi1-console.exp: Likewise.
651
a1fb14a2
DJ
6522003-01-13 Daniel Jacobowitz <drow@mvista.com>
653
654 * gdb.c++/overload.exp: Remove some fixed XFAILs.
655
c4cf40b7
DJ
6562003-01-09 Daniel Jacobowitz <drow@mvista.com>
657
658 * gdb.base/detach.exp: New test.
659
696d5a5b
DJ
6602003-01-09 Daniel Jacobowitz <drow@mvista.com>
661
662 * Makefile.in (ALL_SUBDIRS): New variable.
663 (subdirs, clean, distclean): Use it.
664 * gdb.arch/Makefile.in: Clean up Makefile. Remove rules for
665 regenerating Makefile, since it is generated from the top level.
666 * gdb.asm/Makefile.in: Likewise.
667 * gdb.base/Makefile.in: Likewise.
668 * gdb.c++/Makefile.in: Likewise.
669 * gdb.disasm/Makefile.in: Likewise.
670 * gdb.java/Makefile.in: Likewise.
671 * gdb.mi/Makefile.in: Likewise.
672 * gdb.threads/Makefile.in: Likewise.
673 * gdb.trace/Makefile.in: Likewise.
674
754533e4
DC
6752003-01-09 David Carlton <carlton@math.stanford.edu>
676
677 * gdb.c++/annota2.exp: KFAIL "watch triggered on a.x".
678 Add copyright year 2003.
679
d8b3e9ee
MC
6802003-01-06 Michael Chastain <mec@shout.net>
681
682 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set):
683 When selecting a thread, 'line' and 'file' are optional.
684 * gdb.mi/mi1-pthreads.exp: Likewise.
685
8e9e0fe6
AS
6862003-01-06 Andreas Schwab <schwab@suse.de>
687
688 * lib/gdb.exp: Set LC_ALL to "C" to avoid spurious testsuite
689 failures.
690
b5ab8ff3
DJ
6912003-01-04 Daniel Jacobowitz <drow@mvista.com>
692
693 Fix PR gdb/844
694 * lib/gdb.exp (gdb_compile): Handle "quiet" option.
695 (gdb_compile_pthreads): Pass "quiet" to gdb_compile.
696
697 * gdb.threads/gcore-thread.exp: Use gdb_compile_pthreads. Return
698 instead of calling gdb_suppress_entire_file.
699 * gdb.threads/print-threads.exp: Likewise.
700 * gdb.threads/schedlock.exp: Likewise.
701
702 * gdb.threads/killed.exp: Return instead of calling
703 gdb_suppress_entire_file.
704 * gdb.threads/linux-dp.exp: Likewise.
705 * gdb.threads/pthreads.exp: Likewise.
706
1e698235
DJ
7072003-01-04 Daniel Jacobowitz <drow@mvista.com>
708
709 * gdb.base/callfuncs.exp: Don't XFAIL unprototyped functions for
710 stabs.
711 * gdb.base/completion.exp: Allow marker1(void) as well as marker1().
712 * gdb.base/whatis.exp: Always allow (void) after function names.
713
147ff08c
DJ
7142003-01-04 Daniel Jacobowitz <drow@mvista.com>
715
716 * gdb.c++/casts.exp: Correct regexp.
717
dc62bfc2
MK
7182003-01-04 Mark Kettenis <kettenis@gnu.org>
719
720 * configure.in: Call AC_CONFIG_HEADER. Don't call
721 AC_CONFIG_SUBDIRS on gdb.arch, gdb.asm, gdb.base gdb.c++ gdb.java,
722 gdb.disasm, gdb.mi, gdb.threads and gdb.trace. Call
723 AC_CHECK_HEADERS on pthread.h. Put Makefiles in the
724 aforementioned directories in the AC_OUPUT call.
725 * config.hin: New file.
726 * gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
727 gdb.mi/mi1-pthreads.exp, gdb.threads/gcore-thread.exp,
728 gdb.threads/killed.exp, gdb.threads/print-threads.exp,
729 gdb.threads/pthreads.exp, gdb.threads/schedlock.exp: Make sure we
730 pass -I$objdir instead of -I$objdir/$subdir in compilation.
731 * gdb.arch/configure.in, gdb.arch/configure, gdb.asm/configure.in,
732 gdb.asm/configure, gdb.base/configure.in, gdb.base/configure,
733 gdb.c++/configure.in, gdb.c++/configure, gdb.disasm/configure.in,
734 gdb.disasm/configure, gdb.java/configure.in, gdb.java/configure,
735 gdb.mi/configure.in, gdb.mi/configure, gdb.mi/config.in,
736 gdb.threads/configure.in, gdb.threads/configure,
737 gdb.threads/config.in, gdb.trace/configure.in,
738 gdb.trace/configure: Removed.
739
77afa639
MC
7402003-01-03 Michael Chastain <mec@shout.net>
741
742 * gdb.base/miscexprs.c: Fix PR gdb/697, "buglet in
743 testsuite/gdb.base/miscexprs.c, off-by-1 array reference".
744
7634bb6e
DJ
7452003-01-03 Daniel Jacobowitz <drow@mvista.com>
746
747 * gdb.base/store.exp: Fix regular expressions.
748
b39c905e
MK
7492002-12-28 Mark Kettenis <kettenis@gnu.org>
750
751 * configure.in: Rewrite.
752 * configure: Regenerated.
753
0a8551dd
DC
7542003-01-03 David Carlton <carlton@math.stanford.edu>
755
756 * gdb.base/psymtab.exp: New file.
757 * gdb.base/psymtab1.c: Ditto.
758 * gdb.base/psymtab2.c: Ditto.
759
c60b7188
AF
7602002-12-23 Adam Fedor <fedor@gnu.org>
761
762 * gdb.base/maint.exp: Update expect output to include 'ObjC'.
763
ee73db83
DC
7642002-12-23 David Carlton <carlton@math.stanford.edu>
765
766 * gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace
767 and current_directory initialization.
768
d6c1774e
JB
7692002-12-22 Jim Blandy <jimb@redhat.com>
770
f0a847b8
JB
771 * gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,
772 rather than as part of the output file name.
773
d6c1774e
JB
774 * gdb.base/attach.exp: There's no need to copy the test program to
775 /tmp; that was only ever necessary on HP/UX, and this test is
776 entirely disabled there anyway.
777
f0708dbb
JB
7782002-12-21 Jim Blandy <jimb@redhat.com>
779
4c2acfea
JB
780 * gdb.c++/psmang.exp: Doc fix.
781
f0708dbb
JB
782 * gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: New
783 test.
784
9579e000
DC
7852002-12-20 David Carlton <carlton@math.stanford.edu>
786
787 * gdb.c++/annota2.exp: KFAIL annotate-quit.
788
d1810171
MC
7892002-12-18 Michael Chastain <mec@shout.net>
790
791 * gdb.c++/annota2.exp: Add copyright year 2002.
792
76565097
DC
7932002-12-17 David Carlton <carlton@math.stanford.edu>
794
795 * gdb.c++/try_catch.cc: Add marker comments.
796 * gdb.c++/try_catch.exp: Get line numbers from marker comments.
797 * gdb.c++/m-data.cc: Delete namespace __gnu_test.
798 * gdb.c++/m-static.cc: Ditto.
799 * gdb.c++/m-static1.cc: Ditto.
800 * gdb.c++/try_catch.cc: Ditto.
801
da81390b
JJ
8022002-12-16 Jeff Johnston <jjohnstn@redhat.com>
803
804 * lib/mi-support.exp (mi_reinitialize_dir): Check mi level
805 to see whether we are using the new -environment-directory
806 command which resets via -r or the old version of the command
807 which may prompt the user. Part of fix for gdb/741.
808
b304d130
AC
8092002-12-13 Andrew Cagney <ac131313@redhat.com>
810
811 * gdb.fortran/types.exp: Update obsolete comment.
812 * gdb.fortran/exprs.exp: Ditto.
813 * lib/gdb.exp: Delete obsolete code.
814 * gdb.chill/ChangeLog, gdb.chill/Makefile.in: Delete.
815 * gdb.chill/builtins.ch, gdb.chill/builtins.exp: Delete.
816 * gdb.chill/callch.ch, gdb.chill/callch.exp: Delete.
817 * gdb.chill/chexp.exp, gdb.chill/chillvars.ch: Delete.
818 * gdb.chill/chillvars.exp, gdb.chill/configure: Delete.
819 * gdb.chill/configure.in, gdb.chill/enum.ch: Delete.
820 * gdb.chill/enum.exp, gdb.chill/func1.ch: Delete.
821 * gdb.chill/gch1041.ch, gdb.chill/gch1041.exp: Delete.
822 * gdb.chill/gch1272.ch, gdb.chill/gch1272.exp: Delete.
823 * gdb.chill/gch1280.ch, gdb.chill/gch1280.exp: Delete.
824 * gdb.chill/gch922.ch, gdb.chill/gch922.exp: Delete.
825 * gdb.chill/gch981.ch, gdb.chill/gch981.exp: Delete.
826 * gdb.chill/misc.ch, gdb.chill/misc.exp: Delete.
827 * gdb.chill/powerset.ch, gdb.chill/powerset.exp: Delete.
828 * gdb.chill/pr-4975-grt.ch, gdb.chill/pr-4975.ch: Delete.
829 * gdb.chill/pr-4975.exp, gdb.chill/pr-5016.ch: Delete.
830 * gdb.chill/pr-5016.exp, gdb.chill/pr-5020.ch: Delete.
831 * gdb.chill/pr-5020.exp, gdb.chill/pr-5022.ch: Delete.
832 * gdb.chill/pr-5022.exp, gdb.chill/pr-5646-grt.ch: Delete.
833 * gdb.chill/pr-5646.ch, gdb.chill/pr-5646.exp: Delete.
834 * gdb.chill/pr-5984.ch, gdb.chill/pr-5984.exp: Delete.
835 * gdb.chill/pr-6292.ch, gdb.chill/pr-6292.exp: Delete.
836 * gdb.chill/pr-6632-grt.ch, gdb.chill/pr-6632.ch: Delete.
837 * gdb.chill/pr-6632.exp, gdb.chill/pr-8134.exp: Delete.
838 * gdb.chill/pr-8136.ch, gdb.chill/pr-8136.exp: Delete.
839 * gdb.chill/pr-8405.ch, gdb.chill/pr-8405.exp: Delete.
840 * gdb.chill/pr-8742.ch, gdb.chill/pr-8742.exp: Delete.
841 * gdb.chill/pr-8894-grt.ch, gdb.chill/pr-8894.ch: Delete.
842 * gdb.chill/pr-8894.exp, gdb.chill/pr-9095.ch: Delete.
843 * gdb.chill/pr-9095.exp, gdb.chill/pr-9946.ch: Delete.
844 * gdb.chill/pr-9946.exp, gdb.chill/result.ch: Delete.
845 * gdb.chill/result.exp, gdb.chill/string.ch: Delete.
846 * gdb.chill/string.exp, gdb.chill/tests1.ch: Delete.
847 * gdb.chill/tests1.exp, gdb.chill/tests2.ch: Delete.
848 * gdb.chill/tests2.exp, gdb.chill/tuples.ch: Delete.
849 * gdb.chill/tuples.exp, gdb.chill/xstruct-grt.ch: Delete.
850 * gdb.chill/xstruct.ch, gdb.chill/xstruct.exp: Delete.
851
a23b6e6a
DC
8522002-12-11 David Carlton <carlton@math.stanford.edu>
853
854 * gdb.c++/m-data.exp: Add test for members that shadow global
855 variables: see PR gdb/804.
856 * gdb.c++/m-data.cc: Ditto.
857
6604731b
DJ
8582002-12-10 Daniel Jacobowitz <drow@mvista.com>
859
860 * gdb.base/foll-vfork.exp: Re-enable test on HP/UX.
861
de46ecd7
DC
8622002-12-06 David Carlton <carlton@math.stanford.edu>
863
864 * gdb.base/store.c: Don't declare functions static.
865
27e829d0
AC
8662002-12-04 Andrew Cagney <ac131313@redhat.com>
867
868 * gdb.base/store.exp, gdb.base/store.c: New files.
869
92806416
DJ
8702002-12-03 Daniel Jacobowitz <drow@mvista.com>
871
872 * gdb.base/selftest.exp: Update for current gdb.
873
3bcbaac5
DJ
8742002-12-03 Daniel Jacobowitz <drow@mvista.com>
875
876 * gdb.base/maint.exp: Only dump symbols from one source file
877 or objfile.
878
f4f00b1f
DJ
8792002-12-03 Daniel Jacobowitz <drow@mvista.com>
880
881 * gdb.base/step-test.exp: Allow MIPS to return to the line of a
882 function call.
883
f1c8a949
JB
8842002-11-25 Jim Blandy <jimb@redhat.com>
885
886 * lib/mi-support.exp (mi_delete_breakpoints): Change name of
887 function appearing in error message.
888
9e297a97
DJ
8892002-11-21 Daniel Jacobowitz <drow@mvista.com>
890
891 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.
892
1f312e79
JJ
8932002-11-08 Jeff Johnston <jjohnstn@redhat.com>
894
895 * lib/mi-support.exp (mi_gdb_start): Verify the startup message
896 for mi1 and current mi is in correct format. New mi startup message
897 should be in mi console format. This is part of fix for PR gdb/604.
898
83c31e7d
FN
8992002-09-18 Fernando Nasser <fnasser@redhat.com>
900
901 * gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
902 which explicitly prints the zero offset as "+0".
903
322b3f65
DJ
9042002-10-22 Daniel Jacobowitz <drow@mvista.com>
905
906 * gdb.threads/schedlock.c (args): Make unsigned.
907
9082002-10-21 Daniel Jacobowitz <drow@mvista.com>
909
910 * gdb.asm/asm-source.exp: Add "mips*-*" pattern. Update line
911 numbers. Allow "foo2|selected stack frame".
912 * gdb.asm/asmsrc1.s: Use gdbasm_declare and gdbasm_end.
913 * gdb.asm/asmsrc2.s: Likewise.
914 * gdb.asm/common.inc: Define gdbasm_declare and gdbasm_end. Update
915 comments.
916 * gdb.asm/mips.inc: New file.
917
5e2fe5b8
AF
9182002-10-18 Adam Fedor <fedor@gnu.org>
919
920 * gdb.base/default.exp: Update expected output to include 'ObjC'.
921 * gdb.base/help.exp: Likewise.
922
abe1a5d0
KB
9232002-10-17 Kevin Buettner <kevinb@redhat.com>
924
925 * gdb.base/constvars.c (struct crass, struct crisp): New structs.
926 * gdb.base/constvars.exp (ptype crass, ptype crisp): New tests.
927
10abb1d4
JB
9282002-10-02 Jim Blandy <jimb@redhat.com>
929
930 * gdb.c++/casts.cc, gdb.c++/casts.exp: New test.
931
1f609b42
AC
9322002-10-01 Andrew Cagney <ac131313@redhat.com>
933
934 * mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1".
935 * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto.
936 * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto.
937 * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto.
938 * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto.
939 * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto.
940 * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
941
0aee02e4
AC
9422002-09-29 Andrew Cagney <ac131313@redhat.com>
943
944 * mi0-basics.exp, mi0-break.exp, mi0-console.exp: Delete.
945 * mi0-disassemble.exp, mi0-eval.exp: Delete.
946 * mi0-hack-cli.exp, mi0-read-memory.exp: Delete.
947 * mi0-regs.exp, mi0-return.exp, mi0-simplerun.exp: Delete.
948 * mi0-stack.exp, mi0-stepi.exp, mi0-until.exp: Delete.
949 * mi0-var-block.exp, mi0-var-child.exp: Delete.
950 * mi0-var-cmd.exp, mi0-var-display.exp, mi0-watch.exp: Delete.
951
6fde09ad
KB
9522002-09-27 Kevin Buettner <kevinb@redhat.com>
953
954 * gdb.base/annota1.exp (info break): Make directory components of
955 path optional since not all compilers emit this debug information.
956
957 * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first
958 step ends up stepping out of the function instead of stopping on
959 the epilogue.
960
9e8aab75
KS
9612002-09-26 Keith Seitz <keiths@redhat.com>
962
963 * lib/insight-support.exp (gdbtk_start): Figure out where
964 the insight executable is based on where gdb is. Use this
965 executable to start insight instead of gdb.
966
e36180d7
AC
9672002-09-25 Andrew Cagney <cagney@redhat.com>
968
969 * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
970
9dd34b2b
AC
9712002-09-24 Andrew Cagney <ac131313@redhat.com>
972
973 * gdb.gdb/complaints.exp (test_initial_complaints): Rename
974 test_isolated_complaints.
975 (test_empty_complaint): New function.
976 (test_empty_complaints): New function. Check no output when no
977 complaints.
978
dea97812
KB
9792002-09-19 Jim Blandy <jimb@redhat.com>
980
981 * gdb.base/charset.exp, gdb.base/charset.c: New files.
982
54951bd7
AC
9832002-09-19 Andrew Cagney <ac131313@redhat.com>
984
985 * gdb.gdb/complaints.exp: New file.
986
dec43320
AC
9872002-09-18 Andrew Cagney <ac131313@redhat.com>
988
989 * gdb.base/maint.exp: Check `help maint internal-warning'.
990
e70d6e3f
DC
9912002-09-18 David Carlton <carlton@math.stanford.edu>
992
993 * gdb.c++/m-static.exp: Remove breakpoints depending on line
994 numbers, and replace them by a single breakpoint after the
995 constructors are all finished.
996 Add test 4.
997 * gdb.c++/m-static.cc: Add test 4.
998 * gdb.c++/m-static.h: New file.
999 * gdb.c++/m-static1.cc: New file.
1000
1001 * gdb.c++/printmethod.exp: New file.
1002 * gdb.c++/printmethod.cc: New file.
1003
1004 * gdb.c++/pr-574.exp: New file.
1005 * gdb.c++/pr-574.cc: New file.
1006
afb5c968
CV
10072002-09-18 Corinna Vinschen <vinschen@redhat.com>
1008
1009 * gdb.base/ending-run.exp: Add handling of "step to end of run" for
1010 embedded targets which never actually exit.
1011
31e45dee
FN
10122002-09-18 Fernando Nasser <fnasser@redhat.com>
1013
1014 * gdb.base/ending-run.exp: Properly mark "continue after exit" and
1015 "don't step after run" as unresolved or unsupported, instead of xfail.
1016
a283c5a1
CV
10172002-09-18 Corinna Vinschen <vinschen@redhat.com>
1018
1019 * gdb.base/ending-run.exp: Fix expected string for _wrap_main to
1020 allow correct handling of #ifdef UNDERSCORES from dejagnu/testglue.c.
1021 Add newline to expected string in "step out of main (status wrapper)"
1022 case.
1023
11350d2a
CV
10242002-09-18 Corinna Vinschen <vinschen@redhat.com>
1025
1026 * lib/gdb.exp (rerun_to_main): Allow restarting application.
1027 * gdb.base/ena-dis-br.exp (rerun_to_main): Eliminate.
1028
0deec7d6
TT
10292002-09-17 Tom Tromey <tromey@redhat.com>
1030
1031 * gdb.base/printcmds.exp (test_print_string_constants): Expect
1032 \000, not \0, in double-quoted string.
1033
b2b4a1b5
CV
10342002-09-14 Corinna Vinschen <vinschen@redhat.com>
1035
1036 * gdb.base/command.exp: Don't expect a "Program exited normally"
1037 string after running the commands execution on breakpoint tests.
1038
1c56143a
CV
10392002-09-13 Corinna Vinschen <vinschen@redhat.com>
1040
1041 * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
1042
37f8da45
JB
10432002-09-12 Joel Brobecker <brobecker@gnat.com>
1044
1045 * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
1046
08b468e0
KS
10472002-09-10 Keith Seitz <keiths@redhat.com>
1048
1049 * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
1050 runto proc.
1051 (mi_run_to_main): Use mi_runto.
1052 (mi_execute_to): Renamed from mi_run_to. Changed all callers.
1053
dc360f58
KS
10542002-09-10 Keith Seitz <keiths@redhat.com>
1055
1056 * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
1057 regexp for stopping at main. Could have multiple event notifications.
1058 Don't assume that main was declared with no parameters.
1059 (mi_next): Use mi_step_to.
1060 (mi_step): Use mi_next_to.
1061
ce3abcfb
CV
10622002-09-09 Corinna Vinschen <vinschen@redhat.com>
1063
1064 * gdb.base/default.exp: Fix expected string in `info float' test.
1065
d1f5b980
BE
10662002-09-09 Ben Elliston <bje@redhat.com>
1067
1068 * config/mips.exp: Update comments.
1069 * config/mips-idt.exp: Likewise.
1070 * config/nind.exp: Likewise.
1071 * config/slite.exp: Likewise.
1072 * config/sparclet.exp: Likewise.
1073 * config/udi.exp: Likewise.
1074 * config/vx.exp: Likewise.
1075 * config/vxworks29k.exp: Likewise.
1076
2f71430b
JB
10772002-09-05 Jim Blandy <jimb@redhat.com>
1078
1079 * gdb.threads/killed.exp: Fix test failure message.
1080
7ddebc7e
KS
10812002-09-04 Keith Seitz <keiths@redhat.com>
1082
1083 * lib/mi-support.exp: Update copyright.
1084 (mi_gdb_test): Increase the priority of the expected pattern
1085 so that it matches gdb_test.
1086
0ae67eb3
KS
10872002-09-03 Keith Seitz <keiths@redhat.com>
1088
1089 * lib/gdb.exp (gdb_compile_pthreads): Fix "build_bin" typo.
1090 Use integer comparison instead of string comparison for testing
1091 whether binary was built.
1092
38fc42c8
JB
10932002-09-03 Jim Blandy <jimb@redhat.com>
1094
1095 * gdb.threads/killed.exp, gdb.threads/killed.c: New test.
1096
b6ff0e81
JB
10972002-08-29 Jim Blandy <jimb@redhat.com>
1098
1099 * gdb.threads/pthreads.exp: Move the portable thread compilation
1100 code into a function in lib/gdb.exp, and call that from here.
1101 * lib/gdb.exp (gdb_compile_pthreads): New function.
1102
07c98896
KS
11032002-08-29 Keith Seitz <keiths@redhat.com>
1104
1105 * lib/mi-support.exp (mi_gdb_test): Add global declaration for
1106 expect_out so that callers can get at it.
1107
0312286c
DJ
11082002-08-23 Daniel Jacobowitz <drow@mvista.com>
1109
1110 * gdb.threads/print-threads.c: New file.
1111 * gdb.threads/print-threads.exp: New file.
1112 * gdb.threads/schedlock.c: New file.
1113 * gdb.threads/schedlock.exp: New file.
1114
dd039bc4
EZ
11152002-08-22 Elena Zannoni <ezannoni@redhat.com>
1116
1117 * gdb.arch/altivec-abi.exp: The source C file is altivec-abi.c,
1118 not altivec.c.
1119
1f36144c
MK
11202002-08-17 Mark Kettenis <kettenis@gnu.org>
1121
1122 * gdb.base/return.exp: Remove i*86-*-* from list of xfail'ed
1123 targets. The problem should be fixed now.
1124
16057ec7 11252002-08-15 Mark Kettenis <kettenis@gnu.org>
5415e7c5
MK
1126
1127 * gdb.java/jv-print.exp: Fix p '' and p ''' tests to deal with
1128 2002-07-24 change that removes final dots from error messages.
1129
3c1499ad
TT
11302002-08-13 Tom Tromey <tromey@redhat.com>
1131
1132 * gdb.base/readline.exp: New file.
1133
a20ce2c3
AC
11342002-08-01 Andrew Cagney <ac131313@redhat.com>
1135
1136 * lib/gdb.exp (gdb_expect_list): Only print one pass, fail, or
1137 supress message.
1138
db034ac5
AC
11392002-08-01 Andrew Cagney <cagney@redhat.com>
1140
1141 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove CHILLFLAGS, CHILL,
1142 CHILL_FOR_TARGET and CHILL_LIB.
1143 * configure.in (configdirs): Remove gdb.chill.
1144 * configure: Regenerate.
1145 * lib/gdb.exp: Obsolete references to chill.
1146 * gdb.fortran/types.exp: Ditto.
1147 * gdb.fortran/exprs.exp: Ditto.
1148
3e000b18
KB
11492002-07-30 Kevin Buettner <kevinb@redhat.com>
1150
1151 * gdb.base/shlib-call.exp (additional_flags): Conditionally
1152 set Irix-specific compile and link flags.
1153
28f4966b
KB
11542002-07-29 Kevin Buettner <kevinb@redhat.com>
1155
1156 * lib/gdb.exp (mips*-*-irix*): Use alternate method for preprocessing
1157 source files. The ``-o'' option doesn't work with the ``-E'' option
1158 when using the Irix compiler.
1159
46c0d5a6
DJ
11602002-07-19 Daniel Jacobowitz <drow@mvista.com>
1161
1162 * config/gdbserver.exp (gdb_load): Don't use TCL varargs.
1163 Improve support for reusing an exec file. Copy exec file
1164 to target, and run gdbserver on the target instead of on the host.
1165
eecf4bed
JB
11662002-07-18 Jim Blandy <jimb@redhat.com>
1167
0f815cdf
JB
1168 * gdb.base/ending-run.exp: Don't expect to see the program end in
1169 some orderly fashion when we're running on a real stand-alone
1170 board.
1171
eecf4bed
JB
1172 * gdb.base/interrupt.exp: Correct logic for skipping tests on
1173 targets that don't support interrupts.
1174
52d309e4
JB
11752002-07-10 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
1176
1177 * gdb.base/attach.exp: Add patterns to match output from /proc-based
1178 systems.
1179 Move comments in expect statements to inside the actions, so that they
1180 don't get matched against.
1181
ff683d9e
MK
11822002-07-10 Mark Kettenis <kettenis@gnu.org>
1183
1184 * gdb.base/interrupt.exp: Setup xfail for all i386 BSD's on "call
1185 function when asleep" test.
1186
b5356753
AC
11872002-07-10 Andrew Cagney <ac131313@redhat.com>
1188
1189 * gdb.base/page.exp: Rewrite to handle problems with very long
1190 `info set' output. Update copyright.
1191
6aa4d13a
AC
11922002-06-26 Andrew Cagney <ac131313@redhat.com>
1193
1194 * gdb.hp/configure.in (AC_CONFIG_SUBDIRS): Do not try to configure
1195 gdb.threads-hp.
1196 * gdb.hp/configure: Regenerate.
1197 * gdb.hp/gdb.threads-hp/configure.in: Delete file.
1198 * gdb.hp/gdb.threads-hp/configure: Delete file.
1199 * gdb.hp/gdb.threads-hp/Makefile.in: Delete file.
1200
8cf8c2b8
AC
12012002-06-22 Andrew Cagney <ac131313@redhat.com>
1202
1203 * gdb.base/selftest.exp (do_stes_and_next): Skip calls to
1204 setlocale, bindtextdomain and textdomain.
1205
6827a8f8
JB
12062002-06-11 Jim Blandy <jimb@redhat.com>
1207
919d772c
JB
1208 * lib/gdb.exp (get_debug_format): Tolerate message saying whether
1209 preprocessor macro information is present.
1210
6827a8f8
JB
1211 * macscp.exp, macscp1.c, macscp2.h, macscp3.h, macscp4.h: New
1212 tests.
1213
c15b0d21
MS
12142002-06-06 Michael Snyder <msnyder@redhat.com>
1215
c5984d70
MS
1216 * gdb.base/overlays.exp: Record addresses of overlay
1217 functions in TCL variables rather than in GDB variables,
1218 to avoid having GDB convert them to pointers (with loss
1219 of information).
1220
99a8512b
MS
1221 * gdb.base/d10v.ld: Merge in several years worth of
1222 default linker script changes.
c15b0d21
MS
1223 * gdb.base/long_long.exp: Add check for sizeof (long double).
1224
be26fe0d
ML
12252002-06-06 Michal Ludvig <mludvig@suse.cz>
1226
1227 * gdb.asm/asm-source.exp: Add x86-64 target.
1228 * gdb.asm/x86_64.inc: New.
1229
258093ca 12302002-05-30 Michael Chastain <mec@shout.net>
258093ca 1231
4b3153f1 1232 From Benjamin Kosnik <bkoz@redhat.com>:
258093ca
MC
1233 * gdb.c++/m-static.cc: New file.
1234 * gdb.c++/m-static.exp: New file.
1235
241264c6
MS
12362002-05-28 Michael Snyder <msnyder@redhat.com>
1237
1238 * gdb.base/call-ar-st.exp: Allow for reduced floating point
1239 precision.
1240
9bba8c8f 12412002-05-27 Michael Chastain <mec@shout.net>
71ea1be0 1242
4b3153f1 1243 From Benjamin Kosnik <bkoz@redhat.com>:
71ea1be0
MC
1244 * gdb.c++/m-data.cc: New file.
1245 * gdb.c++/m-data.exp: New file.
1246
12472002-05-27 Michael Chastain <mec@shout.net>
9bba8c8f 1248
4b3153f1 1249 From Benjamin Kosnik <bkoz@redhat.com>:
9bba8c8f
MC
1250 * gdb.c++/try_catch.cc: New file.
1251 * gdb.c++/try_catch.exp: New file.
1252
def1b996
MC
12532002-05-27 Michael Chastain <mec@shout.net>
1254
1255 * gdb.c++/local.exp: Accept more nested types in output.
1256
522ba268
MC
12572002-05-26 Michael Chastain <mec@shout.net>
1258
1259 * gdb.base/call-rt-st.exp: Fix typo in brace quoting.
1260
277254ba
MS
12612002-05-15 Nick Clifton <nickc@cambridge.redhat.com>
1262
1263 * lib/gdb.exp (gdb_wrapper_init): Just because
1264 gdb_wrapper_file exists, this does not mean that the file
1265 should not be rebuilt. That is what gdb_wrapper_initialized
1266 is for.
1267 (default_gdb_init): Reset gdb_wrapper_initialized.
1268
b61a8733
MS
12692002-05-23 Michael Snyder <msnyder@redhat.com>
1270
5bdb6d01
MS
1271 * gdb.base/all-bin.exp: Revise previous patch by just reducing
1272 the precision of the floating point test results.
1273 * gdb.base/call-rt-st.exp: Ditto.
1274
b61a8733
MS
1275 * gdb.base/all-bin.exp: Allow for reduced floating point precision.
1276 * gdb.base/call-rt-st.exp: Ditto.
1277
56f6e910
MC
12782002-05-19 Michael Chastain <mec@shout.net>
1279
1280 * gdb.c++/inherit.exp: Accept "VTT for ..." in output strings.
1281
ad0b0016
EZ
12822002-05-19 Elena Zannoni <ezannoni@redhat.com>
1283
1284 * configure.in (configdirs): Add gdb.arch.
1285 * configure: Regenerate.
1286
f617d2b6
JB
12872002-05-17 Jim Blandy <jimb@redhat.com>
1288
1289 * gdb.base/completion.exp: Recognize the more detailed error
1290 messages produced by the macro expander's lexical analyzer.
1291
eac2a696
EZ
12922002-05-14 Elena Zannoni <ezannoni@redhat.com>
1293
1294 * gdb.arch/altivec-abi.c: New file.
1295 * gdb.arch/altivec-abi.exp: New file.
1296 * gdb.arch/altivec-regs.c: New file.
1297 * gdb.arch/altivec-regs.exp: New file.
1298
2fdde8f8
DJ
12992002-05-14 Daniel Jacobowitz <drow@mvista.com>
1300
1301 * gdb.base/maint.exp (maint print type): Update for new type
1302 structure.
eac2a696 1303
e31f1a7c
EZ
13042002-05-14 Elena Zannoni <ezannoni@redhat.com>
1305
1306 * gdb.arch: New directory.
1307 * gdb.arch/configure.in: New file.
1308 * gdb.arch/configure: New file.
1309 * gdb.arch/Makefile.in: New file.
1310
db589741
CV
13112002-05-13 Corinna Vinschen <vinschen@redhat.com>
1312
1313 * gdb.asm/asm-source.exp: Add v850 as supported target.
1314 * gdb.asm/v850.inc: New file.
1315
8ce2a7dc
DJ
13162002-05-13 Daniel Jacobowitz <drow@mvista.com>
1317
1318 * gdb.c++/annota2.exp (annotate-quit): Add comment.
1319
df763c7f
DJ
13202002-05-12 Daniel Jacobowitz <drow@mvista.com>
1321
1322 * gdb.base/break.exp: Check 'break "marker2"'.
1323
377daeed
MS
13242002-05-10 Michael Snyder <msnyder@redhat.com>
1325
1326 * gdb.base/long_long.exp: Fix typo.
1327
c4b7bc2b
JB
13282002-05-10 Jim Blandy <jimb@redhat.com>
1329
ecac9a4e
JB
1330 * gdb.base/printcmds.exp: Don't xfail the ptype command. This is
1331 a bug.
1332
c4b7bc2b
JB
1333 * gdb.base/printcmds.exp (test_integer_literals_rejected):
1334 Recognize more detailed error message produced by the macro
1335 expander's lexical analyzer.
1336 * lib/gdb.exp (test_print_reject): Same.
1337
e71019a1
MK
13382002-05-09 Mark Kettenis <kettenis@gnu.org>
1339
1340 * gdb.c++/method.exp: Fix typo.
1341
fedfc8e6
MS
13422002-05-08 Michael Snyder <msnyder@redhat.com>
1343
166a1957
MS
1344 * gdb.mi/mi-var-child.exp: Accept (void) as well as ().
1345 * gdb.mi/mi0-var-child.exp: Accept (void) as well as ().
fedfc8e6 1346 * gdb.base/default.exp: Merge clauses for arm, strongarm, xscale.
35928259
MS
1347 * gdb.base/long_long.exp: Merge clauses for arm and xscale.
1348 Add iftarget clause for strongarm.
1349
f1c47eb2
MS
13502002-05-06 Michael Snyder <msnyder@redhat.com>
1351
cb9a9d3e
MS
1352 * lib/gdb.exp (gdb_test): Add case to allow for status wrapper.
1353 (gdb_continue_to_end): Accept output from status wrapper.
1354 * gdb.base/ending-run.exp: Add case for output from status wrapper.
1355 Clean up fail messages to match pass messages.
1356
f1c47eb2
MS
1357 Enable the "needs_status_wrapper" testsuite feature.
1358 * lib/gdb.exp (gdb_wrapper_init): New procedure.
1359 (gdb_compile): Conditionally call gdb_wrapper_init.
1360 * gdb.base/a2-run.exp: Recognize output from status wrapper.
1361 * gdb.c++/method.exp: Recognize output from status wrapper.
1362
6079c749
BE
13632002-05-06 Ben Elliston <bje@redhat.com>
1364From Graydon Hoare <graydon@redhat.com>
1365
1366 * config/sid.exp: Include support for "rawsid" protocol.
1367
188baff3
JB
13682002-05-03 Jim Blandy <jimb@redhat.com>
1369
1370 * gdb.c++/hang.exp: Check for corruption of the cv_type chain.
1371 * gdb.c++/hang3.C: New file.
1372
b9c07f0f
AC
13732002-05-04 Andrew Cagney <ac131313@redhat.com>
1374
1375 * gdb.base/default.exp: Remove obsolete code.
1376 * gdb.c++/misc.exp: Ditto. Update copyright.
1377 * gdb.c++/cplusfuncs.exp: Ditto. Update copyright.
1378 * gdb.base/whatis.exp: Ditto. Update copyright.
1379 * gdb.base/scope.exp: Ditto. Update copyright.
1380 * gdb.base/ptype.exp: Ditto. Update copyright.
1381 * gdb.base/printcmds.exp: Ditto. Update copyright.
1382 * gdb.base/opaque.exp: Ditto. Update copyright.
1383 * gdb.base/list.exp: Ditto.
1384 * gdb.base/funcargs.exp: Ditto. Update copyright.
1385 * gdb.hp/gdb.threads-hp/usrthbasic.c: Delete.
1386 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Delete.
1387 * gdb.hp/gdb.threads-hp/usrthcore.c: Delete.
1388 * gdb.hp/gdb.threads-hp/usrthcore.exp: Delete.
1389 * gdb.hp/gdb.threads-hp/usrthfork.c: Delete.
1390 * gdb.hp/gdb.threads-hp/usrthfork.exp: Delete.
1391
5c7a0397
MS
13922002-05-02 Michael Snyder <msnyder@redhat.com>
1393
d6dcc264 1394 * gdb.base/watchpoint.exp: Add xscale target.
5c7a0397
MS
1395 * gdb.base/long_long.exp: Add xscale target.
1396 * gdb.base/default.exp: Add xscale target.
1397
eb7f1c48
JB
13982002-05-01 Jim Blandy <jimb@redhat.com>
1399
1400 * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H,
1401 gdb.c++/hang.exp: New test.
1402
a6befae8
FF
14032002-05-01 Fred Fish <fnf@redhat.com>
1404
1405 * gdb.base/completion.exp: Handle completions of "./Make" for
1406 more than one completion possibility, as is the case when we
1407 build and test in the source tree.
1408
0a310277
AG
14092002-04-29 Anthony Green <green@redhat.com>
1410
1411 * gdb.java/jmisc1.exp: New file.
1412 * gdb.java/jmisc2.exp: New file.
1413
6ff9af88
DJ
14142002-04-24 Daniel Jacobowitz <drow@mvista.com>
1415
1416 * gdb.threads/linux-dp.exp: Use 'unset' instead of 'array unset'.
1417
96b3d632
EZ
14182002-04-23 Elena Zannoni <ezannoni@redhat.com>
1419
1420 * gdb.base/help.exp: Change 'help status' to allow for target
1421 dependent output differences.
1422
5019bb54
MC
14232002-04-22 Michael Chastain <mec@shout.net>
1424
1425 * gdb.c++/local.exp: Add PR numbers: gdb/482, gdb/483.
1426
a805a116
MC
14272002-04-22 Michael Chastain <mec@shout.net>
1428
1429 * gdb.c++/method.exp: Fix syntax of reference to gdb/277.
1430
a1706bfd
DM
14312002-04-17 David S. Miller <davem@redhat.com>
1432
1433 * gdb.asm/sparc64.inc: New file.
1434 * gdb.asm/asm-source.exp: Handle sparc64-*-*.
1435
a73a20a2
EZ
14362002-04-19 Elena Zannoni <ezannoni@redhat.com>
1437
1438 * gdb.asm/asm-source.exp: Don't use a symlink, just copy the
1439 instruction file directly into the build tree. Clean up at end of
1440 test.
1441
ba678339
DM
14422002-04-18 David S. Miller <davem@redhat.com>
1443
1444 * gdb.base/annota1.exp: Expect addresses as $hex + whitespace to
1445 handle 64-bit platforms correctly.
1446 * gdb.base/maint.exp: Likewise.
1447
b03399da
KB
14482002-04-18 Kevin Buettner <kevinb@redhat.com>
1449
1450 * gdb.base/shlib-call.exp (additional_flags): AIX doesn't need
1451 ``-fpic'' when compiling files comprising a shared library, but
1452 it does need additional linker flags in order to find shared
1453 libraries at run time.
1454
e2004992
KB
14552002-04-18 Kevin Buettner <kevinb@redhat.com>
1456
1457 * gdb.base/cvexpr.c (use): New function.
1458 (main): Invoke use() on all global variables to prevent
1459 some linkers from deleting these otherwise unused symbols.
1460
d8937120
MC
14612002-04-17 Michael Chastain <mec@shout.net>
1462From David S. Miller <davem@redhat.com>
1463
1464 * gdb.c++/ovldbreak.exp: Expect addresses as $hex + whitespace to
1465 handle 64-bit platforms correctly.
1466
ffd61a58
MS
14672002-04-12 Michael Snyder <msnyder@redhat.com>
1468From Jim Blandy <jimb@redhat.com>
1469 * gdb.base/foo.c (foox): Remove section attribute; the linker
1470 script can handle this instead.
1471 * gdb.base/bar.c (barx): Same.
1472 * gdb.base/baz.c (bazx): Same.
1473 * gdb.base/grbx.c (grbxx): Same.
1474
1475 * gdb.base/overlays.exp: New test: check that GDB's manual overlay
1476 manager doesn't automatically unmap overlays unnecessarily.
1477
6b8426a6
MH
14782002-04-10 Martin M. Hunt <hunt@redhat.com>
1479
1480 * gdb.base/ending-run.exp: Fix pattern for Mips targets
1481 stepping out of main.
1482
34af4875
MC
14832002-04-09 Michael Chastain <mec@shout.net>
1484
1485 * gdb.c++/local.cc (main): Move call to marker1() inside nested
1486 scope so that the nested scope tests will make sense.
1487 * gdb.c++/local.exp: Write patterns that actually work with gcc
1488 (the HP patterns "were never known to work with gcc").
1489 Keep the old aCC patterns too.
1490
2d1676a0
DJ
14912002-04-09 Daniel Jacobowitz <drow@mvista.com>
1492
1493 * gdb.base/attach.exp: Correct target board test.
1494
3a63e3f9
MC
14952002-04-08 Michael Chastain <mec@shout.net>
1496
1497 * gdb.c++/method.exp: Require "const ... A * ..." for "ptype this"
1498 in a const method. Add some xfail and fail cases for configurations
1499 that do not emit the "const ...".
1500
f18dabd2
MC
15012002-04-07 Michael Chastain <mec@shout.net>
1502
1503 * gdb.c++/method.exp: Use gdb_test instead of send_gdb/gdb_expect.
1504 Accept "A * const" and "const A * const" as type of "this".
1505 Fix spelling of getFunky throughout. Make messages uniform.
1506
0fcddd82
EZ
15072002-04-07 Elena Zannoni <ezannoni@redhat.com>
1508
1509 Work around for PR gdb/285:
1510 * gdb.asm/asm-source.exp: Bail out if multilibs are detected.
1511
16a8534a
EZ
15122002-04-07 Elena Zannoni <ezannoni@redhat.com>
1513
1514 * gdb.asm/asm-source.exp: Build symbolic link to arch specific
1515 instructions file at run time instead of configure time.
1516 Sometimes we run the test in a directory that is not the one we
1517 configured in.
1518 * gdb.asm/configure.in: Delete creation of symlink.
1519 * gdb.asm/configure: Regenerate.
1520
24181d81
JB
15212002-04-05 J. Brobecker <brobecker@gnat.com>
1522
1523 * gdb.gdb/xfullpath.exp: New test, to exercise the new
1524 xfullpath () function.
1525
7cdb7107
DJ
15262002-04-04 Daniel Jacobowitz <drow@mvista.com>
1527
1528 * gdb.asm/Makefile.in: Correct dependencies.
1529
1530 * gdb.asm/powerpc.inc: New file.
1531 * gdb.asm/asm-source.exp: Add PowerPC.
1532 * gdb.asm/configure.in: Likewise.
1533 * gdb.asm/configure: Regenerated.
1534
a7d17088
DJ
15352002-04-04 Daniel Jacobowitz <drow@mvista.com>
1536
1537 * gdb.base/relocate.exp: New file.
1538 * gdb.base/relocate.c: New file.
1539
cd721503
FF
15402002-04-04 Fred Fish <fnf@redhat.com>
1541
1542 * gdb.base/step-test.exp: Update comment regarding stopping in
1543 memcpy/bcopy calls inserted as part of the compiler runtime.
1544
b22ad7a7
MS
15452002-04-04 Michael Snyder <msnyder@redhat.com>
1546
1547 * gdb.base/ovlymgr.c: Add overlay event breakpoint support.
1548
5f279fa6
DJ
15492002-04-03 Daniel Jacobowitz <drow@mvista.com>
1550
1551 * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
1552 (gdb_expect): Remove $notransfer hack.
1553
dd0fd3ce
DJ
15542002-04-02 Daniel Jacobowitz <drow@mvista.com>
1555
1556 * gdb.c++/classes.exp ("calling method for small class"): Match
1557 updated register output.
1558
1e50cda1
DJ
15592002-03-30 Daniel Jacobowitz <drow@mvista.com>
1560
1561 Fix PR gdb/452
1562 * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
1563 when finished. Make gdb_file_cmd send "exec-file" when
1564 appropriate.
1565
24015922
DJ
15662002-03-30 Daniel Jacobowitz <drow@mvista.com>
1567
1568 * gdb.base/attach.exp: Remove extra setup_xfail.
1569
dd7dfd64
MS
15702002-03-26 Michael Snyder <msnyder@redhat.com>
1571
1572 * gdb.base/default.exp: Add tests for dump, append, and restore.
1573 * gdb.base/help.exp: Add tests for dump, append, and restore.
1574 * gdb.base/dump.exp: New file, test dump, append and restore.
1575 * gdb.base/dump.c: New file.
1576
48b2f8d7
MS
15772002-03-27 Michael Snyder <msnyder@redhat.com>
1578
1579 * gdb.base/help.exp: Modify expect strings to reflect
1580 clean-ups in help messages.
1581
05b4d525
FF
15822002-03-26 Fred Fish <fnf@redhat.com>
1583
1584 * gdb.base/step-test.exp: Accept stopping in memcpy/bcopy when we
1585 have debugging info for those functions and the compiler uses them
1586 internally to copy structs around.
1587
d7679631
FF
15882002-03-26 Fred Fish <fnf@redhat.com>
1589
1590 * gdb.base/list.exp: Revert the change made yesterday and add note
1591 about why we don't list the default lines for remote targets.
1592
523ac3f9
MS
15932002-03-25 Michael Snyder <msnyder@redhat.com>
1594
1595 * gdb.base/help.exp: Clean up unnecessary wild cards in regexps.
1596
754b2b8d
FF
15972002-03-25 Fred Fish <fnf@redhat.com>
1598
1599 * gdb.base/list.exp: This test works on remote targets so remove
1600 the short circuit for remote targets. Update copyright.
1601
33c3e192
FF
16022002-03-25 Fred Fish <fnf@redhat.com>
1603
1604 * gdb.base/attach.exp: Fix logic error that was suppressing this
1605 test for all non hppa*-*-hpux* targets, instead of the hp target.
1606 Move comments closer to the suppression point. Also now need to
1607 check that we are running natively.
1608
d43e73ee
MS
16092002-03-22 Michael Snyder <msnyder@redhat.com>
1610
882c8f02
MS
1611 * gdb.base/default.exp: Add test for gcore. Update copyright.
1612 * gdb.base/help.exp: Add test for gcore. Update copyright.
d43e73ee 1613
04c12f60
FF
16142002-03-06 Fred Fish <fnf@redhat.com>
1615
1616 * gdb.base/funcargs.c: Remove extraneous ';' character.
1617 * gdb.trace/gdb_c_test.c: Remove extraneous ';' character.
1618
b43df995
MC
16192002-03-04 Michael Chastain <mec@shout.net>
1620
1621 * gdb.mi/mi-var-cmd.exp: In test "create local variable func",
1622 accommodate gcc v3 function signature.
1623 * gdb.mi/mi0-var-cmd-exp: Ditto.
1624
92362027
AC
16252002-02-24 Andrew Cagney <ac131313@redhat.com>
1626
1627 * testsuite/gdb.base/huge.c: Replace ``Linux'' with either
1628 ``GNU/Linux'' or ``Linux kernel''
1629 * testsuite/gdb.threads/pthreads.c: Ditto.
1630
258ad32d
MC
16312002-02-24 Michael Chastain <mec@shout.net>
1632
1633 * gdb.threads/pthreads.c (thread1): Add a return statement.
1634 (thread2): Likewise.
1635 (foo): Likewise.
1636
04c3b3d4
MC
16372002-02-23 Michael Chastain <mec@shout.net>
1638
1639 * gdb.threads/linux-dp.c (philosopher): Add a return statement
1640 to placate gcc.
1641
5a2a0a20
MC
16422002-02-23 Michael Chastain <mec@shout.net>
1643
1644 * gdb.c++/templates.exp: Remove setup_xfail_format "stabs" on
1645 test "ptype bint". The test passes on all my stabs configurations.
1646
a640f7fc
JB
16472002-02-21 Jim Blandy <jimb@redhat.com>
1648
27924826
JB
1649 * gdb.asm/asm-source.exp: Parse the output from `info sources' one
1650 filename at a time, and watch for the ones we want to see.
1651
a640f7fc
JB
1652 * gdb.base/ptype.exp, gdb.base/ptype.c: Add tests for printing
1653 types of pointers to prototyped functions.
1654
edcc8c75
AC
16552002-02-20 Andrew Cagney <ac131313@redhat.com>
1656
1657 * gdb.base/sizeof.c (main): Call fill_structs. Print value of
1658 signed, unsigned and straight char.
1659 (padding_char, padding_short, padding_int, padding_long,
1660 padding_long_long, padding_float, padding_double,
1661 padding_long_double): New global variables.
1662 (fill, fill_structs): New functions.
1663
1664 * gdb.base/sizeof.exp: Check for signed and unsigned char. Check
1665 for correctly sized writes. Update copyright.
1666 (get_valueof): New procedure.
1667 (get_sizeof): Call get_valueof.
1668 (check_valueof): New procedure.
1669 (check_padding): New procedure.
1670
ac57ea44
MC
16712002-02-20 Michael Chastain <mec@shout.net>
1672
1673 * gdb.c++/virtfunc.exp (test_virtual_calls): Remove obsolete calls
1674 to setup_xfail. Document some of the remaining calls.
1675
7a10c941
MC
16762002-02-18 Michael Chastain <mec@shout.net>
1677
1678 * gdb.c++/userdef.exp: Update copyright year.
1679
fb8acdcc
DJ
16802002-02-18 Daniel Jacobowitz <drow@mvista.com>
1681
1682 * gdb.c++/userdef.exp: Test overloaded operators properly.
1683 Remove xfails.
1684
fda6ae12
MS
16852002-02-14 Michael Snyder <msnyder@redhat.com>
1686
1687 * gdb.base/gcore.exp: Relax recognition of function breakpoint.
1688
676a0442
DJ
16892002-02-14 Daniel Jacobowitz <drow@mvista.com>
1690
1691 * gdb.base/a2-run.exp: Check for a remote target properly.
1692 * gdb.base/annota1.exp: Likewise.
1693 * gdb.base/list.exp: Likewise.
1694 * gdb.base/reread.exp: Likewise.
1695 * gdb.base/scope.exp: Likewise.
1696 * gdb.base/shlib-call.exp: Likewise.
1697 * gdb.base/term.exp: Likewise.
1698 * gdb.c++/annota2.exp: Likewise.
1699
78b4f468
RE
17002002-02-13 Richard Earnshaw <rearnsha@arm.com>
1701
1702 * gdb.base/watchpoint.exp: Restore previous timeout at end of test.
1703
9a81ba51
MC
17042002-02-10 Michael Chastain <mec@shout.net>
1705
1706 * gdb.base/funcargs.c (localvars_after_alloca): Fix return type.
1707 (call_after_alloca): Ditto.
1708
004af6c7
DJ
17092002-02-10 Daniel Jacobowitz <drow@mvista.com>
1710
1711 * gdb.base/ending-run.exp: Guard "cont" test with
1712 gdb_skip_stdio_test.
1713
37225f62
JB
17142002-02-06 Jim Blandy <jimb@redhat.com>
1715
1716 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
1717 from here...
1718 * gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
1719 To here. Disable this test on non-HP platforms. Add big comment.
1720
fe6fdd96
MS
17212002-02-04 Michael Snyder <msnyder@redhat.com>
1722
1723 * gdb.base/ovlymgr.c (ovly_copy): Generalize for targets
1724 other than d10v and m32r.
1725
036fad3f
RE
17262002-02-02 Richard Earnshaw <rearnsha@arm.com>
1727
1728 * gdb.base/default.exp: Rewrite test patterns to reduce time
1729 taken to match them.
1730
7148ab62
DJ
17312002-01-30 Daniel Jacobowitz <drow@mvista.com>
1732
1733 * gdb.base/annota1.exp (backtrace from shlibrary): Fix spelling.
1734 Allow a start function above main.
1735 * gdb.threads/linux-dp.exp: Fix copyright date.
1736
396cc255
DJ
17372002-01-30 Daniel Jacobowitz <drow@mvista.com>
1738
1739 * gdb.threads/linux-dp.exp: Use 'array unset', not 'array set'.
1740 (check_philosopher_stack): Check for manager thread before checking
1741 for a just-starting thread.
1742
f038d31b
DJ
17432002-01-30 Daniel Jacobowitz <drow@mvista.com>
1744
1745 From Neil Booth <neil@daikokuya.demon.co.uk>:
1746 * gdb.base/bitfields.c: Correct assignments to bitfields to avoid
1747 warnings.
1748
b3ff9d9a
FF
17492002-01-21 Fred Fish <fnf@redhat.com>
1750
1751 * gdb.base/restore.exp (restore_tests): Fix obvious typo, callee
1752 not caller.
1753
39ad761d
JB
17542002-01-21 Jim Blandy <jimb@redhat.com>
1755
1756 * gdb.base/reread.exp: Check that GDB properly re-reads the
1757 executable file when it changes while no inferior is running.
1758
aaf320fa
FF
17592002-01-21 Fred Fish <fnf@redhat.com>
1760
1761 * gdb.base/maint.exp: Simplify the "maint info breakpoints" test to
1762 optionally accept the "shlib events" variation.
1763
808a31f5
JB
17642002-01-21 Jim Blandy <jimb@redhat.com>
1765
1766 * gdb.base/ending-run.c (main): Avoid messing with setvbuf; just
1767 call `fflush' after every `printf', so that the output is produced
1768 at predictable points, regardless of whatever buffering does (or
1769 doesn't) take place.
1770 * gdb.base/ending-run.exp: Adjust tests to expect output to appear
1771 at different points.
1772
4420d5e2
DJ
17732002-01-20 Daniel Jacobowitz <drow@mvista.com>
1774
1775 * gdb.c++/inherit.exp: Update copyright years.
1776 * gdb.c++/method.exp: Likewise.
1777
3e36a0f4
DJ
17782002-01-20 Daniel Jacobowitz <drow@mvista.com>
1779
1780 * gdb.c++/classes.exp: Update for improved v3 support and skipping
1781 artificial methods/arguments.
1782 * gdb.c++/derivation.exp: Likewise.
1783 * gdb.c++/inherit.exp: Likewise.
1784 * gdb.c++/method.exp: Likewise.
1785 * gdb.c++/virtfunc.exp: Likewise.
1786
b4ceaee6
AC
17872002-01-18 Andrew Cagney <ac131313@redhat.com>
1788
1789 * gdb.hp/gdb.threads-hp/usrthfork.exp: Mark as obsolete.
1790 * gdb.hp/gdb.threads-hp/usrthcore.exp: Ditto.
1791 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Ditto.
1792 * gdb.hp/gdb.threads-hp/usrthfork.c: Ditto.
1793 * gdb.hp/gdb.threads-hp/usrthbasic.c: Ditto.
1794 * gdb.hp/gdb.threads-hp/usrthcore.c: Ditto.
1795
ecace851
JB
17962002-01-17 Jim Blandy <jimb@redhat.com>
1797
1798 * gdb.asm/asm-source.exp (info symbol): Take another shot at
1799 anchoring the pattern matching the entry point symbol's name.
1800
375fc983
AC
18012002-01-17 Andrew Cagney <ac131313@redhat.com>
1802
1803 * gdb.base/maint.exp: Update ``maint internal-error'' to match
1804 continue/quit query. Update copyright.
1805
fe6fdd96
MS
18062002-01-14 Michael Snyder <msnyder@redhat.com>
1807
1808 * gdb.base/gcore.exp: Remove extra debugging output.
1809
e017c81f
DJ
18102002-01-13 Daniel Jacobowitz <drow@mvista.com>
1811
1812 * gdb.c++/demangle.exp: Accept slightly dubious v2 demangler result
1813 for slightly dubious v2 mangled string.
1814
37ab3bf8
DJ
18152002-01-13 Daniel Jacobowitz <drow@mvista.com>
1816
1817 * gdb.base/completion.exp: Expand ${srcdir} to an absolute path.
1818
1bc05c3a 18192002-01-10 Jason Merrill <jason@redhat.com>
7b2ac63b 1820
1bc05c3a 1821 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
7b2ac63b 1822
1bc05c3a
JM
1823 * gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
1824 constructors.
1825 * gdb.c++/derivation.exp: Likewise.
1826 * gdb.c++/templates.exp: Likewise.
1827 * gdb.c++/virtfunc.exp: Likewise.
ffcb195b 1828
1bc05c3a
JM
18292002-01-10 Michael Snyder <msnyder@redhat.com>
1830
1831 * gdb.c++/namespace.exp: Accept both '\0' and '\000'.
ffcb195b 1832
a911c360
MS
18332002-01-08 Michael Snyder <msnyder@redhat.com>
1834
1835 * gdb.base/gcore.exp: New test for generate-core-file command.
1836 * gdb.base/gcore.c: Testcase for above.
1837 * gdb.threads/gcore-thread.exp: New test for gcore (threaded).
1838
ea2119ec
JM
18392002-01-08 Jason Merrill <jason@redhat.com>
1840
1841 * gdb.c++/userdef.cc: Use <iostream> instead of <iostream.h>.
1842
68203136
FF
18432002-01-07 Fred Fish <fnf@redhat.com>
1844
1845 * gdb.c++/overload.exp: Remove unconditional xfails for:
1846 print foo_instance1.overloadargs(1)
1847 print foo_instance1.overloadargs(1, 2)
1848 print foo_instance1.overloadargs(1, 2, 3)
1849 print foo_instance1.overloadargs(1, 2, 3, 4)
1850 print foo_instance1.overloadargs(1, 2, 3, 4, 5)
1851 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6)
1852 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7)
1853 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8)
1854 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9)
1855 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
1856 print foo_instance1.overloadargs(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
1857 print foo_instance1.overload1arg()
1858 print foo_instance1.overload1arg((char)arg2)
1859 print foo_instance1.overload1arg((signed char)arg3)
1860 print foo_instance1.overload1arg((unsigned char)arg4)
1861 print foo_instance1.overload1arg((int)arg7)
1862 print foo_instance1.overload1arg((unsigned int)arg8)
1863 print foo_instance1.overload1arg((float)arg11)
1864 print foo_instance1.overload1arg((double)arg12)
1865
21b9b5b1
MS
18662002-01-07 Michael Snyder <msnyder@redhat.com>
1867
1868 * gdb.base/huge.exp: New test. Print a very large target data object.
1869 (skip_huge_test): New test variable. Define if you want to skip this
1870 test. The test reads an 8 megabyte data object from the target, so it
1871 might be very time consuming on remote targets with a slow connection.
1872 * gdb.base/huge.c: New file. Test case for above.
1873
725f922e
FF
18742002-01-07 Fred Fish <fnf@redhat.com>
1875
1876 * gdb.c++/derivation.exp: Remove gcc xfails for g_instance.afoo,
1877 g_instance.bfoo, and g_instance.cfoo.
1878
634d57ec
JL
1879Mon Jan 7 12:22:18 2002 Jeffrey A Law (law@redhat.com)
1880
f286b2c3
JL
1881 * gdb.base/break.c (multi_line_if_conditional): New function.
1882 (multi_ilne_while_conditional): Likewise.
1883 * gdb.base/break.exp: Verify that a breakpoint on a multi-line
1884 IF or WHILE condition puts the breakpoint at the start of
1885 the condition.
1886
634d57ec
JL
1887 * gdb.base/selftest.exp (backtrace through signal handler): Remove
1888 hppa*-*-hpux* expected failure.
1889 * gdb.base/structs.exp (do_function_calls): Similarly.
1890
1891 * gdb.c++/annota2.exp (watch triggered on a.x): Handle hardware
1892 watchpoints.
1893
9fbfe2dc
AC
18942002-01-06 Andrew Cagney <ac131313@redhat.com>
1895
1896 Fix PR gdb/66.
1897 * gdb.base/structs.exp: Replace skip for a29k with skip for
1898 gdb,cannot_call_functions.
1899 * gdb.base/call-ar-st.exp: Remove references to a29k in comments.
1900 * gdb.base/callfuncs.exp: Ditto.
1901 * gdb.base/call-rt-st.exp: Ditto.
1902 * gdb.base/call-strs.exp: Ditto.
1903 * gdb.base/callfwmall.exp: Ditto.
1904 * gdb.base/scope.exp: Obsolete xfail a29k.
1905 * gdb.c++/misc.exp: Ditto.
1906 * gdb.c++/cplusfuncs.exp: Ditto.
1907 * gdb.base/ptype.exp: Ditto.
1908 * gdb.base/printcmds.exp: Ditto.
1909 * gdb.base/opaque.exp: Ditto.
1910 * gdb.base/list.exp: Ditto.
1911 * gdb.base/funcargs.exp: Ditto.
1912 * gdb.base/default.exp: Ditto.
1913
8ddad156
MS
19142002-01-04 Michael Snyder <msnyder@redhat.com>
1915
ca4976a6 1916 * gdb.base/info-proc.exp: New file, test for "info proc" cmd.
8ddad156
MS
1917 * gdb.base/maint.exp: Add tests for maint info sections options.
1918
1b074332
JL
1919Fri Dec 21 09:42:11 2001 Jeffrey A Law (law@redhat.com)
1920
1921 * gdb.base/default.exp: Remove bogus hppa*-hp-hpux* xfails.
1922
7d159115
CV
19232001-12-20 Corinna Vinschen <vinschen@redhat.com>
1924
1925 * gdb.asm/arm.inc: New file.
1926 * gdb.asm/asm-source.exp: Add arm targets.
1927 * gdb.asm/configure.in: Ditto.
1928 * gdb.asm/configure: Recreated from configure.in.
1929
8fb87725
JL
1930Thu Dec 20 09:54:36 2001 Jeffrey A Law (law@redhat.com)
1931
afabe08c
JL
1932 * gdb.hp/gdb.defects/bs15503.exp: Only run this test if compiling
1933 with HP's compiler.
1934 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise.
1935 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise.
1936 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise.
1937 * gdb.hp/gdb.objdbg/objdbg04.exp: Likewise.
1938
1939 * gdb.hp/gdb.defects/solib-d.exp: Update to handle building with
1940 either HP's compilers or GCC.
1941
db521deb
JL
1942 * gdb.hp/gdb.base-hp/hwwatchbus.exp: Allow inferior to get either
1943 a SIGBUS or SIGSEGV.
1944
1945 * gdb.hp/gdb.base-hp/so-thresh.exp: Remove useless send_user command.
1946
1947 * gdb.hp/gdb.defects/bs14602.exp: Revamp slightly so that test
1948 can be compiled with either HP's compiler or GCC.
1949
cfa88ab7
JL
1950 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Disable completely.
1951 * gdb.hp/gdb.threads-hp/usrthcore.exp: Disable completely.
1952 * gdb.hp/gdb.threads-hp/usrthfork.exp: Disable completely.
1953
ca344dff
JL
1954 * gdb.hp/gdb.base-hp/so-thresh.exp: Update text in expect strings
1955 to match current gdb output. Update due to using auto-solib-limit
1956 for limiting instead of overloading auto-solib-add.
1957 * gdb.hp/gdb.base-hp/so-thresh.mk: Always use "cc" to build the
1958 test program.
1959
3f3c6e55 1960 * gdb.c++/templates.exp: Use "hppa64-*-*", not "hppa2.0w-*-*"
ca344dff
JL
1961 * gdb.hp/gdb.base-hp/dollar.exp: Likewise
1962 * gdb.hp/gdb.base-hp/pxdb.exp: Likewise.
1963 * gdb.hp/gdb.base-hp/reg-pa64.exp: Likewise.
1964 * gdb.hp/gdb.base-hp/reg.exp: Likewise.
1965 * gdb.hp/gdb.compat/xdb3.exp: Likewise.
1966 * gdb.hp/gdb.defects/bs15503.exp: Likewise.
1967 * gdb.hp/gdb.objdbg/objdbg01.exp: Likewise
1968 * gdb.hp/gdb.objdbg/objdbg02.exp: Likewise
1969 * gdb.hp/gdb.objdbg/objdbg03.exp: Likewise
1970 * gdb.hp/gdb.threads-hp/usrthbasic.exp: Likewise.
1971 * gdb.hp/gdb.threads-hp/usrthcore.exp: Likewise.
1972 * gdb.hp/gdb.threads-hp/usrthfork.exp: Likewise.
3f3c6e55 1973
8fb87725
JL
1974 * gdb.base/annota1.exp: Expect failure for hpux11 when posting
1975 a SIGTRAP to the inferior.
1976
cf599fa7
CV
19772001-12-19 Corinna Vinschen <vinschen@redhat.com>
1978
1979 * gdb.asm/asm-source.exp: Drop setting link-flags for xstormy16.
1980 Substitute call to target_link by call to gdb_compile.
1981
2cd045cd
JL
1982Wed Dec 19 14:10:57 2001 Jeffrey A Law (law@redhat.com)
1983
1984 * gdb.base/break.exp: Fix HP specific search string when testing
1985 backtracing in a called function.
1986
1987 * gdb.base/constvars.exp: Only set lang to C++ if we're
1988 compiling the test with HP's compilers.
1989 * gdb.base/volatile.exp: Similarly.
1990
99ebe9ac
JB
19912001-12-19 Jim Blandy <jimb@redhat.com>
1992
1993 * gdb.base/printcmds.exp: Expect the null character to be printed
1994 as '\0', and the '\013' to be printed as '\v'.
1995 * gdb.base/callfuncs.exp ("backtrace at nested call level 4"): Same.
1996 * gdb.base/setvar.exp: Same.
1997
b9891b29
JB
19982001-12-17 Jim Blandy <jimb@redhat.com>
1999
0eba65ab
JB
2000 * gdb.base/completion.exp: Rather than completing very long
2001 filenames, which can make the readline library produce output we
2002 don't recognize, cd to the directory first, and then complete
2003 using nice, short relative paths.
2004
6970b5b1
JB
2005 * gdb.base/completion.exp: On some systems, there is, in fact, a
2006 variable named `b' in scope, since GDB treats all static
2007 variables as being in scope. So use `no_var_named_this'
2008 instead of `b'.
2009
b9891b29
JB
2010 * gdb.base/corefile.exp: Recognize the message saying that GDB
2011 can't find the core file's registers as a failure.
2012
e6ccd35f
JSC
20132001-12-13 Jackie Smith Cashion <jsmith@redhat.com>
2014
2015 * gdb.base/commands.exp (user_defined_command_test): Make "show user"
2016 test expect string more specific.
2017
105ba819
CV
20182001-12-13 Corinna Vinschen <vinschen@redhat.com>
2019
2020 * gdb.asm/asm-source.exp: Add support for xstormy16.
2021 * gdb.asm/configure.in: Ditto.
2022 * gdb.asm/configure: Rebuild.
2023 * gdb.asm/xstormy16.inc: New file.
2024
e9e79dd9
FF
20252001-12-10 Fred Fish <fnf@redhat.com>
2026
2027 * gdb.base/maint.exp: Update to match changes in type dumping code.
2028
347dc97d
JB
20292001-12-10 Jim Blandy <jimb@redhat.com>
2030
2031 * gdb.asm/asm-source.exp (info symbol): Anchor the pattern
2032 matching the entry point symbol's name at the beginning of the
2033 line.
2034
5178b9d6
DJ
20352001-12-07 Daniel Jacobowitz <drow@mvista.com>
2036
2037 * gdb.c++/classes.exp, gdb.c++/derivation.exp,
2038 gdb.c++/inherit.exp, gdb.c++/method.exp,
2039 gdb.c++/namespace.exp, gdb.c++/templates.exp,
2040 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp: Updates for v3 demangler
2041 and class layout support.
2042
af890c52
DJ
20432001-12-07 Daniel Jacobowitz <drow@mvista.com>
2044
2045 * gdb.c++/classes.exp: Add test for static member function.
2046 * gdb.c++/misc.cc: Add class with static member function.
2047
7a345fb3
JB
20482001-12-07 Jim Blandy <jimb@redhat.com>
2049
f2e54a80 2050 If GDB says it can't find the struct the function returned, report
8032bf31
JB
2051 those tests as `unsupported'.
2052 * gdb.base/call-rt-st.exp (print_struct_call): New function.
2053 Rewrite subsequent tests to use it.
2054
2055 If GDB says it can't find the struct the function returned, report
f2e54a80
JB
2056 those tests as `unsupported'.
2057 * gdb.base/structs.exp (call_struct_func): New function.
2058 (do_function_calls): Use call_struct_func to call the functions
2059 returning structs.
2060
0bc69509
JB
2061 * gdb.base/callfuncs.exp: The stabs generated by GCC don't tell us
2062 whether functions are prototyped or not, so we can't possibly pass
2063 arguments to t_float_values2 properly.
2064
7a345fb3
JB
2065 * gdb.base/break.exp: (test_next_with_recursion): Don't change the
2066 value of `timeout' for targets other than the mips*tx39-*.
2067
edb6ede1
MS
20682001-12-06 Michael Snyder <msnyder@redhat.com>
2069
2070 * gdb.asm/asm-source.exp: Add tests for info target, info symbol,
2071 and detect whether the start symbol has a leading underscore.
2072
2d842f13
JB
20732001-12-04 Jim Blandy <jimb@redhat.com>
2074
2075 * gdb.base/completion.exp: Clarify indentation.
2076
68550daf
JB
20772001-12-03 Jim Blandy <jimb@redhat.com>
2078
2079 * gdb.asm/s390.inc (gdbasm_datavar): Use `.long' to create `int'
2080 variables on the S/390, not `.word'.
2081
cd5195a8
JB
20822001-11-30 Jim Blandy <jimb@redhat.com>
2083
2084 Add assembly-source tests for s390-ibm-linux.
2085 * gdb.asm/s390.inc: New file.
2086 * gdb.asm/configure.in, gdb.asm/asm-source.exp: Add clauses for
2087 the S/390 architecture.
2088 * gdb.asm/configure: Regenerated.
2089
ca9efc90
MS
20902001-11-30 Michael Snyder <msnyder@redhat.com>
2091
2092 * gdb.asm/asm-source.exp: Add tests for list, search, finish, return,
2093 next, info source, info sources, info line, global and static
2094 variables, and static functions.
2095 * gdb.asm/common.inc: New macro gdbasm_datavar (default definition).
2096 * gdb.asm/i386.inc: Override default definition of gdbasm_datavar.
2097 * gdb.asm/asmsrc1.s: Add a static function and some variables.
2098 * gdb.asm/asmsrc2.s: Make foo2 call foo3 twice (to test 'next').
2099 * gdb.asm/d10v.inc (gdbasm_enter): Set up frame pointer.
2100 (gdbasm_leave): Restore frame pointer.
2101 (gdbasm_startup): Copy stack set-up from crt0.S.
2102
d0e66976
FN
21032001-11-26 Fernando Nasser <fnasser@redhat.com>
2104
2105 From 2001-11-12 Jackie Smith Cashion <jsmith@redhat.com>:
2106 * gdb.base/callfuncs.c (t_structs_a): Do not return a pointer
2107 to a local (non-static) variable. Copy tstruct.a to a static buffer
2108 and return a pointer to that buffer.
2109 * gdb.base/callfwmall.c (t_structs_a): Ditto.
2110
e2334072
MK
21112001-11-24 Mark Kettenis <kettenis@gnu.org>
2112
2113 * gdb.asm/configure.in: Fix recognition of ix86 target.
2114 * gdb.asm/configure: Regenerate.
2115
756caa3d
MS
21162001-11-21 Michael Snyder <msnyder@redhat.com>
2117
2118 * gdb.asm/sparc.inc: New file.
2119 * gdb.asm/asm-source.exp: Recognize sparc target.
2120 * gdb.asm/configure.in: Recognize sparc target.
2121 * gdb.asm/configure: Regenerate.
2122
9a4d72d5
MS
21232001-11-21 Michael Snyder <msnyder@redhat.com>
2124
2125 * gdb.asm/m32r.inc: New file.
2126 * gdb.asm/asm-source.exp: Recognize m32r target.
2127 * gdb.asm/configure.in: Recognize m32r target.
2128 * gdb.asm/configure: Regenerate.
2129
a773d1cd
MS
21302001-11-20 Michael Snyder <msnyder@redhat.com>
2131
017ac23d
MS
2132 * gdb.asm/i386.inc: New file.
2133 * gdb.asm/asm-source.exp: Recognize ix86 target.
2134 * gdb.asm/configure.in: Recognize ix86 target.
2135 * gdb.asm/configure: Regenerate.
2136
a773d1cd
MS
2137 * gdb.c++/namespace.exp: Fix quotes in output messages.
2138
bb632afb
MS
21392001-11-14 Michael Snyder <msnyder@redhat.com>
2140
25d559ca 2141 * gdb.base/code-expr.exp: New file. Tests use of the "@code"
bb632afb
MS
2142 qualifier in a type cast expression, to designate an address
2143 in the instruction space (Harvard architecture).
2144
4749e309
MS
21452001-11-13 Michael Snyder <msnyder@redhat.com>
2146
2147 * gdb.base/cvexpr.c, gdb.base/cvexpr.exp: New files.
2148 Tests for expressions using 'const' and 'volatile'.
2149
25050984
CV
21502001-11-13 Corinna Vinschen <vinschen@redhat.com>
2151
2152 * gdb.asm/asm-sources.exp: Allow defining linker flags.
2153
1902c51f
DJ
21542001-11-12 Daniel Jacobowitz <drow@mvista.com>
2155
2156 * lib/mi-support.exp (mi_run_to_helper): Move comments
2157 outside of gdb_expect.
2158
dcf95b47
DJ
21592001-11-11 Daniel Jacobowitz <drow@mvista.com>
2160
2161 * lib/mi-support.exp: (mi_run_to_helper, mi_run_to,
2162 mi_step_to, mi_next_to, mi_continue_to, mi_finish_to,
2163 mi0_step_to, mi0_next_to, mi0_continue_to, mi0_finish_to,
2164 mi0_run_to): New functions.
2165 * gdb.mi/mi-simplerun.exp: Use them.
2166 * gdb.mi/mi0-simplerun.exp: Likewise.
2167 * gdb.mi/mi-var-cmd.exp: Likewise.
2168 * gdb.mi/mi0-var-cmd.exp: Likewise.
2169
45b074e1
AC
21702001-11-10 Andrew Cagney <ac131313@redhat.com>
2171
2172 * gdb.asm/asmsrc1.s: Add ``gdbasm_'' prefix to all macros.
2173 * gdb.asm/asmsrc2.s, gdb.asm/d10v.inc: Update.
2174
bf50d346
AC
21752001-11-09 Andrew Cagney <ac131313@redhat.com>
2176
2177 * gdb.base/restore.exp: Include $expected value in restored test
2178 message.
2179
9383332c
AC
21802001-11-09 Andrew Cagney <ac131313@redhat.com>
2181
2182 * gdb.asm/asm-source.exp: Supress file, instead of skip, when not
2183 implemented.
2184
db62520a
MS
21852001-11-08 Michael Snyder <msnyder@redhat.com>
2186
2187 * gdb.base/callfuncs.exp: Add tests for nested call dummies.
2188 Add pass/fail message for stop at breakpoint in call dummy function.
2189
b5703437
MS
21902001-11-07 Michael Snyder <msnyder@redhat.com>
2191
760f6330
MS
2192 * gdb.c++/templates.exp (test_template_breakpoints):
2193 If we get an overload menu, but it does not match what
2194 we expect, we still need to issue the "cancel" command.
3b2a7ae5
MS
2195 * gdb.c++/templates.exp: Replace "void \\*" with "void ?\\*",
2196 making the whitespace optional. Argument for "new" may be
2197 "unsigned" as well as "unsigned int/long".
eef747c0
MS
2198 * gdb.c++/templates.exp: Replace "const &" with "const ?&",
2199 making the whitespace optional. Also replace "(void) with
2200 "((void|)), making the keyword "void" optional.
63f50499
MS
2201 * gdb.c++/virtfunc.exp: Replace "const &" with "const ?&",
2202 making the whitespace optional. Also replace "(void) with
2203 "((void|)), making the keyword "void" optional.
3bf40917
MS
2204 * gdb.base/callfuncs.c (t_float_values): This function must
2205 _not_ be prototyped, and the following function (t_float_values2)
2206 must be prototyped (if the compiler supports it), so that GDB
2207 can be tested against both cases. Usually one case involves
2208 promotion of float to double, while the other does not.
2209 * gdb.base/callfwmall.c: Ditto.
b5703437
MS
2210 * gdb.asm/asm-source.exp (bt ALL in foo2): Accept a backtrace that
2211 includes a stack frame for "start".
2212
c8ab4e6d
JB
22132001-11-05 Jim Blandy <jimb@redhat.com>
2214
2215 * gdb.stabs/weird.exp: Delete "p v_comb" test. It assumes that
2216 pointers are 32 bits long, and that offsets of relocs are always
2217 stored in the data (REL-style), and not in the reloc entry itself
2218 (RELA-style).
2219 * gdb.stabs/weird.def (v_comb, v_comb_shared): Remove symbols and
2220 stabs.
2221
3f08ced9
MS
22222001-11-01 Michael Snyder <msnyder@redhat.com>
2223
2224 * gdb.c++/cplusfuncs.exp: Fix conflicts between operator names
2225 and regular expression operators by using quoting.
2226
cbfa24cd
MS
22272001-10-31 Michael Snyder <msnyder@redhat.com>
2228
2229 * gdb.c++/overload.exp: Select overloadfnarg(void) or overloadfnarg(),
2230 depending on what the symbol table contains.
2231 * gdb.c++/derivation.exp: Accept both "foo(void)" and "foo()" in
2232 the output of the ptype command. Similarly, accept both "const &"
2233 and "const&".
2234
aaa68313
CV
22352001-10-31 Corinna Vinschen <vinschen@redhat.com>
2236
2237 * gdb.base/miscexprs.c (main): Add usage of preprocessor
2238 symbol `STORAGE' to allow to choose the storage class of
2239 the local datastructures.
2240 * gdb.base/miscexprs.exp: Handle setting a `-DSTORAGE=...'
2241 compiler directive.
2242
91740388
MS
22432001-10-30 Michael Snyder <msnyder@redhat.com>
2244
2245 * gdb.base/jump.exp: Allow it to run for all targets.
2246
1b7c05e7
CV
22472001-10-29 Corinna Vinschen <vinschen@redhat.com>
2248
2249 * gdb.base/call-ar-st.c (print_double_array): Match for loop
2250 with new double_array size.
2251 (main): Change storage class of all local variables to static.
2252 Reduce size of double_array to 9.
2253 * gdb.base/call-ar-st.exp: Increase timeout value.
2254 Change expected output for double array to match new size in
2255 call-ar-st.c.
2256
36a22261
CV
22572001-10-29 Corinna Vinschen <vinschen@redhat.com>
2258
2259 * gdb.base/ending-run.exp: Create identical output when passing
2260 `step to end of run' case. Add regular expression branch satisfying
2261 Stormy16 target.
2262
92b8ae91
MK
22632001-10-28 Mark Kettenis <kettenis@gnu.org>
2264
2265 * gdb.base/interrupt.exp: Treat SIGILL similar to SIGSEGV such
2266 that we catch the expected failure under Linux/x86.
2267
cb135b83
OF
22682001-10-29 Orjan Friberg <orjanf@axis.com>
2269
2270 * gdb.base/setvar.exp: Escape curly braces.
2271 * gdb.stabs/weird.exp: Ditto.
2272
6884aa54
DJ
22732001-10-27 Daniel Jacobowitz <drow@mvista.com>
2274
2275 * gdb.mi/mi-hack-cli.exp: Remove excess newlines from test strings.
2276 * gdm.mi/mi0-hack-cli.exp: Likewise.
2277
0398c9aa
AC
22782001-10-25 Andrew Cagney <ac131313@redhat.com>
2279
2280 * gdb.stabs/weird.exp: Unify ``variable VAR printed properly''
2281 messages.
2282
d20bf2e8
AC
22832001-10-21 Andrew Cagney <ac131313@redhat.com>
2284
2285 * lib/mi-support.exp (mi_gdb_start): Don't require MI_OUT when
2286 checking MI enabled.
2287
03dd63aa
CV
22882001-10-09 Corinna Vinschen <vinschen@redhat.com>
2289
2290 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.
2291
1d9d99f3
FCE
22922001-10-04 Frank Ch. Eigler <fche@redhat.com>
2293
2294 * lib/insight-support.exp (gdbtk_start): Don't exit dejagnu
2295 if gdb child process crashes, just signal an error.
2296
838ae6c4
JB
22972001-10-02 Jim Blandy <jimb@redhat.com>
2298
2299 * lib/gdb.exp (test_xfail_format): Simplify.
2300
2301 * lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in
2302 front of the variable name `format'. Simplify `if'.
2303
8f0cbc1c
DJ
23042001-10-01 Daniel Jacobowitz <drow@mvista.com>
2305
2306 * gdb.threads/pthreads.exp: Wait for output and delay
2307 before sending ^C.
2308
1f08dafd
DJ
23092001-10-01 Daniel Jacobowitz <drow@mvista.com>
2310
2311 * gdb.mi/mi-var-display.exp (continue to incr_a): Recognize
2312 some incorrect output instead of timing out.
2313 * gdb.mi/mi-var-display.exp (continue to incr_a): Likewise.
2314
674f90ff
CV
23152001-09-28 Corinna Vinschen <vinschen@redhat.com>
2316
2317 * gdb.base/volatile.exp (local_compiler_xfail_check): Change qux2
2318 check to allow additional `int'.
2319
9b284272
DJ
23202001-09-27 Daniel Jacobowitz <drow@mvista.com>
2321
2322 * gdb.base/completion.exp: Remove incorrect 'p "a' test.
2323 Add tests for 'p "break' (pass) and 'p "break.' (xfail).
2324
b55a4771
MS
23252001-09-27 Michael Snyder <msnyder@redhat.com>
2326
2327 * lib/gdb.exp (test_debug_format): New proc.
2328 (setup_xfail_format): Use new proc test_debug_format.
2329 * gdb.base/constvars.exp (local_compiler_xfail_check): New
2330 proc; use new service proc test_debug_format.
2331 Replace all other "gcc_compiled" tests with this test.
2332 * gdb.base/volatile.exp (local_compiler_xfail_check): New
2333 proc; use new service proc test_debug_format.
2334 Replace all other "gcc_compiled" tests with this test.
2335
23362001-09-27 Michael Snyder <msnyder@redhat.com>
2337
2338 * gdb.base/cvexpr.exp: New file.
2339 * gdb.base/cvexpr.c: New file
2340 Test for expressions using const and volatile keywords.
2341
4e6667ac
CV
23422001-09-26 Corinna Vinschen <vinschen@redhat.com>
2343
2344 * gdb.base/constvars.exp: Check for different orders of keywords
2345 and additional "int" strings in output.
2346
4f337972
AC
23472001-09-22 Andrew Cagney <ac131313@redhat.com>
2348
2349 * gdb.base/maint.exp: Add "maintenance set/show" to list of valid
2350 responses from "help maint".
2351
2015650d
FCE
23522001-09-19 Frank Ch. Eigler <fche@redhat.com>
2353
2354 * lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
2355 to localhost:NNN instead of :NNN, in case Xvfb is listening
2356 only on TCP.
2357
f3bcedc1
CV
23582001-09-19 Corinna Vinschen <vinschen@redhat.com>
2359
2360 * gdb.base/recurse.exp: When checking leaving the watchpoint
2361 scope, recognize when gdb is in function's epilogue and pass.
2362
6b819c92
KS
23632001-09-18 Keith Seitz <keiths@redhat.com>
2364
2365 * lib/insight-support.exp (_gdbtk_export_target_info): Add
2366 support for running tests against sid targets.
2367 (gdbtk_done): Ditto.
2368
a10c9419
CV
23692001-09-18 Corinna Vinschen <vinschen@redhat.com>
2370
2371 * gdb.base/ending-run.c (main): Set stdout buffersize
2372 to the same reasonable value for any target.
2373 * gdb.base/ending-run.exp: Add a regular expression
2374 to make testsuite happy on Sanyo Stormy16 target.
2375
739d0d99
CV
23762001-09-17 Corinna Vinschen <vinschen@redhat.com>
2377
2378 * gdb.base/display.c (do_loops): Add float variable `f'.
2379 Increment f in loop.
2380 * gdb.base/display.exp: Increment timeout by 60 seconds.
2381 Change float display test to use variable `f'.
2382
1b8947f0
JB
23832001-09-17 Jim Blandy <jimb@redhat.com>
2384
2385 * gdb.base/restore.exp: Use temporary breakpoints, to avoid
2386 overflowing the limited breakpoint tables on some ROM monitors
2387 (like the ROM68K).
2388
9890ac81
FCE
23892001-09-15 Frank Ch. Eigler <fche@redhat.com>
2390
2391 * lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
2392 the "-ac" (disable access control) flag.
2393
6db765ea
JH
23942001-08-30 Jeff Holcomb <jeffh@redhat.com>
2395
2396 * gdb.base/remote.c: Use a small buffer for targets with 16-bit
2397 ints.
2398
4c32cc04
KS
23992001-08-30 Keith Seitz <keiths@redhat.com>
2400
2401 * lib/gdb.exp: Move all insight-related functionality into
2402 separate file.
2403 * lib/insight-support.exp: New file.
2404
8d6e6f81
FCE
24052001-08-29 Frank Ch. Eigler <fche@redhat.com>
2406
2407 * config/sid.exp (sid_start): Never set sid verbosity; disable
2408 expect_background {} that consumed its stdout; tolerate </dev/null.
2409 Attempt to set endianness override in "sid" protocol mode. Cleanup.
2410
6a90e1d0
AC
24112001-08-18 Andrew Cagney <ac131313@redhat.com>
2412
2413 * lib/mi-support.exp (mi_gdb_start): If a remote target, use the
2414 CLI jump command to start it.
2415 (mi_run_to_main): Fail immediatly when unexpected output.
2416
1759b3c3
AC
24172001-08-18 Andrew Cagney <ac131313@redhat.com>
2418
2419 * lib/mi-support.exp (mi_gdb_start): Move call to sid_start to
2420 beginning of function. Fix PR gdb/191.
2421
61d11d80
FCE
24222001-08-16 Frank Ch. Eigler <fche@redhat.com>
2423
2424 * config/sid.exp (sid_start): Don't warn if we cannot figure out
2425 what to force sid endianness to.
2426
942a4df2
KS
24272001-08-15 Keith Seitz <keiths@redhat.com>
2428
2429 * lib/gdb.exp (gdbtk_start): Don't set environment
2430 variables for TCL_LIBRARY and friends. Insight will
2431 now figure these out for itself.
2432
0521c418
MS
24332001-08-02 Michael Snyder <msnyder@redhat.com>
2434
2435 * gdb.base/completion.exp: Remove the symbol "a64l" from
2436 the expect string; this is target-specific, and not related
2437 to what is being tested.
2438
74a9a58a
DB
24392001-08-02 Dave Brolley <brolley@redhat.com>
2440
2441 * config/sid.exp: Rename gdb-socket to cpu-gdb-socket.
2442
c70819fa
MS
24432001-07-25 Michael Snyder <msnyder@redhat.com>
2444
c2b8fa57
MS
2445 * gdb.base/consecutive.exp: New file. Test stepping over
2446 breakpoints on consecutive instructions.
2447 * gdb.base/consecutive.c: New file.
2448
c70819fa
MS
2449 * gdb.base/call-rt-st.exp: Use double-backslash to quote
2450 curly braces in regular expressions.
2451
2b1a1355
MS
24522001-07-25 Michael Snyder <msnyder@redhat.com>
2453
2454 * gdb.base/ending-run.exp: Accept "Program exited normally" as
2455 legitimate output from stepping out of main.
2456
413eca6f
KS
24572001-07-22 Keith Seitz <keiths@redhat.com>
2458
2459 * lib/gdb.exp (_gdbtk_xvfb_init): If GDB_DISPLAY is
2460 the empty string, do not run the tests.
2461
7e5a9322
SC
24622001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2463
2464 * gdb.base/long_long.exp: Detect size of pointer. Take into
2465 account 2-byte pointers when testing for p/a results.
2466
de58f10f
SC
24672001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2468
2469 * gdb.base/remote.c (RANDOM_DATA_SIZE): New define, defaults to 48K
2470 and defined to 1K for m68hc11.
2471 (random_data): Reduce table to 1K for embedded platforms (68hc11).
2472 * gdb.base/remote.exp (get_sizeof): New function from sizeof.exp.
2473 (sizeof_random_data): New variable to tell the size of the data table;
2474 don't test past this size; always run to main.
2475
d6f5fea1
SC
24762001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2477
2478 * gdb.base/return2.exp: return of long long and double fails for
2479 68HC11; don't execute these tests on that platform.
2480 * gdb.base/return.exp: Return of a double fails for 68hc11.
2481
c477543d
SC
24822001-07-16 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2483
2484 * call-ar-st.exp: Use gdb_skip_float_test to avoid executing
2485 tests that print a float.
2486 * call-rt-st.exp: Likewise.
2487
63cf1c79
MK
24882001-07-12 Mark Kettenis <kettenis@gnu.org>
2489
2490 * gdb.base/so-impl-ld.exp: Remove stray space that prevented
2491 running this test on Linux.
2492
112f9ab5
MC
24932001-06-24 Michael Chastain <chastain@redhat.com>
2494
2495 * gdb.base/arithmet.exp: Remove some tests to make all test names
2496 unique.
2497
4970cb0f
MS
24982001-07-03 Michael Snyder <msnyder@redhat.com>
2499
2500 * gdb.c++/classes.exp: Accept both "foo(void)" and "foo()" in
2501 the output of the ptype command.
2502
d85da69f
MS
25032001-07-02 Michael Snyder <msnyder@redhat.com>
2504
4c8a82de
MS
2505 * gdb.base/completion.exp: Don't assume that break.c is the only
2506 source file that may contain functions named "marker".
d85da69f
MS
2507 * gdb.base/corefile.exp: Quote the curly braces in regexp.
2508
8afc772b
AC
25092001-06-28 Andrew Cagney <ac131313@redhat.com>
2510
2511 * gdb.disasm/Makefile.in (clean mostlyclean): Add h8300s to list
2512 of files to delete.
2513
2514 From 2000-06-15 Kazu Hirata <kazu@hxi.com>:
2515 * gdb.disasm/h8300s.exp: New file.
2516 gdb.disasm/h8300s.s: Likewise.
2517
cff22675
AC
25182001-06-27 Andrew Cagney <ac131313@redhat.com>
2519
2520 * lib/mi-support.exp (mi_delete_breakpoints): Accept mi1 format
2521 empty breakpoint tables.
2522
68c81b54
AC
25232001-06-25 Andrew Cagney <ac131313@redhat.com>
2524
2525 * lib/mi-support.exp: Update args=... part of stop-reason
2526 patterns. Accept either a list or a tuple.
2527
2dd62704
AC
25282001-06-23 Andrew Cagney <ac131313@redhat.com>
2529
2530 * lib/mi-support.exp: Remove local emacs variable defining
2531 change-log-default-name.
2532
b4127474
MC
25332001-06-22 Michael Chastain <chastain@redhat.com>
2534
2535 * gdb.base/arithmet.exp: Use gdb_test instead of send_gdb/gdb_expect.
2536 This is operationally compatible with the previous version.
2537
8dbfb380
JB
25382001-06-13 Jim Blandy <jimb@redhat.com>
2539
2540 * lib/gdb.exp (gdb_test): Doc fix.
2541
f2d8c86d
MC
25422001-06-10 Michael Chastain <chastain@redhat.com>
2543
2544 * gdb.base/exprs.exp: Remove a duplicate test.
2545
81564d34
JB
25462001-06-06 Jim Blandy <jimb@redhat.com>
2547
2548 * gdb.base/return2.exp (main): Use values to test float and double
2549 returns that are not NaN's, to avoid being confused by IEEE
2550 comparison rules.
2551
da55addb
MS
25522001-06-04 Michael Snyder <msnyder@redhat.com>
2553
2554 * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
2555 non-zero if control_c fails. Terminate the test on failure,
2556 rather than wait for 12 more tests to time out.
2557
42c65987
JB
25582001-06-06 Jim Blandy <jimb@redhat.com>
2559
b18bced9
JB
2560 * gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
2561 Don't forget to match the GDB prompt.
2562
42c65987
JB
2563 * gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.
2564
5b41e5f0
JB
25652001-06-04 Jim Blandy <jimb@redhat.com>
2566
2567 * gdb.base/help.exp: Update pattern to exclude `print-load-map'
2568 command.
2569
015e046f
KB
25702001-05-31 Kevin Buettner <kevinb@redhat.com>
2571
2572 * gdb.base/annota1.exp (info break): Match four or more spaces
2573 after "Address".
2574
fb1ffbbe
MC
25752001-05-31 Michael Chastain <chastain@redhat.com>
2576
2577 * gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast.
2578 (dm_type_int_star): Likewise.
2579 (dm_type_long_star): Likewise.
2580 (dm_type_void_star): Likewise.
2581
5ea2a32c
KB
25822001-05-29 Kevin Buettner <kevinb@redhat.com>
2583
2584 * gdb.base/completion.exp (INPUTRC): Set this environment variable
2585 to a known value in order to get consistent results regardless
2586 of the setting of INPUTRC or the presence or contents of .inputrc.
2587
ae23c492
MS
25882001-05-24 Michael Snyder <msnyder@redhat.com>
2589
ac55707e
MS
2590 * gdb.threads/linux-dp.exp: Remove assumptions about thread ordering.
2591 Don't require that the main thread and the manager thread are the
2592 first in the list.
2593
ae23c492
MS
2594 * gdb.threads/pthreads.exp (test_startup): Relax test for thread
2595 debugging. If test fails, issue an "unsupported" not a "fail".
2596
400071f1
JB
25972001-05-24 Jim Blandy <jimb@redhat.com>
2598
2599 Don't assume that short is shorter than int.
2600 * gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't
2601 assume that shorts are smaller than ints. On a 16-bit machine,
2602 this isn't true.
2603 ("print unsigned char == (~0)"): Add test that verifies that ~0,
2604 an int, is not equal to ~0 stored in an unsigned char. This tests
2605 the same thing that the previous test meant to, but works on
2606 16-bit machines, too.
2607 ("print unsigned char != (~0)"): Same test, complemented.
2608
0816a3e5
MS
26092001-05-24 Michael Snyder <msnyder@redhat.com>
2610
2611 * gdb.threads/pthreads.exp (all_threads_running): Add an explicit
2612 test for (full_coverage == 0). This makes the test run faster,
2613 and prevents dejagnu getting out of step.
2614
f6dc23a9
KB
26152001-05-23 Kevin Buettner <kevinb@redhat.com>
2616
2617 * gdb.base/finish.exp (finish_void): Revise pattern for
2618 stopping on the call statement to not permit stopping at
2619 the start of the instructions comprising the call sequence.
2620
7dbd117d
MC
26212001-05-19 Michael Chastain <chastain@redhat.com>
2622
2623 * gdb.base/callfuncs.exp: Make all test names unique.
2624 * gdb.base/commands.exp: Make all test names unique.
2625 * gdb.base/condbreak.exp: Make all test names unique.
2626 * gdb.base/dbx.exp: Make all test names unique.
2627 * gdb.base/default.exp: Make all test names unique.
2628 * gdb.base/define.exp: Make all test names unique. Conform some FAIL
2629 and TIMEOUT messages to their corresponding PASS message.
2630 * gdb.base/ending-run.exp: Make all test names unique.
2631 * gdb.base/long_long.exp: Remove duplicate test.
2632
6b0b0a9e
KB
26332001-05-21 Kevin Buettner <kevinb@redhat.com>
2634
2635 * gdb.base/finish.exp (finish_void): Allow "finish" command to
2636 stop on the call statement as well as the statement after the
2637 call.
2638
2caa35cb
MS
26392001-05-21 Michael Snyder <msnyder@redhat.com>
2640
2641 * gdb.base/long_long.exp: Allow for targets with 4-byte short.
2642
40713331
EZ
26432001-05-10 Elena Zannoni <ezannoni@redhat.com>
2644
2645 * gdb.base/completion.exp: Revamp test. Make it execute on all
2646 platforms.
2647
c2c1be8d
EZ
26482001-05-10 Elena Zannoni <ezannoni@redhat.com>
2649
2c9cd303
EZ
2650 * config/gdbserver.exp (gdb_load): Handle the case
2651 in which the arguments to gdbserver are given in the
2652 baseboard configuration file.
2653 Also handle the case in which the server needs to do a
2654 load.
2655
9671de48
KS
26562001-05-07 Keith Seitz <keiths@cygnus.com>
2657
2658 * lib/gdb.exp (gdbtk_initialize_display): New proc which will
2659 set up the display for testing.
2660 (gdbtk_start): Convert all paths to paths that tcl will like.
2661 Export target information to environment.
2662 (_gdbtk_xvfb_init): New proc to start Xvfb if available and
2663 necessary.
2664 (_gdbtk_xvfb_exit): New proc to kill Xvfb if necessary.
2665 (to_tcl_path): New proc to convert a given pathname into
2666 a path acceptible as an argument to a tcl command.
2667 (_gdbtk_export_target_info): New proc to export target info
2668 into the environment for gdbtk testing.
2669 (gdbtk_done): New proc to signal end-of-test.
2670
5a360f47
JB
26712001-05-06 Jim Blandy <jimb@redhat.com>
2672
2673 * restore.c: Make the code of caller0 correspond to its comment.
2674
66c756c6
MS
26752001-05-03 Michael Snyder <msnyder@redhat.com>
2676
2677 * config/sid.exp (gdb_target_sid): Check for error messages.
2678 On error or timeout, don't make expect exit (which will terminate
2679 all subsequent tests); instead just make gdb exit.
2680 (gdb_load): Check for error messages. On error or timeout,
2681 return a negative value.
2682
a966fde5
JB
26832001-04-24 Jim Blandy <jimb@redhat.com>
2684
851c18e0
JB
2685 * gdb.c++/templates.exp: If we see the prompt for the overload
2686 list, but we haven't recognized any of the longer patterns,
2687 arrange for this test to fail, not hang.
2688
a966fde5
JB
2689 * gdb.c++/classes.exp (ptype class A): Tolerate whitespace
2690 variations.
2691
db144853
MC
26922001-04-22 Michael Chastain <chastain@redhat.com>
2693
2694 * gdb.c++/local.exp: Use the 'runto' library function.
2695 * gdb.c++/namespace.exp: Likewise.
2696 * gdb.c++/overload.exp: Likewise.
2697
3207ec21
KB
26982001-03-26 Kevin Buettner <kevinb@redhat.com>
2699
2700 * gdb.base/Makefile.in (EXECUTABLES): Add step-line.
2701 * gdb.base/step-line.exp: New file. Test step/next in presence of
2702 #line directives.
2703 * gdb.base/step-line.c: New file. Test program for the above.
2704 * gdb.base/step-line.inp: New file. We pretend that this file has
2705 been transformed by some other tool into step-line.c.
2706
13b57657
JB
27072001-03-21 Jim Blandy <jimb@redhat.com>
2708
2709 * gdb.c++/userdef.exp: Check that GDB tolerates whitespace in
2710 unmangled operator names.
2711
754cbe1c
JB
27122001-03-20 Jim Blandy <jimb@redhat.com>
2713
2714 * gdb.threads/linux-dp.exp: Recognize an additional message
2715 generated by GDB when it doesn't understand how to debug threads
2716 on the target system.
2717
177495c9
AC
27182001-03-19 Andrew Cagney <ac131313@redhat.com>
2719
2720 * gdb.mi/mi-console.exp: Document ``Hello'' as a known bug.
2721
f266096b
MC
27222001-03-12 Michael Chastain <chastain@redhat.com>
2723
2724 * gdb.c++/derivation.exp: Use the 'runto' library function.
2725
cac3c2ff
MC
27262001-03-12 Michael Chastain <chastain@redhat.com>
2727
2728 * gdb.c++/annota2.exp: Fix regular expression for "post-query".
2729
b6c11a24
MC
27302001-02-24 Michael Chastain <chastain@redhat.com>
2731
2732 * gdb.c++/ref-types.exp: Change handwritten code to library
2733 function 'runto'.
2734
6bae5bce
OF
27352001-03-16 Orjan Friberg <orjanf@axis.com>
2736
2737 * gdb.base/signals.exp: Set count to 0 explicitly.
2738
0015fd9a
MS
27392001-03-15 Mark Salter <msalter@redhat.com>
2740
2741 * config/monitor.exp (gdb_target_cmd): Add explicit error return.
2742 (gdb_target_monitor): Add check of gdb_target_cmd return value.
880a15ee
MS
2743 (gdb_load): Add support for additional target_info: gdb_download_size
2744 and gdb_load_timeout.
0015fd9a 2745
fc33412a
DT
2746Thu Mar 8 16:06:00 2001 David Taylor <taylor@redhat.com>
2747
2748 * gdb.base/annota1.exp: Move test of isnative to earlier in the
2749 file -- to prevent failing when the compile fails but we have no
2750 intention of running the tests anyway.
2751
2752 * gdb.base/long_long.exp: Test target_info for no_long_long, skip
2753 tests if set.
2754
2755 * gdb.base/maint.exp: Support 2 byte integers as well as 4 byte
2756 integers.
2757
2758 * gdb.c++/ctti.exp: Skip tests if skip_cplus_tests returns true.
2759 * gdb.c++/namespace.exp: Ditto.
2760
115f06de
OF
27612001-03-07 Orjan Friberg <orjanf@axis.com>
2762
2763 * gdb.base/pointers.c: Don't assume doubles are >= 8 bytes.
2764 * gdb.base/pointers.exp: Relax pattern match of decimals.
2765
b6ba6518
KB
27662001-03-06 Kevin Buettner <kevinb@redhat.com>
2767
2768 * Makefile.in, config/abug.exp, config/cfdbug.exp,
2769 config/cpu32bug.exp, config/dve.exp, config/est.exp,
2770 config/gdbserver.exp, config/hmsirom.exp, config/hppro.exp,
2771 config/i960.exp, config/m32r.exp, config/mn10300-eval.exp,
2772 config/monitor.exp, config/proelf.exp, config/rom68k.exp,
2773 config/sh.exp, config/sid.exp, config/slite.exp,
2774 config/sparclet.exp, config/udi.exp, config/unknown.exp,
2775 config/vr4300.exp, config/vr5000.exp, config/vx.exp,
2776 config/vxworks.exp, config/vxworks29k.exp,
2777 gdb.asm/asm-source.exp, gdb.base/a2-run.exp,
2778 gdb.base/all-bin.exp, gdb.base/annota1.exp,
2779 gdb.base/arithmet.exp, gdb.base/assign.exp,
2780 gdb.base/async.exp, gdb.base/attach.exp,
2781 gdb.base/bitfields.exp, gdb.base/bitops.exp,
2782 gdb.base/break.exp, gdb.base/call-ar-st.exp,
2783 gdb.base/call-rt-st.exp, gdb.base/call-strs.exp,
2784 gdb.base/callfuncs.exp, gdb.base/callfwmall.exp,
2785 gdb.base/commands.exp, gdb.base/completion.exp,
2786 gdb.base/cond-expr.exp, gdb.base/condbreak.exp,
2787 gdb.base/constvars.exp, gdb.base/corefile.exp,
2788 gdb.base/dbx.exp, gdb.base/default.exp, gdb.base/define.exp,
2789 gdb.base/display.exp, gdb.base/ena-dis-br.exp,
2790 gdb.base/ending-run.exp, gdb.base/environ.exp,
2791 gdb.base/eval-skip.exp, gdb.base/exprs.exp,
2792 gdb.base/finish.exp, gdb.base/foll-exec.exp,
2793 gdb.base/foll-fork.exp, gdb.base/foll-vfork.exp,
2794 gdb.base/funcargs.exp, gdb.base/help.exp,
2795 gdb.base/interrupt.exp, gdb.base/jump.exp, gdb.base/list.exp,
2796 gdb.base/logical.exp, gdb.base/long_long.exp,
2797 gdb.base/maint.exp, gdb.base/mips_pro.exp,
2798 gdb.base/miscexprs.exp, gdb.base/nodebug.exp,
2799 gdb.base/opaque.exp, gdb.base/overlays.exp, gdb.base/page.exp,
2800 gdb.base/pointers.exp, gdb.base/printcmds.exp,
2801 gdb.base/ptype.exp, gdb.base/radix.exp, gdb.base/recurse.exp,
2802 gdb.base/regs.exp, gdb.base/relational.exp,
2803 gdb.base/remote.exp, gdb.base/reread.exp,
2804 gdb.base/restore.exp, gdb.base/return2.exp,
2805 gdb.base/scope.exp, gdb.base/sect-cmd.exp,
2806 gdb.base/selftest.exp, gdb.base/setshow.exp,
2807 gdb.base/setvar.exp, gdb.base/shlib-call.exp,
2808 gdb.base/sigall.exp, gdb.base/signals.exp,
2809 gdb.base/sizeof.exp, gdb.base/so-impl-ld.exp,
2810 gdb.base/so-indr-cl.exp, gdb.base/solib.exp,
2811 gdb.base/step-test.exp, gdb.base/structs.c,
2812 gdb.base/structs.exp, gdb.base/structs2.exp,
2813 gdb.base/term.exp, gdb.base/twice.exp, gdb.base/varargs.exp,
2814 gdb.base/volatile.exp, gdb.base/watchpoint.exp,
2815 gdb.base/whatis-exp.exp, gdb.base/whatis.exp,
2816 gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
2817 gdb.c++/anon-union.exp, gdb.c++/classes.exp, gdb.c++/ctti.exp,
2818 gdb.c++/derivation.exp, gdb.c++/inherit.exp,
2819 gdb.c++/local.exp, gdb.c++/member-ptr.exp, gdb.c++/method.exp,
2820 gdb.c++/misc.exp, gdb.c++/namespace.exp, gdb.c++/overload.exp,
2821 gdb.c++/ref-types.exp, gdb.c++/templates.exp,
2822 gdb.c++/userdef.exp, gdb.c++/virtfunc.exp,
2823 gdb.disasm/am33.exp, gdb.disasm/hppa.exp,
2824 gdb.disasm/mn10200.exp, gdb.disasm/mn10300.exp,
2825 gdb.fortran/types.exp, gdb.java/jmisc.exp,
2826 gdb.java/jv-exp.exp, gdb.java/jv-print.exp,
2827 gdb.stabs/weird.exp, gdb.threads/linux-dp.exp,
2828 gdb.trace/actions.exp, gdb.trace/backtrace.exp,
2829 gdb.trace/circ.exp, gdb.trace/collection.exp,
2830 gdb.trace/deltrace.exp, gdb.trace/infotrace.exp,
2831 gdb.trace/limits.exp, gdb.trace/packetlen.exp,
2832 gdb.trace/passc-dyn.exp, gdb.trace/passcount.exp,
2833 gdb.trace/report.exp, gdb.trace/save-trace.exp,
2834 gdb.trace/tfind.exp, gdb.trace/tracecmd.exp,
2835 gdb.trace/while-dyn.exp, gdb.trace/while-stepping.exp,
2836 lib/gdb.exp, lib/mi-support.exp: Update/correct copyright
2837 notices.
2838
dc96c6c7 28392001-02-27 Michael Snyder <msnyder@cygnus.com>
d8f92b1f
MS
2840
2841 * gdb.base/varargs.c (find_max_double): Fix printf format string:
2842 first arg is int not float.
2843
dc96c6c7 28442001-02-22 Michael Snyder <msnyder@cygnus.com>
40f33b9b
MS
2845
2846 * gdb.base/reread.exp: Unsupported for non-native targets;
2847 doesn't work for remote debugging.
2848
9b0c4aeb
FN
28492001-02-19 Fernando Nasser <fnasser@redhat.com>
2850
2851 From Drew Moseley <dmoseley@redhat.com>
2852 * gdb.base/ending-run.exp: Properly handle the BSP state when
2853 stepping past the end of main.
2854
02aa71d5
MC
28552001-02-19 John Moore <jmoore@redhat.com>
2856
2857 * gdb.base/commands.exp (infrun_breakpoint_command_test):
2858 Converted HPUX fix for non-expected items following multiple
2859 step commands into general solution for all platforms.
2860
1fa449a4
MC
28612001-02-18 Michael Chastain <chastain@redhat.com>
2862
2863 * gdb.c++/classes.exp (do_tests): Change runto statements
2864 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2865 statements demangler agnostic.
2866 * gdb.c++/virtfunc.exp (do_tests): Likewise.
2867 (gdb_virtfunc_restart): Likewise.
2868
b2f9ec70
MC
28692001-02-14 Michael Chastain <chastain@redhat.com>
2870
2871 * gdb.c++/inherit.exp (do_tests): Change runto statements
2872 from "runto 'foo(void)'" to "runto 'foo'". This makes the
2873 statements demangler agnostic.
2874
cf74b8ca
AC
2875Sun Feb 4 17:32:21 2001 Andrew Cagney <cagney@redhat.com>
2876
2877 * gdb.threads/pthreads.exp: Unify pass/fail messages for
2878 ``continue to bkpt at common_routine in thread 2'' and ``stopped
2879 before calling common_routine 15 times'' tests.
2880
99f78f56
MC
28812001-02-11 Michael Chastain <chastain@redhat.com>
2882
2883 * gdb.c++/cplusfuncs.cc (dm_type_char_star): New function.
2884 Helps the test script figure out which demangler is in use.
2885 (dm_type_foo_ref): Ditto.
2886 (dm_type_int_star): Ditto.
2887 (dm_type_long_star): Ditto.
2888 (dm_type_unsigned_int): Ditto.
2889 (dm_type_void): Ditto.
2890 (dm_type_void_star): Ditto.
99707966 2891 * gdb.base/cplusfuncs.exp (probe_demangler): New function.
99f78f56
MC
2892 Probe the gdb demangler and set variables to accommodate
2893 formatting differences.
2894 (info_func_regexp): New function. Same as info_func, but
2895 matches against a regexp.
2896 (info_func): Match against a literal string.
2897 (print_addr_2): New function. Match against a literal string,
2898 which can be different from the input to gdb.
2899 (print_addr): Simply call print_addr_2 with the same argument twice.
2900 (test_lookup_operator_functions): Use demangler formatting variables.
2901 Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort
2902 the tests in the same order as the C++ class declaration.
2903 (test_paddr_operator_functions): Ditto.
2904 (test_paddr_overloaded_functions): Ditto.
2905 (test_paddr_hairy_functions): Use demangler formatting variables.
2906 Add reference to gdb/19 for related tests.
2907 (do_tests): Call probe_demangler.
2908
1de8f023
KB
29092001-01-30 Kevin Buettner <kevinb@redhat.com>
2910
2911 * gdb.c++/templates.cc (printf): Remove unused function definition.
2912
ca3f91ed
MS
29132001-01-26 Felix Lee <flee@redhat.com>
2914
2915 * sid.exp (sid_exit): Pass host, not target, to remote_close.
2916
29172001-01-25 matthew green <mrg@redhat.com>
2918
2919 * config/sid.exp (sid_start): Call `remote_push_conn' after firing
2920 up sid.
2921 (sid_exit): Call `remote_pop_conn' after GDB is gone.
2922
29232001-01-25 matthew green <mrg@redhat.com>
2924
2925 * config/sid.exp (sid_start): Use `remote_spawn' instead of `spawn.'
2926 Deprecate $sid_spawn_id.
2927 (sid_exit): Remove code necessary only for `spawn.'
2928
29292001-01-25 matthew green <mrg@redhat.com>
2930
2931 * config/sid.exp (sid_start): Handle sim,protocol of `sid.'
2932
fb18ec4a
MC
29332001-01-28 Michael Chastain <chastain@redhat.com>
2934
2935 * gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc
2936 to call when tests fail. It takes gdb out of the overloaded
2937 function choice menu back to the main prompt, so that the test
2938 program stays synchronized.
2939 (set_bp_overloaded): New proc to collect all the common
2940 code for setting a breakpoint on an overloaded name. Calls
2941 take_gdb_out_of_choice_menu when needed.
2942 (menu_overload1arg): New variable to collect the repeated
2943 instances of the expected menu for an overloaded name. Change
2944 the regular expression to handle changes in g++ type encoding:
2945 "void" can be either "void" or "", and "unsigned int" can be
2946 either "unsigned int" or "unsigned".
2947 (continue_to_bp_overloaded): Change regular expressions to handle
2948 changes in g++ type encoding.
2949 (no proc): Call take_gdb_out_of_choice_menu when needed.
2950 Remove redundant calls to "info break". Accept either "canceled"
2951 or "cancelled". Change regular expressions in "info break"
2952 calls to handle changes in g++ type encoding. Give all tests
2953 unique strings.
2954
9c646a6e
BE
29552001-01-17 Ben Elliston <bje@redhat.com>
2956
2957 * config/sid.exp: New file.
2958
9549d9c1
AC
2959Fri Jan 12 18:29:01 2001 Andrew Cagney <cagney@b1.cygnus.com>
2960
2961 * gdb.base/callfuncs.exp: Add space after ``Value returned is''.
2962
dc96c6c7 29632000-12-21 Michael Snyder <msnyder@cygnus.com>
315f8b0e
MS
2964
2965 * gdb.base/finish.exp: Accept '1' instead of \001 from char_func.
2966 Add a RE to accept a non-ascii char if one is ever presented.
2967
b4df4f68
FN
29682000-12-20 Fernando Nasser <fnasser@redhat.com>
2969
297dd0fd 2970 * lib/mi-support.exp (mi_gdb_start): Test for MI_OUT, not UI_OUT.
b4df4f68 2971
dc96c6c7 29722000-12-18 Michael Snyder <msnyder@cygnus.com>
49c890fc
MS
2973
2974 * gdb.base/setvar.exp: Use double '\\' to quote curly braces
2975 in regexp. One '\' does not suffice on Linux.
2976
4a7bddb6
MC
29772000-12-09 Michael Chastain <chastain@redhat.com>
2978
2979 * gdb.base/break.exp (test_clear_command): Use a marker function
2980 rather than 'main' for the test function. Also move this
2981 test to an execution point where the marker function names are
2982 guaranteed to be bound to functions. (Executing tests after a
2983 'finish' from main runs into name conflicts with local names
2984 in __libc_start_main).
2985
dc96c6c7 29862000-12-07 Michael Snyder <msnyder@cygnus.com>
efb66345
MS
2987
2988 * gdb.base/finish.exp: New test for gdb's "finish" command.
2989 * gdb.base/return2.exp: New test for gdb's "return" command.
2990 * gdb.base/return2.c: New source file for above.
2991
dc96c6c7 29922000-12-05 Michael Snyder <msnyder@cygnus.com>
3c077de9
MS
2993
2994 * gdb.base/constvars.exp: Add a "pass" message if "up" succeeds.
2995 * gdb.base/miscexprs.exp: Ditto.
2996 * gdb.base/pointers.exp: Ditto.
2997 * gdb.c++/derivation.exp: Ditto.
2998 * gdb.c++/local.exp: Ditto.
2999 * gdb.c++/namespace.exp: Ditto.
3000 * gdb.c++/overload.exp: Ditto.
3001 * gdb.c++/ref-types.exp: Ditto.
3002
dc96c6c7 30032000-12-05 Michael Snyder <msnyder@cygnus.com>
660fd469
MS
3004
3005 * gdb.base/constvars.exp: Test result of "up" command.
3006 * gdb.base/miscexprs.exp: Ditto.
3007 * gdb.base/pointers.exp: Ditto.
3008 * gdb.base/scope.exp: Ditto.
3009 * gdb.c++/derivation.exp: Ditto.
3010 * gdb.c++/local.exp: Ditto.
3011 * gdb.c++/namespace.exp: Ditto.
3012 * gdb.c++/overload.exp: Ditto.
3013 * gdb.c++/ref-types.exp: Ditto.
3014
44097287
FN
30152000-11-22 Michael Chastain <chastain@redhat.com>
3016
3017 * mips_pro.exp: Accept either "middle -> top -> main" or
3018 "middle -> main" in the backtrace, because gcc can optimize
3019 tail calls to jumps. Remove setup_xfail for the hppa case.
3020 Add a comment with the original warning messages from PR 3016,
3021 which was filed in 1993, to preserve them for posterity.
3022
9d2e1bab
ND
30232000-11-17 Nick Duffek <nsd@redhat.com>
3024
3025 * lib/gdb.exp (gdb_test): Override timeout with board info.
3026
1aca8eb7
ND
30272000-11-17 Nick Duffek <nsd@redhat.com>
3028
3029 * gdb.base/display.exp: Don't kill running stub. Add "again" to
3030 the second kill and detach messages.
3031
93076499
ND
30322000-11-17 Nick Duffek <nsd@redhat.com>
3033
3034 * configure.in: Add AC_EXEEXT.
3035 * configure: Regenerate.
3036 * Makefile.in (just-check): Export EXEEXT.
3037 * lib/gdb.exp ($EXEEXT): Import from environment.
3038 * gdb.base/maint.exp: Expect $EXEEXT in executable name. Don't
3039 expect "maint dump-me" on Cygwin.
3040 * gdb.base/reread.exp ($binfile, $binfile1, $binfile2): Append
3041 $EXEEXT.
3042
30e87cd3
ND
30432000-11-17 Nick Duffek <nsd@redhat.com>
3044
3045 * gdb.base/break.exp: Test backtrace and finish from called
3046 function on all platforms, not just HP-UX.
3047
dc96c6c7 30482000-11-03 Michael Snyder <msnyder@cygnus.com>
08e706b1
MS
3049
3050 * config/monitor.exp (gdb_target_cmd): Abstracts some of the
3051 code from gdb_target_monitor, so it can be used independantly
3052 for gdbserver. Also comment out an unnecessary PUTS.
3053
dc96c6c7 30542000-11-03 Michael Snyder <msnyder@cygnus.com>
958a4e4c
MS
3055
3056 * gdb.base/a2-run.exp: Use gdb_skip_stdio_test.
3057 * gdb.base/corefile.exp: Expect the message "Program is being
3058 debugged already" when we send the "corefile" command, since
3059 the preceeding gdb_load may have connected gdb to a remote target.
3060 * gdb.base/display.exp: Disable hardware watchpoints if new
3061 board info variable "no_hardware_watchpoints" is true.
3062 Replace single-letter commands with more readable ones.
3063 * gdb.base/recurse.exp (recurse_tests): Disable hardware watchpoints
3064 if new board info variable "no_hardware_watchpoints" is true.
3065 * gdb.base/restore.exp (restore_tests): Call gdb_skip_stdio_tests
3066 to see if stdio (printf) testing is possible.
3067 * gdb.base/watchpoint.exp: Disable hardware watchpoints if new
3068 board info variable "no_hardware_watchpoints" is true. Use new
3069 proc "gdb_skip_stdio_tests" to see if printf tests are possible.
3070
39124dea
FN
30712000-11-13 Fernando Nasser <fnasser@redhat.com>
3072
3073 From Orjan Friberg <orjanf@axis.com>:
3074 * gdb.base/printcmds.exp: Escape curly braces followed by a number
3075 in array print pattern match.
3076
a9e2e984
FN
30772000-11-09 Fernando Nasser <fnasser@redhat.com>
3078
3079 * gdb.c++/templates.exp (test_template_breakpoints): Change Britsh
3080 spelling "cancelled" to U.S. spelling "canceled" to match changes
3081 made to gdb.
3082 * gdb.c++/ovldbreak.exp: Ditto.
3083
c7db355b
PS
30842000-11-06 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
3085
3086 * gdb.base/callfuncs.c (main): Moved to end of file, call
3087 t_double_values to initialize the FPU before inferior calls are made.
3088 * gdb.base/callfuncs.exp: Test for register preservation after calling
3089 inferior functions. Add tests for continuining, finishing and
3090 returning from a stop in a call dummy.
3091
dc96c6c7 30922000-10-24 Michael Snyder <msnyder@cygnus.com>
42f5c13f
MS
3093
3094 * gdb.base/commands.exp: Break up long lines, and re-indent.
3095
dc96c6c7 30962000-10-19 Michael Snyder <msnyder@cygnus.com>
ae0323a8
MS
3097
3098 * config/gdbserver.exp: Rewritten from the ground up, to make it
3099 compatible with the current dejagnu tree, and to make it work with
3100 the new "gdbserver" in libremote.
3101
dc96c6c7 31022000-10-16 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3103
3104 * gdb.base/sizeof.exp (check_sizeof): Skip if no printf support.
3105 * gdb.base/varargs.exp: Skip entire test if no printf support.
3106 * gdb.base/ending-run.exp (Step to return): Skip if no printf supt.
3107 * gdb.base/shlib-call.exp: Skip several tests if no printf support.
3108
dc96c6c7 31092000-10-13 Michael Snyder <msnyder@cygnus.com>
13a5e3b8
MS
3110
3111 * lib/gdb.exp (gdb_skip_float_test): New proc. Skip test if
3112 no floating point support.
3113 (gdb_skip_stdio_test): New proc. Skip test if no stdio support.
3114 * gdb.base/call-ar-st.exp: Use above procs to skip tests.
3115 * gdb.base/call-rt-st.exp: Ditto.
3116 * gdb.base/call-strs.exp: Ditto.
3117
bac5fc66
JG
31182000-08-02 Jimmy Guo <guo@hpcleara.cup.hp.com>
3119
3120 * gdb.base/sizeof.c: include <stdio.h>.
3121
3122 * gdb.c++/classes.exp: Use gdb_test instead of send_gdb to
3123 'finish', otherwise uncaptured gdb_prompt would potentially
3124 throw remaining test points out of sync.
3125
b22a6027
SB
31262000-07-26 Scott Bambrough <scottb@netwinder.org>
3127
3128 * gdb.base/recurse.exp: Run tests for all targets.
3129 * gdb.base/so-impl-ld.exp: Added wildcard to handle the
3130 gnu-oldld case on ARM.
3131 * gdb.base/watchpoint.exp (test_stepping): Clear xfail
3132 for ARM targets.
3133
d8231941
AG
3134Mon Jul 24 07:46:02 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3135
3136 * gdb.java/configure.in (AC_INIT): Use jmisc.exp.
3137 * gdb.java/configure: Rebuild.
3138
8caabe69
AG
3139Sun Jul 23 21:42:34 2000 Anthony Green <green@redhat.com>
3140
3141 * gdb.java/jv-exp.exp: New file.
3142
9d273ca3
AG
3143Sun Jul 23 21:02:42 2000 Anthony Green <green@redhat.com>
3144
3145 * configure: Rebuilt.
3146 * configure.in (configdirs): Add gdb.java.
3147 * gdb.java/jmisc.java: New file.
3148 * gdb.java/jmisc.exp: New file.
3149 * gdb.java/Makefile.in: New file.
3150 * gdb.java/configure: Rebuilt.
3151 * gdb.java/configure.in: New file.
3152 * lib/java.exp: New file.
3153
4f823a66
AC
3154Wed Jul 12 18:14:29 2000 Andrew Cagney <cagney@b1.cygnus.com>
3155
3156 * gdb.base/exprs.exp: Test casts to a pointer including over and
3157 underflow.
3158
2391e11d
AC
3159Thu Jul 13 11:52:53 2000 Andrew Cagney <cagney@b1.cygnus.com>
3160
3161 * gdb.base/sizeof.exp, gdb.base/sizeof.c: New files. Compare GDB
3162 and the compilers sizes.
3163
54602222
ND
31642000-07-09 Nick Duffek <nsd@redhat.com>
3165
3166 * gdb.c++/misc.cc (class ClassParam, class_param): Define.
3167 (use_methods): New function.
3168 (main): Call use_methods().
3169 * gdb.c++/classes.exp (test_method_param_class): New procedure.
3170 (do_tests): Call test_method_param_class.
3171
2bec0572
ND
31722000-07-09 Nick Duffek <nsd@redhat.com>
3173
3174 * gdb.c++/classes.exp (test_nonexistant_members): Fix name
3175 spelling.
3176 (test_enums): New procedure. Move enum tests from end of script
3177 to here. Set breakpoint on function name instead of line number.
3178 * gdb.c++/misc.cc (ClassWithEnum): Move past Foo definitions.
3179 (enums2): New marker function.
3180 (enums1): New function.
3181 (main): Call enums1(). Move enum tests to enums1().
3182
78492fde
AC
3183Tue Jul 4 03:43:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
3184
3185 * gdb.asm/asm-source.exp: Use raw AS/LD instead of CC to
3186 compile/link program. Update line numbers.
3187 * gdb.asm/d10v.inc: Define ``startup''.
3188 * gdb.asm/asmsrc1.s: Add definition of _start.
3189
49a2cef8
AC
3190Fri Jun 23 17:45:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
3191
3192 * gdb.base/call-ar-st.exp: More rewrites of multi-line patterns.
3193
3e6c8688
EZ
31942000-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3195
3196 * gdb.base/maint.exp: Add 'maint print architecture' item to output
3197 of 'help maint print' command.
3198
9ff5cbe9
AC
3199Fri Jun 16 18:22:05 2000 Andrew Cagney <cagney@b1.cygnus.com>
3200
3201 * gdb.base/call-ar-st.exp: Rewrite all multi-line patterns so that
3202 they use gdb_expect_list.
3203
17c579bd
AC
3204Wed Jun 7 13:02:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
3205
3206 * gdb.base/commands.exp: Use ``set remote
3207 memory-read-packet-size'' instead of ``set endian big'' to test
3208 long commands.
3209
e6d71bf3
DB
32102000-06-03 Daniel Berlin <dan@cgsoftware.com>
3211
3212 * gdb.c++/templates.exp (do_tests): Make all of these work under
3213 g++, and stop skipping them.
3214
3215 * gdb.c++/namespace.exp: Move from gdb.hp/gdb.aCC to here, make it
3216 work under g++.
3217
e5f9ba7b
MS
3218 * gdb.c++/misc.cc: Fix ambiguous initialization with correct
3219 initialization.
3220
dc96c6c7 32212000-06-02 Michael Snyder <msnyder@cygnus.com>
7346e70f
MS
3222
3223 * gdb.base/annota1.exp (run until main breakpoint): Loosen up
3224 the regular expression: accept an (almost) arbitrary sequence of
3225 "frames-invalid" and "breakpoints-invalid" messages both before
3226 and after the "starting" message.
3227
dc96c6c7 32282000-06-02 Michael Snyder <msnyder@cygnus.com>
e5f9ba7b
MS
3229
3230 * gdb.c++/local.exp: This test has never been known to work with g++.
e6d71bf3 3231
dc96c6c7 32322000-05-18 Michael Snyder <msnyder@cygnus.com>
0a791409
MS
3233
3234 * gdb.base/annota1.exp (annotate-signal-handler-caller):
3235 Relax the regular expression a little, make it pass on Solaris 8.
3236
8216cda9
KB
32372000-05-12 Kevin Buettner <kevinb@redhat.com>
3238
3239 * gdb.base/step-test.exp: On IA-64 targets, when stepping out of
3240 a call, do not require that gdb stop on the line after the call.
3241 Instead, it is permissible for gdb to stop on the line of the
3242 call itself.
3243
1a570b2f
MS
32442000-05-12 Michael Snyder <msnyder@.cygnus.com>
3245
3246 * gdb.base/break.exp (bp on small function, optimized file):
3247 Add a second pass pattern. The behavior differs here between stabs
3248 and dwarf for one-line functions. Stabs preserves two line symbols
3249 (one before the prologue and one after) with the same line number,
3250 but dwarf regards these as duplicates and discards one of them.
3251 Therefore the address after the prologue (where the breakpoint is)
3252 has no exactly matching line symbol, and GDB reports the breakpoint
3253 as if it were in the middle of a line rather than at the beginning.
3254
dc96c6c7 32552000-05-08 Michael Snyder <msnyder@cygnus.com>
89cb06a2
MS
3256
3257 * gdb.base/interrupt.exp: Make "pass" message say "send"
3258 rather than "send_gdb" (for consistancy).
3259
7d418785
AC
3260Mon May 1 15:37:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
3261
3262 From 2000-04-28 Andreas Jaeger <aj@suse.de>:
3263 * gdb.c++/templates.cc: Properly check for GCC version number.
3264 * lib/compiler.cc: Likewise
3265
dc96c6c7 32662000-04-28 Michael Snyder <msnyder@cygnus.com>
e919ea79
MS
3267
3268 * gdb.base/break.exp: When compiled with -O2 optimization,
3269 gdb may not stop at the first line of main, due to code motion.
3270
dc96c6c7 32712000-04-26 Michael Snyder <msnyder@cygnus.com>
1960c400
MS
3272
3273 * gdb.base/call-ar-st.exp: Bail out if target is sparclet.
3274 This test depends on parsing the printf output from the target.
3275 Since the sparclet stub doesn't do stdio, this will never work.
3276 * gdb.base/call-rt-st.exp: ditto.
3277 * gdb.base/call-strs: ditto.
3278
dc96c6c7 32792000-04-24 Michael Snyder <msnyder@cygnus.com>
b84b7669
MS
3280
3281 * gdb.base/miscexprs.exp: make sizeof long array test portable.
3282
3283 * gdb.base/ending-run.exp: After connecting to a remote target,
3284 but before running, the target will appear to be in a random
3285 location. Specify both a file and a line for breakpoints.
3286 Also, the function that calls main may be called 'init'
3287 rather than 'start'.
3288
a5a51225
EZ
32892000-04-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3290
3291 * gdb.base/help.exp: Update output for add-symbol-file command.
3292
7930cc7c
FN
32932000-04-10 Fernando Nasser <fnasser@cygnus.com>
3294
3295 From Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3296 * gdb.base/structs2.c: Support platforms defaulting to a unsigned char.
3297
23e37ab1
C
32982000-04-07 J.T. Conklin <jtc@redback.com>
3299
e93c542c
C
3300 * gdb.base/call-ar-st.exp: Relax patterns matching tab characters.
3301
23e37ab1
C
3302 * gdb.base/funcargs.exp: Relax patterns matching pointers to char.
3303
591b8fa3
PDM
3304Thu Mar 30 13:26:19 2000 Philippe De Muyter <phdm@macqel.be>
3305
3306 * gdb.base/call-ar-st.c (init_small_structs, main): Use floating-point
3307 values that can be represented exactly.
3308 * gdb.base/call-ar-st.exp (print print_small_structs): Fixed to match
3309 above change, and to not check against the directory part of the source
3310 file name.
3311 (step into print_long_arg_list): Likewise.
3312 (print print_small_structs from print_long_arg_list): Likewise.
3313 (print print_long_arg_list): Likewise.
3314
7a495180
EZ
33152000-03-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3316
30b53638 3317 * gdb.base/printcmds.c: Terminate char array ctable2 with 0.
7a495180 3318
beb998c6
AC
3319Mon Mar 27 14:46:37 2000 Andrew Cagney <cagney@b1.cygnus.com>
3320
3321 * ChangeLog, gdb.base/commands.exp: Revert whitespace changes.
3322
1c689132
DB
33232000-03-25 Daniel Berlin <dan@cgsoftware.com>
3324
3325 * gdb.base/commands.exp (deprecated_command_test): Add test for
3326 deprecate with no arguments.
3327
c1790a9d
JL
33282000-03-24 Jonathan Larmour <jlarmour@redhat.co.uk>
3329
3330 * gdb.base/break.exp: Add new test for setting breakpoints on
3331 optimized code so we can test breakpoints work even when function
3332 prologues may be optimized away
3333
003ba290
FN
33342000-03-23 Fernando Nasser <fnasser@totem.to.cygnus.com>
3335
3336 From David Whedon <dwhedon@gordian.com>
3337 * gdb.base/commands.exp : Added command deprecator tests.
3338
6837a0a2
DB
33392000-03-22 Daniel Berlin <dan@cgsoftware.com>
3340
3341 * gdb.base/help.exp: Added test for new apropos command.
3342
b9593231
KB
33432000-03-21 Kevin Buettner <kevinb@redhat.com>
3344
3345 * gdb.base/pointers.c (usevar): New function.
3346 (main): Make sure that global variables v_int_pointer2, rptr,
3347 and y are all referenced someplace in the program by calling
3348 usevar() on them. [Some linkers delete symbols which are
3349 never referenced. The space remains, but there's no way to
3350 get a (symbolic) handle on the variable from the debugger.]
3351
751a959b
EZ
33522000-03-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3353
3354 * gdb.base/printcmds.c: Add typedeffed arrays.
3355
3356 * gdb.base/printcmds.exp (test_print_typedef_arrays): New
3357 procedure to test arrays that are typedef'd.
3358
73a93a32
JI
33592000-03-13 James Ingham <jingham@leda.cygnus.com>
3360
3361 * lib/gdb.exp: Fix the gdbtk_start routine to correctly find all
beb998c6 3362 the library directories.
73a93a32 3363
fb40c209
AC
3364Mon Feb 21 13:05:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
3365
3366 * configure.in (configdirs): Add sub directory gdb.mi.
3367 * configure: Re-generate.
3368
3369 * gdb.mi: New directory.
beb998c6 3370
ee4dd2c9
AC
33712000-02-25 Scott Bambrough <scottb@netwinder.org>
3372
3373 * gdb.base/long_long.exp: Correct test suite failure when printing
3374 a long long value as a double on ARM platforms.
3375
70f0cc22
JB
33762000-02-16 Jim Blandy <jimb@redhat.com>
3377
3378 * gdb.base/break.exp ("breakpoint line number"): Make sure the
3379 default source file is set properly before running this test.
3380
853819b8
EZ
33812000-02-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3382
3383 * lib/gdb.exp: Tell the testsuite that now gdbtk is in the
3384 gdbtk/library directory, not in gdbtcl2.
3385
dfcd3bfb
JM
33862000-02-04 Jim Blandy <jimb@redhat.com>
3387
3388 * gdb.c++/templates.exp: ("ptype T5<int>"): Remove extraneous
3389 backslash from regexp pattern.
3390
3391 * gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): New
3392 procedure. Use it to run all the "continue to bp overloaded"
3393 tests. Note that this changes the names of the tests slightly.
3394 If the breakpoint hit message includes a hex PC value, because
3395 GCC's Dwarf 2 line info doesn't help us distinguish the prologue
3396 from the real source code, still consider that a pass.
3397
3398 * gdb.base/condbreak.exp ("run until breakpoint at marker2"):
3399 XFAIL here if the breakpoint message contains a hex address. Note
3400 similar change on 1999-11-02.
3401
3402 * gdb.base/step-test.exp: Comment Fernando's change of 2000-02-02.
3403
3404 * gdb.base/ptype.exp: Establish a default source file before
3405 calling get_debug_format.
3406
34072000-02-03 Fernando Nasser <fnasser@totem.to.cygnus.com>
3408
3409 * gdb.base/watchpoint.exp: Remove duplication of test messages.
3410
8b93c638
JM
34112000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3412
3413 * gdb.base/step-test.exp: Fix the steps to enter a callee by means
3414 of successive stepi commands -- while in the prologue we should see
3415 the function entry bracket.
3416
34172000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
3418
3419 * gdb.base/ending-run.exp: Add ARM in thumb mode case, where we
3420 reach __change_mode() when stepping through the end of main().
3421
c5394b80
JM
34222000-01-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
3423
3424 * gdb.base/default.exp: Fix expected pattern.
3425 * gdb.base/help.exp: Same.
3426
0d06e24b
JM
34272000-01-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3428
3429 * gdb.base/so-indr-cl.exp: Don't execute the test if not on HPUX.
3430 Don't use xfail's because that affects only the following test.
beb998c6 3431
0d06e24b
JM
3432 * gdb.base/so-impl-ld.exp: Don't execute the tests if not on hpux,
3433 solaris or linux.
3434
3435 * gdb.base/selftest.exp: Update to reflect changes to main.c.
3436
dc96c6c7 34372000-01-07 Michael Snyder <msnyder@cygnus.com>
0d06e24b 3438
beb998c6 3439 * gdb.base/display.exp: Some yacc parsers like to say
0d06e24b
JM
3440 "A syntax error" rather than "A parse error". Accept both.
3441
34422000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
3443
3444 * gdb.base/default.exp: Remove OS dependent string from "target
3445 remote" test.
3446 * gdb.base/help.exp: Same for "help target remote" test.
3447
c3f6f71d
JM
34482000-01-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3449
3450 From Jim Kingdon <kingdon@redhat.com>:
3451
3452 * gdb.c++/annota2.exp: Fix "delete bps" test to wait for the
3453 prompt (cleanup rather than necessity, but still might keep output
3454 from spilling to next test).
3455
34562000-01-02 Fred Fish <fnf@cygnus.com>
3457
3458 * gdb.base/ptype.c (FALSE, TRUE): #undef these to avoid clash on
3459 AIX, which defines them in <sys/types.h>.
3460
ed9a39eb 34611999-12-16 Stan Shebs <shebs@andros.cygnus.com>
c4093a6a 3462
ed9a39eb
JM
3463 * gdb.base/default.exp: Match arm* etc instead of arm in "info
3464 float" test.
3465
34661999-12-13 Fernando Nasser <fnasser@totem.to.cygnus.com>
c4093a6a 3467
ed9a39eb 3468 * gdb.base/watchpoint.exp: Add missing "(timeout)" to test message.
c4093a6a
JM
3469
3470 * gdb.base/break.exp: Add missing anchor to reg exp on "finish from
3471 outermost frame disallowed".
3472
34731999-12-09 Fernando Nasser <fnasser@totem.to.cygnus.com>
3474
3475 * gdb.base/setvar.exp: New tests for setting the value of a struct
3476 with a constant list.
3477
34781999-12-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
3479
3480 * gdb.base/setvar.exp: Remove pair os tests that expected gdb to
3481 require the user to type a cast before setting the value of a struct.
3482
de57eccd
JM
34831999-12-06 Jim Blandy <jimb@cygnus.com>
3484
3485 * gdb.base/default.exp: Expect the new 'info float' command on
3486 all i386 platforms.
3487
3488 * gdb.threads/linux-dp.exp: Expand our ability to recognize
3489 LinuxThreads libraries that don't support debugging.
3490
c2d11a7d
JM
3491Sat Dec 4 15:21:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3492
3493 * gdb.base/remote.c: Fill the buffer with truely random data.
3494 Change the buffer type to ``unsigned char'' to simplify size
3495 arithmetic.
3496
3497 * gdb.base/remote.exp: Reduce download numbers by one. Typical
3498 stub only handles 400-1 byte packets. Verify that the download
3499 worked.
3500
35011999-11-30 Fernando Nasser <fnasser@totem.to.cygnus.com>
3502
3503 * lib/gdb.exp (gdb_expect_list): FAIL only once on multiple pattern
3504 tests, using UNRESOLVED for the untested cases. Also, does not wait
3505 for a timeout if the prompt was received before a recognizable pattern.
3506
35071999-11-29 Fernando Nasser <fnasser@totem.to.cygnus.com>
3508
3509 * lib/gdb.exp (gdb_expect_list): Fix spelling.
3510
35111999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3512
3513 * gdb.base/watchpoint.exp: Add tests cases for the hit count of
3514 watchpoints.
3515
35161999-11-24 Jason Merrill <jason@casey.cygnus.com>
3517
3518 * gdb.base/condbreak.exp: Add missing '$gdb_prompt $'.
3519
3520 * gdb.c++/local.exp: Be more flexible in recognizing local class
3521 name mangling. Don't allow horribly truncated method names.
3522 * gdb.c++/derivation.exp: Expect protected inheritance.
3523 * gdb.c++/inherit.exp: Be more flexible in recognizing vbase pointers.
3524 * gdb.c++/virtfunc.exp: Likewise.
3525 * gdb.c++/classes.exp: Likewise. Don't require the enclosing scope
3526 when printing a nested enum.
3527
35281999-11-22 Jim Blandy <jimb@cygnus.com>
3529
3530 * gdb.base/step-test.exp: Properly await GDB's response to setting
3531 a breakpoint on the call to large_struct_by_value.
3532
3533 * gdb.base/ending-run.exp ("step to end of run 1"): Don't fail
3534 just because we have debug info for the `start' function.
3535
35361999-11-19 Jim Blandy <jimb@zenia.red-bean.com>
3537
3538 * gdb.threads/linux-dp.exp ("create philosopher"): Recognize the
3539 "Unknown signal" messages, which indicate (on LinuxThreads) that
3540 GDB doesn't know how to debug threads on this system. This is
3541 better than hanging while philosopher 0 dumps chatter into gdb.log.
3542
35431999-11-18 Tom Tromey <tromey@cygnus.com>
3544
3545 * gdb.trace/deltrace.exp: Updated test to reflect new error text.
3546
35471999-11-18 Fred Fish <fnf@cygnus.com>
3548
3549 * gdb.base/coremaker2.c: Add sample program for generating
3550 cores that is more self contained than coremaker.c. Eventually
3551 I'll add more code to this and tie it into the testsuite.
3552
4ce44c66
JM
35531999-11-12 Stan Shebs <shebs@andros.cygnus.com>
3554
3555 * gdb.base/dollar.exp: Remove, now in gdb.hp.
3556
35571999-11-10 Jimmy Guo <guo@cup.hp.com>
3558
3559 * gdb.exp (get_compiler_info): pick up compiler.c and compiler.cc
3560 from $srcdir/lib/.
3561 * lib/compiler.c, lib/compiler.cc: New files, moved from gdb.base/
3562 and gdb.c++/.
3563
3564 * gdb.c++/derivation.exp: remove redundant get compiler info code.
3565
beb998c6 3566 * gdb.base/commands.exp: add '$gdb_prompt $' anchor to
4ce44c66
JM
3567 'continue with watch' test point.
3568
35691999-11-08 Jim Blandy <jimb@zenia.red-bean.com>
3570
3571 Merged from p2linux-990323-branch:
beb998c6 3572
4ce44c66
JM
3573 * lib/gdb.exp (gdb_continue_to_breakpoint): New function.
3574
11cf8741
JM
3575Mon Nov 8 23:07:09 1999 Andrew Cagney <cagney@amy.cygnus.com>
3576
3577 * gdb.base/remote.exp: Test ``set remote memory-write-packet-sized
3578 {limit,fixed}''. Test ``set download-write-size''.
3579
3580Sun Nov 7 17:37:01 1999 Andrew Cagney <cagney@b1.cygnus.com>
3581
3582 * gdb.base/funcargs.exp: Rewrite stack traceback checks using
3583 gdb_expect_list.
3584
3585Fri Nov 5 18:40:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
3586
3587 * lib/gdb.exp (gdb_expect_list): Return a success/fail indication.
3588
35891999-11-03 Mark Salter <msalter@cygnus.com>
3590
3591 * gdb.base/break.exp: Fix "stub continue" pattern.
3592
35931999-11-03 Jim Blandy <jimb@zwingli.cygnus.com>
3594
3595 * gdb.base/shlib-call.exp ("next to shr1"): Fix test name.
3596
35971999-11-02 Jim Blandy <jimb@zwingli.cygnus.com>
3598
3599 * gdb.base/display.exp ("finish"): Add timeout clause.
3600
3601 * gdb.base/condbreak.exp ("run until breakpoint at marker1"): Add
3602 plain prompt clause, so this doesn't have to time out in order to
3603 fail.
3604
3605 * gdb.base/condbreak.exp, gdb.base/ena-dis-br.exp: XFAIL if the
3606 breakpoint hit messages include an address.
3607
3608 * gdb.base/display.exp: Don't forget to escape parens in regular
3609 expressions. Unix regexp notatation sucks.
3610
36111999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3612
3613 * gdb.base/annota1.exp: Test for annotate-signalled: change output
3614 order for 'signalled' message.
3615
5c44784c
JM
36161999-11-01 Stan Shebs <shebs@andros.cygnus.com>
3617
3618 From Jimmy Guo <guo@cup.hp.com>:
3619 * gdb.base/annota1.exp: Add tests for annotate ignore count change.
3620 * gdb.base/annota1.c: Add code for tests to work with.
3621
36221999-10-26 Frank Ch. Eigler <fche@cygnus.com>
3623
3624 * gdb.base/remote.exp: New test for remote downloading settings.
3625 * gdb.base/remote.c: New file with large .data.
3626
917317f4
JM
36271999-10-18 Jim Blandy <jimb@zwingli.cygnus.com>
3628
3629 * gdb.threads/linux-dp.c, gdb.threads/linux-dp.exp: New test suite
3630 for LinuxThreads support, merged from the Code Fusion branch.
3631
3632Mon Oct 11 13:57:21 1999 Andrew Cagney <cagney@amy.cygnus.com>
3633
3634 * lib/gdb.exp (gdb_run_cmd): Break complicated gdb_expect
3635 containing exp_continue into a while within an expect. Don't
3636 attempt a start more than three times. Check return value from
3637 gdb_load.
beb998c6 3638
2df3850c
JM
3639Wed Oct 6 12:05:58 1999 Andrew Cagney <cagney@b1.cygnus.com>
3640
3641 * gdb.base/watchpoint.exp: Match fail ``finish from marker1'' with
3642 a pass case.
3643
2acceee2
JM
36441999-10-01 Kevin Buettner <kevinb@cygnus.com>
3645
3646 * gdb.base/break.c (main): Added a statement that we can step
3647 off of.
3648 * gdb.base/break.exp: Added tests for setting a breakpoint
3649 at an offset and stepping onto a breakpoint.
3650
36511999-10-01 Fred Fish <fnf@cygnus.com>
3652
beb998c6 3653 * gdb.base/help.exp (help add-symbol-file): Update to match current
2acceee2
JM
3654 gdb output.
3655
c2c6d25f
JM
36561999-09-18 Jim Blandy <jimb@cris.red-bean.com>
3657
3658 * gdb.base/break.exp: Code locations are in hex, don't forget!
3659 (For HP-UX.)
3660
36611999-09-17 Stan Shebs <shebs@andros.cygnus.com>
3662
3663 * condbreak.exp: Use break.c as test program.
3664 * condbreak.c: Remove, redundant with break.c.
3665
36661999-09-15 Stan Shebs <shebs@andros.cygnus.com>
3667
3668 * config/monitor.exp (gdb_target_monitor): Disable X- and
3669 Z-packets if the target needs it.
3670
36711999-09-13 James Ingham <jingham@leda.cygnus.com>
3672
3673 * gdb.c++/overload.exp: Added tests for listing overloaded
3674 functions with function pointers in the arg, explicitly calling
3675 out the version you want.
3676
cff3e48b
JM
36771999-09-09 Stan Shebs <shebs@andros.cygnus.com>
3678
3679 * long_long.exp: Add variations of test cases that work for
3680 targets with 16-bit ints and 32-bit doubles.
3681
d4f3574e
SS
36821999-09-08 Stan Shebs <shebs@andros.cygnus.com>
3683
3684 * break.c (main): Compare a possibly-uninitialized argc with an
3685 unlikely value that fits in 16 bits.
3686
36871999-09-07 Stan Shebs <shebs@andros.cygnus.com>
3688
3689 * gdb.base/restore.c, gdb.base/restore.exp: Use 0x7eeb instead of
3690 0xfeeb, don't want negative numbers if ints are 16 bits.
3691
3692 * lib/gdb.exp (skip_cplus_tests): New proc.
3693 * gdb.c++/ambiguous.exp, gdb.c++/annota2.exp,
3694 gdb.c++/anon-union.exp, gdb.c++/classes.exp,
3695 gdb.c++/cplusfuncs.exp, gdb.c++/ctti.exp, gdb.c++/demangle.exp,
3696 gdb.c++/derivation.exp, gdb.c++/inherit.exp, gdb.c++/local.exp,
3697 gdb.c++/member-ptr.exp, gdb.c++/method.exp, gdb.c++/misc.exp,
3698 gdb.c++/overload.exp, gdb.c++/ovldbreak.exp,
3699 gdb.c++/ref-types.exp, gdb.c++/templates.exp, gdb.c++/userdef.exp,
3700 gdb.c++/virtfunc.exp: Use it to skip over C++ tests.
3701
3702 * gdb.c++/cplusfuncs.exp: Use get_compiler_info consistently.
3703
3704Fri Sep 3 15:37:12 1999 Kevin Buettner <kevinb@cygnus.com>
3705
3706 * gdb.base/corefile.exp (up): Allow a parameter to appear
3707 in the frame that we're going up to.
3708
3709 From Jim Blandy <jimb@cygnus.com>:
3710
3711 * gdb.base/default.exp (info float): Expect some output now.
3712
3713 * gdb.base/callfuncs.exp (do_function_calls): We no longer expect
3714 returning floating-point values to fail on the x86.
3715 * gdb.base/callfwmall.exp (do_function_calls): Same.
3716
3717 * gdb.base/list.exp (test_listsize): Correct expectations for
3718 listing line 1 with listsize 2. Also, listing a single line
3719 works now, as does listing three lines. [Kevin's note: There
3720 were a number of other cases fixed too where the expectations
3721 differed...]
3722
37231999-09-02 Stan Shebs <shebs@andros.cygnus.com>
3724
3725 * gdb.base/selftest.exp: Add case for when version prints as
3726 constant string instead of char pointer.
3727
104c1213
JM
37281999-08-25 Stan Shebs <shebs@andros.cygnus.com>
3729
3730 * gdb.base/ending-run.exp: Add Solaris case for what happens when
3731 stepping out of main.
3732
3733 * gdb.c++/derivation.exp: XFAIL inf fn calls for all configs, if
3734 G++ used.
3735
3736 * gdb.c++/local.exp: Expect ptype NestedInnerLocal to succeed
3737 always, expect ptype InnerLocal::NestedInnerLocal to fail always.
3738
3739 * gdb.c++/ovldbreak.exp: Update match string in test that
3740 includes a warning of multiple breakpoints.
3741
37421999-08-24 Stan Shebs <shebs@andros.cygnus.com>
3743
3744 * gdb.base/display.exp: Improve precision of step-after-finish
3745 added yesterday.
3746
3747 * gdb.base/signals.exp: Add extra wildcard to "handle all print"
3748 test.
3749
3750 * gdb.c++/classes.exp: XFAIL HP-compiler-only tests for all
3751 configs when using G++, not just hppa*.
3752
37531999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3754
3755 * gdb.base/async.c: New file.
3756 * gdb.base/async.exp: New file.
3757
3758Tue Aug 24 03:24:53 1999 Jeffrey A Law (law@cygnus.com)
3759
3760 * gdb.base/break.exp: Tweak PA specific tests to properly handle
3761 PA64.
3762
53a5351d
JM
3763Mon Aug 23 10:25:20 1999 Jeffrey A Law (law@cygnus.com)
3764
104c1213
JM
3765 * gdb.base/display.exp: "finish" can leave us mid-line on many
3766 targets, deal with it. Add a small constant to main, instead of
3767 1000 since main+1000 may not be a valid address in the target.
3768
53a5351d
JM
3769 * gdb.base/dollar.exp: Do not run for PA processors in wide mode
3770 on hpux11.
3771
3772 * gdb.base/attach.exp: Handle another hpux11 error message variant
3773 when attaching to a process that does not exist.
3774
37751999-08-19 J.T. Conklin <jtc@redback.com>
3776
3777 * gdb.base/call-ar-exp.exp: Fix pattern matching whitespace
3778 characters in 'continue to 1241' test.
3779
37801999-08-17 Stan Shebs <shebs@andros.cygnus.com>
3781
3782 * gdb.base/call-ar-st.exp: Add a shorter match case for the
3783 stop in print_long_arg_list, define and use a whitespace
3784 variable in print_small_structs test, add an XFAIL for Solaris.
3785 * gdb.base/dbx.exp: XFAIL func commands until somebody is
3786 interested enough to fix.
3787
7be570e7
JM
37881999-08-13 Keith Seitz <keiths@cygnus.com>
3789
3790 * gdb.base/dbx.exp (dbx_gdb_file_cmd): Rename to gdb_file_cmd.
3791 (dbx_gdb_load): Remove. Use gdb_load instead, since that
3792 proc knows about targets other than the natives.
3793 (test_assign): Use "gdb_run_cmd" to "run" the target.
3794 Check that we've actually hit the breakpoint at main.
3795 When we attempt to assign a value to a local variable, check
3796 that the variable is in the current scope, i.e., don't use
3797 a test with an empty result.
3798
3799Tue Aug 10 15:25:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
3800
3801 * gdb.base/maint.exp: Add test of ``maintenance internal-error''
3802 command.
3803
38041999-08-09 Stan Shebs <shebs@andros.cygnus.com>
3805
3806 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3807 gdb.hp: Move tests into subdirectories gdb.aCC, gdb.base-hp,
3808 gdb.compat, gdb.threads-hp.
3809 gdb.hp/configure, gdb.hp/configure.in: New files.
3810 gdb.hp/Makefile.in: Recurse into new subdirs.
3811 gdb.hp/gdb.defects: New directory, tests for HP bug reports.
3812 gdb.hp/gdb.objdbg: New directory, tests for debugging info
3813 in object files.
3814 gdb.hp/tools: New directory, aux tools for HP-specific tests.
3815
96baa820
JM
38161999-08-05 Stan Shebs <shebs@andros.cygnus.com>
3817
3818 * gdb.base/display.exp: Help expect by putting a newline in the
3819 funky printf, remove a bogus p/a test.
3820
38211999-08-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3822
3823 * gdb.base/display.exp: Make sure that when we say 'run', we are
3824 connected to the target. This is necessary when running not
3825 natively.
3826
38271999-08-03 Stan Shebs <shebs@andros.cygnus.com>
3828
3829 * gdb.base/step-test.exp: Removed some extraneous messages.
3830
3831 * gdb.base/long_long.exp: Don't run memory examination tests
3832 on little-endian targets (they will need a different set of
3833 results to match).
3834
38351999-08-02 Stan Shebs <shebs@andros.cygnus.com>
3836
3837 * gdb.c++/virtfunc.exp: Expect to fail the virtual call tests
3838 until somebody decides to fix GDB.
3839
3840 * gdb.base/long_long.c: Stop compiler complaint by specifying long
3841 constant as "ULL".
3842 * gdb.base/long_long.exp: Loosen x/c test, add partial result
3843 matches for a couple x/2 commands.
3844
a0b3c4fd
JM
38451999-07-30 Stan Shebs <shebs@andros.cygnus.com>
3846
3847 * gdb.c++/ref-types.cc, gdb.c++/ref-types.exp: Appease doschk
3848 by merging in ref-types2 tests.
3849 * gdb.c++/ref-types2.cc, gdb.c++/ref-types2.exp: Remove.
3850
3851 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3852 * gdb.c++/Makefile.in: Add standard actions.
3853 (EXECUTABLES): Rename from PROGS, update list.
3854 * gdb.c++/ambiguous.cc, gdb.c++/ambiguous.exp: Move to here
3855 from gdb.hp.
3856 * gdb.c++/anon-union.cc: Don't use anonymous struct, make
3857 foo and bar locals.
3858 * gdb.c++/anon-union.exp: Fix tests to match.
3859 * gdb.c++/classes.exp: Run if HP compiler used, add extra
3860 expect matches to handle output variations.
3861 * gdb.c++/cplusfuncs.cc: Make operator -> return foo *.
3862 * gdb.c++/cplusfuncs.exp: Update to match, allow word "class" in
3863 output, add HP alternatives for new and delete prints.
3864 * gdb.c++/ctti.exp, gdb.c++/cttiadd.cc, gdb.c++/cttiadd1.cc,
3865 gdb.c++/cttiadd2.cc, gdb.c++/cttiadd3.cc: Move here from gdb.hp.
3866 * gdb.c++/demangle.exp: Use $style when reporting failure.
3867 * gdb.c++/derivation.exp: Add some xfails if GCC-compiled.
3868 * gdb.c++/inherit.exp: Run if HP compiler used, add some
3869 match alternatives.
3870 * gdb.c++/local.exp: Add match alternatives or xfails for HP
3871 compilers.
3872 * gdb.c++/member-ptr.exp: Add xfails for hppa*-*-*.
3873 * gdb.c++/method.exp: Add match alternatives.
3874 * gdb.c++/misc.cc: Add bool types.
3875 * gdb.c++/misc.exp: Add tests for bool types.
3876 * gdb.c++/overload.exp: Add xfails.
3877 * gdb.c++/templates.cc: Remove bogus arglist init, init fvpchar.
3878 * gdb.c++/templates.exp: Run if HP compiler used, add some xfails,
3879 add some more template parameter tests (only for HP currently).
3880 * gdb.c++/userdef.exp: Add xfails for hppa*-*-*.
3881 * gdb.c++/virtfunc.cc: Add return type and value for main.
3882 * gdb.c++/virtfunc.exp: Run if HP compiler used, add some
3883 match alternatives.
beb998c6 3884
a0b3c4fd
JM
38851999-07-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3886
3887 * gdb.base/display.exp: Fix output of 'p/a &&j' test.
3888
38891999-07-29 Jim Blandy <jimb@savonarola.red-bean.com>
3890
3891 * gdb.base/signals.exp: Don't expect getting a backtrace from
3892 within a signal handler to fail on Linux.
3893
38941999-07-29 Stan Shebs <shebs@andros.cygnus.com>
3895
3896 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3897 * lib/gdb.exp: Remove some gratuitious semicolons.
3898 (delete_breakpoints): Increase timeout.
3899 (gdb_expect): Add -notransfer option.
3900 (gdb_test): Use -notransfer option.
3901 (get_compiler_info): Add f77 case.
3902 (get_compiler): New proc, split out from gdb_preprocess, add f77
3903 case.
3904 (gdb_preprocess): Call get_compiler.
3905
3906 * gdb.base/Makefile.in (EXECUTABLES): Update the list.
3907 * gdb.base/attach.exp, gdb.base/display.exp,
3908 gdb.base/ending-run.exp, gdb.base/gdbvars.exp,
3909 gdb.base/long_long.exp, gdb.base/printcmds.exp,
3910 gdb.base/structs.exp, gdb.base/structs2.exp: Remove or fill in
3911 third arg to gdb_test.
3912 * gdb.base/call-ar-st.exp: Add HP-UX xfail for >10-arg functions.
3913 * gdb.base/callfuncs.exp, gdb.base/callfwmall.exp: Remove some
3914 HP-UX xfails, add others.
3915 * gdb.base/completion.exp: Reflect name change of self-test.
3916 * gdb.base/condbreak.exp, gdb.base/corefile.exp,
3917 gdb.base/foll-exec.exp, gdb.base/interrupt.exp,
3918 gdb.base/ptype.exp, gdb.base/scope.exp, gdb.base/setvar.exp: Note
3919 HP failure number.
3920 * gdb.base/foll-vfork.exp: Loosen matches slightly, remove
3921 useless HP-UX 10.30 references.
3922 * gdb.base/maint.exp: Loosen matches.
3923 * gdb.base/pointers.c (main): Declare more_code.
3924 * gdb.base/pointers.exp: Match on output of a `next'.
3925 * gdb.base/structs.c: Add prototypes.
3926 * gdb.base/watchpoint.exp: Remove HP-UX 10.30 reference.
3927 * gdb.base/whatis.exp: Fail for both HP-UX 10.20 and 11.
3928
39291999-07-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3930
3931 * gdb.base/list.exp: Add tests for repeating 'list <linenum>'
3932 command.
3933
39341999-07-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3935
3936 * gdb.c++/annota2.exp: Fix delete breakpoint query testcase.
3937 Fix run to main failures. Watchpoint can be hardware watchpoint.
beb998c6
AC
3938
3939 * gdb.base/annota1.exp: Clean up some more, in case printf has
a0b3c4fd
JM
3940 debug info. Deal with lack of signal hanlder info in stack.
3941
3942 From Jim Kingdon <kingdon@redhat.com>:
3943 * gdb.base/annota1.exp: If printf has debug info, deal with it.
3944
5a2468f5
JM
39451999-07-19 Stan Shebs <shebs@andros.cygnus.com>
3946
3947 * gdb.base/foll-exec.exp, gdb.base/foll-fork.exp,
3948 gdb.base/foll-vfork.exp: Don't run for crosses.
3949
adf40b2e
JM
3950Tue Jul 13 23:37:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
3951
3952 * gdb.base/configure.in: Check for gdbvars.exp instead of
3953 a1-selftest.exp.
3954 * gdb.base/configure: Re-generate.
3955
39561999-07-12 Stan Shebs <shebs@andros.cygnus.com>
3957
3958 * gdb.base/selftest.exp: Rename from a1-selftest.exp, no point
3959 in trying to run first and name is too long.
3960
3961 * gdb.base/pointers.c, gdb.base/pointers.exp: Add contents of
3962 pointers2.c and pointers2.exp, respectively.
3963 * gdb.base/pointers2.c, gdb.base/pointers2.exp: Remove, makes
3964 doschk happier.
3965
43e526b9
JM
39661999-07-08 Stan Shebs <shebs@andros.cygnus.com>
3967
3968 * gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Renamed from
3969 callfuncs2.c and callfuncs2.exp.
3970
3971 * gdb.base/list.exp: Remove mistaken xfails.
3972 * gdb.base/list0.h: Add optional prototypes.
3973
9846de1b
JM
3974Wed Jul 7 00:27:35 1999 Andrew Cagney <cagney@amy.cygnus.com>
3975
3976 * gdb.base/setvar.exp: Increase the time-out on tests indirectly
3977 calling malloc.
3978 * nodebug.exp, printcmds.exp, ptype.exp, setvar.exp: Ditto.
3979 * ptype.exp: Move test for get_debug_format to before its first
3980 use.
3981
39821999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3983
3984 * gdb.base/Makefile.in (EXECUTABLES): Remove annota2 executable.
3985 * gdb.base/annota2.cc, annota2.exp: Move from here.
3986 * gdb.c++/annota2.cc, annota2.exp: To here.
3987 * gdb.c++/Makefile.in (PROGS): Add annota2 executable.
3988
43ff13b4
JM
3989Tue Jun 29 11:56:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
3990
3991 * lib/gdb.exp (gdb_expect_list): Output one message per pattern in
3992 a consistent format.
3993
085dd6e6
JM
39941999-06-25 Stan Shebs <shebs@andros.cygnus.com>
3995
3996 From Jimmy Guo <guo@cup.hp.com> and others at HP:
3997 * lib/gdb.exp (get_compiler_info): Add detection for assorted
3998 HP compilers, also set the globals $true and $false.
3999
4000 * gdb.base/annota1.c, bitfields.c, break.c, call-ar-st.c,
4001 call-rt-st.c, call-strs.c, callfuncs.c, callfuncs2.c, condbreak.c,
4002 coremaker.c, ending-run.c, exprs.c, funcargs.c, interrupt.c,
4003 jump.c, langs0.c, langs1.c, langs2.c, list0.c, list1.c,
4004 long_long.c, mips_pro.c, nodebug.c, opaque0.c, opaque1.c,
4005 printcmds.c, ptype.c, recurse.c, restore.c, return.c, run.c,
4006 scope0.c, scope1.c, setshow.c, setvar.c, shmain.c, shr1.c, shr2.c,
4007 sigall.c, signals.c, so-impl-ld.c, so-indr-cl.c, solib.c,
4008 solib1.c, solib2.c, step-test.c, twice.c, varargs.c, watchpoint.c,
4009 whatis.c} Add C++ compatible function definitions and return
4010 types, add includes for library functions.
4011 * gdb.base/ptype.c (my_false, my_true): Use instead of false/true.
4012 * gdb.base/step-test.c (myglob): Rename from glob.
4013 * gdb.base/attach.c, attach2.c, average.c, execd-prog.c,
4014 foll-exec.c, foll-fork.c, foll-vfork.c, sum.c, vforked-prog.c: New
4015 files, move here from gdb.hp.
4016 * gdb.base/annota1.exp, break.exp, call-ar-st.exp, call-rt-st.exp,
4017 commands.exp, condbreak.exp, define.exp, ena-dis-br.exp,
4018 ending-run.exp, jump.exp. list.exp, long_long.exp, so-impl-ld.exp:
4019 Adjust line numbers in regexps.
4020
4021 * gdb.base/all-bin.exp, eval-skip.exp, exprs.exp, logical.exp,
4022 miscexprs.exp, pointers.exp, relational.exp: Use $true and $false
4023 instead of 0/1.
4024
4025 * gdb.base/attach.exp, dbx.exp, foll-exec.exp, foll-fork.exp,
4026 foll-vfork.exp: New files, move here from gdb.hp.
4027 * gdb.base/page.exp: New file, test of pagination command.
4028
4029 * gdb.base/watchpoint.c (recurser): New function, for watchpoint
4030 recursion test.
4031 * gdb.base/watchpoint.exp: Add more test cases for watchpoints.
4032
4033 * gdb.base/so-impl-ld.exp, gdb.base/so-indr-cl.exp,
4034 gdb.base/solib.exp: Fix compiler invocation process.
4035
4036 * gdb.base/callfuncs.exp, gdb.base/callfuncs2.exp: Don't xfail for
4037 HP-UX 11, turn off overload resolution explicitly.
4038 * gdb.base/commands.exp: Set argument list explicitly, add
4039 watchpoint test.
4040 * gdb.base/completion.exp: Enable if HP-UX, tweak tests to make
4041 them work.
4042 * gdb.base/constvars.exp, gdb.base/volatile.exp: Escape the
4043 expressions properly.
4044 * gdb.base/corefile.exp: Loosen the match slightly.
4045 * gdb.base/default.exp: Allow "Error accessing memory" message
4046 also.
4047 * gdb.base/display.exp: Skip over x/0 j if PA64.
4048 * gdb.base/funcargs.exp: Add xfails for HP-UX.
4049 * gdb.base/interrupt.exp: Ditto.
4050 * gdb.base/langs.exp: Add symbolic matches governed by compiler
4051 in use.
4052 * gdb.base/list.exp: Add xfails for HP-UX.
4053 * gdb.base/long_long.exp: Refine some of the numeric matches.
4054 * gdb.base/mips_pro.exp: Xfail on HP-UX.
4055 * gdb.base/miscexprs.exp: Add PA2.0 case for array size test.
4056 * gdb.base/nodebug.exp: Succeed on more varieties of output.
4057 * gdb.base/opaque.exp: Remove some HP-UX xfails.
4058 * gdb.base/ptype.exp: Succeed on more varieties of output.
4059 * gdb.base/scope.exp: Add xfails for HP-UX.
4060 * gdb.base/sect-cmd.exp: Add more cases.
4061 * gdb.base/setvar.exp: Add xfails for HP-UX.
4062 * gdb.base/shlib-call.exp: Loosen some matches slightly.
4063 * gdb.base/signals.exp: Match on void symbolically.
4064 * gdb.base/step-test.exp: Add case for PA64.
4065 * gdb.base/term.exp: Add exit and restart.
4066 * gdb.base/twice.exp: Clean up after self.
4067 * gdb.base/varargs.exp: Disable overload resolution explicitly.
4068 * gdb.base/whatis.exp: Allow more ways to pass tests.
4069
4070 * gdb.base/smoke.exp, gdb.base/smoke.c, gdb.base/smoke.cc: Remove,
4071 no longer useful.
4072
4073Fri Jun 25 19:27:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
4074
4075 * lib/gdb.exp (proc gdb_expect_list): New procedure. Matches a
4076 list of patterns.
4077 * gdb.base/call-ar-st.exp: Use gdb_expect_list in "print
4078 print_double_array(double_array)", "continuing to breakpoint
4079 1018", "print print_double_array(array_d)" and "continuing to
4080 1034" tests.
beb998c6 4081
085dd6e6
JM
40821999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
4083
4084 * Makefile.in: Add empty html and install-html targets.
4085
40861999-06-24 Stan Shebs <shebs@andros.cygnus.com>
4087
4088 * config/mt-*: Remove, these haven't been used since 1996.
4089
40901999-06-22 Stan Shebs <shebs@andros.cygnus.com>
4091
4092 * gdb.base/call-strs.c, gdb.base/ending-run.c,
4093 gdb.base/step-test.c: Include stdlib.h and string.h as needed.
4094 * gdb.c++/member-ptr.exp: Skip over these tests if using G++.
4095
9e0b60a8
JM
40961999-06-18 Stan Shebs <shebs@andros.cygnus.com>
4097
4098 * gdb.c++/overload.exp: XFAIL everything if using G++, add a
4099 simpler match case for the ptype of the big class.
4100
41011999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4102
4103 * gdb.exp: Fix test for gdb_prompt existence.
4104
41051999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4106
4107 * gdb.exp (gdb_test): Add fail after calls to perror.
4108
41091999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4110
4111 * gdb.exp (gdb_test): Accept variations of Undefined command messages.
4112
41131999-06-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
4114
4115 * gdb.exp (gdb_test): Fix anchors on gdb_expect statement.
4116
0f71a2f6
JM
4117Fri Jun 11 12:56:50 1999 Andrew Cagney <cagney@b1.cygnus.com>
4118
4119 * gdb.base/call-strs.c (link_malloc): New function. Ensure that
4120 malloc() is linked in.
4121
41221999-06-08 Fernando Nasser <fnasser@totem.to.cygnus.com>
4123
4124 * gdb.base/ending-run.exp: Make sure we fail and do not timeout at
4125 step at end.
4126
4127 * gdb.base/annota1.exp: Increase match_max to prevent timeout.
4128
41291999-06-08 Jim Blandy <jimb@zwingli.cygnus.com>
4130
4131 * gdb.java/jv-print.exp: New file. (Our first Java test!)
4132
cce74817
JM
4133Fri Jun 4 10:47:46 1999 Jeffrey A Law (law@cygnus.com)
4134
4135 * gdb.base/a1-selftest.exp: Remove bogus hppa xfail.
4136 * gdb.base/mips_pro.exp: Likewise.
4137
41381999-06-02 Keith Seitz <keiths@cygnus.com>
4139
4140 * gdb.c++/templates.cc: Change all "new" operators to throw
4141 an exception.
4142 * gdb.c++/cplusfuncs.cc: Likewise.
4143
4144 * gdb.base/Makefile.in (EXECUTABLES): Add smoke1, annota1, and annota2.
4145
4146Wed Jun 2 17:37:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
4147
4148 * gdb.base/condbreak.exp: Use rerun_to_main to start the program.
4149 * gdb.base/ending-run.exp: When stepping out of main, accept a
4150 step into an arbitrary assembler file.
4151
392a587b
JM
41521999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4153
beb998c6 4154 * gdb.base/annota1.exp: Allow any number of "frames-invalid" and
392a587b 4155 "breakpoint-invalid" to be printed.
beb998c6 4156 * gdb.base/annota2.exp: Revise line number for main breakpoint. Allow any
392a587b
JM
4157 number of "frames-invalid" and "breakpoint-invalid" to be printed.
4158 * gdb.base/annota2.cc: Initialize a.x to 0.
4159
9e086581
JM
41601999-05-17 Keith Seitz <keiths@cygnus.com>
4161
4162 * gdb.base/call-ar-st.exp: Skip "print print_double_array (double_array)"
4163 when "skip_float_tests" set.
4164 Ditto for "print print_double_array(array_d)", "print print_small_structs",
4165 "print print_ten_doubles", and "step into print_long_arg_list".
4166 Don't assume we can step into "print_long_arg_list": we could step into memcpy.
4167 * gdb.base/call-rt-st.exp: Don't run float-related tests when "skip_float_tests"
4168 is set: "print print_one_double(*d1)" and "print print_two_floats(*f3)".
4169 * gdb.base/funcargs.exp: Don't run "float_and_integral_args" when
4170 "skip_float_tests" is set.
4171 * gdb.base/varargs.exp: Skip "print find_max_double(5,1.0,17.0,2.0,3.0,4.0)"
4172 when "skip_float_tests" set.
beb998c6 4173
cd0fc7c3
SS
41741999-05-06 Keith Seitz <keiths@cygnus.com>
4175
4176 * gdb.base/annota2.cc: Include stdio.h.
4177
4178Wed May 5 17:44:31 1999 Stan Shebs <shebs@andros.cygnus.com>
4179
4180 * gdb.base/crossload.exp: Remove, this has been disabled ever
4181 since BFD stopped including all targets, and cross-GDB gets
4182 plenty of testing anyway.
4183 * gdb.base/i486-elf.u, gdb.base/m68k-aout.u, gdb.base/m68k-elf.u,
4184 gdb.base/sparc-aout.u, gdb.base/i860-elf.u, gdb.base/m68k-aout2.u,
4185 gdb.base/mips-ecoff.u, gdb.base/sparc-elf.u: Remove.
4186 * gdb.base/README: Remove, was doc for this.
4187 * gdb.base/Makefile.in (CROSS_EXECUTABLES): Remove, no longer
4188 needed.
4189
b83266a0
SS
41901999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4191
4192 * gdb.base/call-ar-st.exp: Fix one regular expression in test
4193 output.
4194
4195 * gdb.base/annota1.exp: New file. Annotation level 2 tests.
4196 * gdb.base/annota2.exp: New file. More annotation tests.
4197 * gdb.base/annota1.c: New file. Source file for annota1.exp.
4198 * gdb.base/annota2.cc: New file. Source file for annota2.exp.
4199
42001999-04-23 Angela Marie Thomas <angela@cygnus.com>
4201
4202 * config/cfdbug.exp: New file.
4203
7a292a7a
SS
42041999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4205
4206 * gdb.c++/demangle.exp (test_gnu_style_demangling): Add tests for
4207 Marcus Daniel's and Dale Hawkins's demangler crashes.
4208
4209 * gdb.c++/demangle.exp (test_gnu_style_demangling,
4210 test_lucid_style_demangling, test_arm_style_demangling,
4211 test_hp_style_demangling): Try Tom Tromey's core-dumping
4212 identifier under each demangling style.
4213
42141999-04-07 Jim Blandy <jimb@zwingli.cygnus.com>
4215
4216 * gdb.c++/demangle.exp: Include the current demangling style
4217 in all test names.
4218 (current_demangling_style): New global variable.
4219 (set_demangling_style, test_demangling_core, test_demangling,
4220 test_demangling_exact): New functions.
4221 (test_gnu_style_demangling, test_lucid_style_demangling,
4222 test_arm_style_demangling, test_hp_style_demangling): Use those,
4223 instead of calling gdb_test and gdb_test_exact directly.
4224 (catch_demangling_errors): New function, which reports errors
4225 signalled by the demangling test functions in an orderly way.
4226 (do_tests): Use catch_demangling_errors.
4227
42281999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
4229
4230 * gdb.base/signals.exp (test_handle_all_print): Use () for
4231 grouping in expressions, not {}.
4232
4233 * gdb.base/smoke.exp: Test value of x, not y. The latter isn't
4234 initialized yet.
4235
42361999-04-01 Stan Shebs <shebs@andros.cygnus.com>
4237
4238 * gdb.c++/derivation.exp: Pass ptype tests if synthesized methods
4239 are listed.
4240
42411999-03-26 Stan Shebs <shebs@andros.cygnus.com>
4242
4243 * gdb.stabs/weird.exp: Test for CC being defined before
4244 looking at its value.
4245
42461999-03-25 Stan Shebs <shebs@andros.cygnus.com>
4247
4248 * gdb.base/call-ar-st.exp: Remove stray '#'.
4249 * gdb.base/miscexprs.exp: Allow "short" and "long" as well as
4250 "short int" and "long int".
4251 * gdb.c++/overload.cc: Cast the string added in the previous
4252 change, to mollify finicky HP compiler.
4253 * gdb.hp/reg-test.exp (testfile): Fix file name.
4254 * gdb.stabs/weird.exp: Don't try to run if HP compiler in use.
beb998c6 4255
7a292a7a
SS
4256 * gdb.c++/misc.cc (main): Initialize obj_with_enum.
4257 * gdb.c++/classes.exp: Fix test of obj_with_enum values, allow
4258 alternate form of enum ptype.
4259
c906108c
SS
42601999-03-23 Stan Shebs <shebs@andros.cygnus.com>
4261
7a292a7a
SS
4262 * lib/gdb.exp (skip_hp_tests): Remove gcc_used argument.
4263 * gdb.hp/*.exp: Change all to run compiler probe only after
4264 passing skip_hp_tests, so as not to waste time on guaranteed
4265 failure.
4266
c906108c
SS
4267 * gdb.c++/overload.cc: Pass string instead of char addr, always
4268 init ccpfoo.
4269 * gdb.c++/templates.cc: Fix syntax error.
4270
7a292a7a
SS
4271Tue Mar 23 14:56:36 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4272
4273 * gdb.base/commands.exp: Add test for correct position of '>'
beb998c6 4274 when issuing the 'commands' command after a 'while' or 'if'
7a292a7a
SS
4275 command.
4276
42771999-03-18 James Ingham <jingham@cygnus.com>
4278
4279 * gdb.c++/ovldbreak.exp: Use gdb_continue_to_end
4280
4281 * gdb.c++/method.exp: It was testing an uninitialized int on the
4282 stack and assuming it was positive.
4283
4284 * gdb.base/watchpoint.exp: Use gdb_continue_to_end.
4285
4286 * gdb.base/step-test.exp: Catch a case where finish is broken and
beb998c6 4287 keep it from killing the rest of the tests.
7a292a7a
SS
4288 Use gdb_continue_to_end.
4289
4290 * gdb.base/sigall.exp: use gdb_continue_to_end.
4291
4292 * gdb.base/ena-dis-br.exp: use gdb_continue_to_end.
4293
4294 * gdb.base/display.exp: use runto_main, not run.
4295
beb998c6
AC
4296 * gdb.base/default.exp: Check for the current error message in the
4297 r abbreviation test.
7a292a7a
SS
4298 Add strongarm to the targets that know info float.
4299
beb998c6 4300 * gdb.base/condbreak.exp: Use the gdb_run command rather than just
7a292a7a
SS
4301 run which doesn't work with monitors.
4302
4303 * gdb.base/call-ar-st.exp: fixed bogus regexp in continuing to 1034 test.
4304
4305 * gdb.base/break.exp: use the gdb_continue_to_end proc.
4306
4307 * lib/gdb.exp: I had added gdb_continue_to_end used to run to the end of a
beb998c6
AC
4308 program. Traps the case (in Cygmon) when the program never really
4309 exits. Same as Mark's continue_to_exit, but I had put it in a lot
7a292a7a
SS
4310 more places, so I used my name. Sorry Mark...
4311
4312 * config/monitor.exp (gdb_target_monitor): added another
4313 target_info parameter: remotebinarydownload. This will set the
4314 remotebinarydownload flag if this is causing some boards trouble.
4315
43161999-03-18 Mark Salter <msalter@cygnus.com>
4317
4318 * lib/gdb.exp (continue_to_exit): New function.
4319
4320 * gdb.base/ena-dis-br.exp: Clean up for remote targets.
4321 * gdb.base/ending-run.exp: Ditto.
4322 * gdb.base/step-test.exp: Ditto.
4323
43241999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4325
4326 * gdb.base/miscexprs.c: Clean up file, clear cbig.c[0] explicitly
4327 (suggested by Art Haas <ahaas@neosoft.com>).
4328
43291999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
4330
4331 * gdb.base/signals.exp: Filter out *-*-linux* before matching *-*-gnu*.
4332
4333Fri Mar 12 18:06:21 1999 Stan Shebs <shebs@andros.cygnus.com>
4334
4335 * gdb.c++/ref-types.exp, ref-types2.exp: Allow alternate
4336 descriptions of types (short unsigned int vs unsigned short, etc).
4337
43381999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
4339
4340 * gdb.base/call-strs.exp: Don't assume that `step' will step over
4341 a call to strlen; sometimes we do have sources.
4342
43431999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c
SS
4344
4345 * gdb.base/call-ar-st.c (main): Terminate char_array with a null
4346 character, so GDB won't print garbage after its end.
beb998c6 4347
c906108c
SS
4348 * gdb.base/call-ar-st.exp: Don't step into sum_array_print; set a
4349 breakpoint there instead. Sometimes GCC emits memcpy to handle
4350 the large structures being passed by value, so we step into that
4351 instead of sum_array_print, which obscures what we're really testing.
4352 * gdb.base/step-test.exp: However, we do want a test that notices
4353 the bizarre steps into memcpy, so do that here. Add check for
4354 stepping into function calls that pass large structures by value.
4355 ("Is that a noun clause, or are you just happy to see me?")
4356 Remove all references to specific line numbers.
4357 * gdb.base/step-test.c (struct rhomboidal, large_struct_by_value):
4358 New type and function.
4359 (main): Call large_struct_by_value, passing it a large struct by value.
4360 * lib/gdb.exp (gdb_get_line_number): New function.
4361
4362 * gdb.base/step-test.exp: Rewrite `stepi' and `nexti' tests to be
4363 more portable.
4364
7a292a7a
SS
43651999-03-08 Jim Blandy <jimb@zwingli.cygnus.com>
4366
c906108c
SS
4367 * lib/gdb.exp: Doc fixes.
4368
7a292a7a
SS
43691999-03-05 Nick Clifton <nickc@cygnus.com>
4370
beb998c6 4371 * gdb.base/a2-run.exp: Add expected fails for strongarm-coff.
7a292a7a
SS
4372
43731999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
4374
c906108c
SS
4375 * gdb.base/display.exp: Don't exercise the "detach" and "kill"
4376 commands. They're not germane to this test, and they don't work
4377 that way on remote targets.
4378
3fc11d3e
JM
43791999-03-01 James Ingham <jingham@cygnus.com>
4380
4381 * Changelog entries merged over from gdb development branch.
4382
3fc11d3e
JM
4383 Tue Jan 5 12:33:47 1999 Keith Seitz <keiths@cygnus.com>
4384
4385 * lib/gdb.exp (gdbtk_analyze_results): Generic function
4386 for outputting results of test run.
4387
2d4a1622 4388 1998-12-07 Martin M. Hunt <hunt@cygnus.com>
3fc11d3e
JM
4389
4390 * lib/gdb.exp (gdbtk_start): Fix path for itcl library.
3fc11d3e 4391
7a292a7a
SS
43921999-02-25 Felix Lee <flee@cygnus.com>
4393
4394 * lib/gdb.exp (debug_format): initialize
4395
c906108c
SS
43961999-02-25 Jason Molenda (jsm@bugshack.cygnus.com)
4397
4398 * gdb.base/call-ar-st.c: Include string.h, not strings.h.
4399 * gdb.base/call-rt-st.c: Ditto.
4400
c906108c
SS
44011999-02-13 Jim Blandy <jimb@zwingli.cygnus.com>
4402
4403 * gdb.threads/pthreads.exp (horiz): New variable.
4404 (test_startup): Fix regexps that capture thread numbers.
4405
44061999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
4407
4408 * gdb.base/smoke.exp: Disambiguate two test case names (both
4409 called ``print'').
4410
4411Fri Feb 5 12:42:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4412
4413 * gdb.base/volatile.exp: Use gdb_test, add xfails for GCC
4414 compilation.
4415
44161999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4417
4418 * gdb.base/miscexprs.exp: Change patterns to match GDB's
4419 actual output formatting.
4420 * gdb.base/smoke.exp: GDB removes leading 0's.
4421 * gdb.base/volatile.exp: Don't check type of remuneration;
4422 that variable is no longer defined in constvars.c.
4423 * gdb.base/step-test.c (main): Exit with explicit exit code.
4424 * gdb.base/step-test.exp: Remove two nexti checks--they are
4425 not portable.
4426
44271999-02-04 Jason Molenda (jsm@bugshack.cygnus.com)
4428
4429 * gdb.base/help.exp ("help delete display"): Fix test to match
4430 gdb's output.
4431
4432 * gdb.base/long_long.c (known_types): Initialize values to zero.
4433 * gdb.base/long_long.exp: Step one more line
4434 so 'dec' is initialized in "get to known place". GDB removes
beb998c6 4435 leading zeros. Explicitly ask for hex formatting. Use
c906108c
SS
4436 unique test case names.
4437
4438Tue Feb 2 10:16:08 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4439
beb998c6 4440 * lib/gdb.exp (gdb_preprocess): Remove 'puts' statement.
c906108c
SS
4441
4442 * gdb.c++/method.exp: Add missing close brace.
4443
44441999-01-30 Jim Blandy <jimb@zwingli.cygnus.com>
4445
4446 * gdb.base/maint.exp: Use 'set height 0' to disable page
4447 prompting, not 'set height 400'.
4448
4449 Fix a bunch of timeouts.
4450 * gdb.base/maint.exp ("maint print objfiles"): Break this up into
4451 four separate tests, so expect doesn't take forever to match a ton
4452 of text against a regexp with lots of .* forms.
4453 ("maint print psymbols", "maint print symbols"): Make some of
4454 these greps more selective, so that expect doesn't try to wade
4455 through huge piles of output and time out.
4456
4457 * gdb.base/maint.exp ("maint print msymbols"): Fix pattern.
4458
4459 * gdb.base/maint.exp ("maint info breakpoints"): Split into two
4460 tests: one which doesn't expect shlib events to be reported, and
4461 another which does, but is XFAIL for all platforms other than
4462 HP/UX.
4463
4464 * gdb.base/break.exp: Teach the test suite that the `catch
4465 fork', `catch vfork', and `catch exec' commands produce error
4466 messages on platforms that don't provide these features.
4467
4468Mon Jan 25 18:35:56 1999 Stan Shebs <shebs@andros.cygnus.com>
4469
4470 * gdb.hp/gen-so-thresh.c, so-thresh.sh, so-thresh.exp,
4471 so-thresh.linkopts, so-thresh.mk: Move to gdb.hp from gdb.base
4472 (shortening names from solib_threshold.exp etc), won't run on
4473 anything but HP-UX for the foreseeable future.
4474 * gdb.hp/Makefile.in, gdb.base/Makefile.in (clean): Adjust to
4475 reflect move.
4476
4477Thu Jan 21 15:46:49 1999 Stan Shebs <shebs@andros.cygnus.com>
4478
4479 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
4480 gdb.trace/Makefile.in (clean): Remove all test executables.
4481
4482Tue Jan 19 17:20:09 1999 David Taylor <taylor@texas.cygnus.com>
4483
4484 * gdb.base/shlib-call.exp: add test cases to verify that gdb
4485 successfully re-sets breakpoints in shared libraries.
4486 * gdb.base/shmain.c (main): return 0, don't fall off the end.
4487
4488Fri Jan 15 14:04:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4489
beb998c6
AC
4490 * gdb.hp/xdb3.exp: do not execute unless on hppa-hpux platform
4491 and compiled w/o GCC.
c906108c
SS
4492
4493 * gdb.hp/watch-cmd.exp: ditto.
4494
4495 * gdb.hp/watch-hp.exp: ditto.
4496
4497 * gdb.hp/xdb1.exp: ditto.
4498
4499 * gdb.hp/xdb2.exp: ditto.
4500
4501 * gdb.hp/dbx.exp: ditto.
4502
4503Thu Jan 14 18:36:48 1999 Stan Shebs <shebs@andros.cygnus.com>
4504
4505 * constvars.c: Remove C++-isms.
4506 * constvars.exp: Use gdb_test everywhere, add xfails if compiled
4507 with GCC.
4508
4509Mon Jan 11 10:08:03 1999 David Taylor <taylor@texas.cygnus.com>
4510
4511 The following changes are part of the HP merge.
4512
4513 * gdb.base/break.exp: new tests to verify that catchpoints for
4514 fork, vfork, and exec don't trigger inappropriately.
4515
4516 * gdb.base/opaque.exp: compile one file at a time, then link.
4517
4518 * gdb.base/signals.exp: be more restrictive about which hppa
4519 systems receive a setup_xfail. new tests.
4520
4521 * gdb.base/solib_threshold.build: new file.
4522 * gdb.base/solib_threshold.exp: new file.
4523 * gdb.base/solib_threshold.link_opts: new file.
4524 * gdb.base/solib_threshold.mk: new file.
4525 * gdb.base/gen_solib_threshold.c: new file.
4526
4527 * gdb.c++/classes.exp: if on HPUX and not using gcc, skip the
4528 tests. New tests for enums inside classes.
4529
4530 * gdb.c++/compiler.cc: indicate support of template debugging.
4531
4532 * gdb.c++/demangle.exp: run hp style demangling tests.
4533
4534 * gdb.c++/inherit.exp: if on HPUX and not using gcc, skip the
4535 tests.
4536
4537 * gdb.c++/misc.cc: changes to support new tests.
4538
4539 * gdb.c++/templates.cc: changes to support HP's compiler; changes
4540 to support new tests.
4541
4542 * gdb.c++/virtfunc.exp: if we are on HPUX and we are not using
4543 gcc, then skip these tests.
4544
4545Sun Jan 10 23:44:11 1999 David Taylor <taylor@texas.cygnus.com>
4546
4547 The following files are part of the HP merge; some had longer
4548 names at HP, but have been renamed to be no more than 14
4549 characters in length.
4550
4551 * gdb.hp/ambiguous.cc: new file.
4552 * gdb.hp/ambiguous.exp: new file.
4553 * gdb.hp/attach.exp: new file.
4554 * gdb.hp/attach2.exp: new file.
4555 * gdb.hp/classes-hp.exp: new file.
4556 * gdb.hp/ctti.exp: new file.
4557 * gdb.hp/ctti-add.cc: new file.
4558 * gdb.hp/ctti-add1.cc: new file.
4559 * gdb.hp/ctti-add2.cc: new file.
4560 * gdb.hp/ctti-add3.cc: new file.
4561 * gdb.hp/dbx.exp: new file.
4562 * gdb.hp/exception.cc: new file.
4563 * gdb.hp/exception.exp: new file.
4564 * gdb.hp/foll-exec.c: new file.
4565 * gdb.hp/foll-exec.exp: new file.
4566 * gdb.hp/foll-fork.c: new file.
4567 * gdb.hp/foll-fork.exp: new file.
4568 * gdb.hp/foll-vfork.c: new file.
4569 * gdb.hp/foll-vfork.exp: new file.
4570 * gdb.hp/inherit-hp.exp: new file.
4571 * gdb.hp/more-steps.exp: new file.
4572 * gdb.hp/namespace.cc: new file.
4573 * gdb.hp/namespace.exp: new file.
4574 * gdb.hp/optimize.exp: new file.
4575 * gdb.hp/pxdb.c: new file.
4576 * gdb.hp/pxdb.exp: new file.
4577 * gdb.hp/quicksort.exp: new file.
4578 * gdb.hp/reg-test.exp: new file.
4579 * gdb.hp/reg-test.s: new file.
4580 * gdb.hp/sized-enum.c: new file.
4581 * gdb.hp/sized-enum.exp: new file.
4582 * gdb.hp/start-stop.exp: new file.
4583 * gdb.hp/templ-hp.cc: new file.
4584 * gdb.hp/templ-hp.exp: new file.
4585 * gdb.hp/thr-lib.c: new file.
4586 * gdb.hp/thr-lib.exp: new file.
4587 * gdb.hp/thr-lib.h: new file.
4588 * gdb.hp/thr-liblib.c: new file.
4589 * gdb.hp/virtfun-hp.c: new file.
4590 * gdb.hp/virtfun-hp.exp: new file.
4591 * gdb.hp/watch-cmd.exp: new file.
4592 * gdb.hp/watch-hp.exp: new file.
4593 * gdb.hp/xdb1.exp: new file.
4594 * gdb.hp/xdb2.exp: new file.
4595 * gdb.hp/xdb3.exp: new file.
4596
4597Wed Jan 6 18:41:15 1999 David Taylor <taylor@texas.cygnus.com>
4598
4599 The following files are part of the HP merge; some had longer
4600 names at HP, but have been renamed to be no more than 14
4601 characters in length.
4602
4603 * gdb.base/ss.h: new file.
4604 * gdb.base/call-ar-st.c: new file.
4605 * gdb.base/call-ar-st.exp: new file.
4606 * gdb.base/call-rt-st.c: new file.
4607 * gdb.base/call-rt-st-exp: new file.
4608 * gdb.base/call-strs.exp: new file.
4609 * gdb.base/ena-dis-br.exp: new file.
4610 * gdb.base/environ.exp: new file.
4611 * gdb.base/long_long.exp: new file.
4612 * gdb.base/sect-cmd.exp: new file.
4613 * gdb.base/shlib-cl2.exp: new file.
4614 * gdb.base/smoke.exp: new file.
4615 * gdb.base/so-impl-ld.c: new file.
4616 * gdb.base/so-impl-ld.exp: new file.
4617 * gdb.base/so-indr-cl.c: new file.
4618 * gdb.base/so-indr-cl.exp: new file.
4619 * gdb.base/varargs.exp: new file.
4620 * gdb.base/volatile.exp: new file.
4621 * gdb.base/whatis-exp.exp: new file.
7a292a7a 4622 * gdb.base/display.exp: new file.
c906108c
SS
4623 * gdb.c++/derivation.exp: new file.
4624 * gdb.c++/local.exp: new file.
4625 * gdb.c++/member-ptr.exp: new file.
4626 * gdb.c++/overload.exp: new file.
4627 * gdb.c++/ovldbreak.exp: new file.
4628 * gdb.c++/ref-types.exp: new file.
4629 * gdb.c++/ref-types2.exp: new file.
4630 * gdb.c++/userdef.exp: new file.
beb998c6 4631
c906108c
SS
4632Wed Jan 6 13:50:57 1999 Stan Shebs <shebs@andros.cygnus.com>
4633
4634 * gdb.base/default.exp: Reflect wording change in remote.c.
4635
dc96c6c7 4636Tue Jan 5 19:14:51 1999 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4637
4638 * gdb.base/help.exp: Update to reflect current text.
4639
4640Tue Jan 5 13:05:32 1999 David Taylor <taylor@texas.cygnus.com>
4641
4642 * gdb.c++/anon-union.cc: make foo and bar global, otherwise
4643 they're stack variables and contain garbage.
4644 * gdb.c++/anon-union.exp: new file.
4645
4646 The following changes were made by David Taylor
4647 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4648 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4649 in changes by HP.
4650
4651 * gdb.base/bitops.exp: new file.
4652 * gdb.base/default.exp: change expected messages for catch and
4653 info catch tests to reflect HP merge changes.
4654 * gdb.base/enable-disable-break.exp
4655 * gdb.base/ending-run.c: new file.
4656 * gdb.base/long_long.c: new file.
4657 * gdb.base/maint.exp: new file.
4658 * gdb.base/pointers2.exp: new file.
4659 * gdb.base/shlib-call2.exp: new file.
4660 * gdb.base/solib.exp: new file.
4661 * gdb.base/step-test.c: new file.
4662 * gdb.c++/anon-union.cc: new file.
4663 * gdb.c++/local.cc: new file.
4664 * gdb.c++/member-pointer.cc: new file.
4665 * gdb.c++/method.cc: new file.
4666 * gdb.c++/ref-types.cc: new file.
4667 * gdb.c++/ref-types2.cc: new file.
4668 * gdb.c++/userdef.cc: new file.
beb998c6 4669
c906108c
SS
4670 * gdb.base/scope.exp: compile one file at a time, then link.
4671 * gdb.base/langs.exp: ditto.
4672 * gdb.base/list.exp: ditto.
beb998c6 4673
c906108c
SS
4674Mon Jan 4 10:06:43 1999 David Taylor <taylor@texas.cygnus.com>
4675
4676 The following changes were made by David Taylor
4677 <taylor@cygnus.com>, Elena Zannoni <ezannoni@cygnus.com>, and
4678 Edith Epstein <eepstein@cygnus.com> as part of a project to merge
4679 in changes by HP.
beb998c6 4680
c906108c
SS
4681 * gdb.c++/inherit.exp: if on hppa*-*-hpux* and not using gcc,
4682 skip tests. When compiling pass c++ flag to gdb_compile.
4683 * gdb.c++/
beb998c6 4684
c906108c
SS
4685 * lib/gdb.exp (get_compiler_info): new, optional argument -- args;
4686 test for on hppa*-*-hpux*; use args to see if c++ was specified.
4687 (skip_hp_tests): new function.
4688 (gdb_preprocess): new function.
4689
4690 * configure.in (hpdir): decide whether to configure gdb.hp.
4691 * configure: regenerated.
4692
4693 * gdb.base/Makefile.in (MISCELLANEOUS): new macros -- extra things
4694 to delete on clean.
4695 (EXECUTABLES): update to reflect new additions.
4696 * gdb.base/commands.exp: update message expected.
4697 * gdb.base/default.exp: add copyright notice.
4698 * gdb.base/funcargs.exp (timeout): if hpux, increase timeout.
4699 * gdb.base/help.exp: update messages to reflect current text.
4700 * gdb.base/recurse.exp: add hpppa*-*-bsd* to 'list' of enabled
4701 targets for recurse tests.
4702 * gdb.base/watchpoint.exp: if on hpux and not gcc compiled, then
4703 skip this file.
4704
4705 * gdb.c++/Makefile.in (PROGS): update to reflect new executables.
4706 * gdb.c++/cplusfuncs.exp: tell gdb_compile that it's a c++
4707 compilation.
4708 * gdb.c++/misc.exp: ditto.
4709 * gdb.c++/templates.exp: if we're on hpux and it's not gcc, don't
4710 run the tests. tell gdb_compile that it's a c++ compilation.
4711
4712 * gdb.threads/pthreads.exp: fix typo in message.
beb998c6 4713
c906108c
SS
4714 * gdb.base/all-bin.exp: new file.
4715 * gdb.base/arithmet.exp: new file.
4716 * gdb.base/assign.exp: new file.
4717 * gdb.base/completion.exp: new file.
4718 * gdb.base/cond-expr.exp: new file.
4719 * gdb.base/condbreak.exp: new file.
4720 * gdb.base/define.exp: new file.
4721 * gdb.base/dollar.exp: new file.
4722 * gdb.base/environment.exp: new file.
4723 * gdb.base/eval-skip.exp: new file.
4724 * gdb.base/jump.exp: new file.
4725 * gdb.base/logical.exp: new file.
4726 * gdb.base/pointers.exp: new file.
4727 * gdb.base/relational.exp: new file.
4728 * gdb.base/section_command.exp: new file.
4729 * gdb.base/whatis-expr.exp: new file.
4730
4731 * gdb.base/all-types.c: new file.
4732 * gdb.base/call-array-struct.c: new file.
4733 * gdb.base/call-return-struct.c: new file.
4734 * gdb.base/call-strings.c: new file.
4735 * gdb.base/callfuncs2.c: new file.
4736 * gdb.base/condbreak.c: new file.
4737 * gdb.base/constvars.c: new file.
4738 * gdb.base/display.c: new file.
4739 * gdb.base/int-type.c: new file.
4740 * gdb.base/jump.c: new file.
4741 * gdb.base/miscexprs.c: new file.
4742 * gdb.base/pointers.c: new file.
4743 * gdb.base/pointers2.c: new file.
4744 * gdb.base/shmain.c: new file.
4745 * gdb.base/shr1.c: new file.
4746 * gdb.base/shr2.c: new file.
4747 * gdb.base/solib.c: new file.
4748 * gdb.base/solib1.c: new file.
4749 * gdb.base/solib2.c: new file.
4750 * gdb.base/varargs.c: new file.
4751 * gdb.c++/derivation.cc: new file.
4752 * gdb.c++/overload.cc: new file.
4753 * gdb.c++/ovldbreak.cc: new file.
4754 * gdb.hp/attach.c: new file.
4755 * gdb.hp/attach2.c: new file.
4756 * gdb.hp/average.c: new file.
4757 * gdb.hp/compiler.c: new file.
4758 * gdb.hp/compiler.cc: new file.
4759 * gdb.hp/execd-program.c: new file.
4760 * gdb.hp/follow-exec.c: new file.
4761 * gdb.hp/follow-fork.c: new file.
4762 * gdb.hp/follow-vfork-and-exec.c: new file.
4763 * gdb.hp/misc-hp.cc: new file.
4764 * gdb.hp/more-steps.c: new file.
4765 * gdb.hp/optimize.c: new file.
4766 * gdb.hp/quicksort.c: new file.
4767 * gdb.hp/run-hp.c: new file.
4768 * gdb.hp/start-stop.c: new file.
4769 * gdb.hp/sum.c: new file.
4770 * gdb.hp/templates-hp.cc: new file.
4771 * gdb.hp/thread-local-in-lib.c: new file.
4772 * gdb.hp/thread-local-in-lib.h: new file.
4773 * gdb.hp/thread-local-in-lib.lib.c: new file.
4774 * gdb.hp/vforked-program.c: new file.
4775 * gdb.hp/virtfunc-hp.cc: new file.
4776 * gdb.hp/watchpoint-hp.c: new file.
4777 * gdb.hp/xdb.c: new file.
4778 * gdb.hp/xdb0.c: new file.
4779 * gdb.hp/xdb0.h: new file.
4780 * gdb.hp/xdb1.c: new file.
4781
4782Mon Dec 21 14:08:38 1998 David Taylor <taylor@texas.cygnus.com>
4783
4784 The following change was made by Edith Epstein
4785 <eepstein@cygnus.com> as part of a project to merge in changes
4786 originally made by HP; HP did not create ChangeLog entries.
4787
4788 * gdb.c++/demangle.exp: changed the expected output for some
4789 ARM-style mangling -- removed second reference to datatype.
4790 For example, maint demangle __dt__11T1__pt__2_cFv
4791 T1<char>::~T1<char>(void)
4792 becomes,
4793 maint demangle __dt__11T1__pt__2_cFv
4794 T1<char>::~T1(void)
4795
4796 (test_hp_style_demangling): new hp specific demangling test cases.
beb998c6 4797
c906108c
SS
4798Mon Dec 14 15:07:03 1998 Jeffrey A Law (law@cygnus.com)
4799
4800 * gdb.trace/actions.exp: Ignore compiler warnings compiling actions.c
4801 * gdb.trace/backtrace.exp: Likewise.
4802 * gdb.trace/circ.exp: Likewise.
4803 * gdb.trace/collection.exp: Likewise.
4804 * gdb.trace/deltrace.exp: Likewise.
4805 * gdb.trace/infotrace.exp: Likewise.
4806 * gdb.trace/limits.exp: Likewise.
4807 * gdb.trace/packetlen.exp: Likewise.
4808 * gdb.trace/passc-dyn.exp: Likewise.
4809 * gdb.trace/passcount.exp: Likewise.
4810 * gdb.trace/report.exp: Likewise.
4811 * gdb.trace/save-trace.exp: Likewise.
4812 * gdb.trace/tfind.exp: Likewise.
4813 * gdb.trace/tracecmd.exp: Likewise.
4814 * gdb.trace/while-dyn.exp: Likewise.
4815 * gdb.trace/while-stepping.exp: Likewise.
4816
48171998-12-07 Jim Blandy <jimb@zwingli.cygnus.com>
4818
4819 * gdb.base/restore.exp, gdb.base/restore.c: New tests.
4820
4821Wed Dec 2 20:03:53 1998 Stan Shebs <shebs@andros.cygnus.com>
4822
4823 From Brendan Kehoe:
4824 * gdb.c++/cplusfuncs.cc, misc.cc, virtfunc.cc: Add now-required
4825 int return types.
4826
4827Sat Oct 24 18:04:22 1998 Felix Lee <flee@cygnus.com>
4828
4829 * config/slite.exp (gdb_load): use gdb_file_cmd, so we can do
4830 remote dos host testing right.
4831
4832Mon Oct 19 01:31:59 1998 Felix Lee <flee@cygnus.com>
4833
4834 * gdb.base/corefile.exp: remove some xfails.
4835
4836Thu Oct 15 10:04:38 1998 Andrew Cagney <cagney@b1.cygnus.com>
4837
4838 * gdb.base/reread.exp: Sleep 1 - ensures that the two executables
4839 have different timestamps.
4840
4841Thu Oct 1 20:56:14 1998 Andrew Cagney <cagney@b1.cygnus.com>
4842
4843 * lib/gdb.exp, gdb.base/default.exp, config/monitor.exp,
4844 gdb.base/default.exp: Replace "exec" with "executable".
4845
4846Tue Sep 29 15:06:29 1998 Andrew Cagney <cagney@b1.cygnus.com>
4847
4848 * gdb.base/default.exp: Change else if to elseif from previous
4849 delta.
4850
4851Mon Sep 28 13:21:43 1998 Nick Clifton <nickc@cygnus.com>
4852
4853 * gdb.base/default.exp: Add brace missing from previous delta.
4854
4855Mon Sep 21 14:39:27 1998 Nick Clifton <nickc@cygnus.com>
4856
4857 * gdb.base/default.exp: Support test for info float for all
4858 varieties of arm toolchain.
4859
dc96c6c7 4860Fri Sep 18 14:07:44 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4861
4862 * gdb.trace/*.exp: remove "remote_download" command.
4863
dc96c6c7 4864Wed Sep 16 11:38:21 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4865
4866 * gdb.trace/*.exp: remove -gdwarf from compile.
4867
4868Wed Sep 16 01:23:11 1998 Felix Lee <flee@cygnus.com>
4869
4870 * gdb.trace/configure.in(AC_INIT): typo
4871 * gdb.trace/configure: regenerated
4872
dc96c6c7 4873Mon Sep 14 20:00:04 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4874
4875 * config/m68k-emc.exp: New file.
4876 * lib/<emc-support.exp trace-support.exp}: New files.
4877 * configure.in: add new test directory gdb.trace.
4878 * gdb.trace/{configure configure.in Makefile.in}: New files.
4879 * gdb.trace/{actions.c actions.exp gdb_c_test.c}: New files.
4880 * gdb.trace/{circ.c circ.exp limits.c limits.exp}: New files.
4881 * gdb.trace/{collection.c collection.exp tfind.exp }: New files.
4882 * gdb.trace/{backtrace.exp deltrace.exp infotrace.exp}: New files.
4883 * gdb.trace/{packetlen.exp passc-dyn.exp passcount.exp}: New files.
4884 * gdb.trace/{report.exp save-trace.exp tracecmd.exp}: New files.
4885 * gdb.trace/{while-dyn.exp while-stepping.exp}: New files.
beb998c6 4886
dc96c6c7 4887Fri Sep 11 13:58:02 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4888
4889 * gdb.c++/classes.exp: Change all regular expressions to match
4890 arbitrary combinations of newline/carriage-return, so that they
4891 will work equally well on Unix and Windows.
4892 * gdb.c++/inherit.exp: ditto.
4893 * gdb.c++/virtfunc.exp: ditto.
4894
48951998-08-11 Dawn Perchik <dawn@cygnus.com>
4896
4897 * gdb.base/setshow.exp: Fix error introduced by call to runto_main.
4898
c2d11a7d
JM
4899Fri Jul 24 15:51:34 1998 Jeffrey A Law (law@cygnus.com)
4900
4901 * gdb.disasm/am33.s: Add tests for autoincrement instructions.
4902 * gdb.disasm/am33.exp: Run time. Update tests which use r8-r15
4903 to use a0-a3/d0-d3 as needed.
4904
4905Thu Jul 16 18:20:46 1998 Jeffrey A Law (law@cygnus.com)
4906
4907 * gdb.disasm/am33.s: Add 4 operand mul and mulu tests.
4908 * gdb.disasm/am33.exp: Corresponding changes.
4909
c906108c
SS
49101998-07-11 Felix Lee <flee@cygnus.com>
4911
4912 * gdb.base/callfuncs.exp: add cmp10 test.
4913 * gdb.base/callfuncs.c (cmp10): new function.
4914
4915Thurs Jul 9 11:08:31 1998 Dawn Perchik <dawn@cygnus.com>
4916
beb998c6 4917 * gdb.base/commands.exp: Break up infrun_breakpoint_command_test
c906108c
SS
4918 into two parts to get around a synchronization problem in expect.
4919
3fc11d3e
JM
4920Fri Jun 26 14:27:13 1998 Keith Seitz <keiths@cygnus.com>
4921
4922 * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
4923
4924 * configure.in: Add options for gdbtk testsuite.
4925
4926 * configure: Regenerate.
4927
4928 * gdb.gdbtk: New directory to hold gdbtk tests.
4929
c906108c
SS
4930Fri Jun 26 14:52:47 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4931
4932 * gdb.fortran/types.exp: Escape brackets in expect patterns
4933 for test_float_literal_types_accepted tests.
4934 * gdb.base/scope.exp: Remove extraneous newline in filelocal_bss
4935 before run test.
4936
c2d11a7d
JM
4937Fri Jun 26 11:12:17 1998 Jeffrey A Law (law@cygnus.com)
4938
4939 * am33.exp: Just compile, do not link the testcase.
4940 * am33.s: Add ".am33" pseudoop to force am33 mode.
4941
c906108c
SS
49421998-06-25 Felix Lee <flee@cygnus.com>
4943
4944 * gdb.base/setshow.exp: make sure $pc is sane.
4945
4946 * gdb.stabs/weird.exp: split expect patterns properly.
4947
c2d11a7d
JM
4948Wed Jun 24 13:03:15 1998 Jeffrey A Law (law@cygnus.com)
4949
4950 * gdb.disasm/am33.s: New disassembler testfile for the am33.
4951 * gdb.disasm/am33.exp: Run it.
4952
dc96c6c7 4953Tue Jun 23 11:45:01 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4954
4955 * gdb.base/funcargs.exp: simplify expect strings to ease pattern
4956 match processing (and eliminate spurious timeouts when running).
4957
dc96c6c7 4958Fri Jun 12 17:28:22 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4959
4960 * gdb.base/signals.exp (test_handle_all_print): put back Mach
4961 exception test, but conditionalize it on target [mach | gnu].
4962
dc96c6c7 4963Wed Jun 10 10:40:03 1998 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
4964
4965 * gdb.base/overlays.exp: fixup compile line for linker script.
4966
4967Thu Jun 4 21:54:15 1998 Felix Lee <flee@zog.cygnus.com>
4968
4969 * gdb.fortran/types.exp: don't guess at float size.
4970
4971Thu May 21 02:28:37 1998 Felix Lee <flee@zog.cygnus.com>
4972
4973 * gdb.base/exprs.exp: delete test that depends on int size.
4974
4975Sun May 17 17:10:22 1998 Bob Manson <manson@charmed.cygnus.com>
4976
4977 * config/sim.exp: Removed checks for target triplets.
4978 (gdb_target_sim): Use gdb,target_sim_options.
4979
4980Sat May 16 23:43:35 1998 Mark Alexander <marka@cygnus.com>
4981
4982 * gdb.base/reread.exp: New file.
4983 * gdb.base/reread1.c: New file.
4984 * gdb.base/reread2.c: New file.
4985
4986Sat May 16 23:22:09 1998 Mark Alexander <marka@cygnus.com>
4987
4988 * config/sim.exp: Use 'target sim -sparclite' when running
4989 SPARClite programs.
4990
4991Sat May 16 18:48:08 1998 Doug Evans <devans@canuck.cygnus.com>
4992
4993 * gdb.base/structs2.exp: New file.
4994 * gdb.base/structs2.c: New file.
4995
4996Wed May 13 13:36:14 1998 Doug Evans <devans@canuck.cygnus.com>
4997
4998 * gdb.asm/common.inc: New file.
4999 * gdb.asm/d10v.inc: New file.
5000 * asm-source.exp: Pass -I's to gas to find .inc files.
5001 Update line numbers in expected output.
5002 * asmsrc1.s: Rewrite.
5003 * asmsrc2.s: Rewrite.
5004 * configure.in: Create arch.inc symlink.
5005 * configure: Regenerate.
5006 * Makefile.in (distclean): Delete arch.inc.
5007
5008Wed May 6 10:30:54 1998 John Metzler <jmetzler@cygnus.com>
5009
5010 * callfuncs.c (t_enum_value1) : Cleanup return value warnings
5011 (t_enum_value2): ditto
5012 (t_enum_value3): ditto
5013 (main): ditto
5014Fri May 1 09:33:37 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
5015
5016 * gdb.base/break.exp: Remove xfail for `deleting all breakpoints
5017 when none' unexpected prompt case, fixed by breakpoint.c:delete_command
5018 change.
5019 Use gdb_test instead of send_gdb/gdb_expect sequences.
5020
5021Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)
5022
5023 * gdb.c++/virtfunc.cc: Declare extern "C" printf to return int,
5024 not void.
5025
5026Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>
5027
5028 * gdb.base/branches.c: Code with lots of loops and
5029 subroutines. Used to test gdbs ability to single step through PC
5030 changes, especially to test mips-tdep.c:mips_next_pc
5031
5032Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com>
5033
5034 * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass
5035 more rigorous EGCS C++ error checking.
5036
5037Fri Apr 10 22:38:12 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5038
5039 * gdb.base/help.exp: Clean up `help set args' and `help show args'
beb998c6 5040 tests.
c906108c 5041 * gdb.base/interrupt.exp: Add "i*86-*-solaris2*" xfail for calling
beb998c6 5042 function when asleep.
c906108c 5043 * gdb.base/signals.exp: Add "i*86-*-solaris2*" xfails. Add comment
beb998c6
AC
5044 for i*86 Linux and SVR4 signal handling problems.
5045 Remove linux xfail for `next to handler in signals_tests_1', fixed
5046 by recent infrun.c change.
c906108c 5047 Limit backtrace to 10 frames to avoid timeout problems with infinite
beb998c6 5048 stack backtraces.
c906108c
SS
5049 Adjust expect pattern in `handle all print' test to match Apr 28 1997
5050 target.[ch] change.
5051
5052Tue Mar 31 00:40:32 1998 Bob Manson <manson@charmed.cygnus.com>
5053
5054 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; wait
5055 for a newline from gdb before continuing.
5056 (default_gdb_exit): Just look for y or n.
5057 (gdb_test): Detect abnormal exit from GDB running on DOS; if
5058 it does, fail the rests of the tests in the file.
5059
5060Tue Mar 24 22:44:52 1998 Bob Manson <manson@charmed.cygnus.com>
5061
5062 * config/cygmon.exp: New file.
5063
5064Mon Mar 16 21:39:11 1998 Bob Manson <manson@charmed.cygnus.com>
5065
5066 * gdb.base/list.exp: Fix problem with "list default lines around
5067 main" test on remote targets.
5068
5069 * gdb.base/scope.exp: Fix problem with filelocal_bss before
5070 run test on remote targets.
5071
5072Thu Mar 12 16:23:00 1998 Doug Evans <devans@canuck.cygnus.com>
5073
5074 * gdb.asm: New directory.
5075 * configure.in: Configure it.
5076 * configure: Regenerate.
5077 * gdb.asm/{Makefile.in,configure.in,configure}: New files.
5078 * gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
5079
5080Mon Feb 23 08:22:44 1998 Mark Alexander <marka@cygnus.com>
5081
5082 * config/mn10300-eval.exp: New file to support MN10300 eval board.
5083
dc96c6c7 5084Wed Feb 18 16:43:46 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5085
c906108c
SS
5086 * gdb.base/overlays (several files): Merge the two overlay
5087 managers into one. Change variables (foox, barx, bazx, grbxx)
5088 back into ints but force them to load in their proper sections.
5089
5090Thu Feb 12 13:49:30 1998 Andrew Cagney <cagney@b1.cygnus.com>
5091
5092 * gdb.base/d10vovly.c (D10VTranslate): Map IMAP0 to low 128k of
5093 on-chip insn memory and IMAP1 to upper 128k.
5094 (D10VCopy): Handle memory regions crossing 16k boundaries.
5095 (D10VCopy): Transfer data in 32 bit chunks.
5096
5097Tue Feb 10 17:23:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
5098
5099 * gdb.base/overlays.c (main): Exit normally when result is
5100 correct.
5101
5102 * gdb.base/d10v.ld: Update LMAs to reflect current d10v address
5103 map. Include space for printf in .text segment.
5104
5105 * gdb.base/d10vovly.c (D10VTranslate): New function, handle
5106 updated d10v memory VMA/LMA map.
5107 (D10VCopy): Call D10VTranslate.
beb998c6 5108
c906108c
SS
5109Fri Feb 6 14:13:12 1998 Andrew Cagney <cagney@b1.cygnus.com>
5110
5111 * gdb.base/m32rovly.c: Force variable _novlys into .data section.
5112
5113 * gdb.base/bar.c (barx, bar): Change variable to small array so
5114 that it won't be put into the .sdata - small data -
5115 section. Update reference.
5116 * gdb.base/baz.c (bazx, baz): Ditto.
5117 * gdb.base/foo.c (foox, foo): Ditto.
5118 * gdb.base/grbx.c (grbxx, grbx): Ditto.
5119
5120 * gdb.base/overlays.exp: Expect variables barx, bazx, foox, grbxx
5121 to be arrays.
beb998c6 5122
dc96c6c7 5123Thu Jan 29 14:48:19 1998 Michael Snyder (msnyder@cygnus.com)
beb998c6 5124
c906108c
SS
5125 * gdb.base/overlays.exp: fix up and get working again.
5126 Add tests for backtraces from an overlay function.
beb998c6 5127
c906108c
SS
5128Fri Jan 23 07:52:45 1998 Fred Fish <fnf@cygnus.com>
5129
5130 * gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
5131 "calling function with watchpoint enabled".
5132
5133Thu Jan 22 14:23:29 1998 Fred Fish <fnf@cygnus.com>
5134
5135 * gdb.base/break.exp (test_next_with_recursion): Remove
5136 gdb_suppress_tests for d10v-*-*.
5137 * lib/gdb.exp (gdb_suppress_tests): Disable this function
5138 pending review of whether it is useful or not.
5139
5140Tue Jan 20 13:02:09 1998 Mark Alexander <marka@cygnus.com>
5141
5142 * gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
5143
5144Mon Jan 19 08:53:04 1998 Mark Alexander <marka@cygnus.com>
5145
5146 * gdb.base/break.exp: Increase timeout for slow TX39 boards.
5147 * config/dve.exp: New file to support Densan boards.
5148
5149Mon Dec 15 22:38:05 1997 Andrew Cagney <cagney@b1.cygnus.com>
5150
5151 * gdb.base/interrupt.exp: Document problem of simulators, signals,
5152 reads and BSD.
5153
5154Wed Nov 26 22:29:18 1997 Bob Manson <manson@charmed.cygnus.com>
5155
5156 * config/monitor.exp: Be a bit less picky about the "Remote debugging"
5157 response.
5158
5159 * gdb.c++/misc.exp: Call runto_main instead of doint it manually.
5160
5161Tue Nov 25 12:46:36 1997 Andrew Cagney <cagney@b1.cygnus.com>
5162
5163 * gdb.base/mips_pro.exp: Add "mips64*-*-elf" xfail for backtrace
5164 test.
5165
5166 * gdb.base/funcargs.exp: Query GDB for target_sizeof_int,
5167 target_sizeof_long and target_bigendian_p.
5168 (structs_by_value, structs_by_reference): Check values according
5169 to targets word size and endianess.
beb998c6 5170
c906108c
SS
5171Mon Nov 24 16:37:06 1997 Andrew Cagney <cagney@b1.cygnus.com>
5172
5173 * gdb.base/langs.exp: For "continue to exit" ignore any trailing
5174 output.
5175
5176Fri Oct 17 13:24:43 1997 Stan Shebs <shebs@andros.cygnus.com>
5177
5178 * gdb.base/default.exp, gdb.base/help.exp, gdb.base/setshow.exp:
5179 Update test of set args help to match source change.
5180
5181Fri Sep 26 17:36:20 1997 Jason Molenda (crash@pern.cygnus.com)
5182
5183 * gdb.base/default.exp: Expect help system output to be in
5184 alphabetical order.
5185 * gdb.base/help.exp: Ditto.
5186
5187Wed Sep 24 13:08:14 1997 Bob Manson <manson@charmed.cygnus.com>
5188
5189 * gdb.base/signals.exp: Change "i*86-pc-linux-gnu" to
5190 "i*86-pc-linux-gnu*".
5191 * gdb.base/interrupt.exp: Ditto.
5192 * gdb.base/corefile.exp: Ditto.
5193
5194 * lib/gdb.exp(gdb_compile): If is_vxworks target feature is set,
5195 define vxworks when building the testcase.
5196
5197 * gdb.base/ptype.exp: Fix testnames to be unique.
5198 * gdb.base/radix.exp: Ditto.
5199 * gdb.base/term.exp: Ditto.
5200 * gdb.base/whatis.exp: Ditto.
5201 * gdb.c++/classes.exp: Ditto.
5202
5203Tue Sep 16 22:21:48 1997 Bob Manson <manson@charmed.cygnus.com>
5204
5205 * gdb.base/callfuncs.exp: Fix indentation.
5206
5207 * lib/gdb.exp(gdb_expect): Set remote_suppress_flag if
5208 suppress_flag has been set.
5209 (gdb_step_for_stub): Check for gdb,use_breakpoint_for_stub
5210 target feature.
5211
5212Mon Sep 15 15:43:17 1997 Bob Manson <manson@charmed.cygnus.com>
5213
5214 * gdb.stabs/weird.exp: Don't start gdb 'til after we've compiled
5215 the testcase.
5216
5217 * gdb.c++/cplusfuncs.cc(main): Add extern "C" declaration for
5218 set_debug_traps() and breakpoint().
5219 * gdb.c++/misc.cc (main): Ditto.
5220 * gdb.c++/templates.cc (main): Ditto.
5221 * gdb.c++/virtfunc.cc (main): Ditto.
5222
5223Fri Sep 12 16:56:38 1997 Bob Manson <manson@charmed.cygnus.com>
5224
5225 * lib/gdb.exp(gdb_step_for_stub): New function.
5226 (gdb_run_cmd): Look for gdb,do_reload_on_run target feature--if it
5227 exists, reload the executable and do a "continue" instead of
5228 doing a jump.
5229 (runto_main): Use gdb_step_for_stub.
beb998c6 5230
c906108c
SS
5231 * gdb.base/break.exp: Use gdb_step_for_stub. Also, rename certain
5232 tests to have unique names.
5233 * gdb.base/callfuncs.exp: Ditto.
5234 * gdb.base/commands.exp: Ditto.
5235 * gdb.base/default.exp: Ditto.
5236 * gdb.base/help.exp: Ditto.
5237 * gdb.base/list.exp: Ditto.
5238 * gdb.base/opaque.exp: Ditto.
5239 * gdb.base/printcmds.exp: Ditto. Use a loop to emit multiple
5240 similar tests.
beb998c6 5241
c906108c
SS
5242 * gdb.base/setshow.c: Add set_debug_traps/breakpoint calls.
5243 * gdb.c++/cplusfuncs.cc: Ditto.
5244 * gdb.c++/virtfunc.cc: Ditto.
5245
5246 * config/monitor.exp: Keep track of the last file we saw, rather
5247 than trying to get the info from gdb.
5248
5249 * gdb.fortran/types.exp: Move comment to previous line.
5250
5251Tue Sep 2 19:55:34 1997 Bob Manson <manson@charmed.cygnus.com>
5252
5253 * config/sparclet.exp: Detect gratuitous change to sparclet gdb
5254 target mode.
5255
5256Mon Jul 28 12:14:47 1997 Stan Shebs <shebs@andros.cygnus.com>
5257
5258 From Bob Manson:
5259 * config/monitor.exp (gdb_target_monitor): Look for "Connected to"
5260 string from GDB when it connects.
5261
5262 * lib/gdb.exp: Look for $TOOL_EXECUTABLE.
5263
5264Thu Jul 3 15:35:12 1997 Bob Manson <manson@charmed.cygnus.com>
5265
5266 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to fail
5267 if we can't get a debug format from GDB (we may be testing an
5268 older GDB). Use a 10 second timeout when checking for the format.
5269
5270 * gdb.stabs/weird.exp: Fix quoting.
5271
5272 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.
5273
5274Mon Jun 30 18:31:43 1997 Bob Manson <manson@charmed.cygnus.com>
5275
5276 * config/arm-ice.exp: New file.
5277
5278Sun Jun 29 16:43:30 1997 Bob Manson <manson@charmed.cygnus.com>
5279
5280 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabled
5281 until it has been modified to work with the new testsuite.
5282
99707966 5283 * gdb.*/*.exp: Instead of causing 1 unresolved test when the
c906108c
SS
5284 testcase won't compile, cause all of the testcases in the file to
5285 fail instead.
5286
5287 * lib/gdb.exp(gdb_suppress_entire_file): New procedure.
5288 (gdb_clear_suppressed): New procedure.
5289 (gdb_stop_suppressing_tests): Only clear suppress_flag if
5290 it contains a positive value.
5291
5292Sat Jun 28 13:31:11 1997 Bob Manson <manson@charmed.cygnus.com>
5293
5294 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.
5295
5296 * gdb.c++/virtfunc.exp: Remove setting of libs variable.
5297
5298Fri Jun 27 07:44:25 1997 Fred Fish <fnf@cygnus.com>
5299
5300 * lib/gdb.exp (setup_xfail_format): New function.
5301 (get_debug_format): New function to get debug format.
5302 (debug_format): New global variable to hold last value set
5303 by get_debug_format.
5304 * gdb.base/list.exp: Call get_debug_format and expect some
5305 tests to fail for DWARF 1 and COFF formats.
5306 * gdb.c++/ptype.exp: Ditto.
5307 * gdb.c++/classes.exp: Ditto.
5308 * gdb.c++/cplusfuncs.exp: Ditto.
5309 * gdb.c++/inherit.exp: Ditto.
5310 * gdb.c++/templates.exp: Ditto.
5311 * gdb.c++/virtfunc.exp: Ditto.
beb998c6 5312
c906108c
SS
5313Wed Jun 25 09:08:51 1997 Bob Manson <manson@charmed.cygnus.com>
5314
5315 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remote
5316 host doesn't have a currently-open connection.
5317
5318 * config/sparclet.exp: Cleanups and fixes to make it generic for
5319 any gdb stub target. Handle cases where gdb doesn't respond when
5320 interrupted in a sane fashion.
5321
5322 * config/m32r-stub.exp: Load sparclet.exp instead of trying to do the
5323 same thing in a totally different way.
5324
5325 * config/monitor.exp: Pass in timeouts to gdb_expect instead of
5326 setting "timeout".
5327 (gdb_start): We set the global gdb_prompt variable in
5328 default_gdb_init now.
5329
5330Sun Jun 22 09:11:02 1997 Fred Fish <fnf@cygnus.com>
5331
5332 * gdb.base/printcmds.exp: Fix "check for floating addition"
5333 regexp to accept results within approx +/- .01 of exact value.
5334 * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
5335
5336Wed Jun 18 11:11:39 1997 Bob Manson <manson@charmed.cygnus.com>
5337
5338 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_init
5339 properly.
5340 (gdb_expect): Add optional timeout parameter, and add timeout
5341 value to various calls.
5342 (gdb_suppress_tests): Only give one warning message per group.
5343
5344Tue Jun 17 13:10:10 1997 Bob Manson <manson@charmed.cygnus.com>
5345
5346 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCode as
5347 global variables. Handle getting a value for $timeout more
5348 gracefully.
5349
5350Sat Jun 14 09:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5351
5352 * lib/gdb.exp: Close connection to remote host if gdb doesn't
5353 initialize.
5354 (default_gdb_init): New procedure; allow gdb_init to be overridden
5355 by a target configuration file.
5356 (gdb_expect): Pass the timeout to remote_expect.
5357
5358 * config/monitor.exp(gdb_load): Fix typo in regexp.
5359
5360Thu Jun 12 20:57:12 1997 Bob Manson <manson@charmed.cygnus.com>
5361
5362 * gdb.base/funcargs.exp: Remove spurious suppress tests call.
5363
5364Tue Jun 3 15:20:20 1997 Bob Manson <manson@charmed.cygnus.com>
5365
5366 * config/monitor.exp(gdb_target_monitor): Call gdb_file_cmd
5367 here. Call gdb_target_exec before rebooting the target, to make
5368 sure the connection to the target is closed.
5369 (gdb_load): Pass the name of the executable to gdb_target_monitor.
5370 Don't call gdb_file_cmd here; let gdb_target_monitor do it.
5371 Also detect "Timeout reading from remote" error.
5372
5373 * config/gdbserver.exp: Pass the executable being loaded to
5374 gdb_target_monitor. Don't call gdb_file_cmd here; let
5375 gdb_target_monitor do it.
5376
5377 * gdb.disasm/hppa.exp: Don't use exec_output.
5378
5379Fri May 23 13:28:29 1997 Bob Manson <manson@charmed.cygnus.com>
5380
5381 * gdb.base/list.exp: If we're debugging a non-native target,
5382 try to set the pc register to point to the start of the
5383 program before doing the first list command.
5384
5385 * gdb.c++/virtfunc.exp(gdb_virtfunc_restart): Make sure we run
5386 test_calls after restarting.
5387
5388 * lib/gdb.exp(gdb_run_cmd): Send jump command again after
5389 reloading.
5390
5391 * gdb.base/watchpoint.exp: Fix typo.
5392
5393 * gdb.base/setshow.exp: Check for use_gdb_stub.
5394
5395 * gdb.base/break.exp: Fix continue until exit test for the gdb
5396 stub case.
5397 * gdb.base/langs.exp: Ditto.
5398
5399 * config/monitor.exp(gdb_load): Handle gdb_sect_offset and
5400 gdb_load_offset. If we weren't given a file to load, figure out
5401 what the current file is and use it.
5402
5403 * config/i386-bozo.exp: New file.
5404
5405Thu May 22 18:51:32 1997 Bob Manson <manson@charmed.cygnus.com>
5406
5407 * lib/gdb.exp(gdb_expect): Look for gdb,timeout target
5408 feature.
5409
5410 * config/proelf.exp: New entry.
5411
5412Wed May 21 21:23:16 1997 Bob Manson <manson@charmed.cygnus.com>
5413
5414 * lib/gdb.exp: Remove spurious .* patterns at the beginning
5415 of regexps.
5416
5417 * gdb.base/watchpoint.exp: Don't run the test_stepping
5418 tests if gdb can't call functions on the target.
5419
5420 * gdb.base/setshow.exp: Don't run the set prompt tests if
5421 the board has gdb_prompt set.
5422
5423Tue May 20 08:58:49 1997 Jeffrey A Law (law@cygnus.com)
5424
5425 * gdb.base/a2-run.exp: Change "gdb,noargs" to just "noargs".
5426 * gdb.base/commands.exp: Likewise.
5427 * gdb.base/setshow.exp: Likewise.
5428
5429Mon May 19 15:37:50 1997 Bob Manson <manson@charmed.cygnus.com>
5430
5431 * config/monitor.exp(gdb_start): Look for gdb_prompt target
5432 feature.
5433
5434 * config/i960.exp: New file.
5435
5436Thu May 1 18:01:50 1997 Bob Manson <manson@charmed.cygnus.com>
5437
5438 * gdb.base/funcargs.exp: Check for gdb,short_int target
5439 feature instead of looking for explicit target triplets.
5440
dc96c6c7 5441Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cygnus.com>
c906108c 5442
beb998c6 5443 * gdb.base/printcmds.exp: add a couple more tests a la
c906108c
SS
5444 "p 123DEADBEEF", to check parse_number.
5445 * top.c: change "to enable to enable" to "to enable" in a couple
5446 of help strings.
5447
5448Thu Apr 24 14:38:18 1997 Jeffrey A Law (law@cygnus.com)
5449
5450 * gdb.base/callfuncs.exp: Mark some tests as expected to fail
5451 on the mn10300.
beb998c6 5452
c906108c
SS
5453Mon Apr 21 15:05:42 1997 Fred Fish <fnf@cygnus.com>
5454
5455 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for cases
5456 where the test executable is run with explicit args.
5457 * gdb.base/default.exp: Handle arm-*-coff case for "info float".
5458
5459Mon Apr 21 13:38:58 1997 Fred Fish <fnf@cygnus.com>
5460
5461 * gdb.base/run.c: Use FAKEARGV to build test executable that
5462 does not require a command line arg, since most simulators
5463 don't currently support passing such an arg into the simulated
5464 program.
5465 * gdb.base/commands.exp: Change tests to insert the proper
5466 value as the arg to the first recursive factorial call. Change
5467 compilation line to define FAKEARGV at compile time.
5468
5469Wed Apr 9 11:12:36 1997 Jeffrey A Law (law@cygnus.com)
5470
5471 * gdb.base/recurse.exp: Enable these tests for the mn10300.
5472 * gdb.base/watchpoint.exp: Don't expect a failure for an "calling
5473 function with watchpoint enabled" test.
5474
5475Tue Apr 8 19:33:20 1997 Bob Manson <manson@charmed.cygnus.com>
5476
5477 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):
5478 Don't call gdb_test when the command doesn't return to a gdb prompt.
5479
5480 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratuitous
5481 "Tests restarted" messages.
5482
5483Tue Apr 8 16:38:46 1997 Jeffrey A Law (law@cygnus.com)
5484
5485 * gdb.disasm/mn10300.exp: Fix buglets in "other" tests.
5486
dc96c6c7 5487Thu Apr 3 15:21:26 1997 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5488
5489 * gdb.base/help.exp: update help msg for INFO ADDR; add help test
5490 for INFO SYMBOL; add help tests for OVERLAY commands.
5491 * gdb.base/default.exp: add tests for INFO SYMBOL command;
5492 add tests for OVERLAY commands
5493 * gdb.base/overlays.c overlays.exp foo.c bar.c baz.c grbx.c ovlymgr.h
5494 d10v.ld m32r.ld d10vovly.c m32rovly.c: add test case for overlays.
5495 * gdb.base/sigall.c: add usestubs code frag
5496 * gdb.base/watchpoint.exp: turn on complex watchpoint test for M32R.
beb998c6 5497
c906108c
SS
5498Thu Apr 3 09:38:53 1997 Bob Manson <manson@charmed.cygnus.com>
5499
5500 * lib/gdb.exp(gdb_suppress_tests): Add explanation for subsequent
5501 failures.
5502 (gdb_stop_suppressing_tests): Note that tests have restarted.
5503
5504Wed Apr 2 19:04:20 1997 Bob Manson <manson@charmed.cygnus.com>
5505
5506 * config/h8300.exp: New file.
5507
5508Sun Mar 30 13:38:25 1997 Bob Manson <manson@charmed.cygnus.com>
5509
5510 * gdb.base/setshow.exp: Check for the existence of a
5511 feature, not its value.
5512
5513Sat Mar 29 11:19:46 1997 Bob Manson <manson@charmed.cygnus.com>
5514
5515 * gdb.c++/virtfunc.exp: Restart gdb in a sane fashion.
5516
5517 * gdb.base/scope.exp: It's now init0(), not init().
5518
5519 * gdb.base/scope0.c: For now, change init() to be init0().
5520
5521 * config/monitor.exp: Use gdb_serial in preference to serial
5522 or netport.
5523
5524 * lib/gdb.exp: Set GDB to [transform gdb] if we're using a remote host
5525 and it's not already set.
5526
5527Fri Mar 28 19:54:18 1997 Bob Manson <manson@charmed.cygnus.com>
5528
5529 * gdb.base/setshow.exp: Only test the run command if the target
5530 isn't using a stub and if it supports argument passing.
5531
5532Sat Mar 22 19:50:25 1997 Bob Manson <manson@charmed.cygnus.com>
5533
5534 * config/udi.exp(gdb_start): Make sure UDICONF is set
5535 properly before starting gdb.
5536
5537Mon Mar 24 14:40:33 1997 Jeffrey A Law (law@cygnus.com)
5538
5539 * gdb.disasm/mn10300.s: New test file for mn10300 disassembler.
5540 * gdb.disasm/mn10300.exp: Run mn10300 disassembler tests.
5541 * gdb.disasm/Makefile.in: Remove "mn10300" when cleaning.
5542
5543Tue Mar 11 11:42:58 1997 Bob Manson <manson@charmed.cygnus.com>
5544
5545 * config/vx.exp: Use remote_ld, not vxworks_ld. Don't use
5546 specialized code to reboot the board, use remote_reboot instead.
5547
5548 * config/vxworks29k.exp: Use vx.exp, not vx-gdb.exp.
5549
5550 * lib/gdb.exp: Add GDB_TESTCASE_OPTIONS.
5551
5552 * config/monitor.exp: Make sure we disconnect from the target.
5553 Also, try a reboot/reload cycle instead of failing if the
5554 load fails.
5555
5556Fri Mar 7 13:48:30 1997 Bob Manson <manson@charmed.cygnus.com>
5557
5558 * gdb.base/default.exp: Don't set match_max.
5559 * gdb.base/help.exp: Ditto.
5560 * gdb.base/list.exp: Ditto.
5561 * gdb.base/signals.exp: Ditto.
5562
5563 * config/monitor.exp(gdb_load): If gdb,use_standard_load is
5564 set, use remote_ld to download the testcase instead of
5565 the GDB loader.
5566
5567Wed Mar 5 00:00:43 1997 Bob Manson <manson@charmed.cygnus.com>
5568
5569 * config/vr5000.exp: New file.
5570
5571 * config/monitor.exp(gdb_target_monitor): Add pattern for
5572 "Ending remote" to detect errors in connecting.
5573
5574 * gdb.base/setshow.exp: Add .* within auto language test.
5575
5576 * lib/gdb.exp(gdb_run_cmd): Add check for gdb_init_command
5577 target feature.
5578
5579 * config/monitor.exp(gdb_load): Check for a failure when loading,
5580 and reboot the board if necessary.
5581
5582 * gdb.base/setvar.exp(test_set): Handle multiple prints within
5583 a set of tests. Remove print.* from the patterns being checked.
5584
5585Mon Mar 3 11:57:43 1997 Bob Manson <manson@charmed.cygnus.com>
5586
5587 * gdb.base/a1-selftest.exp: Use send_gdb consistently. Don't
5588 refer to gdb_spawn_id.
5589
5590 * config/m32r-stub.exp: Remove references to gdb_spawn_id, no
5591 longer used.
5592 * config/sparclet.exp: Ditto.
5593 * config/sparclet-old.exp: Ditto.
5594 * config/slite.exp: Ditto.
5595 * config/sim.exp: Ditto.
5596 * gdb.base/funcargs.exp: Ditto.
5597
5598 * lib/gdb.exp:Remove references to gdb_spawn_id.
5599 (gdb_expect): Move to remote.exp.
5600
5601Fri Feb 28 20:47:39 1997 Bob Manson <manson@charmed.cygnus.com>
5602
5603 * config/monitor.exp: Detect the "Couldn't establish connection"
5604 message from GDB.
5605
5606Tue Feb 25 14:08:55 1997 Bob Manson <manson@charmed.cygnus.com>
5607
5608 * gdb.base/bitfields.exp: Use runto instead of explicit
5609 gdb_run_cmd/gdb_expect sequences.
5610
5611 * gdb.base/break.exp(text_next_with_recursion): Add match for
5612 gdb_expect call.
5613
5614 * config/monitor.exp(gdb_target_monitor): Calling exit loses big.
5615 We also need to handle the "A program is being debugged already"
5616 prompt from gdb. Use gdb_test to set the baud rate.
5617
5618 * lib/gdb.exp(gdb_init): Increase the default expect buffer size
5619 to 20000. Really. I mean it.
5620
5621Mon Feb 24 13:23:26 1997 Bob Manson <manson@charmed.cygnus.com>
5622
5623 * lib/gdb.exp(gdb_test): Generate a FAIL message when send_gdb
5624 fails. If suppress_flag is set, skip perror message about not
5625 being able to send to GDB.
5626 (send_gdb): If suppress_flag is set, don't try to send commands to
5627 GDB.
5628 (gdb_expect): If suppress_flag is set, always fail immediately.
5629 (gdb_suppress_tests, gdb_stop_suppressing_tests): New functions.
5630 (gdb_init): Call gdb_stop_suppressing_tests.
5631 (default_gdb_exit): Ditto.
5632 (default_gdb_start): Ditto.
5633
5634 * gdb.base/bitfields.exp: Call gdb_suppress_tests and
5635 gdb_stop_suppressing_tests as appropriate.
5636 * gdb.base/break.exp: Ditto.
5637 * gdb.base/callfuncs.exp: Ditto.
5638 * gdb.base/commands.exp: Ditto.
5639 * gdb.base/exprs.exp: Ditto.
5640 * gdb.base/funcargs.exp: Ditto.
5641 * gdb.base/list.exp: Ditto.
5642 * gdb.base/recurse.exp: Ditto.
5643 * gdb.base/scope.exp: Ditto.
5644 * gdb.base/structs.exp: Ditto.
5645 * gdb.c++/inherit.exp: Ditto.
5646
5647Sun Feb 23 19:56:02 1997 Bob Manson <manson@charmed.cygnus.com>
5648
5649 * config/vr4300.exp: New file.
5650
99707966
MC
5651 * gdb.*/*.exp: Call gdb_expect instead of expect.
5652
5653 * lib/gdb.exp(gdb_expect): New function.
c906108c
SS
5654
5655Thu Feb 20 13:57:01 1997 Bob Manson <manson@charmed.cygnus.com>
5656
5657 * lib/gdb.exp(gdb_init): New function.
5658
5659 * gdb.base/setvar.exp(test_set): Don't bother printing a PASS/FAIL
5660 for each individual variable set.
5661
5662 * gdb.base/exprs.exp(test_expr): Make sure each test gets a unique
5663 name.
5664
5665 * gdb.base/help.exp: Fix the syntax of a few gdb_test calls.
5666
5667 * gdb.base/scope.exp: Use gdb_test.
5668
5669 * gdb.base/ptype.exp: Don't call "gdb_exit; gdb_start" if we're
5670 aborting; the testsuite driver will do that for us (see
5671 gdb_finish). Also, use gdb_test in a few more places.
5672
5673Thu Feb 20 13:32:24 1997 Stan Shebs <shebs@andros.cygnus.com>
5674
5675 * gdb.base/help.exp: Fix syntax of "help info all-registers" test.
5676
5677Thu Feb 20 10:34:21 1997 Jeffrey A Law (law@cygnus.com)
5678
5679 * gdb.disasm/mn10200.s: Add "nop" after "main" so that "main"
5680 and "add_tests" are not at the same address.
5681
5682Fri Feb 14 18:47:23 1997 Bob Manson <manson@charmed.cygnus.com>
5683
5684 * gdb.base/ptype.exp: Use gdb_test.
5685
5686Thu Feb 13 16:09:36 1997 Jeffrey A Law (law@cygnus.com)
5687
5688 * gdb.disasm/mn10200.s (misc_tests): Fix targets for "jsr" insns.
5689 * gdb.disasm/mn10200.exp (misc_tests): Remove bogus line accidentally
5690 left in. No longer expect them to fail.
5691
5692 * gdb.stabs/*.mt; Deleted, no longer used.
5693 * gdb.stabs/configure.in: Remove references to target makefile
5694 frags.
5695 * gdb.stabs/configure: Rebuilt.
5696
5697 * gdb.disasm/*.mt: Deleted, no longer used.
5698 * gdb.disasm/configure.in: Remove references to target makefile
5699 frags. Use "sh3.s" as the unique filename for this directory.
5700 * gdb.disasm/configure: Rebuilt.
5701
5702 * gdb.disasm/mn10200.s: New test file for mn10200 disassembler.
5703 * gdb.disasm/mn10200.exp: Run mn10200 disassembler tests.
5704 * gdb.disasm/Makefile.in: Remove "mn10200" when cleaning.
5705
5706Tue Feb 11 16:57:58 1997 Bob Manson <manson@charmed.cygnus.com>
5707
5708 * config/udi.exp: Use mondfe,name instead of remote_host.
5709
5710Tue Feb 11 11:22:36 1997 Jeffrey A Law (law@cygnus.com)
5711
5712 * gdb.base/watchpoint.exp: Don't expect a failure when calling
5713 a function with a watchpoint enabled on the mn10200.
5714
5715 * gdb.stabs/weird.exp: Don't quit if "weird.s" doesn't exist
5716 before trying to create it!
5717
5718Mon Feb 10 16:40:47 1997 Bob Manson <manson@charmed.cygnus.com>
5719
5720 * config/vx.exp: Use hostname instead of netport.
5721
5722 * config/vxworks.exp: New file.
5723
5724 * gdb.base/a2-run.exp: Change vxworks cases to use gdb_spawn_id.
5725
5726 * config/monitor.exp(gdb_target_monitor): Look for a prompt from
5727 gdb before assuming everything worked. Send a ^C if a timeout
5728 occurs.
5729
5730 * lib/gdb.exp(gdb_test): Check the result of send_gdb. Use
5731 $gdb_spawn_id directly.
5732 (gdb_run_cmd): Try _start as well as start. Use the target feature
5733 gdb,start_symbol as the symbol to start from when jumping.
5734
5735Mon Feb 10 11:26:59 1997 Jeffrey A Law (law@cygnus.com)
5736
5737 * gdb.base/exprs.exp: Delete bogus/incorrect (and probably
5738 redundant) test.
5739
5740 * gdb.base/recurse.exp: Relax final value test for 'b' so that
5741 it doesn't lose for 16bit integer systems.
5742
5743Fri Feb 7 09:31:21 1997 Jeffrey A Law (law@cygnus.com)
5744
5745 * gdb.fortran/types.exp: If the target doesn't support "double"
5746 data types, then expect "real" types to only be 4 bytes.
5747
5748 * gdb.c++/virtfunc.exp: Expect failure for virtual function
5749 call tests if the target doesn't support inferior function calls.
5750
5751 * gdb.base/printcmds.exp: Allow minor deviation in FP values
5752 in printf tests.
5753
5754Thu Feb 6 12:46:14 1997 Jeffrey A Law (law@cygnus.com)
5755
5756 * gdb.base/help.exp: Disable "help set", "help show", and
5757 "help support". Simplify regexp for "help stack".
5758
5759 * gdb.base/default.exp: Set match_max to 5000 and the timeout
5760 to 60 seconds. Temporarily set match_max to 15000 around the
5761 "info copying" test.
5762
5763 * gdb.base/nodebug.exp: Don't try to do an inferior function
5764 call if the target doesn't support them.
5765 * gdb.base/printcmds.exp: Likewise.
5766 * gdb.base/setvar.exp: Likewise.
5767 * gdb.base/structs.exp: Likewise.
5768 * gdb.c++/templates.exp: Likewise.
5769 * gdb.base/ptype.exp: Likewise. Remove UDI specific stuff.
5770
5771 * gdb.base/recurse.exp: Enable for the mn10200.
5772
5773 * configure.in: Do configure gdb.stabs directory for *-*-elf
5774 targets.
5775 * configure: Rebuilt.
5776
5777 * gdb.base/break.exp: Check for gdb,noresults before testing
5778 exit status and/or results from the target.
5779 * gdb.base/watchpoint.exp, gdb.base/langs.exp: Likewise.
5780 * lib/gdb.exp: Remove old (now bogus) initialization of
5781 noinferior, noargs, noresults and nosignals.
5782
5783Tue Feb 4 21:52:17 1997 Bob Manson <manson@charmed.cygnus.com>
5784
5785 * config/sh.exp: New file.
5786
5787 * config/slite.exp: Try to connect multiple times to the board
5788 before rebooting. Only send a "monitor run" if need_monitor_run
5789 is set.
5790
5791 * gdb.base/break.exp: Don't do the "stub continue" test if
5792 the target has gdb_stub set.
5793
5794 * gdb.base/callfuncs.exp: Increase the timeout.
5795
5796 * gdb.base/interrupt.exp: Don't even try to compile the testcase
5797 if the target has gdb,noinferiorio set.
5798
5799 * gdb.base/list.exp: Increase match_max to 10000 characters.
5800
5801 * gdb.base/sigall.exp: Check for gdb,nosignals on the target.
5802
5803 * gdb.base/watchpoint.exp: Check for gdb,noinferiorio on the
5804 target.
5805
5806 * lib/gdb.exp(gdb_run_cmd): Fix for targets that use stubs.
5807
5808Mon Feb 3 12:09:37 1997 Bob Manson <manson@charmed.cygnus.com>
5809
5810 * gdb.base/a1-selftest.exp: Make sure we call gdb_exit before
5811 trying to delete the copy of gdb. Catch the file delete so we
5812 don't die if the delete fails; also, the file should be copied to
5813 the host, not to the build.
5814
5815Sun Feb 2 00:55:14 1997 Bob Manson <manson@charmed.cygnus.com>
5816
5817 * lib/gdb.exp(gdb_test): Surround the result pattern with
5818 parenthesis in case it contains multiple regexps separated
5819 with |.
5820
5821 * gdb.base/watchpoint.exp: Use gdb_test.
5822 * gdb.base/default.exp: Ditto.
5823
5824Sat Feb 1 23:51:01 1997 Bob Manson <manson@charmed.cygnus.com>
5825
99707966 5826 * gdb.*/*.exp: Replace $prompt with $gdb_prompt.
beb998c6 5827
c906108c
SS
5828 * gdb.base/scope.exp: Use gdb_test.
5829 * gdb.c++/classes.exp: Ditto.
5830 * gdb.c++/inherit.exp: Ditto.
5831
5832Fri Jan 31 13:09:12 1997 Bob Manson <manson@charmed.cygnus.com>
5833
5834 * gdb.base/crossload.exp: Don't use execute_anywhere, use
5835 remote_exec instead.
5836 * gdb.base/corefile.exp: Don't be ridiculous.
5837 * gdb.base/*.c: Add missing stub invocations.
5838
5839Thu Jan 30 16:49:25 1997 Bob Manson <manson@charmed.cygnus.com>
5840
5841 * config/slite.exp: Miscellaneous fixes.
5842
5843 * lib/gdb.exp: Fix runto.
5844
5845 * gdb.base/signals.exp: Check for a gdb,nosignals feature of
5846 the target.
5847
5848 * gdb.base/watchpoint.exp: Fix regexp.
5849
5850 * lib/gdb.exp(default_gdb_exit): Add a catch to the
5851 close and wait commands, as the descriptor may now be
5852 invalid. Always call "remote_close host".
5853
5854Tue Jan 28 14:42:31 1997 Bob Manson <manson@charmed.cygnus.com>
5855
5856 Major rewrite for testsuite revision.
beb998c6 5857
c906108c
SS
5858 * lib/gdb.exp: Remove references to global CC, CXX, B_OPTIONS,
5859 TARGET_INCLUDES, LDFLAGS and target_alias. Use gdb_spawn_id
5860 instead of relying on spawn_id to always contain a valid
5861 spawn id.
5862 (get_compiler_info): New procedure to build the ${binfile}.ci
5863 file, instead of replicating this in N different places.
5864 (gdb_compile): New procedure.
beb998c6 5865
c906108c
SS
5866 gdb.*/*.exp: Use gdb_compile and get_compiler_info (with
5867 appropriate arguments) instead of compile. Use gdb_test in a lot
5868 more places. Use send_gdb instead of send. Always run gdb_start
5869 at the start of a testcase, as this is no longer done magically.
5870
5871 config/*-gdb.exp: Rename without the -gdb suffix.
5872
5873 config/mips.exp: Use remote_close instead of exit_remote_shell.
5874 config/monitor.exp: Use target_info instead of looking at
5875 baud, timeout, etc.
5876 config/sim.exp: Use gdb_spawn_id instead of relying on spawn_id.
5877
5878Sat Dec 14 00:43:57 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5879
5880 * gdb.c++/templates.exp (test_ptype_of_templates),
5881 gdb.c++/inherit.exp (test_ptype_si, test_print_anon_union):
5882 Update expect patterns for destructors and assignment operators
5883 to match corresponding c-typeprint.c changes.
5884 * gdb.c++/templates.exp (test_template_breakpoints): Revert change
5885 to destructor breakpoint test, GDB should be able to set the
5886 destructor breakpoint without specifying arguments.
5887
5888Tue Dec 3 20:17:52 1996 Fred Fish <fnf@cygnus.com>
5889
5890 * gdb.threads/pthreads.exp: Change result for failure to compile due
5891 to lack of pthreads runtime support from an error to simply an
5892 unsupported test, per dejagnu standards.
5893
5894Sun Dec 1 00:18:59 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5895
5896 * lib/gdb.exp (gdb_test): Simplify expect pattern for the case
5897 where GDB exits to reduce pattern match time.
5898 (skip_chill_tests): Skip chill tests for mips*-sgi-irix6*.
5899
5900 * gdb.base/nodebug.exp: Add mips*-sgi-irix6* xfails.
5901
dc96c6c7 5902Tue Nov 26 18:29:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5903
5904 * gdb.base/callfuncs.exp: Turn on function call tests for h8300.
5905 * gdb.base/default.exp: ditto.
5906 * gdb.base/nodebug.exp: ditto.
5907 * gdb.base/printcmds.exp: ditto.
5908 * gdb.base/ptype.exp: ditto.
5909 * gdb.base/setvar.exp: ditto.
5910 * gdb.base/structs.exp: ditto.
5911 * gdb.base/setshow.c: Guard against uninitialized values of argc.
5912
5913Tue Nov 26 17:23:28 1996 Ian Lance Taylor <ian@cygnus.com>
5914
5915 * configure, */configure: Rebuild with autoconf 2.12.
5916
5917Sat Nov 23 13:32:15 1996 Fred Fish <fnf@cygnus.com>
5918
5919 * gdb.base/a1-selftest.exp: Change x86 linux setup_xfails to
5920 use new i*86-pc-linux*-gnu quads.
5921 * gdb.base/corefile.exp: Ditto.
5922 * gdb.base/signals.exp: Ditto.
5923 * gdb.base/sigall.exp: Ditto.
5924 * gdb.base/interrupt.exp: Ditto.
5925
5926 * gdb.base/signals.exp (signal_tests_1): Remove setup_xfail
5927 "i*86-*-linux" for "signal SIGUSR1". Now works, at least with
5928 RedHat 4.0.
beb998c6 5929
c906108c
SS
5930 * gdb.threads/pthreads.c (_MIT_POSIX_THREADS): Define if target is
5931 linux. This allows the test case to at least compile on latest
5932 linux, but still not run due to missing the threads runtime library.
5933
5934Fri Nov 22 10:13:29 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5935
5936 * gdb.base/a1-selftest.exp (do_steps_and_nexts): Reinitialize source
5937 directory to search gdb directory. Accept and step over conditional
5938 stack alignment code. Consume $prompt in failure cases.
5939 Reset timeout to $oldtimeout instead of some arbitrary value.
5940 * gdb.base/nodebug.exp: Limit backtrace to 10 frames to avoid
5941 timeout problems with infinite stack backtraces.
5942 * gdb.base/ptype.exp (ptype struct link, union tu_link):
5943 Accept function parameters for linkfunc member.
5944
5945Thu Nov 21 09:17:19 1996 Fred Fish <fnf@cygnus.com>
5946
5947 * lib/gdb.exp (CFLAGS): Remove, unreferenced.
5948 (CXXFLAGS): Remove, unreferenced.
5949 (B_OPTIONS): Add for -B options and add code to initialize with
5950 previous -B options and also add -B option to pick up cross compiled
5951 runtime.
5952 (TARGET_INCLUDES): Add for -I options and add code to initialize when
5953 doing cross compiles.
5954 (target_alias): Declare global.
5955 (xgcc): Set variable to full path of gcc in build tree. Use findfile
5956 to verify that gcc exists in build tree, and if so set CC to that
5957 gcc and to use B_OPTIONS and TARGET_INCLUDES.
beb998c6 5958
c906108c
SS
5959Tue Nov 12 16:20:13 1996 Fred Fish <fnf@cygnus.com>
5960
5961 * gdb.c++/inherit.exp (test_print_anon_union): Reenable
5962 ptype test for anonymous union. Fixup testcase to match
5963 current gcc debug output.
5964
5965Mon Nov 11 14:12:06 1996 Jeffrey A Law (law@cygnus.com)
5966
5967 * gdb.base/funcargs.c: Use cast rather than "UL" suffix to
5968 force argument to an unsigned long type.
5969
5970Mon Nov 11 10:27:55 1996 Fred Fish <fnf@cygnus.com>
5971
5972 * gdb.c++/inherit.exp (test_ptype_si): Fix tagless struct ptype
5973 tests and anonymous union print/ptype tests.
5974 * gdb.base/list.exp (test_forward-search): Increase timeout by
5975 5 minutes for the "search extremely long line" case.
5976 * lib/gdb.exp (gdb_test): Document that the third arg to gdb_test is
5977 completely optional and that the pass/fail messages use the command as
5978 the message if that third arg is a null string.
5979 (gdb_test_exact): Arrange that a null string pattern means match a
5980 null string output rather than any output, which might include random
5981 errors.
5982 * gdb.base/mips_pro.exp: Add "mips*-sgi-irix4*" xfail for
5983 backtrace test.
5984 * gdb.c++/demangle.exp: Add a "*-*-*" xfail for test that was
5985 always failing and failure is now exposed by gdb.exp changes.
5986
5987Sat Nov 9 11:13:24 1996 Fred Fish <fnf@cygnus.com>
5988
5989 * gdb.c++/inherit.exp (test_ptype_vi): Log some passes that
5990 weren't being noted.
5991
5992Sat Nov 9 01:05:10 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5993
5994 * gdb.base/corefile.exp: Consume $prompt in mmap fail cases.
5995 * gdb.stabs/weird.exp: Remove v_comb xfails.
5996
dc96c6c7 5997Tue Nov 5 10:44:23 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
5998
5999 * gdb.base/[bitfields.exp crossload.exp funcargs.exp interrupt.exp
6000 list.exp scope.exp watchpoint.exp]
6001 Make all timeout error msgs explicitly say "(timeout)".
beb998c6 6002
dc96c6c7 6003Mon Nov 4 12:03:06 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6004
6005 * config/monitor.exp: Increase download timeout to 1000 seconds.
6006
dc96c6c7 6007Mon Nov 4 12:02:26 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6008
6009 * config/m32r.exp: Increase timeout to 120 seconds.
6010
6011Sun Nov 3 14:37:05 1996 Fred Fish <fnf@cygnus.com>
6012
6013 * gdb.c++/classes.exp: Modify to handle current gcc C++ member ordering
6014 and accept older ordering as obsolescent gcc or gdb.
6015 * gdb.c++/templates.exp: Ditto.
6016 * gdb.c++/virtfunc.exp: Ditto.
6017
6018Fri Nov 1 11:56:09 1996 Fred Fish <fnf@cygnus.com>
6019
6020 * gdb.base/coremaker.c: Add code to mmap some data so we
6021 can check that it ends up in the core file.
6022 * gdb.base/corefile.exp: Add test to read mmapped data
6023 from core file.
6024
dc96c6c7 6025Wed Oct 30 18:19:16 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6026
6027 * config/m32r.exp: New file.
6028
6029Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
6030
6031 * testsuite/gdb.base/nodebug.exp: Whack out -g options by hand so
6032 that cflags can contains -gstabs, and work correctly for other tests.
6033
dc96c6c7 6034Mon Oct 21 14:00:37 1996 Michael Snyder <msnyder@cygnus.com>
c906108c
SS
6035
6036 * gdb.base/setshow.exp: New file, tests show and set.
6037 * gdb.base/setshow.c: New file, tests show and set.
6038 * gdb.base/help.exp: Add test for help set|show annotate.
6039 * gdb.base/default.exp: Add test for set|show annotate.
6040
6041Wed Oct 16 19:03:54 1996 Stu Grossman (grossman@critters.cygnus.com)
6042
6043 * testsuite/gdb.base/break.exp: Make backtrace from factorial
6044 errors unique.
6045 * testsuite/gdb.base/nodebug.exp: Whack out all -g options
6046 explicitly.
6047
6048Tue Oct 15 16:45:02 1996 Stu Grossman (grossman@critters.cygnus.com)
6049
6050 * config/sim-gdb.exp (gdb_target_sim): Remove setting of height
6051 and width commands. This is done elsewhere.
6052 * (gdb_start): Don't call gdb_start_sim here. That's already
6053 done in gdb_load. This fixes lots of failures in default.exp.
6054
6055Sun Oct 13 10:40:23 1996 Fred Fish <fnf@cygnus.com>
6056
6057 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
6058 * gdb.base/mips_pro.exp: Fix misplaced gdb_exit/gdb_start/gdb_load.
6059 * lib/gdb.exp (gdb_test): Treat failures due to program exiting
6060 in the same we we treat other failures (since it may be an expected
6061 condition), rather than as an error.
6062 * gdb.base/signals.exp (test_handle_all_print): Revert back to
6063 old test format.
6064
6065Fri Oct 11 17:05:22 1996 Fred Fish <fnf@cygnus.com>
6066
6067 * Makefile.in (clean mostlyclean): Also remove chill *.grt files.
6068 (distclean maintainer-clean realclean): No need to remove files
6069 twice. Nuke the duplicates.
6070 * gdb.base/Makefile.in (EXECUTABLES): Add "structs".
beb998c6 6071 * gdb.threads/Makefile.in (distclean maintainer-clean realclean):
c906108c
SS
6072 Remove config.h along with other config files.
6073
6074Mon Sep 30 20:16:22 1996 Fred Fish <fnf@cygnus.com>
6075
6076 * gdb.base/interrupt.exp: Add i*86-*-linux* setup_xfail for
6077 "p func1 ()" and note that rests of tests are skipped.
6078 * gdb.base/corefile.exp: Add i*86-*-linux* and m68*-*-hpux*
6079 setup_xfails for "print func2::coremaker_local".
6080 Add i*86-*-linux* setup_xfail for "backtrace in corefile.exp".
6081 * gdb.base/mips_pro.exp: Restart gdb in this test so it isn't
6082 affected by the previous run test.
6083 * gdb.chill/misc.exp: Add m68*-*-hpux* setup_xfails for
6084 "print array () ubyte (foo)" and "print/x array () byte (\$i)"
6085 * gdb.chill/pr-8742.exp: Add m68*-*-hpux* setup_xfails for
6086 "pass int powerset tuple" and "pass modeless int powerset tuple".
6087 * gdb.chill/tests2.exp: Add m68*-*-hpux* setup xfails for
6088 "real write 4" and "real write 8".
6089 * gdb.shill/tuples.exp: Add i*86-*-linux* and m68*-*-hpux*
6090 setup_xfails for "print vs1 after tuple assign 2",
6091 "print \$i after tuple assign 2", and
6092 "print vs2 after tuple assign 2".
6093 * lib/gdb.exp (gdb_test): When a gdb aborts, print a more
6094 meaningful error message and return -1 so the caller can
6095 suppress further tests and avoid a cascade of errors.
beb998c6 6096
c906108c
SS
6097Fri Sep 27 10:34:51 1996 Fred Fish <fnf@cygnus.com>
6098
6099 * gdb.base/a1-selftest.exp: Tweak tests to account for new
6100 format for printing version.
6101 * gdb.base/default.exp: Ditto.
6102 * gdb.base/interrupt.exp: Fix problem with cascade of
6103 errors if child process dies while calling a function.
beb998c6 6104
c906108c
SS
6105Fri Sep 13 21:43:48 1996 Fred Fish <fnf@cygnus.com>
6106
6107 * Makefile.in (VPATH): Add
6108 * Makefile.in (Makefile, config.status): Fix rules so things get
6109 remade when necessary.
6110
6111Fri Sep 13 18:16:10 1996 Fred Fish <fnf@cygnus.com>
6112
6113 * Makefile.in (just-check): Add path to sibling expect dir
6114 to environment variable specified by RPATH_ENVVAR.
6115
6116Fri Sep 13 12:05:34 1996 Fred Fish <fnf@cygnus.com>
6117
6118 * Makefile.in (RPATH_ENVVAR): New var, set to @RPATH_ENVVAR@.
6119 (just-check): Add shared library paths for libstdc++, tk,
6120 tcl, bfd, and opcodes to the environment variable specified
6121 in RPATH_ENVVAR.
6122 * configure.in: Add support to recognize --enable-shared flag
6123 and generate correct value for RPATH_ENVVAR.
6124 * configure: Regenerated with autoconf.
6125
6126Mon Sep 2 06:36:02 1996 Fred Fish <fnf@cygnus.com>
6127
6128 * gdb.base/break.exp: Expand "Delete all breakpoints" xfail to
6129 include all osf versions.
6130 * gdb.threads/pthreads.exp: Expand "run to main" xfail to include
6131 all osf versions. Add -D_MIT_POSIX_THREADS to compilation command
6132 when target is linux. When failing to build pthreads test
6133 executable, give more meaningful message.
6134 * gdb.threads/pthreads.c: Hpux also uses old definition of second
6135 arg for pthread_create.
beb998c6 6136
c906108c
SS
6137Mon Aug 19 09:58:59 1996 Fred Fish <fnf@cygnus.com>
6138
6139 * gdb.threads/pthreads.c (PTHREAD_CREATE_ARG2,
6140 PTHREAD_CREATE_NULL_ARG2): Accomodate old pthreads implementations.
6141 * gdb.threads/pthreads.exp: Try linking with both -lpthread (Solaris)
6142 and -lpthreads (everybody else).
6143 (test_startup): Fail gracefully if threads are not supported.
6144 * gdb.base/nodebug.exp: Add setup_xfail hppa*-*-hpux* for
6145 "p/c array_index("abcdef",2)" when not gcc compiled.
6146 * gdb.base/corefile.exp: Add setup_xfail hppa*-*-hpux* for
6147 "print func2::coremaker_local" when not gcc compiled.
6148 * gdb.base/opaque.exp: Remove setup_xfail hppa*-*-hpux* for
6149 "ptype on opaque struct tagname (statically)",
6150 "ptype on opaque struct tagname (dynamically) 1", and
6151 "ptype on opaque struct tagname (dynamically) 2"
6152 for not compiled with gcc.
6153 * gdb.base/mips_pro.exp: Only do setup_xfail hppa*-*-* for
6154 backtrace when compiled with gcc.
beb998c6 6155 * lib/gdb.exp (runto_main): Return result of "runto main" rather
c906108c
SS
6156 than always return success.
6157
6158Sat Aug 17 13:28:00 1996 Fred Fish <fnf@cygnus.com>
6159
6160 * gdb.c++/virtfunc.exp: Remove setup_xfail for "mips-*-irix5*".
6161
6162Tue Aug 13 10:26:10 1996 Jeffrey A Law (law@cygnus.com)
6163
6164 * gdb.base/structs.exp: Undo last change.
6165
6166Mon Aug 12 15:29:08 1996 Fred Fish <fnf@cygnus.com>
6167
6168 * gdb.base/a1-selftest.exp (do_steps_and_nexts): New routine to
6169 encapsulate all the steps/nexts done during self test, starting
6170 at main, and makes them less sensitive to optimization issues.
6171 Add "hppa*-*-hpux*" to setup_xfail for "backtrace through
6172 signal handler" test.
6173 * gdb.threads/pthreads.exp: Only run this for native configs.
6174 * gdb.base/structs.exp (do_function_calls): Add hppa*-*-hpux9*"
6175 setup_xfails for "p fun5()", "p fun6()", "p fun7()", and "p fun8"
6176 tests.
6177 gdb.c++/virtfunc.exp (do_tests): Add "mips-*-irix5*" setup_xfail
6178 for "runto test_calls(void)" test.
beb998c6 6179
c906108c
SS
6180Sun Aug 11 13:11:24 1996 Fred Fish <fnf@cygnus.com>
6181
6182 * gdb.base/term.exp: Set 7-bit strings, address off, width to 0,
6183 and don't expect address info in breakpoint confirmations.
6184
6185Wed Aug 7 20:47:43 1996 Fred Fish <fnf@cygnus.com>
6186
6187 * gdb.base/list.exp (test_forward_search): Increase timeout
6188 temporarily by 60 seconds for searching extremely long line,
6189 and then reset to old value when done. Increase expect input
6190 buffer to 10000.
6191
6192Wed Aug 7 15:34:22 1996 Fred Fish <fnf@cygnus.com>
6193
6194 * gdb.base/list.exp (test_forward_search): Fix to handle very
6195 long source line without overflowing expect's input buffer.
6196
6197Wed Aug 7 12:03:25 1996 Tom Tromey <tromey@creche.cygnus.com>
6198
6199 * config/slite-gdb.exp (gdb_start): Use "full_buffer", not
6200 "buffer_full".
6201
6202 * config/nind-gdb.exp (gdb_start): Use "full_buffer", not
6203 "buffer_full".
6204
6205 * config/mips-gdb.exp (gdb_start): Use "full_buffer", not
6206 "buffer_full".
6207
6208 * lib/gdb.exp (gdb_test): Correct pattern is "full_buffer", not
6209 "buffer_full".
6210
6211Wed Aug 7 11:05:47 1996 Fred Fish <fnf@cygnus.com>
6212
6213 * configure.in (configdirs): Add gdb.threads.
6214 * configure: Regenerated with autoconf.
6215 * gdb.threads/{config.in, pthreads.c, pthreads.exp}: New.
6216 * gdb.threads/{Makefile.in, configure.in}: Complete rewrites.
6217 * gdb.threads/configure: New, generated with autoconf.
beb998c6 6218
c906108c
SS
6219Tue Aug 6 10:23:04 1996 Tom Tromey <tromey@rtl.cygnus.com>
6220
6221 * lib/gdb.exp (gdb_test_exact): Turn \n in pattern into \r\n.
6222
6223Mon Aug 5 18:11:53 1996 Fred Fish <fnf@cygnus.com>
6224
6225 * gdb.base/signals.exp (test_handle_all_print): Test separately for
6226 each signal's status in the output of "handle all print".
6227 * lib/gdb.exp (gdb_test): Document that the pattern must NOT include
6228 the \r\n sequence that immediately precedes the gdb prompt.
6229 * gdb.base/a1-selftest.exp: Save original timeout and restore
6230 after test.
6231
6232Sun Aug 4 10:20:50 1996 Jeffrey A Law (law@cygnus.com)
6233
6234 * gdb.disasm/hppa.s: Export fmemLRbug_tests_4 as a ST_CODE
6235 symbol.
6236
6237Fri Aug 2 17:37:26 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
6238
6239 * config/vx-gdb.exp (gdb_start): Fix syntax of `$shell_id < 0'.
6240
6241Thu Jun 27 20:41:40 1996 Fred Fish <fnf@cygnus.com>
6242
6243 * gdb.base/signals.exp (test_handle_all_print): Temporarily increase
6244 timeout by 60 seconds.
6245
6246Thu Jun 27 18:13:57 1996 Fred Fish <fnf@cygnus.com>
6247
6248 * config/unix-gdb.exp: Increase default timeout from 30 to 60 sec.
6249 * config/netware.exp (gdb_run_cmd): Restore old timeout before doing
6250 error return.
6251
6252Thu Jun 27 10:54:58 1996 Fred Fish <fnf@cygnus.com>
6253
6254 * lib/gdb.exp (default_gdb_start): When reporting a timeout during
6255 gdb initialization, also report how long dejagnu waited. Restore
6256 old timeout before doing error return. Temporarily increase timeout
6257 by 3 minutes to allow for slow startups over heavy NFS use.
6258
6259Tue Jun 25 19:59:17 1996 Fred Fish <fnf@cygnus.com>
6260
6261 * lib/gdb.exp: Report timeout value for verbosity level 2.
6262 * config/gdbserver.exp: Ditto.
6263 * config/hppro.exp: Ditto.
6264 * config/mips-gdb.exp: Ditto.
6265 * config/monitor.exp: Ditto.
6266 * config/netware.exp: Ditto.
6267 * config/sim-gdb.exp: Ditto.
6268 * config/slite-gdb.exp: Ditto.
6269 * config/udi-gdb.exp: Ditto.
6270 * config/unix-gdb.exp: Ditto.
6271 * config/vx-gdb.exp: Ditto.
6272 * gdb.base/a1-selftest.exp: Ditto.
6273 * gdb.base/a2-run.exp: Ditto.
6274 * gdb.base/break.exp: Ditto.
6275 * gdb.base/corefile.exp: Ditto.
6276 * gdb.base/list.exp: Ditto.
6277 * gdb.base/recurse.exp: Ditto.
6278 * gdb.base/scope.exp: Ditto.
6279 * gdb.base/signals.exp: Ditto.
6280
6281Tue Jun 25 23:16:58 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6282
6283 * gdb.threads/Makefile.in (docdir): Removed.
6284
6285Tue Jun 25 17:02:39 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6286
6287 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
beb998c6 6288 * gdb.{base,c++,chill,disasm,stabs}/Makefile.in (VPATH): set to
c906108c 6289 @srcdir@.
beb998c6 6290 * gdb.{base,c++,chill,disasm,stabs}/configure.in (AC_PREREQ):
c906108c
SS
6291 autoconf 2.5 or higher.
6292 * gdb.{base,c++,chill,disasm,stabs}/configure: Rebuilt.
6293
6294Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
6295
6296 * configure: Regenerated.
6297 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
6298 avoid name clashes with SunOS headers.
6299
6300Wed Jun 5 16:43:27 1996 Jeffrey A Law (law@cygnus.com)
6301
6302 * gdb.c++/virtfunc.exp: Search $objdir/../../libstdc++ for libstdc++.
6303
6304Thu May 30 11:35:11 1996 Jeffrey A Law (law@cygnus.com)
6305
6306 * gdb.base/callfuncs.exp: Finish last change -- make sure the
6307 prototype information ends up in the compiler info file.
6308
6309Thu May 23 12:48:41 1996 Fred Fish <fnf@cygnus.com>
6310
6311 * gdb.base/callfuncs.exp: Remove the compiler info file prior to
6312 attempting to regenerate it. Eliminate use of a temporary file
6313 and just generate the info file directly. Source it immediately,
6314 for consistency of use.
6315 * gdb.base/corefile.exp: Ditto
6316 * gdb.base/exprs.exp: Ditto.
6317 * gdb.base/funcargs.exp: Ditto.
6318 * gdb.base/langs.exp: Ditto.
6319 * gdb.base/list.exp: Ditto.
6320 * gdb.base/mips_pro.exp: Ditto.
6321 * gdb.base/nodebug.exp: Ditto.
6322 * gdb.base/opaque.exp: Ditto.
6323 * gdb.base/ptype.exp: Ditto.
6324 * gdb.base/scope.exp: Ditto.
6325 * gdb.base/setvar.exp: Ditto.
6326 * gdb.base/signals.exp: Ditto.
6327 * gdb.base/whatis.exp: Ditto.
6328 * gdb.c++/templates.exp: Ditto.
6329 * gdb.c++/virtfunc.exp: Ditto.
6330 * gdb.c++/virtfunc.exp: Use contents of gcc_compiled to decide
6331 whether or not to add -lstdc++ to the compile command line args.
6332
6333Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6334
6335 * gdb.base/recurse.exp: Remove setup_xfail for "sparc*-*-sunos4*",
6336 it got fixed by the recent lookup_minimal_symbol_by_pc change.
6337 Increase timeout, a lot of single stepping might be needed if the
6338 target has no hardware watchpoints.
6339
6340Wed May 15 08:47:42 1996 Jeffrey A Law (law@cygnus.com)
6341
6342 * gdb.base/break.exp: Ignore compiler warnings when compiling
6343 break.c.
6344 * gdb.base/callfuncs.exp: Don't run these tests on the h8300.
6345 * gdb.base/default.exp: Add h8300 xfails. Handle messages
6346 from remote-sim.
6347 * gdb.base/exprs.exp: Add h8300 xfails.
6348 * gdb.base/funcargs.exp: Likewise.
6349 * gdb.base/nodebug.exp: Likewise.
6350 * gdb.base/printcmds.exp: Likewise.
6351 * gdb.base/ptype.exp: Likewise.
6352 * gdb.base/setvar.exp: Handle sizeof (int) != 4 for h8300. Add
6353 h8300 xfails.
beb998c6 6354 * gdb.base/return.exp: Handle float/double precision problems
c906108c
SS
6355 on the h8300.
6356 * gdb.base/funcargs.c: Explicitly make last constant argument to
6357 call_after_alloca_subr an unsigned long type.
6358 * gdb.base/return.c: Include stdio.h.
6359
6360Tue May 7 22:01:12 1996 Rob Savoye <rob@chinadoll.cygnus.com>
6361
6362 * config/abug.exp: New file for the older Motorola Bug monitor
6363 that runs on the mvme13x series VME boards.
6364 * config/monitor.exp: Use the new config array for target settings
6365 if they exist.
6366
6367Fri May 3 16:02:55 1996 Stan Shebs <shebs@andros.cygnus.com>
6368
6369 * sim-gdb.exp: Make the SH simulator allocate less space when
6370 it is targeted.
6371
6372Thu May 2 12:31:56 1996 Jeffrey A Law (law@cygnus.com)
6373
6374 * gdb.base/mips_pro.exp: Expect failure for hppa*-*-* in backtrace
6375 test.
6376
6377Wed Mar 20 08:48:03 1996 Fred Fish <fnf@cygnus.com>
6378
6379 * gdb.base/list.exp (test_list_function): Remove setup_xfail for
6380 "rs6000-*-*" for "list function in include file" when gcc compiled.
6381 * gdb.base/printcmds.exp: Remove setup_xfail for "rs6000-*-aix*"
6382 for "p ctable1[120]".
6383 * gdb.base/scope.exp: Remove setup_xfail for "rs6000-*-*" for
6384 "print 'scope0.c'::filelocal_bss before run" when gcc compiled.
6385 Remove setup_xfail for "rs6000-*-*" for
6386 "print 'scope0.c'::filelocal before run".
6387 * gdb.base/{langs.exp, lists.exp, opaque.exp, scope.exp},
6388 gdb.stabs/weird.exp: Remove use of compiler options "-c -o ..."
6389 since some compilers don't allow both options to be given
6390 on the same command line. Create object file and move it.
beb998c6 6391
c906108c
SS
6392Tue Mar 19 23:49:31 1996 Fred Fish <fnf@cygnus.com>
6393
6394 * gdb.base/corefile.exp: Always regenerate the core file, since
6395 we always regenerate the coremaker program. Detect special case
6396 where registers cannot be read from core file.
beb998c6 6397
c906108c
SS
6398Tue Mar 19 16:52:49 1996 Fred Fish <fnf@cygnus.com>
6399
6400 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
6401 * gdb.base/funcargs.c: Patch for SPARCworks alloca compatibility
6402 * gdb.c++/templates.exp: Only match on basename of file since
6403 some formats like xcoff don't encode directory information.
6404 * gdb.stabs/weird.exp: Use the right sed script for powerpc
6405 and rs6000 AIX xcoff targets.
6406 * configure.in: Add stabsdirs to configdirs for powerpc-*-aix*.
6407 * configure: Regenerate.
6408 * gdb.base/Makefile.in (clean): Remove generated file twice-tmp.c
6409 here, rather than in distclean.
beb998c6 6410
c906108c
SS
6411Sun Mar 17 13:35:31 1996 Fred Fish <fnf@cygnus.com>
6412
6413 * gdb.base/mips_pro.exp: Create mips_pro.ci to get gcc_compiled
6414 defined, and use it to compile the test case with -O2. The
6415 native compilation still uses no optimization.
6416 * gdb.base/mips_pro.c: Remove inline assembly code since
6417 it is compiled PIC by default, which results in assembler
6418 warnings that make the testsuite think the compilation
6419 was unsuccessful.
6420
6421Sat Mar 16 15:02:24 1996 Fred Fish <fnf@cygnus.com>
6422
6423 * gdb.c++/misc.exp: Add note to message for
6424 "print s.a for foo struct" that this is a known gcc 2.7.2
6425 and earlier bug.
6426
6427Fri Mar 15 17:49:57 1996 Fred Fish (fnf@cygnus.com)
6428
6429 * gdb.base/break.exp: Fix pattern for matching "Delete all
6430 breakpoints (y or n) ". Add "mips-dec-ultrix*" to
6431 setup_xfail for deleting all breakpoints test. Fix various
6432 timeout messages to include "(timeout)".
6433 * gdb.base/callfuncs.exp: Add "i*86-*-sysv4*" to setup_xfail
6434 for "p t_float_values2(3.14159,float_val2)".
6435 * gdb.base/funcargs.exp: Remove "mips-sgi-irix4*" setup_xfail
6436 for "continue to call2g" when gcc compiled.
6437 * gdb.base/langs.exp: Remove "i*86-*-sysv4*" setup_xfail for
6438 "up to foo in langs.exp", "show language at foo in langs.exp",
6439 "show language at cppsub_ in langs.exp", "up to fsub in langs.exp",
6440 and "show language at fsub in langs.exp".
6441 * gdb.base/list.exp: Remove "*-*-sysv4*" setup_xfail for
6442 "list line 1 in include file", "list message for lines past EOF",
6443 "list function in include file", "list list0.h:foo", and
6444 "list filename:function; nonexistant function".
6445 * gdb.base/ptype.exp: Change "i*86-*-sysv4*" setup_xfail for
6446 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)"
6447 and "ptype t_char_array" to be for native cc only.
beb998c6 6448
c906108c
SS
6449Fri Mar 15 16:17:22 1996 Fred Fish <fnf@cygnus.com>
6450
beb998c6 6451 * gdb.base/corefile.exp: Remove "alpha-dec-osf2*" native compiled
c906108c
SS
6452 setup_xfail for "print coremaker_bss", "print coremaker_ro",
6453 "print func2::coremaker_local", and "backtrace in corefile.exp".
6454
6455Wed Mar 13 14:54:11 1996 Fred Fish <fnf@cygnus.com>
6456
6457 * gdb.base/signals.exp: Remove "alpha-*-osf2*" setup_xfail for
6458 "bt in signals.exp". This problem only appears when running
6459 the testsuite, and then only intermittently.
6460
6461Tue Mar 12 15:00:16 1996 Stan Shebs <shebs@andros.cygnus.com>
6462
6463 * gdb.base/return.exp (return_tests): Differentiate between
6464 two tests of continuing.
6465
6466Tue Mar 5 14:33:33 1996 Stan Shebs <shebs@andros.cygnus.com>
6467
6468 * */Makefile.in (maintainer-clean): Remove config.log.
6469 * gdb.base/Makefile.in (EXECUTABLES): Replace twice with twice-tmp.
6470 * gdb.c++/Makefile.in (PROGS): Add inherit.
6471 (clean): Remove *.ci.
6472
6473Tue Feb 20 16:36:10 1996 Fred Fish <fnf@cygnus.com>
6474
6475 * gdb.c++/misc.cc: Add test code from Mike Stump.
6476 * gdb.c++/misc.exp: Add test to print s.a, for Mike Stump.
6477
6478Sun Feb 18 11:39:12 1996 Fred Fish <fnf@cygnus.com>
6479
6480 * gdb.base/signals.exp: Change setup_xfail for "alpha-*-osf2"
6481 to "alpha-*-osf2*" and add comment.
6482 * gdb.base/a1-selftest.exp (test_with_self): Remove "alpha-dec-osf2*"
6483 setup_xfail for "step over execarg initialization" and
6484 "step over corearg initialization".
6485 * gdb.base/callfuncs.exp (do_function_calls): Restore setup_xfail
6486 for "hppa*-*-*", "sparc-*-*", "mips*-*-*", and "alpha-dec-osf2*".
6487 * gdb.base/corefile.exp: Add "alpha-dec-osf2*" setup_xfail when not
6488 gcc compiled for "print coremaker_bss", "print coremaker_ro",
6489 "print func2::coremaker_local", and "backtrace in corefile.exp".
6490 * gdb.base/signals.exp: Build and source signals.ci.
6491 Change "alpha-dec-osf2*" setup_xfail for "bt in signals.exp"
6492 to be for gcc only.
6493 * lib/gdb.exp: Move verbose statements outside conditionals.
beb998c6 6494
c906108c
SS
6495Sat Feb 17 02:22:14 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6496
6497 * gdb.base/sigall.exp: Remove setup_xfail for irix4. Fixed by
6498 Feb 3 procfs.c change.
6499
6500Fri Feb 16 13:25:31 1996 Fred Fish <fnf@cygnus.com>
6501
6502 * config/unix-gdb.exp: Remove extraneous newlines from end of file.
6503
6504Thu Feb 15 08:12:55 1996 Fred Fish <fnf@cygnus.com>
6505
6506 * config/unix-gdb.exp: Default timeout in UNIX case to 30 seconds, up
6507 from dejagnu's apparent default of 10 seconds, which gives random
6508 results when running the tests over NFS on moderately loaded systems.
6509 * lib/gdb.exp (gdb_run_cmd): Add "(timeout)" in timeout case.
6510
6511Mon Feb 12 16:50:28 1996 Fred Fish <fnf@cygnus.com>
6512
6513 * gdb.base/callfuncs.exp: Remove setup_xfail for PR 5318. Now fixed.
6514 * gdb.base/a2-run.exp: Replace $binfile with $testfile in test
6515 result reports.
6516
6517Fri Feb 9 15:56:51 1996 Fred Fish <fnf@cygnus.com>
6518
6519 * configure.in (CY_AC_PATH_TCLH): Remove.
6520 * configure: Regenerate.
6521
6522Fri Feb 9 08:21:31 1996 Fred Fish <fnf@cygnus.com>
6523
6524 * gdb.c++/Makefile.in (clean): Add missing '{'.
6525
6526Fri Feb 2 10:19:40 1996 Jeffrey A Law (law@cygnus.com)
6527
6528 * lib/gdb.exp: Provide a default value for noinferior.
6529
6530 * lib/gdb.exp: Fix typos (LDLAGS -> LDFLAGS).
6531 Load libgloss.exp.
6532
6533Thu Feb 1 20:20:14 1996 Jeffrey A Law (law@cygnus.com)
6534
6535 * gdb.disasm/hppa.exp: Compile directly into an executable, use
6536 the executable, not the .o to run the tests from.
6537
6538Wed Jan 31 14:21:09 1996 Jeffrey A Law (law@cygnus.com)
6539
6540 * gdb.base/break.exp: Don't test for program exit or exit status
6541 if $noresults if nonzero.
6542 * gdb.base/langs.exp: Likewise.
6543 * gdb.base/watchpoint.exp: Likewise.
6544
6545 * gdb.base/default.exp: Remove extraneous call to load gdb.exp.
6546 * gdb.chill/pr-8405.exp: Move skip_chill_tests check to just before
6547 trying to compile the testcase.
6548
6549Wed Jan 24 23:42:39 1996 Doug Evans <dje@charmed.cygnus.com>
6550
6551 * gdb.base/interrupt.exp (p func1): xfail sparc64-*-solaris2.
6552 * gdb.base/signals.exp (continue to handler): Likewise.
6553
6554Tue Jan 23 16:28:22 1996 Per Bothner <bothner@kalessin.cygnus.com>
6555
6556 * gdb.c++/classes.exp: Now = returns false/true, not 1/0.
6557
6558 * gdb.fortran/exprs.exp: .LT. and .GT. now return .TRUE. or .FALSE..
6559
6560Tue Jan 23 15:41:57 1996 Jeffrey A Law (law@cygnus.com)
6561
6562 * gdb.base/corefile.exp: Recognize "not found" as failure
6563 when trying to determine if a core file was generated.
6564 If no core file was generate the first time, try again without
6565 the ulimit -c to work around braindamaged shells.
6566
6567Mon Jan 15 09:33:00 1996 Fred Fish <fnf@cygnus.com>
6568
6569 * gdb.stabs/configure.in (alpha-*-*,mips-*-*): Replace
6570 [] tests with "test" and enclose string in quotes.
6571 * gdb.stabs/configure: Rebuild
beb998c6 6572
c906108c
SS
6573Thu Jan 11 09:43:14 1996 Tom Tromey <tromey@creche.cygnus.com>
6574
6575 Changes in sync with expect:
6576 * aclocal.m4 (CY_AC_PATH_TCLH): Handle Tcl 7.5 and greater.
6577 (CY_AC_PATH_TCLLIB): Handle Tcl 7.5 and greater.
6578 (CY_AC_PATH_TKH): Handle Tk 4.1 and greater.
6579 (CY_AC_PATH_TKLIB): Handle Tk 4.1 and greater. Properly quote
6580 argument to AC_REQUIRE.
6581 * configure: Regenerated.
6582
6583Thu Jan 4 08:17:22 1996 Fred Fish <fnf@cygnus.com>
6584
6585 * gdb.base/corefile.exp: When generating a core, discard any
6586 error messages about ulimit not found and the "core dumped"
6587 message from the shell that runs the coredumper.
6588
6589Wed Jan 3 01:30:41 1996 Jeffrey A Law (law@cygnus.com)
6590
6591 * lib/gdb.exp (skip_chill_tests): Skip them on the PA too.
6592
6593 * gdb.stabs/weird.exp: Use ${target_triplet} to determine
6594 which sed script to run. Expect failure for v_comb test
6595 on PA targets too.
beb998c6 6596
c906108c
SS
6597Sat Dec 30 16:09:04 1995 Fred Fish <fnf@rtl.cygnus.com>
6598
6599 * gdb.base/corefile.exp: Remove "i*86-*-linux" xfail for
6600 "print func2::coremaker_local" and for "backtrace in corefile.exp"
6601
6602Sat Dec 30 12:59:12 1995 Fred Fish <fnf@cygnus.com>
6603
6604 * lib/gdb.exp: Fix typo and rewrite skip_chill_tests.
6605 * gdb.stabs/weird.exp: Setup "sparc-sun-sunos4*" and
6606 "sparc-sun-solaris*" xfails for "p v_comb".
6607 * lib/gdb.exp (default_gdb_start): Fix typo.
6608 * gdb.base/corefile.exp: Allow "Core was generated by ..."
6609 messages to not include the full program name that caused
6610 the core dump since some systems (such as solaris) apparently
6611 truncate this path to about 80 characters.
6612 When generating a core file first try increasing the core file
6613 size limit to unlimited since some systems may default it to
6614 zero, and it is harmless to try it. Move the test for failing
6615 to generate a core file to where it will actually get executed.
6616 * gdb.c++/templates.exp (test_ptype_of_templates): Accept
6617 new gdb result from g++ debug info improvements and make old
6618 pattern obsolescent. Also account for size_t differences
6619 (may be int or long).
6620 * gdb.base/a1-selftest.exp (test_with_self): Check for case where
6621 initialization before function call is placed in the delay slot
6622 and thus appears to be skipped over by commands such as "next".
6623
6624Fri Dec 29 16:09:20 1995 Stan Shebs <shebs@andros.cygnus.com>
6625
6626 * gdb.base/a1-selftest.exp (test_with_self): Run without windows.
6627
6628Wed Dec 6 10:45:42 1995 Jeffrey A. Law <law@sethra.cygnus.com>
6629
6630 * gdb.base/*.exp: Make ${srcfile} only be the basename of the
6631 input source file; fix code to compile test to deal with this
6632 convention.
6633 * gdb.c++/*.exp: Likewise.
6634
6635Mon Nov 27 11:40:16 1995 Fred Fish <fnf@cygnus.com>
6636
6637 * gdb.base/signals.exp: Setup "alpha-*-osf2*" xfail for
6638 "bt in signals.exp".
6639
6640Sat Nov 25 20:52:15 1995 Fred Fish <fnf@phydeaux.cygnus.com>
6641
6642 * gdb.base/a1-selftest.exp: Add alpha-dec-osf2 setup_xfail for
6643 "step over execarg initialization" and
6644 "step over corearg initialization".
6645
6646Sat Nov 25 18:20:14 1995 Fred Fish <fnf@cygnus.com>
6647
6648 * gdb.base/ptype.c (main): Declare malloc as a "char *" for systems
6649 with sizeof(pointer) > sizeof(int). Avoid "void *" or include files.
6650
6651Sat Nov 25 11:03:42 1995 Fred Fish <fnf@cygnus.com>
6652
6653 From Rob Savoye (rob@poseidon.cygnus.com)
6654 * Makefile.in, configure.in, gdb.base/{Makefile.in, configure.in},
6655 gdb.c++/{Makefile.in, configure.in}, gdb.chill/{Makefile.in,
6656 configure.in}, gdb.disasm/{Makefile.in, configure.in},
6657 gdb.stabs/{Makefile.in, configure.in}, gdb.threads/{Makefile.in,
6658 configure.in}: Major reworking for autoconfig.
6659 * aclocal.m4, configure, gdb.base/configure, gdb.c++/configure,
6660 gdb.disasm/configure, gdb.stabs/configure, gdb.stabs/default.mt :
6661 New files.
6662 * config/unix-gdb.exp: Make GDB global.
6663 * gdb.base/{a1-selftest.exp, a2-run.exp,bitfields.exp, break.exp,
6664 callfuncs.exp, commands.exp, corefile.exp, crossload.exp, exprs.exp,
6665 funcargs.exp, interrupt.exp, langs.exp, list.exp, mips_pro.exp,
6666 nodebug.exp, opaque.exp, printcmds.exp, ptype.exp, recurse.exp,
6667 regs.exp, return.exp, scope.exp, setvar.exp, sigall.exp, signals.exp,
6668 term.exp, twice.exp, watchpoint.exp, whatis.exp},
6669 gdb.c++/{classes.exp, callfuncs.exp, inherit.exp, misc.exp,
6670 templates.exp, virtfunc.exp}, gdb.chill/{callch.exp, chillvars.exp,
6671 misc.exp, pr-4975.exp, pr-5016.exp, pr-5020.exp, pr-5022.exp,
6672 pr-5646.exp, pr-5984.exp, pr-6292.exp, pr-6632.exp, pr-8134.exp,
6673 pr-8136.exp, result.exp, string.exp, tuples.exp},
6674 gdb.disasm/{hppa.exp, sh3.exp}, gdb.stabs/weird.exp: Change continues
6675 to returns as necessary, arrange for test to compile own testcase
6676 executable.
6677 * lib/gdb.exp: Changes for testsuite to compile own test cases.
beb998c6 6678
c906108c
SS
6679Tue Nov 21 16:15:45 1995 Fred Fish <fnf@cygnus.com>
6680
6681 * gdb.c++/classes.exp (test_pointers_to_class_members): Add
6682 clear_xfail at end of test which might not call either pass or fail.
6683 * gdb.base/a1-selftest.exp: Add i*86-*-linuxaout xfail for
6684 "backtrace through signal handler".
6685
6686Sat Nov 18 04:09:31 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6687
6688 * gdb.base/sigall.exp: Work around OSF/1-3.x kernel bug when
6689 continuing from a job control stop signal.
6690 * gdb.stabs/alpha.mt: Use $(CFLAGS) when building weird.o.
6691
6692Wed Nov 15 00:28:03 1995 Jeffrey A Law (law@cygnus.com)
6693
6694 * gdb.base/callfuncs.exp: Remove bogus hppa xfails.
6695 * gdb.base/corefile.exp: Likewise.
6696 * gdb.base/funcargs.exp: Likewise.
6697
6698Tue Nov 14 15:18:10 1995 Stu Grossman (grossman@cygnus.com)
6699
6700 * config/hmsirom.exp: Setup for talking to hmsi ROM monitor.
6701 * config/monitor.exp: Add support for setting baud rate.
6702
6703Sat Nov 4 15:35:52 1995 Fred Fish <fnf@cygnus.com>
6704
6705 * gdb.base/a1-selftest.exp: Remove i*86-*-sysv4* and
6706 i*86-*-linux* xfails for "backtrace through signal handler".
6707 * gdb.base/corefile.exp: Add i*86-*-sysv4* xfail for
6708 "print func2::coremaker_local".
6709 * gdb.base/break.exp: Add i*86-*-sysv4*, sparc-sun-sunos4,
6710 alpha-dec-osf2* xfail for
6711 "delete all breakpoints when none".
6712
6713Wed Nov 1 15:57:16 1995 Fred Fish <fnf@cygnus.com>
6714
6715 * gdb.base/break.exp: Change test that deletes all breakpoints
6716 when no user breakpoints are installed. A post 4.15 change
6717 causes gdb to no longer prompt in this case.
6718
6719Tue Oct 31 15:13:43 1995 Fred Fish <fnf@cygnus.com>
6720
6721 * gdb.base/return.exp (return_tests): Change xfail for test
6722 "correct value returned double test" to stop xfailing at
6723 Solaris 2.5. Apparently the bug has been fixed.
6724
6725Sun Oct 29 12:18:16 1995 Fred Fish <fnf@cygnus.com>
6726
6727 * gdb.stabs/ecoff.sed: Remove comment lines except for first one.
6728 IRIX 4.0 /bin/sed chokes on them, though they work fine elsewhere.
6729
6730Tue Oct 24 11:12:12 1995 Jeffrey A Law (law@cygnus.com)
6731
6732 * gdb.disasm/hppa.exp: Test lci and syncdma instructions.
6733 * gdb.disasm/hppa.s: Corresponding changes.
6734
6735Wed Oct 18 11:27:47 1995 Jeffrey A Law (law@cygnus.com)
6736
6737 * gdb.base/configure.in (hppa*-*-hpux*): No longer needs target
6738 makefile fragment.
6739 * config/mt-hpux: Deleted.
6740
6741Tue Oct 17 23:02:12 1995 Jeffrey A Law (law@cygnus.com)
6742
beb998c6 6743 * Many files: When warning about suppressed tests due to a
c906108c
SS
6744 nonexistant test binary, avoid incrementing the warning count.
6745
6746Tue Oct 10 11:00:41 1995 Fred Fish <fnf@cygnus.com>
6747
6748 * Makefile.in (TARGET_FLAGS_TO_PASS): Remove BISON.
beb998c6 6749
c906108c
SS
6750Sun Oct 8 04:23:14 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6751
6752 * gdb.base/return.exp: Change xfail from "sparc-*-solaris2.*" to
6753 "sparc-*-solaris2*".
6754
6755Sat Sep 23 01:22:23 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6756
6757 * gdb.base/coremaker.c: Produce a full core dump for AIX targets.
6758 Add global and local variables and initialize them.
6759 * gdb.base/corefile.exp: Test correct mapping of corefile sections
6760 by printing variables. Remove rs6000 and powerpc xfails, BFD now
6761 extracts the file name and terminating signal from the core file.
6762 * TODO: Remove note about tests for correct mapping of corefile.
6763 * gdb.base/ptype.c (main): Use boolean2 to inhibit AIX 4.1 xlc
6764 from optimizing it away.
6765 * gdb.stabs/weird.exp: Remove rs6000 xfail, xcoffread.c now
6766 handles common blocks.
6767
6768Thu Sep 21 01:28:10 1995 Jeff Law (law@snake.cs.utah.edu)
6769
6770 * gdb.disasm/sh3.s (fmac): Update for new assembler syntax
6771 * gdb.disasm/sh3.exp (fmac): Corresponding changes.
6772
6773Wed Sep 20 13:15:05 1995 Ian Lance Taylor <ian@cygnus.com>
6774
6775 * Makefile.in (maintainer-clean): New target, synonym for
6776 realclean.
6777 * gdb.base/Makefile.in (maintainer-clean): Likewise.
6778 * gdb.c++/Makefile.in (maintainer-clean): Likewise.
6779 * gdb.chill/Makefile.in (maintainer-clean): Likewise.
6780 * gdb.disasm/Makefile.in (maintainer-clean): Likewise.
6781 * gdb.stabs/Makefile.in (maintainer-clean): Likewise.
6782 * gdb.threads/Makefile.in (maintainer-clean): Likewise.
6783
6784Sun Sep 10 13:14:01 1995 Fred Fish <fnf@cygnus.com>
6785
6786 * gdb.base/scope.exp (text_at_main): Add "hppa*-*-hpux*"
6787 xfails when not gcc compiled for "print foo::funclocal".
6788 (test_at_foo): Add "hppa*-*-hpux*" xfails when not gcc compiled for:
6789 "print foo::funclocal at foo",
6790 "print 'scope1.c'::foo::funclocal at foo",
6791 "print foo::funclocal_bss at foo",
6792 "print 'scope1.c'::foo::funclocal_bss at foo",
6793 "print foo::funclocal_ro at foo",
6794 "print 'scope1.c'::foo::funclocal_ro at foo",
6795 "print bar::funclocal at foo" and
6796 "print 'scope1.c'::bar::funclocal at foo".
6797 (test_at_bar): Add "hppa*-*-hpux*" xfails when not
6798 gcc compiled for "print foo::funclocal at bar".
6799 Expand all messages to ensure that they identify that
6800 the test is at bar().
6801 * gdb.base/opaque.exp: Add "hppa*-*-hpux*" xfails when not
6802 gcc compiled for:
6803 "ptype on opaque struct pointer (statically)",
6804 "ptype on opaque struct tagname (statically)",
6805 "ptype on opaque struct pointer (dynamically) 1",
6806 "ptype on opaque struct tagname (dynamically) 1",
6807 "ptype on opaque struct pointer (dynamically) 2" and
6808 "ptype on opaque struct tagname (dynamically) 2
6809 * gdb.base/nodebug.exp: Add "hppa*-*-hpux*" xfails when not
6810 gcc compiled for:
6811 "p datalocal"
6812 "whatis datalocal",
6813 "ptype datalocal",
6814 "p bsslocal",
6815 "whatis bsslocal", and
6816 "ptype bsslocal".
6817 * gdb.base/langs.exp: Add "hppa*-*-hpux*" xfails for
6818 "backtrace in langs.exp" and "up to langs0__2do in langs.exp"
6819 when not gcc compiled.
6820 * gdb.base/funcargs.exp (float_and_integral_args): Add
6821 "hppa*-*-hpux*" xfail for "run to call2a" when not gcc
6822 compiled.
6823 (discard_and_shuffle): Add "hppa*-*-hpux*" xfail for
6824 "backtrace from call6a" when not gcc compiled.
6825 (shuffle_round_robin): Add "hppa*-*-hpux*" xfail for
6826 "backtrace from call7a" when not gcc compiled.
6827 * gdb.base/callfuncs.exp (do_function_calls):
6828 Add "hppa*-*-hpux*" xfail when not gcc compiled for
6829 "p t_char_array_values(char_array_val2,char_array_val1)",
6830 "p t_char_array_values(char_array_val1,char_array_val2)",
6831 "p t_char_array_values("carray 1","carray 2")",
6832 "p t_char_array_values("carray 1",char_array_val2)",
6833 "p t_char_array_values(char_array_val1,"carray 2")",
6834 "p sum_args(1,{2})",
6835 "p sum_args(2,{2,3})",
6836 "p sum_args(3,{2,3,4})",
6837 "p sum_args(4,{2,3,4,5})"
6838 * gdb.base/corefile.exp: Add "hppa*-*-hpux*" xfail for
6839 "backtrace in corefile.exp" when not gcc compiled.
6840
6841Sat Sep 9 01:35:39 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6842
6843 * gdb.base/signals.exp: Rewrite `handle all print' test as
6844 a procedure. Accept blanks or TABs as whitespace, increase
6845 timeout and expect input buffer size for the large output
6846 from the command. Remove "i*86-*-bsdi2.0" xfail.
6847
6848Sat Sep 2 06:41:26 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6849
6850 * gdb.base/setvar.exp: Add new testcases for truncation when
6851 assigning invalid values to bitfields.
6852
6853Sat Sep 2 00:17:31 1995 Fred Fish <fnf@cygnus.com>
6854
beb998c6 6855 * gdb.base/callfuncs.exp (do_function_calls): Remove
c906108c
SS
6856 mips-sgi-irix* xfail for
6857 "call inferior func with struct - returns char *"
6858 and fix test so that an optional (unsigned char *) cast is
6859 accepted in the result.
6860
6861Fri Sep 1 13:42:01 1995 Fred Fish <fnf@cygnus.com>
6862
6863 * gdb.base/funcargs.exp (float_and_integral_args): Remove
6864 sparc-sun-solaris2* xfail for "print f1 after run to call2a".
6865 * gdb.c++/Makefile.in (SUFFIXES): Add .SUFFIXES and ".cc" suffix.
6866 * gdb.base/signals.exp: Remove duplicate "handle all print" test
6867 that accidentally got checked in.
6868
6869Sun Aug 27 23:35:35 1995 Fred Fish <fnf@cygnus.com>
6870
beb998c6 6871 * gdb.base/callfuncs.exp (do_function_calls): Add alpha-dec-osf2*
c906108c
SS
6872 clear_xfail for "p t_float_values2(3.14159,float_val2)" for gcc
6873 compiled test.
6874 * gdb.base/opaque.exp (setup_xfail_on_opaque_pointer):
6875 Add mips-sgi-irix5* xfail for not gcc compiled.
6876 * gdb.base/Makefile.in (nodebug.o): Also create nodebug.ci.
6877 * gdb.base/nodebug.exp: Add mips-sgi-irix5 xfail when not gcc compiled for
6878 "p top", "whatis top", "p middle", and "whatis middle".
6879 * gdb.base/whatis.exp: Add mips-sgi-irix* xfail for
6880 "whatis signed char" for not gcc compiled.
6881 * gdb.base/setvar.exp: Add mips-sgi-irix4* xfail (works on irix5) for
6882 "set variable signed char=-1 (-1)" and
6883 "set variable signed char=0xFF (0xFF)" for not gcc compiled.
6884 * gdb.base/funcargs.exp (float_and_integral_args):
6885 Add mips-sgi-irix5* xfail for "run to call2a" for not gcc compiled.
6886 Add mips-sgi-irix* xfail when not gcc compiled for
6887 "continue to call2b".
6888 Add mips-sgi-irix4* xfail (works with irix5) when gcc compiled for
6889 "continue to call2g".
6890 (discard_and_shuffle): Add mips-sgi-irix5* xfail whn not gcc compiled for
6891 "backtrace from call6a"
6892 (shuffle_round_robin): Add mips-sgi-irix* xfail when not gcc compiled for
6893 "backtrace from call7k".
6894 Add mips-sgi-irix5* xfail when not gcc compiled for
6895 "backtrace from call7a".
6896 (localvars_after_alloca): Fix gdb_test cmds for
6897 "print * after runto ...".
6898 Remove rs6000-*-* xfails for
6899 "print i after runto localvars_after_alloca" and
6900 "print l after runto localvars_after_alloca"
6901 for all compilers.
6902 * gdb.base/exprs.exp: Add mips-sgi-irix4* xfails (works with irix5),
6903 when not compiled with gcc, for:
6904 "print signed char == (minus)",
6905 "print signed char != (minus)",
6906 "print signed char < (minus)",
6907 "print signed char > (minus)".
6908 * gdb.base/callfuncs.exp (do_function_calls):
6909 Add mips-sgi-irix* xfail, when compiled with native compiler, for
6910 "call inferior func with struct - returns char *".
beb998c6 6911 * gdb.base/return.exp (return_tests): Change xfail for
c906108c
SS
6912 "correct value returned double test" to include Solaris 2.4.
6913 * gdb.base/funcargs.exp (float_and_integral_args):
6914 Add sparc-sun-solaris2* xfail for "print f1 after run to call2a".
beb998c6 6915
c906108c
SS
6916Sat Aug 26 00:26:11 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6917
6918 * gdb.base/setvar.c, gdb.base/setvar.exp: Add new tests for
6919 enumeration bitfields if compiling with GNU C.
6920 * lib/gdb.exp: Consume `(y or n) ' in `Reinitialize source path
6921 to empty' prompt.
6922
6923Tue Aug 22 00:30:37 1995 Jeff Law (law@snake.cs.utah.edu)
6924
6925 * gdb.base/scope.exp: xfail 'scope0.c'::filelocal_bss before run
6926 test for PRO targets.
6927
6928 * gdb.base/funcargs.exp: Avoid ever setting more than 8
6929 breakpoints in the inferior at any given time by making
6930 two groups of breakpoints for call2*, call6* and call7*
6931 tests.
6932
6933Sun Aug 20 06:58:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6934
6935 * gdb.base/funcargs.exp: Fix typos introduced by Aug 15 change.
6936 * gdb.base/callfuncs.c (main): Use struct_val1 to inhibit xlc
6937 from optimizing it away.
6938 * gdb.base/callfuncs.exp: Remove rs6000-*-* xfails for
6939 "call inferior func with struct".
6940
6941Wed Aug 16 11:57:15 1995 Stan Shebs <shebs@andros.cygnus.com>
6942
6943 * configure.in: Only configure gdb.chill for particular targets.
6944
6945Tue Aug 15 09:42:44 1995 Fred Fish <fnf@cygnus.com>
6946
6947 * gdb.base/Makefile.in: Add action to .c.o transformation
6948 rule that generates a .ci file for each .o file and remove
6949 explicit .c.o rules except for callfuncs.o.
6950 * gdb.c++/Makefile.in: Add .cc.o transformation rule that
6951 generates a .ci file for each .o file and remove explicit
6952 .cc.o rules.
6953 (clean): Remove *.tmp *.ci files.
6954 (EXECUTABLES): Remove templ-info.exp.
6955 * gdb.base/compiler.c: New file.
6956 * gdb.c++/compiler.cc: New file
6957 * gdb.base/scope.exp: Source gdb.base/scope.ci.
6958 Change rs6000-*-* xfail for
6959 "print 'scope0.c'::filelocal_ro" and
6960 "print 'scope1.c'::filelocal" and
6961 "print 'scope1.c'::filelocal_bss" and
6962 "print 'scope1.c'::filelocal_ro" and
6963 "print 'scope1.c'::foo::funclocal" and
6964 "print 'scope1.c'::foo::funclocal_ro" and
6965 "print 'scope1.c'::bar::funclocal" and
6966 "print 'scope0.c'::filelocal_ro" and
6967 "print 'scope1.c'::filelocal at foo" and
6968 "print 'scope1.c'::filelocal_bss at foo" and
6969 "print 'scope1.c'::filelocal_ro at foo" and
6970 "print 'scope1.c'::foo::funclocal at foo" and
6971 "print 'scope1.c'::foo::funclocal_bss at foo" and
6972 "print 'scope1.c'::foo::funclocal_ro at foo" and
6973 "print 'scope1.c'::bar::funclocal at foo" and
6974 "print 'scope0.c'::filelocal_ro" and
6975 "print 'scope1.c'::filelocal" and
6976 "print 'scope1.c'::filelocal_bss" and
6977 "print 'scope1.c'::filelocal_ro" and
6978 "print 'scope1.c'::foo::funclocal" and
6979 "print 'scope1.c'::foo::funclocal_bss" and
6980 "print 'scope1.c'::foo::funclocal_ro" and
6981 "print 'scope1.c'::bar::funclocal" and
6982 "print 'scope1.c'::bar::funclocal_bss"
6983 to only be xfail'd when not compiled with gcc.
beb998c6 6984 Add rs6000-*-* xfail for
c906108c
SS
6985 "print 'scope0.c'::filelocal_bss before run"
6986 when compiled with gcc.
6987 (test_at_main): Add rs6000-*-* xfail for
6988 "print filelocal_ro in test_at_main"
6989 when compiled with gcc.
6990 * gdb.base/ptype.exp: Source gdb.base/ptype.ci.
beb998c6 6991 Add rs6000-*-aix* xfail for
c906108c
SS
6992 "whatis unnamed typedef'd enum (compiler bug in IBM's xlc)" and
6993 "ptype t_char_array", not compiled with gcc.
6994 * gdb.base/list.exp (test_list_function): Add rs6000-*-*
6995 xfail for "list foo (in include file)" when gcc compiled.
6996 * gdb.base/funcargs.exp: Source gdb.base/funcargs.ci
6997 (integral_args): Add rs6000-*-* xfail for
6998 "run to call0a" if not compiled with gcc.
6999 (unsigned_integral_args): Add rs6000-*-* xfail for
7000 "run to call1a" if not compiled with gcc.
7001 (float_and_integral_args): Add rs6000-*-* xfail for
7002 "run to call2a" if not compiled with gcc and for
7003 "continue to call2b" for any compiler.
7004 Add rs6000-*-* xfail to
7005 "print f1 after run to call2a" for gcc compiled.
7006 (discard_and_shuffle): Add rs6000-*-* xfail for
7007 "run to call6a".
7008 (shuffle_round_robin): Add rs6000-*-* xfail for
7009 "backtrace from call7a" if not compiled with gcc.
7010 Add rs6000-*-* xfail for
7011 "backtrace from call7b" if compiled with gcc.
7012 (call_after_alloca): Add rs6000-*-* xfail for
7013 "print c in call_after_alloca" and
7014 "print s in call_after_alloca" and
7015 "backtrace from call_after_alloca_subr"
7016 if not compiled with gcc.
7017 (localvars_in_indirect_call): Add rs6000-*-* xfail for
7018 "print c in localvars_in_indirect_call" and
7019 "print c in localvars_in_indirect_call" and
7020 "backtrace in indirectly called function" and
7021 "stepping into indirectly called function"
7022 if not compiled with gcc.
7023 (localvars_after_alloca): Add rs6000-*-* xfail for
7024 "print c after runto localvars_after_alloca" and
7025 "print s after runto localvars_after_alloca" and
7026 "print i after runto localvars_after_alloca" and
7027 "print l after runto localvars_after_alloca"
7028 for all compilers.
7029 * gdb.base/whatis.exp: Source gdb.base/whatis.ci rather
7030 than whatis-info.exp.
7031 * gdb.base/opaque.exp: Source gdb.base/opaque0.ci rather
7032 than opaque-info.exp.
7033 Setup rs6000-*-* xfail for
beb998c6 7034 "ptype on opaque struct pointer (statically)" and
c906108c
SS
7035 "ptype on opaque struct pointer (dynamically)" when
7036 not compiled with gcc.
7037 * gdb.base/callfuncs.exp: Source gdb.base/callfuncs.ci
7038 rather than callf-info.exp.
7039 (do_function_calls): Add clear_xfail for rs6000-*-* for
7040 "p t_float_values2(3.14159,float_val2)". Seems to work
7041 fine there, both with xlc and gcc. Need to find out what
7042 it is doing right and fix other platforms.
7043 * gdb.base/callfuncs.exp: Add rs6000-*-* xfail for
7044 "call inferior func with struct - returns int",
7045 "call inferior func with struct - returns long",
7046 "call inferior func with struct - returns float",
7047 "call inferior func with struct - returns double",
7048 "call inferior func with struct - returns char *",
7049 but only if not gcc compiled (presumes xlc compiled).
7050 Change rs6000-*-* xfails for
7051 "call inferior func with struct - returns char" and
7052 " call inferior func with struct - returns short" to only
7053 xfail if not using gcc.
7054 (clean mostlyclean): Remove *.ci and *.tmp files.
7055 * gdb.c++/templates.exp: Source gdb.c++/templates.ci rather
7056 than templ-info.exp.
7057 * gdb.base/langs.exp: Source gdb.base/langs.ci.
7058 Add rs6000-*-* xfail for "up to foo in langs.exp"
7059 "up to cppsub_ in langs.exp" and "up to fsub in langs.exp"
7060 when not gcc compiled.
beb998c6 7061
c906108c
SS
7062Sat Aug 12 15:05:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7063
7064 * gdb.base/callfuncs.exp: Add xfails for the powerpc.
7065 * gdb.base/corefile.exp: Likewise.
7066 * gdb.base/list.exp: Likewise.
7067 * gdb.base/scope.exp: Likewise.
7068 * gdb.base/siganls.exp: Likewise.
7069
7070 * gdb.base/nodebug.exp: Add xfails for the powerpc. Handle aix4
7071 compiler output.
7072 * gdb.base/whatis.exp: Likewise.
7073
7074Fri Aug 11 13:36:20 1995 Jeff Law (law@snake.cs.utah.edu)
7075
7076 * gdb.disasm/sh3.exp (all_fp_misc_tests): No longer expect a
7077 failure (opcode table has been fixed to match reality).
7078
7079Mon Aug 14 09:01:59 1995 Fred Fish <fnf@cygnus.com>
7080
7081 * gdb.base/callfuncs.exp: Add rs6000-*-* xfails for
7082 "call inferior func with struct - returns char",
7083 "call inferior func with struct - returns short"
7084
7085 * gdb.base/scope.exp: Remove rs6000-*-* xfails for
7086 "print 'scope0.c'::filelocal at main",
7087 "print 'scope0.c'::filelocal_bss in test_at_main",
7088 "print 'scope0.c'::filelocal at foo",
7089 "print 'scope0.c'::filelocal_bss in test_at_foo",
7090 "print 'scope0.c'::filelocal at bar",
7091 "print 'scope0.c'::filelocal_bss in test_at_bar"
beb998c6 7092
c906108c
SS
7093 * gdb.base/list.exp: Remove rs6000-*-* xfail for "list function
7094 in source file 1". This bug seems to have been fixed with both
7095 gcc and native cc (was native assembler bug?).
7096
7097Wed Aug 9 08:04:12 1995 Fred Fish (fnf@cygnus.com)
7098
7099 * gdb.base/a1-selftest.exp: Change "i*86-*-sysv4" xfail for
7100 "backtrace through signal handler" to "i*86-*-sysv4*".
7101 * gdb.base/signals.exp: Add xfail for "'next' behaved as
7102 continue" case. Add "known SVR4 bug" to fail message.
7103 Add "i*86-*-bsdi2.0" xfail for "handle all print".
7104 Add "i*86-*-bsdi2.0" xfail for "backtrace in signals_tests_1".
7105 * gdb.base/ptype.exp: Add "i*86-*-sysv4*" xfail for
7106 "whatis unnamed typedef'd enum..." and "ptype t_char_array".
7107 * gdb.base/langs.exp: Add "i*86-*-sysv4*" xfail for
7108 "up to foo in langs.exp", "show language at foo in
7109 langs.exp", "up to cppsub_ in langs.exp", "show
7110 language at cppsub_ in langs.exp", "up to fsub in
7111 langs.exp", and "show language at fsub in langs.exp".
7112 * gdb.base/corefile.exp: Add "i*86-*-sysv4*" to xfail for
7113 "bactrace in corefile.exp".
7114 * gdb.base/callfuncs.exp: Change xfail to "i*86-*-*" for
7115 "call inferior function with struct - returns float" and
7116 "call inferior function with struct - returns double".
beb998c6 7117
c906108c
SS
7118Mon Aug 7 02:43:28 1995 Jeff Law (law@snake.cs.utah.edu)
7119
7120 * gdb.disasm/sh3.s: Source for sh3 disassembler tests.
7121 * gdb.disasm/sh3.exp: Run the sh3 disassembler tests.
7122 * gdb.disasm/configure.in (sh-*-*): Use sh3.mt makefile fragment.
7123 * gdb.disasm/sh3.mt: Makefile fragment for sh3 ests.
7124
7125Mon Aug 7 08:09:37 1995 Fred Fish <fnf@cygnus.com>
7126
7127 * Makefile.in (CHILL_FOR_TARGET): Use previously defined
7128 (or overriden) "CHILL" macro rather then bare "gcc".
7129 Also look for ../../gcc/xgcc since that is what we will
7130 actually need, not "Makefile". Remove following assignment
7131 of CHILL to CHILL_FOR_TARGET because that results in
7132 recursive definition.
7133
7134Sun Aug 6 16:52:29 1995 Fred Fish <fnf@cygnus.com>
7135
7136 * gdb.base/corefile.exp: Change xfail for backtrace in
7137 corefile.exp from linuxaout to all linux.
7138 * gdb.base/sigall.exp (test_one_sig): Specifically deal with
7139 cases where we miss the breakpoint at the signal handler
7140 for some reason. Setup xfail for linuxoldld/linuxaout and
7141 getting SIGIO. Setup xfail for linuxoldld/linuxaout for
7142 hitting SIGURG breakpoint.
7143 * gdb.base/signals.exp: Setup xfail for "next" acting like
7144 continue to add linuxoldld. Setup xfail for all linux for
7145 "next to handler in signals_tests_1", "backtrace in
7146 signals_tests_1", "continue to func1", "pass SIGUSR1",
7147 and continue to handler".
7148
7149Thu Aug 3 10:45:37 1995 Fred Fish <fnf@cygnus.com>
7150
7151 * Update all FSF addresses except those in COPYING* files.
7152
7153Sun Jul 30 17:50:35 1995 Fred Fish <fnf@cygnus.com>
7154
7155 * gdb.base/a2-run.exp: Change messages to be more explicit about
7156 the status of args, and quote binfile in results.
7157
7158Sun Jul 30 10:24:20 1995 Fred Fish <fnf@cygnus.com>
7159
7160 * gdb.base/callfuncs.exp: Add tests for passing structs to
7161 inferior functions and return various types.
7162 * gdb.base/callfuncs.c: Add functions to receive a struct
7163 and return a member of the struct, in various types.
7164
7165Sat Jul 29 14:22:33 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7166
7167 * gdb.base/Makefile.in (clean): Remove callf-info.exp.
7168
7169Fri Jul 28 13:36:11 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
7170
7171 * config/vxworks29k.exp: New file, sources vxworks.exp.
7172
7173Fri Jul 28 00:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7174
7175 * config/gdbremote.exp: New file. Testing framework using
7176 gdbserver.
7177
7178Thu Jul 27 12:17:14 1995 Fred Fish (fnf@cygnus.com)
7179
7180 * gdb.base/interrupt.exp: Setup "i*86-*-linux" xfail for
7181 "call function when asleep" and "send end of file".
7182 * gdb.base/corefile.exp: Add "i*86-*-linuxaout" to xfail list
7183 for "backtrace in corefile.exp".
7184 * gdb.base/a1-selftest.exp: Add "i*86-*-linux*" to xfail list
7185 for "backtrace through signal handler".
7186 * gdb.base/corefile.exp: Make sure we actually generate a core file
7187 before trying the core tests. Some systems allow the user to suppress
7188 generation of core files and default to that (linux for example).
7189 * gdb.base/signals.exp: Change xfail for "next" acting like "continue"
7190 from "i*86-*-linux" to "i*86-*-linuxaout". Works with ELF beta.
7191
7192Tue Jul 25 17:30:10 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7193
7194 * gdb.threads: New directory with some crude multi-threaded
7195 gdb tests (step.exp and step2.exp).
7196 * config/mt-lynx (STEP_EXECUTABLE): Define.
7197 (THREADFLAGS): Define.
7198
7199Tue Jul 25 01:03:52 1995 Jeff Law (law@snake.cs.utah.edu)
7200
7201 * gdb.base/sigall.exp: Avoid losing in SIGPRIO test on lynx.
7202
7203 * gdb.base/signals.exp: Disable whole file for lynx until
7204 further notice.
7205
7206 * gdb.base/signals.exp: xfail test where "next" acts like
7207 "continue" for lynx.
7208
7209 * gdb.base/interrupt.exp: xfail test for calling function while
7210 inferior is asleep for lynx.
7211
7212 * gdb.base/watchpoint.exp: Handle more cases of gdb echoing more
7213 than one cr-lf after each command.
7214
7215Sun Jul 23 23:33:18 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7216
7217 * configure.in: Reinstate setting of stabsdirs variable, fix
7218 typo in setting up configdirs for native builds.
7219
7220 * gdb.base/return.exp: Fix typo in return double test.
7221 * gdb.base/return.c (tmp2, tmp3): Made global to inhibit the
7222 compiler from optimizing them away.
7223
7224Fri Jul 21 11:39:34 1995 Jeff Law (law@snake.cs.utah.edu)
7225
7226 * gdb.base/gdbvars.exp: Expect zero or more additional cr-lf
7227 sequences to be echo'd by gdb when using gdb_test.
7228 * gdb.chill/chexp.exp: Likewise.
7229 * gdb.fortran/exprs.exp: Likewise
7230
7231Thu Jul 20 13:28:36 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7232
7233 * gdb.base/a1-selftest.exp: Reset the timeout value to 30 seconds
7234 after the inferior gdb has started.
7235
7236 * gdb.base/a2-run.exp: Handle gdb echoing more than one cr-lf
7237 after each command.
7238 * gdb.base/funcargs.exp: Likewise.
7239 * gdb.base/gdbvars.exp: Likewise.
7240 * gdb.base/interrupt.exp: Likewise.
7241 * gdb.base/list.exp: Likewise.
7242 * gdb.base/watchpoint.exp: Likewise.
7243 * gdb.c++/demangle.exp: Likewise.
7244 * gdb.c++/inherit.exp: Likewise.
7245 * gdb.chill/chexp.exp: Likewise.
7246 * gdb.fortran/exprs.exp: Likewise.
7247
7248 * gdb.base/watchpoint.exp: Disable watchpoint triggered in syscall
7249 test if we can't handle IO to/from the inferior.
7250
7251 * gdb.c++/misc.exp: Always check for a program already being
7252 started after sending a "run" command to gdb.
7253
7254 * gdb.base/twice.exp: Start with a fresh gdb.
7255
7256 * gdb.chill/chexp.exp: Remove skip_chill_tests check; these tests
7257 only depend on gdb's expression code, not the chill runtime.
7258
7259 * gdb.base/return.c: Put return values into variables so we
7260 can have gdb print them rather than depending on the program
7261 to print them.
7262 * gdb.base/return.exp: Corresponding changes.
7263
7264 * lib/gdb.exp: Provide default value for noinferiorio.
7265 * gdb.base/interrupt.exp: Skip tests if we can't handle IO to/from
7266 the inferior.
7267
7268 * gdb.base/break.exp: Always check for a program already being
7269 started after sending a "run" command to gdb.
7270 (text_next_with_recursion): Don't check the output from the
7271 program's printf statement. Instead just make sure the program
7272 exited.
7273
7274 * gdb.base/commands.exp: Protect tests which need arguments with
7275 $noargs conditionals.
7276
7277Wed Jul 19 22:42:43 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7278
7279 * gdb.base/printcmds.exp: Adjust expect patterns for addresses
7280 of structure member arrays to match gdb/valops.c:value_addr change.
7281
7282Mon Jul 17 10:12:27 1995 Jeff Law (law@snake.cs.utah.edu)
7283
7284 * gdb.base/a1-selftest.exp: Fix unmatched quotes in many timeout
7285 cases.
7286
7287Wed Jul 12 10:20:08 1995 Fred Fish (fnf@cygnus.com)
7288
7289 * configure.in (configdirs): Remove gdb.chill from default list
7290 of subdirs and then add it back in only if doing a native build.
7291 The current chill compiler does not yet work in any cross build.
7292 * Revert all signal changes from Jul 6.
7293 * gdb.base/{sigall.c signals.c}: Define away signal() and alarm()
7294 for sh-hms targets, allowing these tests to link, with no other
7295 changes. Testing is suppressed by setting "nosignals" in site.exp.
7296
7297Thu Jul 6 20:58:30 1995 Fred Fish (fnf@cygnus.com)
7298
7299 * configure.in (signaldirs): Define and add to configdirs for all
7300 targets except some specific ones that are known to not support signals.
7301 Also clean up formatting.
7302 * gdb.base/Makefile.in (EXECUTABLES): Remove sigall and signals.
7303 (signals, sigall): Remove rules to build.
7304 * gdb.base/{sigall.c, sigall.exp, signals.c, signals.exp}:
7305 Moved to new gdb.signals directory.
7306 * gdb.signals: New test directory.
7307 * gdb.signals/{Makefile.in, configure.in, sigall.c, sigall.exp,
7308 signals.c signals.exp}: New or moved files.
7309
7310Sun Jun 25 12:55:18 1995 Jeff Law (law@snake.cs.utah.edu)
7311
7312 * gdb.base/interrupt.exp: Don't choke if $nointerrupts doesn't exist.
7313
7314Wed Jun 21 16:35:55 1995 Fred Fish <fnf@cygnus.com>
7315
7316 * gdb.base/return.exp: Xfail `return double' test failure
7317 on at least Solaris 2.3 and handle future/past versions on
7318 a case by case basis as appropriate. Also update message
7319 to include i*86 failures.
7320
7321Wed May 24 07:10:10 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7322
7323 * Makefile.in: Change variable CFLAGS to TESTSUITE_CFLAGS.
7324
7325 * lib/gdb.exp: Fix comment which erroneously identified
7326 gdb_file_cmd as gdb_load (the 19 May change was in fact to
7327 gdb_file_cmd not gdb_load).
7328 * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
7329
7330 * gdb.base/setvar.exp: Make test names consistent between pass and
7331 fail cases. Use gdb_test more.
7332
7333Fri May 19 07:22:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7334
7335 * lib/gdb.exp (gdb_load): Add "upvar timeout timeout".
7336
7337Mon May 15 23:50:51 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7338
7339 * gdb.base/help.exp: Fix expected help string for `show commands'.
7340
7341Thu May 11 07:55:11 1995 Jim Kingdon <kingdon@deneb.cygnus.com>
7342
7343 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.
7344
7345 * gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack
7346 of a text section.
7347
7348Thu May 11 15:02:24 1995 Stu Grossman (grossman@andros.cygnus.com)
7349
7350 * config/monitor.exp (gdb_target_monitor): Fix loop interator so
7351 that loop eventually terminates. Fix Connection refused logic so
7352 that testsuite will expire nicely.
7353
7354Wed May 10 17:57:35 1995 Stu Grossman (grossman@andros.cygnus.com)
7355
7356 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,
7357 config/rom68k.exp: New tcl glue for the appropriate monitors.
7358 These all just end up calling monitor.exp.
7359 * config/monitor.exp (gdb_target_monitor): Handle `Connection
7360 refused' by retrying. Cleanup some timeout issues.
7361 * (gdb_load): Reduce timeout. Cleanup some timeout issues.
7362 * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that
7363 callers don't have to set/restore global timeout variable.
7364
7365 * The following set of changes centralizes management of the global
7366 timeout variable. This way, it can be set in one target dependent
7367 place instead of dozens of places scattered throughout the test suite.
7368 If you need to lengthen a timeout, then you should either set timeout
7369 in one of the config/{target}.exp files, or multiply it by a factor.
7370 Setting it to an absolute value is always going to lose for some
7371 targets.
7372 * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout.
7373 * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout.
7374 * gdb.base/funcargs.exp: Don't set timeout.
7375 * gdb.base/list.exp (test_forward_search): Only use local timeout.
7376 * gdb.base/printcmds.exp (test_print_string_constants
7377 test_print_array_constants): Don't set timeout.
7378 * gdb.base/ptype.exp: Don't set timeout.
7379 * gdb.base/recurse.exp: Don't set timeout.
7380 * gdb.base/return.exp: Don't set timeout.
7381 * gdb.base/watchpoint.exp: Don't set timeout.
7382 * gdb.c++/classes.exp (do_tests): Don't set timeout.
7383 * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
7384
7385Wed May 10 16:03:23 1995 Torbjorn Granlund <tege@adder.cygnus.com>
7386
7387 * Makefile.in: Make clean targets work also when SUBDIRS is empty.
7388
7389Mon May 1 07:32:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7390
7391 * lib/gdb.exp: Disable chill tests for irix5.
7392
7393Wed Apr 26 07:36:03 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7394
7395 * gdb.base/scope.exp: Make test names unique. Use gdb_test. Make
7396 each test pass or fail.
7397
7398Sun Apr 23 21:32:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7399
7400 * gdb.base/opaque.exp: Remove xfails for aix; print a warning if
7401 xlc not gcc.
7402
7403Fri Apr 21 15:44:02 1995 Stu Grossman (grossman@rtl.cygnus.com)
7404
7405 * cpu32bug.exp est.exp rom68k.exp: Delete. Unify into monitor.exp.
7406
7407Wed Apr 19 17:41:21 1995 Stu Grossman (grossman@cygnus.com)
7408
7409 * config/est.exp: Fix copyright and comments. Remove dead code.
7410 Use targetname, serialport and baud variables instead of fixed
7411 constants.
7412 * config/rom68k.exp: Fix copyright and comments. Remove dead code.
7413 * config/cpu32bug.exp: New file to support cpu32bug monitors.
7414
7415Wed Apr 19 13:47:16 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7416
7417 * gdb.base/watchpoint.exp: Don't run
7418 test_watchpoint_triggered_in_syscall for sunos.
7419
7420Mon Apr 17 12:48:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7421
7422 * gdb.base/{break.c,run.c}: Don't include vxWorks.h or stdioLib.h;
7423 they don't seem to exist. Do include stdio.h.
7424
7425Fri Apr 14 09:40:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7426
7427 * gdb.base/a1-selftest.exp: Add alpha xfail.
7428
7429Mon Apr 10 13:07:50 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7430
7431 * gdb.base/watchpoint.c (main): Prompt before calling read().
7432 * gdb.base/watchpoint.exp (test_watchpoint_triggered_in_syscall):
7433 Revise accordingly. Remove cruft about sending "123" several
7434 times, until it gets noticed. Clean up the "print buf[0]" stuff
7435 so that it passes or fails, and waits for prompts in the usual way.
7436
7437Sun Apr 9 09:02:36 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7438
7439 * gdb.base/recurse.exp: Fix comment.
7440
7441 * TODO: Remove item about printing variables in nodebug.exp. Add
7442 item about enabling tests which are only run on some targets.
7443
7444 * gdb.base/watchpoint.exp: Various cleanups (make each test pass or
7445 fail, make test names unique, use new gdb_test convention
7446 regarding pattern, use gdb_test more, etc.).
7447
7448 * gdb.base/bitfields.exp: Various cleanups (make each test pass or
7449 fail, make test names unique, etc.).
7450
7451Sat Apr 8 02:47:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7452
7453 * gdb.base/nodebug.c: Change return type of top and middle to
7454 short.
7455 * gdb.base/nodebug.exp: Remove xfails for ecoff systems, they
7456 are fixed by the recent mdebugread.c changes. Allow `short ()'
7457 as type for top and middle.
7458
7459Thu Apr 6 08:54:18 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7460
7461 * gdb.base/break.exp: Remove commented out if $usestubs {}. As
7462 nearly as I can tell, the whole thing was an accident in Stu's
7463 change of 24 Mar 1995 (logged in ../ChangeLog), in which he meant
7464 to replace a send/expect pair with gdb_test, but ended up only
7465 adding the gdb_test. My change of 24 Mar 1995 and Kung's change
7466 of 30 Mar 1995 took care of it, but left this vestigial comment
7467 which I am now nuking.
7468
7469Mon Apr 3 09:00:27 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7470
7471 * gdb.base/break.exp: Look for different line number for
7472 breakpoint at main depending on usestubs.
7473
7474Sun Apr 2 08:15:45 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7475
7476 * gdb.base/list.exp: Adjust some alternate expect patterns to
7477 match recent list0.c change. Add alternate expect pattern for
7478 output from `list default lines around main' for optimizing
7479 compilers.
7480
7481Sat Apr 1 07:23:22 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7482
7483 * lib/gdb.exp: If nosignals is not set, set it to 0.
7484
7485Fri Mar 31 16:13:48 1995 Kung Hsu <kung@mexican.cygnus.com>
7486
7487 * config/slite-gdb.exp: Responds to load symbol table prompt.
7488 * gdb.base/break.exp: Adjust line number, fix rerun.
7489 * gdb.base/langs0.c: Add #ifdef usestubs.
7490
7491Thu Mar 30 15:36:55 1995 Kung Hsu <kung@mexican.cygnus.com>
7492
7493 * gdb.base/list.exp: Adjust line contents after adding new lines in
7494 list0.c. Also fix a syntax error.
7495
7496 * lib/gdb.exp (gdb_run_cmd): Special handling for targets use stubs.
7497 * gdb.base/break.exp: ditto.
7498 * gdb.base/list.exp: ditto.
7499 * gdb.base/bitfields.c: Add #ifdef usestubs in main().
7500 * gdb.base/run.c: ditto.
7501 * gdb.base/list0.c: ditto.
7502 * gdb.base/funcargs.c: ditto.
7503
7504Wed Mar 29 17:09:29 1995 Stu Grossman (grossman@cygnus.com)
7505
7506 * testsuite/config/rom68k.exp (gdb_target_rom68k): Use
7507 $targetname, $serialport and $baud instead of hardwired variables.
7508 * testsuite/gdb.base/{sigall.exp signals.exp}: Skip these if the
7509 target doesn't support signals.
7510
7511Wed Mar 29 12:29:34 1995 Kung Hsu <kung@mexican.cygnus.com>
7512
7513 * lib/gdb.exp (runto_main): Fix regular expression bug, add return 1.
7514
7515Tue Mar 28 08:46:45 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7516
7517 * gdb.base/recurse.exp: Make test names unique. Change \\(+ to \\(.
7518 Don't rely on the value of an auto variable before it has been
7519 initialized. Use gdb_test more.
7520
7521Mon Mar 27 08:00:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7522
7523 * lib/gdb.exp (default_gdb_version): A version number must start
7524 with a digit, but other than that contains all characters up to
7525 the first whitespace character.
7526
7527Sun Mar 26 13:19:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7528
7529 * gdb.base/commands.exp (breakpoint_command_test): New tests.
7530
7531Sat Mar 25 15:38:06 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7532
7533 * gdb.c++/*.exp: Warn if executable does not exist. The original
7534 reason for skipping the warning was that configure.in sometimes
7535 intentionally skipped building the executables but the tcl code
7536 had no way of knowing. That (a) was always bogus with respect to
7537 error handling, (b) is no longer true (right now there is no way
7538 to skip C++ tests).
7539
7540 * gdb.c++/demangle.exp: Remove unused binfile and srcfile variables.
7541
7542Sat Mar 25 01:16:10 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7543
7544 * gdb.base/list.exp: Add expect patterns for output from
7545 SunPRO compiled executables.
7546 * gdb.base/whatis.exp: Allow leading `signed' for all v_signed_*
7547 types.
7548
7549Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7550
7551 * gdb.base/break.exp (test_next_with_recursion): Accept any line
7552 number (we are already testing that the correct source line text
7553 gets printed).
7554
7555 * gdb.base/break.exp: Make one test if $usestubs. I'm not sure
7556 that is what is intended, but something needed to be done to get
7557 sunos4 native working again.
7558
7559 * gdb.c++/misc.cc (main): Fix typo (#iffef -> #ifdef).
7560
7561 * gdb.base/a1-selftest.exp (test_with_self): Remove comment which
7562 apparently went with a (very) old xfail.
7563
7564Fri Mar 24 13:41:09 1995 Kung Hsu <kung@mexican.cygnus.com>
7565
7566 * gdb.base/callfuncs.exp: call runto_main instead of runto main.
7567 runto_main is a proc in gdb.exp that will do 'step' for target use
7568 stubs.
7569 * gdb.base/exprs.exp: ditto.
7570 * gdb.base/interrupt.exp: ditto.
7571 * gdb.base/opaque.exp: ditto.
7572 * gdb.base/printcmds.exp: ditto.
7573 * gdb.base/ptype.exp: ditto.
7574 * gdb.base/scope.exp: ditto.
7575 * gdb.base/setvar.exp: ditto.
7576 * gdb.base/signals.exp: ditto.
7577 * gdb.base/twice.exp: ditto.
7578 * gdb.c++/classes.exp: ditto.
7579 * gdb.c++/inherit.exp: ditto.
7580 * gdb.c++/templates.exp: ditto.
7581 * gdb.base/break.exp: no run and hit main for stubs. Change line
7582 numbers for breakpoints and info breakpoint.
7583 * gdb.base/break.c: Add #ifdef usestubs for set_debug_traps() and
7584 breakpoint().
7585 * gdb.base/callfuncs.c: ditto.
7586 * gdb.base/exprs: ditto.
7587 * gdb.base/interrupt.c: ditto.
7588 * gdb.base/opaque0.c: ditto.
7589 * gdb.base/printcmds.c: ditto.
7590 * gdb.base/ptype.c: ditto.
7591 * gdb.base/scope0.c: ditto.
7592 * gdb.base/setvar.c: ditto.
7593 * gdb.base/signals.c: ditto.
7594 * gdb.base/twice.c: ditto.
7595 * gdb.c++/misc.cc: ditto.
7596 * gdb.c++/templates.cc: ditto.
7597
7598Fri Mar 24 06:11:05 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7599
7600 * config/vx-gdb.exp, lib/gdb.exp: Regexp cleanups (\[(\] -> \\(, etc.).
7601
7602 * gdb.base/a1-selftest.exp: Don't check for # followed by a digit
7603 somewhere between `read' and `main.c'. I'm pretty sure the
7604 pattern ".*#\[0-9\].*" was slowing down pattern matching a lot,
7605 and it isn't particularly useful.
7606
7607 * gdb.base/scope.exp: Make test names unique. \[(\] -> \\(.
7608
7609Thu Mar 23 14:58:35 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7610
7611 * gdb.base/commands.exp (infrun_breakpoint_command_test): New test.
7612
7613Wed Mar 22 18:36:05 1995 Kung Hsu <kung@mexican.cygnus.com>
7614
7615 * config/mt-slite: add LIBS and -nostdlib.
7616 * config/slite-gdb.exp: add this new file to support sparclite target.
7617
7618Tue Mar 21 21:41:04 1995 Doug Evans <dje@canuck.cygnus.com>
7619
7620 * config/vx-gdb.exp (gdb_load): Update test of vxworks_ld return code.
7621
7622 * gdb.base/a2-run.exp: Change argument to istarget from
7623 "*-*-vxworks" to "*-*-vxworks*".
7624 * gdb.base/{break.exp,default.exp,scope.exp}: Likewise.
7625
7626Tue Mar 21 17:08:47 1995 Kung Hsu <kung@mexican.cygnus.com>
7627
7628 * lib/gdb.exp: add proc runto_main, for targets that use stubs, this
7629 will not runto main but do a 'step' to step out of breakpoint().
7630 * config/mt-slite: add -Dusestubs.
7631
7632Tue Mar 21 12:14:12 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7633
7634 * gdb.base/printcmds.exp (test_artificial_arrays): Send ^V@
7635 instead of just @.
7636
7637 * gdb.base/signals.exp: Add test for "handle all print".
7638 * TODO: Remove "handle all print". Also remove item about
7639 checking copyright date (I don't like the idea of a spurious FAIL
7640 based on when we run the tests).
7641
7642 * gdb.base/recurse.exp: Enable test for SunOS4. xfail one test
7643 for SunOS4 (reason for failure not investigated). Remove
7644 redundant test for $binfile.
7645
7646 * gdb.base/nodebug.c (array_index): Call malloc.
7647
7648 * gdb.base/{corefile.exp,default.exp}: Make names of "up" tests unique.
7649
7650Mon Mar 20 10:08:17 1995 Jeff Law (law@snake.cs.utah.edu)
7651
7652 * gdb.base/recurse.exp: Update gdb_test invocation to use new
7653 conventions and slightly simplify the matching regexp.
7654
7655Fri Mar 17 05:43:28 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7656
7657 * gdb.base/break.exp: Update gdb_test invocation to use new
7658 convention.
7659
7660 * lib/gdb.exp: If noargs is not set, set it to 0.
7661
7662 * gdb.base/nodebug.exp: Comment out redundant test. Make name of
7663 tests unique.
7664
7665 * lib/gdb.exp: Skip CHILL for AIX and Solaris.
7666
7667Thu Mar 16 16:27:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7668
7669 * gdb.base/nodebug.exp: It is OK if GDB thinks top and middle have
7670 one argument of type "<non-float parameter>".
7671
7672Wed Mar 15 15:54:56 1995 Stu Grossman (grossman@cygnus.com)
7673
7674 * config/rom68k.exp: New file to support Motorola IDP board.
7675 * gdb.base/a2-run.exp: Skip this file if noargs is set.
7676 * gdb.base/break.c: Change things around so that this program
7677 doesn't depend upon args. This is necessary to make remote
7678 targets work (in general, they can't take args).
7679 * gdb.base/break.exp: Don't try to send args to program. Don't
7680 expect output. Also, replace lots of code with gdb_test.
7681
7682Wed Mar 15 04:11:14 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7683
7684 * gdb.base/printcmds.exp (test_character_literals_accepted): Test
7685 printing of '\'' (which is what the comment says we are testing,
7686 even though we were not), not '''.
7687 (test_integer_literals_rejected): Test that printing ''' is an error.
7688
7689 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
7690 gdb.chill/chexp.exp, gdb.base/printcmds.exp,
7691 gdb.c++/cplusfuncs.exp, gdb.chill/callch.exp, gdb.chill/misc.exp,
7692 gdb.chill/pr-6292.exp, gdb.chill/string.exp, gdb.chill/tuples.exp:
7693 Use gdb_test not test_print_accept.
7694 * lib/gdb.exp: Remove test_print_accept.
7695
7696 * gdb.base/signals.exp (signal_tests_1): Make pass message
7697 consistent with fail message.
7698
7699 * gdb.base/whatis.exp: Remove xfails for printing char vs.
7700 unsigned char; the bug (PR 1821) is fixed.
7701
7702 * gdb.base/scope.exp: Remove xfails for PRs 1843 and 1868.
7703
7704 * gdb.base/scope.exp (test_at_localscopes): Call pass for
7705 successful tests--makes xfailing them work right.
7706
7707Tue Mar 14 07:39:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7708
7709 * lib/gdb.exp (gdb_test): Between $pattern and $prompt, expect
7710 only \r\n, not .*. The test can pass .* as the last thing in
7711 $pattern if that is what it wants. In addition to providing this
7712 flexibility, this change should speed up pattern matching in cases
7713 where the pattern already ended with .* (there were a number of
7714 them). This change also helps catch bad patterns--in the old
7715 scheme the typo "char \*" instead of "char \\*" would pass. Now
7716 it is caught.
7717 * Many .exp files: Update callers.
7718
7719 * gdb.base/funcargs.exp: Replace \[(\]+ with \\(. The latter is
7720 clearer and does not spuriously match multiple ('s. Likewise for
7721 ) and *.
7722
7723 * gdb.base/nodebug.exp: Test ability to call a function and pass
7724 it a string (even with no debugging info).
7725
7726 * gdb.base/printcmds.exp (test_integer_literals_rejected): Change
7727 "p '\'", which is the same as "p ''" once tcl gets done with
7728 quoting, to "p '\\'", which I suspect is what is intended (one
7729 backslash gets sent to GDB).
7730
7731 * gdb.base/printcmds.exp (test_artificial_arrays): New tests.
7732
7733Fri Mar 10 13:31:46 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7734
7735 * gdb.base/a1-selftest.exp: Remove xfail for solaris. The bug (PR
7736 1817) was fixed literally years ago.
7737
7738Fri Mar 10 02:49:40 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7739
7740 * gdb.base/funcargs.exp (call_after_alloca): Remove `next'
7741 test, it causes stepping out of call_after_alloca_subr with
7742 optimizing compilers.
7743 (localvars_in_indirect_call): Consume GDB prompt if `finish'
7744 fails.
7745
7746 * gdb.c++/templates.exp: Source templ-info.exp only if
7747 the templates executable exists.
7748
7749 * gdb.c++/misc.cc (class Contains_static_instance,
7750 class Contains_nested_static_instance),
7751 gdb.c++/classes.exp (test_static_members): Test printing of
7752 a class that contains a static instance of the class.
7753
7754Thu Mar 9 11:43:55 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7755
7756 * gdb.base/langs2.c (cppsub_): Don't prototype.
7757 * gdb.base/langs2.cxx (cppsub_): Fix prototype (cosmetic value
7758 only, I believe).
7759
7760Wed Mar 8 10:29:33 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7761
7762 * lib/gdb.exp (skip_chill_tests): New procedure.
7763
7764 * gdb.base/signals.exp (signal_tests_1): xfail for irix.
7765
7766Mon Mar 6 10:44:06 1995 Jeff Law (law@snake.cs.utah.edu)
7767
7768 * gdb.disasm/hppa.exp: Delete redundant ".*" at the beginning of
7769 each expect pattern. Cuts runtime from 12 to about 4 seconds.
7770
7771Thu Mar 2 05:31:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7772
7773 * gdb.base/langs.exp: Don't insist that foo__Fi be demangled.
7774
7775 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Only
7776 disassemble 8, not 16, instructions for part 4.
7777
7778 * config/vx-gdb.exp (gdb_start): Use \030, not \CX. tcl doesn't
7779 support the latter anymore.
7780
7781 * gdb.base/Makefile.in: Try compiling callfuncs.c, if that fails try
7782 -DNO_PROTOTYPES.
7783 * gdb.base/callfuncs.c: Control use of prototypes based on
7784 NO_PROTOTYPES, not __STDC__.
7785 * gdb.base/callfuncs.exp (do_function_calls): xfail one of the
7786 t_float_values2 tests if prototypes in use.
7787
7788 * gdb.base/callfuncs.c (t_float_values, t_float_values2,
7789 t_double_values): When checking differences against DELTA, check
7790 that difference is within the range (-DELTA,DELTA), not just
7791 (-infinity,DELTA).
7792
7793Tue Feb 28 16:28:54 1995 Kung Hsu <kung@mexican.cygnus.com>
7794
7795 * config/mips-gdb.exp (gdb_load): In every test case, we need to do
7796 'file' command firts, then 'target', then 'load', this is due to gdb
7797 target set up.
7798 * config/mips-gdb.exp: Fix a couple regular exp bugs.
7799
7800Thu Feb 23 17:44:55 1995 Jeff Law (law@snake.cs.utah.edu)
7801
7802 * gdb.disasm/hppa.s (fmemLRbug_tests): Add tests for the indexing
7803 FP load/store variants.
7804 * gdb.disasm/hppa.exp (fmemLRbug_tests): Test new variants.
7805
7806Wed Feb 22 18:29:08 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7807
7808 * gdb.base/term.exp: Do not give a warning if not native, it is
7809 not an abnormal condition.
7810
7811Tue Feb 21 13:08:47 1995 Jim Kingdon <kingdon@cygnus.com>
7812
7813 * gdb.base/ptype.exp: Accept char[0] as well as char[] for "ptype
7814 t_char_array".
7815
7816Sun Feb 19 13:10:06 1995 Jim Kingdon <kingdon@rtl.cygnus.com>
7817
7818 * lib/gdb.exp (default_gdb_version): Pass GDBFLAGS to gdb when we
7819 are getting the version number.
7820
7821 * gdb.base/{a1-selftest.exp,corefile.exp}: Do not give a warning
7822 if not native, it is not an abnormal condition.
7823
7824Thu Feb 16 15:56:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7825
7826 * lib/gdb.exp: Just use "file exists", rather than undocumented
7827 dejagnu procedure "findfile".
7828
7829Thu Feb 16 10:30:24 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7830
7831 * config/mt-vxworks (CFLAGS): Set to -g -Dvxworks.
7832 (LDFLAGS): Set to -Xlinker -Ur.
7833
7834 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB, GDBFLAGS):
7835 Removed, these values are set by lib/gdb.exp.
7836
7837 * lib/gdb.exp: If GDBFLAGS is unset, set it to -nx.
7838
7839Wed Feb 15 14:23:28 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7840
7841 * config/vx-gdb.exp (spawn_vxgdb): Use default_gdb_start instead
7842 of replicating gdb startup code.
7843
7844 * config/mt-vxworks (LDFLAGS): Set to -r.
7845 (CFLAGS_FOR_TARGET): Removed.
7846
7847 * config/vx-gdb.exp: always set prompt; gdb.exp sets it to
7848 (gdb) and gdb for vxworks uses (vxgdb).
7849
7850 * Makefile.in, gdb.{base,c++,chill}/Makefile.in (GDB): If a gdb
7851 executable is not in the tree and host != target, use sed and
7852 program_transform_name to determine the gdb name used by the
7853 target.
7854
7855 * configure.in, gdb.{base,c++,chill}/configure.in: changed so
7856 *-*-vxworks* matches vxworks and *-*-netware* matches NetWare.
7857
7858Sun Feb 12 08:11:58 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7859
7860 * gdb.base/{callfuncs.exp,callfuncs.c}: Add tests for passing
7861 floats, chars, and shorts where there are ANSI-style function
7862 definitions.
7863
7864 * gdb.base/langs.exp, gdb.base/langs*: New test.
7865 * gdb.base/Makefile.in: Build it.
7866 * TODO: Remove item about checking that C names don't get C++
7867 demangling applied; this test tests it.
7868
7869Thu Feb 9 12:43:56 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7870
7871 * gdb.stabs/weird.exp: Remove "Haven't examined" comment which
7872 went with the const70 xfail. The xfail went away a year ago.
7873
7874 * gdb.base/signals.exp: Rename a bunch of tests to give unique names.
7875
7876 * gdb.base/corefile.exp: Give backtrace test unique name. xfail
7877 for hp300.
7878
7879 * gdb.base/interrupt.exp: Also xfail hpux (for hp300).
7880
7881 * gdb.base/a1-selftest.exp: Don't run on hp300.
7882
7883Sat Feb 4 15:04:32 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7884
7885 * Makefile.in (site.exp): Set host_alias and target_alias as well
7886 as host_triplet and target_triplet.
7887
7888Wed Feb 1 08:03:48 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7889
7890 * gdb.base/a1-selftest.exp: Invoke stty before starting inferior.
7891
7892 * gdb.base/nodebug.exp: Add xfails for ultrix and irix5 (same
7893 places as other ecoff systems).
7894
7895 * gdb.base/a1-selftest.exp (test_with_self): Don't invoke stty on
7896 ultrix.
7897
7898Mon Jan 30 11:44:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7899
7900 * gdb.base/nodebug.c (inner): Use variables so AIX linker doesn't
7901 remove them.
7902 * gdb.base/nodebug.exp: Accept "function" in addition to "text
7903 variable and "variable" in addition to "data variable".
7904 * gdb.base/nodebug.exp: xfail datalocal and bsslocal tests for AIX.
7905
7906 * gdb.base/list.exp (test_forward_search): Set listsize to 4 not
7907 2.
7908 * gdb.base/list1.c (long_line): Add additional statement at start
7909 of function.
7910 * gdb.base/list.exp (test_forward_search): Update line number to
7911 reflect new statement.
7912
7913Sun Jan 29 13:34:25 1995 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
7914
7915 * gdb.base/signals.exp: Reinitialize searched source directories
7916 after gdb_start call.
7917
7918Sat Jan 28 01:34:44 1995 Jeff Law (law@snake.cs.utah.edu)
7919
7920 * gdb.disasm/Makefile.in (clean): Delete "errs" file.
7921 * gdb.stabs/Makefile.in: Likewise.
7922
7923 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Revert last
7924 change. Instead split the tests into smaller pieces.
7925 * gdb.disasm/hppa.s: Corresponding changes.
7926
7927Fri Jan 27 09:24:51 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7928
7929 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7930 Quote ^C when passing it to stty. For some shells ^ is a pipe.
7931
7932 * gdb.base/funcargs.exp: Modify many tests so that every test
7933 either passes or fails. Make some test names unique.
7934
7935Thu Jan 26 19:20:34 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7936
7937 * gdb.base/a1-selftest.exp (test_with_self), gdb.base/interrupt.exp:
7938 Call stty to set interrupt character.
7939
7940 * gdb.disasm/hppa.mt (hppa), gdb.stabs/hppa.mt (weird.o): Check
7941 for HP assembler versus GNU assembler based on actual behavior of
7942 $(CC), rather than assuming that $(AS) is always the GNU assembler.
7943
7944 * TODO: Suggest a few more stepping tests.
7945
7946Wed Jan 25 14:52:41 1995 Stan Shebs <shebs@andros.cygnus.com>
7947
7948 * gdb.base/default.exp: xfail no-stack backtraces for h8300,
7949 restart GDB for h8300 after a continue.
7950 (return): Add pattern to match a29k-udi behavior.
7951 * gdb.base/nodebug.exp: Remove obsolete comment.
7952 * gdb.base/regs.exp: New file, testing of register displays.
7953 * gdb.base/return.exp: Fix typo in reference to $objdir.
7954 * gdb.base/whatis.exp: Always start with a fresh GDB.
7955
7956Wed Jan 25 11:12:07 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7957
7958 * gdb.disasm/hppa.exp (all_fpu_comparison_tests): Set timeout
7959 higher, these tests generate a lot of output.
7960
7961Tue Jan 24 07:58:44 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7962
7963 * lib/gdb.exp (gdb_test): Remove catch from around the send. The
7964 code following the catch silently ignored some errors; without the
7965 catch they should be thrown like any other tcl error. Also, the
7966 catch used "" instead of {} which meant all the callers who wanted
7967 to include one of the characters "[]$ had to quote it an extra time.
7968 * gdb.base/{callfuncs.exp,commands.exp,gdbvars.exp,printcmds.exp,
7969 ptype.exp,signals.exp,watchpoint.exp}, gdb.c++/{cplusfuncs.exp,
7970 demangle.exp}, gdb.chill/chexp.exp, gdb.fortran/exprs.exp:
7971 Remove extra quoting.
7972
7973Mon Jan 23 21:57:54 1995 Jeff Law (law@snake.cs.utah.edu)
7974
7975 * gdb.base/commands.exp: Make test names unique; every test either
7976 passes or fails. Update some comments.
7977
7978 * gdb.disasm/hppa.exp (do_system_control_tests): Update.
7979
7980Sat Jan 21 15:34:52 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7981
7982 The following fixes a FAIL caused by the fact that the alpha stabs
7983 configuration didn't use the ".if alpha" code in weird.def.
7984 * gdb.stabs/weird.def (v_comb): Use type attribute to specify 32
7985 bit pointer, so the 32 bit version works even on the alpha.
7986 * gdb.stabs/{alpha.mt,ecoff.mt,aout.sed,hppa.sed,xcoff.sed,weird.def}:
7987 Remove the stuff which allowed us to have separate versions for
7988 alpha and everything else.
7989
7990 * gdb.c++/cplusfuncs.exp (test_lookup_operator_functions): Fix
7991 regexp which "info func operator\[\](" is supposed to match. Fix
7992 string to send to GDB. Note that GDB still doesn't work right. Add a
7993 new test for "info func .perator\[\](" which GDB does handle correctly.
7994
7995 * gdb.base/nodebug.exp: xfail most of the new tests for ecoff systems.
7996
7997Fri Jan 20 12:14:23 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
7998
7999 * gdb.c++/classes.exp, gdb.c++/cplusfuncs.exp,
8000 gdb.c++/inherit.exp, gdb.c++/templates.exp, gdb.c++/virtfunc.exp,
8001 gdb.fortran/exprs.exp, gdb.fortran/types.exp, gdb.chill/chexp.exp,
8002 gdb.base/printcmds.exp: Remove passcount, failcount, etc., stuff;
8003 it makes the tests harder to understand and confuses test-o-matic.
8004 The preferred style is that each test provides a PASS or a FAIL,
8005 and has a unique message (e.g. "continue #54" not just "continue")
8006 which is the same for the pass and the fail.
8007 * gdb.fortran/exprs.exp, gdb.fortran/types.exp,
8008 gdb.chill/chexp.exp: Move test_print_accept and test_print_reject
8009 to lib/gdb.exp.
8010 * gdb.base/printcmds.exp: Use test_print_accept. Remove
8011 prt_accept which was basically the same thing. Likewise for
8012 test_print_reject and prt_reject.
8013 * lib/gdb.exp (test_print_reject): Add some more error message
8014 patterns to match from the former printcmds.exp (prt_reject).
8015 * gdb.c++/classes.exp, gdb.base/scope.exp: Remove spurious xfails.
8016 One defect of the passcount stuff is that some of it failed to
8017 report XPASS where appropriate.
8018 * gdb.c++/cplusfuncs.exp (print_addr_of): No longer accept extra
8019 stuff before and after arg in expected pattern.
8020 (test_paddr_operator_functions): Re-do test without print_addr_of;
8021 this is the only test which seems to want extra stuff there.
8022
8023Tue Jan 17 10:47:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8024
8025 * gdb.base/nodebug.exp: Update new tests to reflect improved
8026 wording of gdb output.
8027
8028 * gdb.base/nodebug.exp: Add tests to check that "print", "whatis"
8029 and "ptype" work on variables in files compiled without -g.
8030 Replaces commented out "maint print msymbol" tests.
8031
8032Mon Jan 16 12:13:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8033
8034 * gdb.base/setvar.c (dummy): Call malloc.
8035
8036 * gdb.stabs/aout.sed: Enclose comments within a sed command to avoid
8037 losing with the irix4 sed.
8038
8039 * gdb.base/sigall.exp (test_one_sig): Add xfail for "get signal
8040 ALRM" on irix4.
8041
8042Sun Jan 15 21:58:26 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8043
8044 * TODO: Remove items about corefile.exp testing new exec-file and
8045 backtrace; both are now done. Add items about printing enums.
8046
8047Sat Jan 14 11:25:28 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8048
8049 * gdb.base/sigall.exp (test_one_sig): Attempt to recover if
8050 "get signal $thissig" test fails.
8051
8052 * gdb.base/setvar.exp: Check for and reject crazy expected type hacks.
8053
8054Thu Jan 12 01:14:53 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8055
8056 * gdb.base/sigall.c (gen_*): Pass argument to handle_* to avoid
8057 compiler warning with dec alpha compiler.
8058
8059 * gdb.base/commands.exp (if_while_breakpoint_command_test): Remove
8060 extra \n from gdb_test call (this explains why the prompt test
8061 that I removed yesterday was there).
8062 (user_defined_command_test): Remove extra \n and prompt test.
8063
8064 * gdb.base/sigall.c: If SIGABRT == SIGLOST, just act as if SIGLOST
8065 doesn't exist. Likewise if SIGIO == SIGPOLL, pretend SIGPOLL
8066 doesn't exist.
8067 * gdb.base/sigall.exp: Remove special handling for SIGIO and SIGPOLL.
8068 Also remove alpha workaround, which turns out to be because
8069 SIGABRT == SIGLOST.
8070
8071 * gdb.base/sigall.exp: Add workaround for alpha weirdness.
8072
8073 * gdb.base/help.exp: Don't test "help show".
8074
8075Wed Jan 11 14:37:04 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8076
8077 * gdb.base/commands.exp: Call gdb_exit and gdb_start so that
8078 "set print address" is on.
8079 * gdb.base/commands.exp (if_while_breakpoint_command_test): Don't
8080 pass prompt to gdb_test; gdb_test already looks for the prompt.
8081
8082 * gdb.base/help.exp: Replace most of docstring for "define" with ".*".
8083
8084 * gdb.base/a1-selftest.exp: Don't test "maint dump-me". That test
8085 was a vestige of the manual TESTSTRATEGY, and the purpose of it
8086 was to make sure that gdb can read a core file. But (a) the "read
8087 the corefile" part didn't make it to a1-selftest.exp, we just
8088 delete the corefile after creating it, and (b) we test reading
8089 corefiles in corefile.exp anyway. Also, this test left around a
8090 xgdb process on Solaris.
8091
8092 * gdb.base/corefile.exp: Also test backtrace.
8093
8094Wed Jan 11 00:14:40 1995 Jeff Law (law@snake.cs.utah.edu)
8095
8096 * gdb.base/commands.exp: Test a simple user defined command with
8097 arguments and if/while statements; verify the full user command is
8098 printed by "show user".
8099
8100 * gdb.base/commands.exp: Test if/while commands as part of a
8101 breakpoint command list; verify they appear in breakpoint
8102 information.
8103
8104Wed Jan 11 00:47:58 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8105
8106 * gdb.base/sigall.c (gen_FPE): Generate SIGFPE with kill() rather
8107 than by dividing by zero.
8108
8109Tue Jan 10 21:38:05 1995 Jeff Law (law@snake.cs.utah.edu)
8110
8111 * gdb.base/watchpoint.exp: hppa*-*-*bsd* no longer has problems
8112 performing an inferior call with watchpoints enabled.
8113 * gdb.base/watchpoint.c (main): Delete second unnecessary read
8114 call.
8115
8116Tue Jan 10 18:42:07 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8117
8118 * gdb.stabs/weird.exp: Allow spaces followed by backspaces in echo
8119 of "file" command.
8120
8121 * gdb.c++/classes.exp (test_ptype_class_objects, ptype class Foo):
8122 Add additional pattern for when "int operator int(void);" appears
8123 in a different order.
8124
8125Mon Jan 9 16:22:46 1995 Jim Kingdon <kingdon@lioth.cygnus.com>
8126
8127 * gdb.base/signals.exp: Call gdb_exit and gdb_start.
8128
8129 * gdb.base/help.exp: Replace most of docstrings for "info signals"
8130 and "signal" with ".*".
8131
8132Wed Jan 4 11:35:19 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
8133
8134 * TODO: Add note about "handle all nostop".
8135
8136 * gdb.base/{sigall.c, sigall.exp}: New test.
8137 * gdb.base/Makefile.in: Add it.
8138
8139Thu Jan 5 17:34:03 1995 Stan Shebs <shebs@andros.cygnus.com>
8140
8141 * lib/gdb.exp, gdb.base/corefile.exp: Supply -nw as argument
8142 when invoking GDB, suppresses any windowing interface.
8143
8144Mon Jan 2 17:40:21 1995 Stan Shebs <shebs@andros.cygnus.com>
8145
8146 * config/sim-gdb: New file, simulator testing support.
8147
8148Wed Dec 28 12:21:50 1994 Jeff Law (law@snake.cs.utah.edu)
8149
8150 * gdb.base/interrupt.exp: Test calling func1 twice.
8151
8152Wed Dec 21 12:51:37 1994 Jim Kingdon <kingdon@deneb.cygnus.com>
8153
8154 * gdb.base/list.exp (test_forward_search): Set timeout higher
8155 when we'll be getting lots of output from gdb.
8156
8157 * gdb.base/a1-selftest.exp: Move code that was inside expect -re
8158 "init_malloc" to after the expect statement. Run it if that
8159 regexp is taken, but also for two others which happen if source
8160 cannot be found.
8161
8162Tue Dec 20 12:35:21 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8163
8164 * gdb.base/printcmds.exp: New test, for printing register before
8165 program is running.
8166
8167Mon Dec 19 00:32:55 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8168
8169 * gdb.base/list.exp: Correct some alternate expect patterns
8170 to reflect changes in list1.c.
8171
8172Sat Dec 17 14:20:03 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8173
8174 * TODO: Add item regarding large frames.
8175
8176 * gdb.base/{funcargs.exp, funcargs.c} (call_after_alloca): New test.
8177
8178 * TODO: Remove item about enabling return.exp; it
8179 is enabled. Suggest a few more "return" tests.
8180
8181Sat Dec 17 02:33:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8182
8183 * gdb.c++/misc.cc, gdb.c++/inherit.exp: Add testcases for
8184 anonymous unions.
8185
8186Tue Dec 13 11:26:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8187
8188 * gdb.chill/Makefile.in: Put all rule before rules for pr-4975.o
8189 and pr-5646.o, so "make" is the same as "make all", not "make
8190 pr-4975.o".
8191
8192Wed Dec 7 19:02:02 1994 Stan Shebs <shebs@andros.cygnus.com>
8193
8194 * gdb.base/list.exp: Adjust expectations to reflect changes in
8195 list1.c.
8196 (test_forward_search): New test proc.
8197 * gdb.base/list1.c (long_line): New function, has long source line.
8198
8199Thu Dec 1 23:14:49 1994 Stan Shebs <shebs@andros.cygnus.com>
8200
8201 * gdb.base/a1-selftest.exp: Change initial stepping to know about
8202 additional line of code that was added.
8203
8204Wed Nov 30 19:43:14 1994 Jeff Law (law@snake.cs.utah.edu)
8205
8206 * gdb.disasm/hppa.s: Break the large branching tests into smaller
8207 tests so as not to overflow expect's input buffers.
8208 * gdb.disasm/hppa.exp: Corresponding changes.
8209
8210Fri Nov 25 13:37:10 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8211
8212 Beginnings of template debugging tests.
8213 * gdb.c++/templ-info.cc: New file to test for template
8214 debugging capability of the compiler.
8215 * gdb.c++/Makefile.in: Add rule to build templ-info.exp from
8216 templ-info.cc.
8217 * gdb.c++/templates.cc: Add explicit template instantiations
8218 to enable compiling with -fno-implicit-templates. Add destructor
8219 and 'value' method to T5 class for template tests.
8220 * gdb.c++/templates.exp: Add testcases for printing of template
8221 types, setting breakpoints on template methods and calling a
beb998c6 8222 template method.
c906108c
SS
8223
8224Sat Nov 5 00:20:17 1994 Jeff Law (law@snake.cs.utah.edu)
8225
8226 * gdb.disasm/hppa.exp (branch_tests): Allow any symbol as the
8227 branch target since some assemblers (gas-2.5) may emit a
8228 relocation for the branch instead of resolving it in the
8229 assembler.
8230
8231Sat Oct 29 02:40:40 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8232
8233 * gdb.base/a1-selftest.exp: Remove RS/6000 xfail for backtrace
8234 through signal handler.
8235
8236Fri Oct 21 11:10:16 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8237
8238 * configure.in (*-*-netware): Use config/mt-netware.
8239
8240 * config/mt-netware: New file.
8241 * config/mt-i386-netware: Removed, separate configs for different
8242 netware architectures are no longer needed now that we have
8243 --with-headers.
8244
8245Sat Oct 15 03:43:00 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8246
8247 * gdb.base/exprs.exp: Remove xfail for alpha, it is fixed
8248 by the recent changes to use ANSI C arithmetic conversions.
8249
8250Sun Oct 9 07:44:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8251
8252 * gdb.base/corefile.exp: Add (xfail'd) test for reinit_frame_cache
8253 bug involving using inferior_pid to figure out whether to select a
8254 frame.
8255
8256Wed Sep 28 23:12:02 1994 Jeff Law (law@snake.cs.utah.edu)
8257
8258 * gdb.disasm/hppa.exp: Change arg[0..3] to r[26..23] to
8259 match the current disassembler output.
8260
8261Fri Sep 16 11:42:41 1994 Stan Shebs (shebs@andros.cygnus.com)
8262
8263 * gdb.fortran/exprs.exp: Expect VOID instead of void.
8264 * gdb.fortran/types.exp: Escape the expected '*'s in Fortran
8265 types, expect "int" as type of integer values (for now).
8266
8267Wed Sep 7 23:33:51 1994 Jeff Law (law@snake.cs.utah.edu)
8268
8269 * gdb.base/commands.exp: New tests for if/while commands.
8270
8271Tue Sep 6 13:16:11 1994 Per Bothner (bothner@kalessin.cygnus.com)
8272
8273 * lib/gdb.exp (runto): Replace sub-pattern for hex value
8274 by .*, since hex values have different syntax in Chill mode.
8275
8276Tue Sep 6 02:15:51 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8277
8278 * gdb.c++/demangle.exp (test_arm_style_demangling): Remove
8279 linefeed from expect pattern for repeated types with indices > 9.
8280
8281Mon Aug 29 14:20:44 1994 Stan Shebs (shebs@andros.cygnus.com)
8282
8283 First part of Fortran test suite.
8284 * gdb.fortran: New directory.
8285 * gdb.fortran/exprs.exp, gdb.fortran/types.exp: New files.
8286
8287Sat Aug 27 23:32:43 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8288
8289 * gdb.base/default.exp: Update expect pattern for load command
8290 without arguments.
8291
8292Wed Aug 24 13:15:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8293
8294 * configure.in: Change i386 to i[345]86.
8295 * gdb.base/configure.in: Likewise.
8296 * gdb.c++/configure.in: Likewise.
8297 * gdb.chill/configure.in: Likewise.
8298
8299Tue Aug 23 19:14:06 1994 Stan Shebs (shebs@andros.cygnus.com)
8300
8301 * lib/gdb.exp (gdb_run_cmd): Move comment out from between expect
8302 patterns, since that is not a valid context for comments.
8303
8304Fri Aug 19 15:07:30 1994 Kung Hsu (kung@mexican.cygnus.com)
8305
8306 * gdb.c++/demangle.exp (test_arm_style_demangling): Add tests for
8307 repeated types and repeated types with indices > 9.
8308
8309Tue Aug 16 15:57:52 1994 Stan Shebs (shebs@andros.cygnus.com)
8310
8311 * gdb.base/printcmds.exp: Remove all the a29k XFAILs tagged with
8312 2417; old bug has been fixed.
8313
8314Fri Aug 12 19:35:41 1994 Jeff Law (law@snake.cs.utah.edu)
8315
8316 * gdb.base/interrupt.exp: When trying to wake up the inferior,
8317 send the newline ourselves instead of assuming gdb_test will do
8318 so when passed an empty input string.
8319
8320 * gdb.stabs/hppa.mt: Use $(AS), not $(CC) to assemble the
8321 stabs testcode.
8322
8323Fri Aug 5 17:01:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8324
8325 * lib/gdb.exp (gdb_test): Don't send anything if the first
8326 argument is an empty string. This makes cases where we want to
8327 match output that is already in expect's buffers (for example,
8328 matching a breakpoint after gdb_run_cmd has been called) work
8329 reliably.
8330
8331Tue Aug 2 10:24:08 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8332
8333 * config/netware.exp: New file.
8334
8335Thu Jul 28 12:54:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8336
8337 * config/mt-slite (LDFLAGS): If using the newlib in the tree, set
8338 the -B and -L prefixes so we can find the debugging stub.
8339
8340 * Makefile.in (CC_FOR_TARGET, CXX_FOR_TARGET): Use newlib if it is
8341 there and we are using the gcc from the tree.
8342
8343 * gdb.base/types.c: Removed.
8344
8345 * gdb.base/configure.in: Look for makefile fragments in ../config.
8346 Recognize i386-*-netware.
8347 * gdb.c++/configure.in: Likewise.
8348
8349Mon Jul 25 23:48:50 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8350
8351 * gdb.base/corefile.exp: Change `else if' to `elseif', which is
8352 the correct TCL syntax.
8353
8354Mon Jul 25 15:35:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8355
8356 * gdb.base/opaque.exp: use runto instead of messing around with
8357 breakpoints. Simplify by using gdb_test.
8358
8359 * gdb.base/bitfields.exp: restart between tests on netware targets
8360 because breakpoints aren't relocated after target death. Run
8361 processes to completion.
8362
8363 * gdb.base/{opaque,watchpoint}.exp: Use gdb_run_cmd.
8364
8365Sun Jul 24 09:55:51 1994 Fred Fish (fnf@cygnus.com)
8366
8367 * Makefile.in: Remove extra tabs that confuse some versions
8368 of "make". Use the newly built gdb to test with by default,
8369 rather than the first one in the tester's search path.
8370
8371Sat Jul 23 15:05:47 1994 Stan Shebs (shebs@andros.cygnus.com)
8372
8373 * gdb.base/whatis.exp (v_signed_short_array): Fix a typo.
8374
8375 * gdb.base/help.exp: Update expected add-symbol-file, ignore, and
8376 condition help.
8377
8378Tue Jul 19 10:26:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8379
8380 * lib/gdb.exp (runto): Rewrite in terms of gdb_run_cmd.
8381
8382 * lib/gdb.exp (gdb_run_cmd): New function, used to start program
8383 running.
8384 * gdb.base/bitfields.exp: Use gdb_run_cmd to start program.
8385 * gdb.base/funcargs.exp: Likewise.
8386
8387 * gdb.base/bitfields.exp: Simplify by using gdb_test.
8388 * gdb.base/funcargs.exp: Likewise.
8389
8390 * lib/gdb.exp (gdb_test): if match times out, don't call fail if
8391 message is "".
8392
8393Mon Jul 18 12:18:07 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8394
8395 * gdb.base/{a2-run,callfuncs,funcargs,interrupt,mips_pro,nodebug,
8396 return,signals,twice}.exp: Handle non-existant binaries
8397 consistantly.
8398
8399 * gdb.base/corefile.exp: Execute coremaker to generate core dump.
8400 * gdb.base/Makefile.in: Don't try to generate a core dump, we
8401 might testing a cross development system.
8402
8403Thu Jul 14 18:13:56 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8404
8405 * Makefile.in (RUNTEST_FOR_TARGET): Fix relative pathname, the
8406 runtest script is relative to ${srcdir}, not ${rootdir}.
8407
8408Thu Jul 14 14:56:59 1994 Stan Shebs (shebs@andros.cygnus.com)
8409
8410 * gdb.base/signals.exp: Allow for optionality of breakpoint
8411 address.
8412
8413Thu Jul 14 11:21:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8414
8415 * gdb.base/{ptype.exp,ptype.c}: Add t_char_array test.
8416
8417Tue Jul 12 12:22:32 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8418
8419 * gdb.c++/cplusfuncs.cc: Include <stddef.h>, not <sys/types.h>,
8420 for size_t definition.
8421 * gdb.c++/templates.cc: Likewise
8422
8423 * config/mt-i386-netware: New file.
8424
8425 * gdb.base/interrupt.c: Do not test if errno == EINTR if it's not
8426 defined.
8427
8428 * gdb.base/Makefile.in: Added support for systems that name core
8429 files by appending "core" to the program name.
8430 * gdb.base/a1-selftest.exp: Likewise.
8431
8432Mon Jul 11 23:59:18 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8433
8434 * gdb.base/return.exp: Add comment and message for `return double'
8435 test failure on Sparc Solaris.
8436
8437Mon Jul 4 12:10:48 1994 Stan Shebs (shebs@andros.cygnus.com)
8438
8439 * lib/gdb.exp (runto): Allow for optionality of breakpoint address.
8440
8441Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8442
8443 * gdb.c++/misc.cc: Instantiate classes to inhibit the compiler
8444 from optimizing them away.
8445 * gdb.c++/classes.exp, gdb.c++/inherit.exp: Update ptype expect
8446 patterns to include default constructors and assignment operators,
8447 to match gcc versions beyond 2.5.8. Accept any cplus demangling
8448 character in the output of the virtual base pointer.
8449
8450Fri Jun 24 08:15:42 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8451
8452 * gdb.c++/cplusfuncs.exp: Use string_to_regexp and a regular
8453 expression match in print_addr_of to avoid unintented matches.
8454 * gdb.c++/virtfunc.exp: Accept alternate ptype output of g++
8455 versions up to 2.5.8.
8456
8457Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8458
8459 * gdb.base/list.exp: Tweak alternate pattern for listing of an
8460 included file to run under newer versions of expect.
8461 * gdb.c++/demangle.exp: Add spaces to the expect patterns between
8462 consecutive >'s in templates to accomodate recent cplus-dem.c change.
8463 Remove xfail for the virtual table of BDDHookV.
8464
8465Sat Jun 18 12:51:34 1994 Stan Shebs (shebs@andros.cygnus.com)
8466
8467 * lib/gdb.exp (string_to_regexp): Set a default result.
8468 (default_gdb_start): Fix misleading message.
8469
8470Wed Jun 15 12:10:10 1994 Stan Shebs (shebs@andros.cygnus.com)
8471
8472 * config/mt-a29k-udi, config/mt-i960-nindy, config/mt-sparc-aout:
8473 Remove all CC, etc definitions.
8474 * config/mt-hpux: New file.
8475 * config/mt-mips-ecoff (CFLAGS_FOR_TARGET): Remove:
8476 (CFLAGS, LDFLAGS): Define.
8477 * config/mt-slite (CFLAGS_FOR_TARGET): Change to LDFLAGS.
8478
8479 * Makefile.in (site.exp): Don't insert host_os, etc.
8480 (just-check): Just use RUNTEST with RUNTESTFLAGS only.
8481 (distclean): Check existence of subdir.
8482 * gdb.base/configure.in (hppa*-*-hpux*): Recognize.
8483 * gdb.base/Makefile.in: General cleanup and simplification.
8484 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8485 to build executables. Use default rule to build .o files.
8486 (EXPECT, RUNTEST, CC): Fix relative pathname.
8487 (site.exp): Don't insert host_os, etc.
8488 * gdb.base/signals.c (main): Don't call signal unless SIGALRM
8489 and/or SIGUSR1 defined.
8490 * gdb.base/watchpoint.c: Don't include stdio.h a second time.
8491 * gdb.c++/Makefile.in: General cleanup and simplification.
8492 Use CC, CFLAGS, and LDFLAGS instead of ..._FOR_TARGET versions
8493 (CFLAGS): Remove.
8494 (EXPECT, RUNTEST_FOR_TARGET, CXX): Fix relative pathname.
8495
8496Fri Jun 10 10:55:09 1994 Jeff Law (law@snake.cs.utah.edu)
8497
8498 * gdb.base/recurse.exp: Misc changes to get tests running again
8499 after Kung's changes to the watchpoint code.
8500 * gdb.base/watchpoint.exp: Likewise.
8501
8502Thu Jun 9 15:16:55 1994 Per Bothner (bothner@kalessin.cygnus.com)
8503
8504 * lib/gdb.exp (string_to_regexp): Convert {\} also.
8505
8506Wed Jun 8 12:12:17 1994 Stan Shebs (shebs@andros.cygnus.com)
8507
8508 * config/udi-gdb.exp, config/unix-gdb.exp: Call default_gdb_start.
8509 * lib/gdb.exp (default_gdb_start): Define.
8510 * gdb.base/bitfields.exp, gdb.base/break.exp, gdb.base/exprs.exp,
8511 gdb.base/funcargs.exp, gdb.base/opaque.exp,
8512 gdb.base/printcmds.exp, gdb.base/ptype.exp, gdb.base/recurse.exp,
8513 gdb.base/scope.exp, gdb.base/setvar.exp, gdb.base/watchpoint.exp,
8514 gdb.c++/classes.exp, gdb.c++/misc.exp, gdb.c++/virtfunc.exp:
8515 Don't call gdb_target_udi in between tests.
8516
8517Tue Jun 7 08:30:15 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8518
8519 * gdb.c++/demangle.exp: Use gdb_test_exact, rather than demangle
8520 (which was basically just a local version of the same thing). In
8521 addition to avoiding duplication, gdb_test_exact is faster.
8522 * lib/gdb.exp (gdb_test_exact): Fix typo.
8523
8524 * lib/gdb.exp (delete_breakpoints): If there were no breakpoints,
8525 don't give an error.
8526
8527 * gdb.base/term.exp: Call delete_breakpoints before starting.
8528
8529 * gdb.base/Makefile.in (EXECUTABLES): Remove t10.
8530 (t10): Add comment.
8531
8532Mon Jun 6 18:26:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8533
8534 Reorganization of the GDB Test Suite.
8535
8536 * gdb.base: New directory, contains all the basic tests.
8537 * gdb.c++: New directory, tests specific to C++.
8538 * gdb.chill: New directory, tests specific to Chill.
8539 * gdb.t00, gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06,
8540 gdb.t07, gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13,
8541 gdb.t15, gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23,
8542 gdb.t24, gdb.t30, gdb.t31: Removed directories, contents moved
8543 into appropriate new directories (t00-t17 to base, t20-t23 to c++,
8544 t30-31 to chill).
8545 * */gdbme.*: Rename to match appropriate expect scripts.
8546 * gdb.base/bitfields.c, gdb.base/break.c, gdb.base/callfuncs.c,
8547 gdb.base/coremaker.c, gdb.base/exprs.c, gdb.base/funcargs.c,
8548 gdb.base/interrupt.c, gdb.base/list0.c, gdb.base/list0.h,
8549 gdb.base/list1.c, gdb.base/mips_pro.c, gdb.base/nodebug.c,
8550 gdb.base/opaque-info.c, gdb.base/opaque0.c, gdb.base/opaque1.c,
8551 gdb.base/printcmds.c, gdb.base/ptype.c, gdb.base/recurse.c,
8552 gdb.base/return.c, gdb.base/run.c, gdb.base/scope0.c,
8553 gdb.base/scope1.c, gdb.base/setvar.c, gdb.base/signals.c,
8554 gdb.base/types.c, gdb.base/twice.c, gdb.base/watchpoint.c,
8555 gdb.base/whatis-info.c, gdb.base/whatis.c: New names of C files.
8556 * gdb.c++/cplusfuncs.cc, gdb.c++/templates.cc, gdb.c++/misc.cc,
8557 gdb.c++/virtfunc.cc: New names of C++ files.
8558 * gdb.chill/chillvars.ch: New name of Chill file.
8559 * gdb.base/configure.in, gdb.c++/configure.in,
8560 gdb.chill/configure.in: Merge in contents of gdb.t*/configure.in.
8561 * gdb.base/Makefile.in, gdb.c++/Makefile.in,
8562 gdb.chill/Makefile.in: Merge in contents of gdb.t*/Makefile.in.
8563 * configure.in (configdirs): Update to reflect directory changes.
8564 (target_abbrev): No longer define for any configuration.
8565 * Makefile.in: Cosmetic improvements to header comments.
8566
8567Fri Jun 3 18:56:06 1994 Per Bothner (bothner@kalessin.cygnus.com)
8568
8569 Various changes to gdb.t31:
8570
8571 * Makefile.in (gdbme.o): Compile with -fspecial_UC.
8572 * gdbme.ch: Make all key-words and predefineds be upper-case.
8573 * chillvars.exp: Expect key-words and predefinds in upper-case.
8574
8575 * chillvars.exp: Use gdb_test_exact many places.
8576 Change expected output for arrays (which now includes index labels).
8577
8578 * pr-5020.exp, gdme.ch (module PR_5020):
8579 New test, for PR-5020.
8580
8581Thu Jun 2 16:02:41 1994 Per Bothner (bothner@kalessin.cygnus.com)
8582
8583 * lib/gdb.exp (string_to_regexp, gdb_test_exact): New procedures.
8584 * Makefile.in (CHILL_LIB): Remove bogus redundant definitions.
8585
8586Sun May 29 22:31:42 1994 Per Bothner (bothner@kalessin.cygnus.com)
8587
8588 * Makefile.in: Fix bit-rot in definitions of CHILL,
8589 CHILL_FOR_TARGET and Chill_LIB.
8590 * gdb.t31/gdbme.ch: Fix syntax of nested array tuples.
8591 * gdb.t31/Makefile.in: Add definitions for CHILLFLAGS,
8592 CHILL, and CHILL_LIB.
8593
8594Sat May 21 10:05:08 1994 Bill Cox (bill@rtl.cygnus.com)
8595
8596 * Revert the previous changes. Please see Rob's directory
8597 /lisa/test/rob/progressive/gdb/testsuite for these fixes.
8598
8599Thu May 19 12:51:00 1994 Bill Cox (bill@rtl.cygnus.com)
8600
8601 * Makefile.in, configure.in, config/mips-gdb.exp,
8602 config/mt-a29k-udi, config/mt-i386-aout, config/mt-i960-nindy,
8603 config/mt-sparc-aout, config/udi-gdb.exp, config/unix-gdb.exp,
8604 config/unknown.exp, gdb.t00/default.exp, gdb.t00/help.exp,,
8605 gdb.t00/teststrategy.exp, gdb.t01/Makefile.in, gdb.t02/Makefile.in,
8606 gdb.t02/whatis.exp, gdb.t03/Makefile.in, gdb.t03/gdbme.c,
8607 gdb.t04/Makefile.in, gdb.t05/Makefile.in, gdb.t06/Makefile.in,
8608 gdb.t06/break.exp, gdb.t06/signals.c, gdb.t06/signals.exp,
8609 gdb.t08/Makefile.in, gdb.t08/opaque.exp, gdb.t09/Makefile.in,
8610 gdb.t10/Makefile.in, gdb.t11/Makefile.in, gdb.t12/Makefile.in,
8611 gdb.t13/Makefile.in, gdb.t15/Makefile.in, gdb.t15/funcargs.exp,
8612 gdb.t15/gdbme.c, gdb.t15/return.exp, gdb.t16/Makefile.in,
8613 gdb.t17/Makefile.in, gdb.t17/callfuncs.exp, gdb.t17/gdbme.c,
8614 gdb.t20/Makefile.in, gdb.t21/Makefile.in, gdb.t21/cplusfuncs.exp,
8615 gdb.t22/Makefile.in, gdb.t22/virtfunc.exp, gdb.t23/Makefile.in,
8616 gdb.t24/demangle.exp, lib/gdb.exp: Check in Rob's testing
8617 changes from 94Q1.
8618
8619Wed May 18 17:04:03 1994 Bill Cox (bill@rtl.cygnus.com),
8620
8621 * config/mt-lynx, config/mt-m68k, config/mt-mips-ecoff,
8622 config/mt-slite, config/mt-unix, config/mt-vxworks: Add
8623 Rob's new testing fragments.
8624
8625Tue May 17 15:04:14 1994 Bill Cox (bill@rtl.cygnus.com)
8626
8627 * config/mips-gdb.exp, config/udi-gdb.exp, config/vx-gdb.exp,
8628 lib/gdb.exp: Replace error proc calls with perror.
8629
8630Mon May 16 19:00:50 1994 Stan Shebs (shebs@andros.cygnus.com)
8631
8632 * gdb.t00/teststrategy.exp: Reorder so that AIX gdb can print the
8633 version also, match on casted version strings, and match on
8634 gdb startup case where the line numbers might be messed up.
8635
8636Fri May 13 18:00:27 1994 Bill Cox (bill@rtl.cygnus.com)
8637
8638 * config/mt-i960-vx (LDFLAGS): Add '-r' option for test links.
8639 (CFLAGS): Delete it from here.
8640
8641Tue May 3 16:08:09 1994 Kung Hsu (kung@mexican.cygnus.com)
8642
8643 * gdb.t22/virtfunc.exp: Fix g++ ptype expected outputs.
8644
8645Fri Apr 29 14:26:35 1994 Stan Shebs (shebs@andros.cygnus.com)
8646
8647 * Makefile.in (RUNTEST): Default to just "runtest".
8648
8649Tue Apr 26 22:21:40 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8650
8651 * gdb.t17/callfuncs.exp: More comments about t_func_values tests.
8652 * gdb.t17/gdbme.c (t_func_values): Add comments about how and why
8653 the code has been restructured.
8654
8655Thu Apr 21 12:48:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8656
8657 * gdb.t00/default.exp (set write): Allow any number of \r and/or
8658 \n, not just one of each.
8659
8660 * gdb.t07/gdbme.c (main): Don't take address of an array; SunOS4
8661 /bin/cc gives a warning if you do.
8662
8663Thu Apr 21 11:54:04 1994 Kung Hsu (kung@mexican.cygnus.com)
8664
beb998c6 8665 * gdb.t24/demangle.exp: change expect pattern of
c906108c
SS
8666 __t10ListS_link1ZUiRCUiPT0
8667
8668Wed Apr 13 15:05:00 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8669
8670 * gdb.t07/{recurse.exp, recurse.c}: New tests for watchpoints
8671 on local variables in recursive functions.
8672
8673 * gdb.t07/Makefile.in: Build the new test.
8674
8675Tue Apr 12 20:45:25 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8676
8677 * gdb.t17/gdbme.c (t_func_values): Do not compare function pointers
8678 directly. Instead compare the return values from actual calls.
8679
8680Mon Apr 11 10:31:00 1994 Bill Cox (bill@rtl.cygnus.com)
8681
8682 * Makefile.in (check): Set TCL_LIBRARY for runtest.
8683
8684Mon Apr 11 09:15:30 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8685
8686 * From Peter Schauer with minor modifications.
8687 * gdb.t15/return.exp (return_tests): Handle targets where "return"
8688 stops in mid-line in the caller. Add xfail for returning a float
8689 value on X86 targets.
8690
8691Tue Apr 5 15:16:33 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8692
8693 * gdb.disasm/hppa.exp (fcmp_tests): Break up into two halves
8694 to avoid expect lossage.
8695 (fmem_LRbug_tests): Likewise.
8696 * gdb.disasm/hppa.s: Corresponding changes.
8697
8698 * gdb.disasm/hppa.exp: Rework escape sequences and end-of-line
8699 conditions to work with latest dejagnu/expect.
8700
8701 * gdb.t15/funcargs.exp (finish from indirect call): No longer
8702 expected to fail on the PA.
8703 (backtrace in call with trampolines): Explicitly require main
8704 to be frame #1 (no trampolines should show up in backtrace).
8705
8706 * gdb.t00/default.exp: Use "exp_continue" rather than obsolete
8707 "continue -expect".
8708 * gdb.t06/break.exp: Likewise.
8709 * gdb.t07/watchpoint.exp: Likewise.
8710 * gdb.t13/bitfields.exp: Likewise.
8711 * gdb.t15/{funcargs,return}.exp: Likewise.
8712 * gdb.stabs/weird.exp: Likewise.
8713 * config/{mips,udi}-gdb.exp: Likewise.
8714
8715 * hppa.sed: Enclose comments within a sed command to avoid
8716 losing with the old OSF1 sed.
8717
8718Wed Mar 30 00:31:49 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8719
8720 * gdb.t02/whatis.exp, gdb.t08/opaque.exp: Add XFAILs for
8721 sequent dynix.
8722 * gdb.t06/signals.exp: Add clear_xfail for sequent dynix.
8723 * gdb.t15/funcargs.exp: Conditionally step again to really
8724 finish from marker_call_with_trampolines. Handle the case where
8725 the first step from within call_with_trampolines already steps
8726 us back to main.
8727 * gdb.t15/gdbme.c: Add comment to closing brace of
8728 call_with_trampolines for funcargs.exp.
8729
8730Tue Mar 29 23:55:27 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8731
beb998c6 8732 * gdb.t07/watchpoint.exp (test_watchpoint_triggered_in_syscall):
c906108c
SS
8733 Fix typo(s).
8734
8735Sun Mar 27 16:53:14 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8736
8737 * gdb.t07/gdbme.c: More code for watchpoint testing.
8738
8739 * gdb.t07/watchpoint.exp: Accept both "Watchpoint" and
8740 "Hardware watchpoint" throughout file.
8741 (test_watchpoint_triggered_in_syscall): New test.
8742 (test_complex_watchpoint): New test.
8743
8744Fri Mar 25 17:05:31 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8745
8746 * gdbme.c (call_with_trampolines): New function to try and step
8747 into. Tests trampoline problems on the PA.
8748
8749 * funcargs.exp (localvars_in_indirect_call): No longer expect
8750 stepping into indirect call to fail on PAs.
8751 (test_stepping_over_trampolines): New test.
8752
8753Wed Mar 23 07:43:33 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8754
8755 * TODO: Add suggestions for static member function tests, and
8756 completion tests.
8757
8758Wed Mar 16 08:28:28 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8759
8760 * TODO: Add suggestions for "p/a" tests.
8761
8762 * lib/gdb.exp: Set prompt to (gdb) if it isn't already set.
8763 (default_gdb_exit): Replace all the hair with sending "quit" to
8764 the process with a simple close.
8765
8766Tue Mar 15 08:45:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8767
8768 * TODO: Add suggestions for shared library tests.
8769
8770Sun Mar 13 10:45:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8771
8772 * TODO: Add suggestions for x/s tests.
8773
8774Fri Mar 11 08:22:00 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8775
8776 * gdb.t00/help.exp: Replace most of docstrings for "tbreak",
8777 "enable once", and "enable breakpoints once" with ".*".
8778
8779Thu Mar 10 08:34:27 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8780
8781 * TODO: Add suggestions about structure passing tests.
8782
8783Mon Mar 7 13:45:54 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8784
8785 * gdb.t03/gdbme.c: gcc version 1 puts out the wrong stabs for
8786 the primary1 test, use work around if __GNUC__ < 2.
8787 * gdb.t06/signals.c: Add comments for signals.exp pattern matching.
8788 * gdb.t06/signals.exp: Add XFAILs for i386 bsd and vax ultrix.
8789 Test for bad output rather than waiting for timeout. Issue
8790 second continue only if first continue failed.
8791
8792Wed Mar 2 10:08:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8793
8794 * gdb.t21/cplusfuncs.exp (test_paddr_operator_functions): Do
8795 operator[] test with gdb_test because the old code didn't seem to
8796 be getting the quoting right with the new dejagnu.
8797
8798Thu Feb 24 19:49:25 1994 Rob Savoye (rob@poseidon.cygnus.com)
8799
8800 * lib/gdb.exp: Set GDB to a fresh gdb if there is one, else use
8801 one from the path.
8802 * Makefile.in: Use a fresh expect if there is one, use runtest
8803 from the src tree if there is one.
beb998c6 8804
c906108c
SS
8805Thu Feb 24 18:49:37 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8806
8807 * gdb.t06/break.exp (test_next_with_recursion): Remove xfail for
8808 next over recursive call. Revise the tests from that point on
8809 (which had been skipped) to match GDB's actual (correct) output.
8810
8811 * gdb.t07/watchpoint.exp (test_stepping): Remove xfail for bug
8812 with next over a breakpoint whose condition is false.
8813
8814 * gdb.t00/help.exp: Comment out "help set print" tests just like
8815 (and for same reason as) "help set" test.
8816
8817Mon Feb 14 09:58:23 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8818
8819 * gdb.disasm/hppa.s (fmemLRbug_tests): New tests.
8820 * gdb.disasm/hppa.exp (fmemLRbug_tests): Run them.
8821
8822Sun Feb 6 15:36:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8823
8824 * gdb.t06/break.exp (test_next_with_recursion): Remove no longer
8825 necessary gdb_target_udi.
8826
8827 * gdb.t03/ptype.exp: For UDI, skip tests which call malloc.
8828
8829 * gdb.t02/whatis.exp, gdb.t03/ptype.exp: Remove xfails for PRs
8830 1838 and 2417; they are fixed.
8831
8832 * gdb.t02/whatis.exp (v_char_array, v_signed_char_array),
8833 gdb.t03/ptype.exp (ptype structure, ptype union):
8834 Remove xfails; the test is looser than when the xfails were added.
8835
8836 * gdb.t00/{help.exp,default.exp}: Don't test "target remote" on UDI.
8837 * gdb.t00/help.exp: Don't expect remote to be in "help target" output.
8838
8839 * gdb.t01/run.exp: Only run shell test if isnative.
8840
8841 * config/udi-gdb.exp (gdb_load): Use "file", not "load" command,
8842 since "run" automatically loads if necessary. Call gdb_target_udi
8843 after the "file" since "file" kills any execution target.
8844
8845 * config/udi-gdb.exp (gdb_start): Don't send "set args main" to
8846 GDB. GDB doesn't work that way (not anymore at least) on UDI.
8847 * gdb.t01/run.exp, gdb.t06/break.exp: Don't pass extra first
8848 argument for UDI.
8849
8850Fri Feb 4 12:19:32 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
8851
8852 * gdb.t17/interrupt.c: If we get EINTR, don't print an error message.
8853
8854 * gdb.t17/callfuncs.exp: Add xfails for rs6000.
8855
8856Sat Feb 5 09:11:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8857
8858 * gdb.t24/demangle.exp: Re-write demangle to just call gdb_test,
8859 properly quoting regexps. This makes the second argument to
8860 demangle a fixed string, which matches the callers, instead of a
8861 shell-style pattern which is what the previous implementation
8862 used. Update some of the callers.
8863
8864Sat Feb 5 10:19:09 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8865
8866 * gdb.disasm/hppa.s (comib_tests): Add missing instruction.
8867 (comib_nullified_tests): Fix typo.
8868 * gdb.disasm/hppa.exp (all comb tests): Fix thinkos in expect
8869 strings. No longer expected to fail.
8870
8871 * gdb.disasm/hppa.s (addib_tests): Fix typo.
8872 * gdb.disasm/hppa.exp (all addb tests): Fix thinkos in expect
8873 strings. No longer expected to fail.
8874
8875 * gdb.disasm/hppa.exp (fmpy_addsub_tests): Fix typo in expect
8876 string. No longer expected to fail.
8877
8878Fri Feb 4 23:45:11 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8879
8880 * gdb.disasm/hppa.exp (fcmp_tests): Fix thinko in expect string.
8881 No longer expected to fail.
8882
8883 * gdb.disasm/hppa.exp (xmpyu_tests): Fix buglet in expect
8884 string. No longer expected to fail.
8885
8886Fri Feb 4 10:35:42 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8887
8888 * gdb.t24/demangle.exp: Remove a bunch more tests which differ
8889 only in the names (I probably got most of them). I was even
8890 generous with some which differed in underscores in names, and
8891 probably missed a few, and I *still* was able to remove almost a
8892 third of the file with almost no impact on testsuite coverage.
8893
8894Thu Feb 3 12:04:49 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8895
8896 * gdb.t00/default.exp: Match udi_attach error message as well as
8897 the one from child_attach.
8898
8899 * gdb.t00/default.exp: Use "." instead of "?" to match a question mark.
8900
8901 * gdb.stabs/weird.exp: Remove xfail for const70; just fixed in GDB.
8902
8903 * gdb.stabs/weird.def (bad_neg0type): Size of this type is 16, not 8.
8904 * gdb.stabs/weird.exp: Remove xfail for "p bad_neg0"; this fixes it.
8905
8906 * Move test with enums and partial symbols back to
8907 gdb.t03/{ptype.exp,gdbme.c} from gdb.stabs/{weird.def,weird.exp}.
8908 Reverts the change of 26 May 93. Per today's change to
8909 stabs.texinfo, the behavior that weird.exp was expecting was
8910 unreasonable; what is important is that the compiler+gdb get
8911 things right, which happens with a recent gcc. Also fix the test
8912 to deal with native compilers which put out the stab gdb can't
8913 deal with.
8914
8915Mon Jan 31 15:40:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8916
8917 * gdb.t24/demangle.exp: Remove a bunch of tests which differ only
8918 in the names. The main thing these accomplish is to slow things down.
8919 Many more such duplicates surely remain.
8920
8921 * gdb.t00/help.exp: Comment out "help support" test just like
8922 (and for same reason as) "help set" test.
8923
8924Mon Jan 31 06:43:45 1994 Fred Fish (fnf@cygnus.com)
8925
8926 * gdb.t06/break.exp: Remove setup_xfails for
8927 sparc-sun-solaris2.*, these tests now pass with latest gcc and gdb.
8928 * gdb.t20/inherit.exp (test_ptype_si): Update warning message
8929 about known bug in gcc to include up through 2.5.8.
8930 * gdb.t20/inherit.exp (test_ptype_vi): Accept "_vb." as well as
8931 well as "_vb$".
8932 * gdb.t21/cplusfuncs.exp (test_lookup_operator_functions):
8933 Remove setup_xfails for sparc-sun-solaris2.*, these tests now pass
8934 with latest gcc and gdb.
8935 * gdb.t22/virtfunc.exp (test_ptype_of_classes): Accept "_vb." as
8936 well as "_vb$".
8937
8938Sat Jan 29 23:31:26 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8939
8940 * configure.in (hppa*-*-*): Also configure and build stabs-only
8941 tests.
8942
8943Thu Jan 27 08:21:16 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8944
8945 * gdb.t10/hppa.mt: A makefile fragment for the PA.
8946 * gdb.t10/configure.in (hppa*-*-*): Use it.
8947
8948Tue Jan 25 12:58:26 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8949
8950 * gdb.t09/corefile: Increase timeout when spawning gdb explicitly.
8951
8952Wed Jan 19 12:40:25 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
8953
8954 * gdb.t06/signals.exp: Handle blocked SIGTRAP on sun3 for bash
8955 versions prior to 1.13.5.
8956
8957Tue Jan 18 20:10:50 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8958
8959 * gdb.t00/default.exp (show prompt): In FAIL case, only match if
8960 the prompt is at the start of a line.
8961
8962Mon Jan 17 20:07:51 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
8963
8964 * gdb.disasm/hppa.s: Add new tests for sfu and copr instructions.
8965 Enable "diag" instruction. Delete copr from fpu_misc_tests, it's
8966 in the copr tests now.
8967 * gdb.disasm/hppa.exp: Run new sfu and copr tests. Do not expect
8968 copr in the fpu_misc tests anymore. fpu_misc tests are no longer
8969 expected to fail.
8970
8971Fri Jan 14 14:24:21 1994 Rob Savoye (rob@darkstar.cygnus.com)
8972
8973 * gdb.t00/teststrategy.exp, gdb.t07/watchpoint.exp,
8974 gdb.t31/chillvars.exp, lib/gdb.exp:
8975 Tweak to run under either version of expect.
8976 * lib/gdb.exp (default_gdb_exit): Remove "catch" statement.
8977 * gdb.t00/teststrategy.exp: Use isnative and verbose procedures.
8978 * gdb.t11/list.exp: Remove extraneous whitespace.
8979
8980Sat Jan 15 09:57:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8981
8982 * gdb.t16/printcmds.exp (test_print_strings): Accept
8983 "(unsigned char *) " before the string.
8984
8985 * TODO: Add notes about printing of fancy types and GDB expressions.
8986
8987Thu Jan 13 17:16:09 1994 Stan Shebs (shebs@andros.cygnus.com)
8988
8989 * Makefile.in: Pass LDFLAGS and LIBS to sub-makes.
8990 * gdb.t06/configure.in: Don't try to compile signals test program
beb998c6 8991 if doing mips-idt-ecoff.
c906108c
SS
8992
8993Thu Jan 13 08:25:55 1994 Rob Savoye (rob@darkstar.cygnus.com)
8994
8995 * Most .exp files: Tweak to run under either version of expect.
8996
8997Tue Jan 11 15:21:13 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
8998
8999 * gdb.t12/scope.exp: Add xfails for rs6000. Remove 1806 from existing
9000 xfails; I'm not sure why they are failing, but not because of PR 1806.
9001
9002Mon Jan 10 22:14:20 1994 Rob Savoye (rob@darkstar.cygnus.com)
9003
9004 * config/unix-gdb.exp: Remove gdb_unload cause it's already
9005 defined in lib/gdb.exp.
9006
9007Fri Jan 7 12:42:45 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9008
9009 * gdb.t07/watchpoint.exp: Clear xfail for calling function with
9010 watchpoint enabled on mips, CALL_DUMMY_BREAKPOINT_OFFSET got defined.
9011 * gdb.t20/gdbme.cc, gdb.t21/gdbme.cc: Conversion operator functions
9012 have to be typeless.
9013
9014Tue Jan 4 09:32:22 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
9015
9016 * TODO: Add suggestion for copyright year test.
9017
9018Mon Jan 3 11:35:26 1994 Stan Shebs (shebs@andros.cygnus.com)
9019
9020 * configure.in (*-*-lynxos*): Add stabs tests.
9021
9022Wed Dec 1 21:54:05 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9023
9024 * gdb.stabs/hppa.sed: Only lables should ever start in column zero,
9025 so insert a tab before any assembler directive in column zero.
9026
9027 * gdb.disasm/hppa.exp (all_fpu_memory_tests): Test FP quadword
9028 stores.
9029 * gdb.disasm/hppa.s (fpu_memory_indexing_tests): Add FP quadword
9030 stores.
9031 (fpu_short_memory_tests): Likewise.
9032
9033Mon Nov 22 13:23:22 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9034
9035 * gdb.stabs/ecoff.mt: Delete alpha specific if block, fix typo.
9036 * gdb.stabs/ecoff.sed: Escape inserted blanks with backslashes, embed
9037 .stabs directives in comments.
9038
9039Fri Nov 19 14:09:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9040
9041 * TODO: New file, describing tests we could write.
9042 * gdb.t09/corefile.exp: Move description of tests to write to TODO.
9043
9044Tue Nov 16 21:07:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9045
9046 * gdb.t06/signals.exp: Add kludge to force re-sync.
9047
9048 * gdb.t00/teststrategy.exp: If we accidently send the "maint dump-me"
9049 to xgdb instead of gdb, get out of gdb.
9050
9051Tue Nov 16 10:21:57 1993 Rob Savoye (rob@cygnus.com)
9052
9053 * lib/gdb.exp: Make GDB and GDBFLAGS global so the scoping work
9054 for info.
9055
9056Sat Nov 13 23:17:48 1993 Jeffrey A. Law (law@snake.cs.utah.edu)
9057
9058 * gdb.stabs/hppa.mt: A makefile fragment for the PA.
9059 * gdb.stabs/configure.in (hppa*-*-*): Use it.
9060 * gdb.stabs/hppa.sed: New sed script for the PA.
9061
9062Sat Nov 13 22:50:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9063
9064 * gdb.stabs: Re-write weird.def and configuration to use sed
9065 instead of cpp. sed is portable and POSIX; cpp is neither.
9066
9067Fri Nov 12 15:26:36 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9068
9069 * gdb.t06/signals.exp: Remove one sun3 XFAIL which has been fixed.
9070
9071Mon Nov 8 16:55:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9072
9073 * gdb.t20/gdbme.cc: Add comment about pmi being optimized out.
9074
9075Thu Nov 4 23:07:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9076
9077 * gdb.stabs/weird.exp, gdb.t22/virtfunc.exp: Accept "_vb." as well as
9078 "_vb$".
9079 * gdb.t00/teststrategy.exp: Add xfail for RS/6000.
9080 * gdb.t03/ptype.exp: Add comments and messages about FAILs with xlc.
9081
9082Wed Nov 3 13:53:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9083
9084 * lib/gdb.exp: Comment out code which depends on non-existent
9085 `transform' procedure.
9086
9087Wed Nov 3 11:23:11 1993 Rob Savoye (rob@darkstar.cygnus.com)
9088
9089 * lib/gdb.exp (default_gdb_exit): Remove `catch "close"'.
9090 * lib/gdb.exp: Transform tool name.
9091 * gdb.t*/*.exp: Change error to perror so it works with DejaGnu
9092 1.1's new error handling system.
9093
9094Mon Nov 1 10:36:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9095
9096 * Makefile.in, gdb.t2*/Makefile.in: Add -O to CXXFLAGS.
9097
9098Fri Oct 29 17:58:14 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9099
9100 * gdb.t00/default.exp: Avoid tests with a lot of .* in them.
9101 They made pattern matching so slow that timeouts happened on
9102 heavily loaded systems. Now any output from "show print" which
9103 gets us back to the GDB prompt is a PASS.
9104
9105Mon Oct 25 14:36:50 1993 Stu Grossman (grossman at cygnus.com)
9106
9107 * gdb.disasm/hppa.mt: Use $(srcdir) in hppa.o make rule.
9108
9109Mon Oct 25 13:35:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9110
9111 * gdb.t06/signals.exp: Skip whole file with xfail for HPPA.
9112
9113 * gdb.t24/demangle.exp: Remove "3220" from the one remaining xfail.
9114 It is not from PR 3220.
9115
9116Sun Oct 24 18:49:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9117
9118 * gdb.t00/{help.exp,default.exp}: Loosen up a few more tests which
9119 just started failing because they depended on the order the
9120 subcommands are presented, or exact docstring text. This kind of
9121 test is a pain and has minimal benefit.
9122
9123Thu Oct 21 08:26:48 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9124
9125 * gdb.t09/corefile.exp: At end of test, use "core" command with
9126 no arguments.
9127
9128Wed Oct 20 08:56:02 1993 Stu Grossman (grossman at cygnus.com)
9129
9130 * gdb.t{01 02 03 04 05 06 07 08 09 10 11 12 13 15 16
9131 17}/Makefile.in: Make it possible to run the testsuite with Sun
9132 make and CC = cross gcc by adding explicit build rules for .o
9133 files.
9134
9135Tue Oct 19 14:57:38 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9136
9137 * gdb.t15/funcargs.exp: Don't put comments on same line as
9138 setup_xfail (@#$*%& tcl braindamage!).
beb998c6 9139
c906108c
SS
9140Mon Oct 18 21:50:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9141
9142 * gdb.disasm/hppa.exp: Use $objdir/$subdir/$binfile not just $binfile.
9143
9144Fri Oct 15 15:39:54 1993 Kung Hsu (kung@cirdan.cygnus.com)
9145
9146 * gdb.t20/classes.exp: 'const xxx &' becomes 'xxx const &'.
9147 * gdb.t20/inherit.exp: remove three dumplicate entries.
9148
9149Fri Oct 15 13:45:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9150
9151 * gdb.t06/break.exp: For "next over recursive call", fail on any
9152 incorrect output, not just on "factorial (value=2)".
9153
9154Fri Oct 15 11:52:56 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9155
9156 * gdb.t12/scope.exp: Remove xfails, filename::var syntax should be
9157 working now. Add an xfail if accesing a bss variable causes
9158 a memory error if the target is not yet run.
9159
9160Thu Oct 14 19:16:56 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9161
9162 * gdb.t24/demangle.exp: Clean up spacing (2 strings), inclusion of
9163 constructor name (2 string), name of _GLOBAL_ demangling (2 strings),
9164 name of __st* demangling (2 strings). Did Kung really get the
9165 more than 95 others right without testing them?
9166
9167Thu Oct 14 16:27:08 1993 Kung Hsu (kung@cirdan.cygnus.com)
9168
9169 * gdb.t24/demangle.exp: clean up XFAILS, more than 100
9170
9171Thu Oct 14 11:40:30 1993 Jeffrey Law (law@cs.uah.edu)
9172
9173 * configure.in (configdirs): Add gdb.disasm
9174 * gdb.disasm: New directory for GDB disassembler tests.
9175 * gdb.disasm/hppa.{exp,s,mt}: Disassembly tests for the HPPA.
9176
9177Thu Oct 14 11:40:30 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9178
9179 * gdb.t00/help.exp: Don't test "help set".
9180
9181 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Remove all xfails
9182 from within expect statements. None of these happen anymore and
9183 they cause regressions to be silently unnoticed.
9184
9185 * gdb.t20/inherit.exp, gdb.t22/virtfunc.exp: Add notes (in failure
9186 messages) about known failures with gcc cygnus-2.4.5-930417.
9187
9188 * gdb.t02/Makefile.in, gdb.t08/Makefile.in: Make all depend on
9189 comp-info.exp so it gets built if it doesn't exist.
9190
9191 * gdb.t13/{Makefile.in,bitfields.exp}: Remove comp-info.exp stuff;
9192 it is no longer used.
9193 * gdb.t13/comp-info.c: Removed.
9194
9195Wed Oct 13 22:54:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9196
9197 * gdb.t06/signals.exp: Add xfail for sun3.
9198
9199Thu Oct 7 12:01:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9200
9201 * gdb.t17/interrupt.exp: Add xfail for Irix (currently not really
9202 relevant because ^C doesn't get sent but failure can be reproduced
9203 interactively).
9204
9205Tue Oct 5 10:43:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9206
9207 * gdb.stabs/alpha.mt: New configuration file for alpha.
9208 * gdb.stabs/configure.in: Use it.
9209 * gdb.stabs/ecoff.mt, weird-ecoff.sed: Change sed script to enable
9210 sharing with alpha.mt, redefine long to word via preprocessor.
9211 * gdb.stabs/weird.def: Conditionally adapt storage layout of v_comb
9212 for alpha.
9213 * gdb.stabs/weird.exp: Handle compilation of weird.s by alpha
9214 native cc.
9215 * gdb.t00/teststrategy.exp: Change expect string so that we
9216 consume the `(xgdb)' from the command echo and from the gdb prompt.
9217 * gdb.t05/expr.exp: xfail "print unsigned int == (~0)" on the alpha.
9218 gdb currently compares all values as long, so this failure probably
9219 applies to any configuration where LONGEST is bigger than a target int.
9220 * gdb.t08/comp-info.c: New file to determine if gdbme is compiled
9221 with gcc.
9222 * gdb.t08/Makefile.in, opaque.exp: Use it. Alpha native cc is unable
9223 to handle opaque pointers, gcc is.
9224 * gdb.t21/gdbme.cc, gdb.t23/gdbme.cc: operator new takes a size_t
9225 as first argument. Include <sys/types.h> and change all operator
9226 new definitions to use size_t.
9227 * gdb.t21/cplusfuncs.exp: Handle changes in output for operator new
9228 now that we use size_t.
9229
9230Wed Sep 29 00:55:49 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9231
9232 * gdb.t03/ptype.exp, gdb.t15/printcmds.exp: When constructing
9233 a long or float array cast all array members to the same type.
9234 * gdb.t04/setvar.exp: Handle the decimal output of an unsigned long
9235 with 64 bit longs.
9236 * gdb.t07/watchpoint.exp: Add finish and until variations encountered
9237 on alpha.
9238 * gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Add xfails for alpha.
9239
9240Tue Sep 28 17:26:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9241
9242 * gdb.t24 (demangle.exp): Constructors of templates have names like
9243 vector<int>::vector(int) not vector<int>::vector<int>(int). See
9244 section 14.6 of the ARM.
9245
9246 * gdb.t24 (demangle.exp): Remove a whole bunch of tests of the form
9247 "_vt$MoveCmd"; these differ only in name from "_vt$foo", so they
9248 accomplish little and slow down the testsuite.
9249
9250 * gdb.t24 (demangle.exp): Accept "XXX const" as well as "const XXX".
9251 Accept spaces various places.
9252
9253Tue Sep 21 17:28:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9254
9255 * gdb.t07/watchpoint.exp: On sparc, clear xfail for calling function
9256 with watchpoint enabled.
9257
9258 * Makefile.in: Remove definition of CC and remove the second
9259 definition of CXX (the "CXX = gcc" one remains). These definitions
9260 were causing backquotes to be expanded within backquotes, which
9261 doesn't work.
9262
9263Sat Sep 18 09:43:21 1993 Jim Kingdon (kingdon@poseidon.cygnus.com)
9264
9265 * gdb.t17/callfuncs.exp: Add "return 0" to end.
9266
9267Fri Sep 17 04:41:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9268
9269 * gdb.stabs/ecoff.mt: Remove STABSCC hack.
9270 * gdb.stabs/weird.exp: Handle the case where weird.o is compiled
9271 by mips cc and contains no stabs entries.
9272
9273Thu Sep 16 17:22:12 1993 Rob Savoye (rob@darkstar.cygnus.com)
9274
9275 * config/vx-gdb.exp: Use fake device to load files rather than
9276 NFS.
9277 * lib/gdb.exp: New proc to do "file" command.
9278 * config/unix-gdb.exp: Use new "file" proc.
9279
9280Thu Sep 16 13:45:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
9281
9282 * config/mips-gdb.exp (gdb_load): Increase timeout to 2400.
9283 Rework board rebooting slightly.
9284 (gdb_exit): Don't exit from the remote shell; there isn't one.
9285 * gdb.stabs/weird.exp: If a program is being debugged already,
9286 kill it.
9287 * gdb.t04/setvar.exp: Stop and restart gdb.
9288 * gdb.t05/expr.exp: Likewise.
9289 * gdb.t07/watchpoint.exp: If target is mips-idt-*, stop and
9290 restart gdb and reload the program.
9291 * gdb.t08/opaque.exp: Likewise.
9292 * gdb.t12/scope.exp: Likewise.
9293 * gdb.t13/bitfields.exp: Likewise.
9294 * gdb.t15/funcargs.exp: Likewise.
9295 * gdb.t20/classes.exp: Likewise.
9296 * gdb.t03/ptype.exp: Increase timeout.
9297 * gdb.t16/printcmds.exp (test_print_string_constants,
9298 test_print_array_constants): Likewise.
9299 * gdb.t17/callfuncs.exp (do_function_calls): Likewise.
9300 * gdb.t20/classes.exp (do_tests): Likewise.
9301 * gdb.t22/virtfunc.exp (test_virtual_calls): Likewise.
9302
9303Wed Sep 15 14:24:36 1993 Ian Lance Taylor (ian@cygnus.com)
9304
9305 * gdb.stabs: Renamed *wierd* to *weird*.
9306
9307Wed Sep 15 10:36:50 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9308
9309 * gdb.t13/bitfields.exp: Test for bad output rather than waiting
9310 for timeout. Add "known gcc 2.4.5 bug" to failure message.
9311
9312Tue Sep 14 17:16:44 1993 Jim Kingdon (kingdon@cirdan.cygnus.com)
9313
9314 * gdb.stabs/wierd.exp (print_wierd_var): Test size, not type name.
9315 (do_tests): Remove xfail for whatis on one_var and two_var.
9316
9317Wed Sep 8 23:14:23 1993 Rob Savoye (rob@darkstar.cygnus.com)
9318
9319 * Makefile.in: Made cross building work better by adding
9320 {RUNTEST,CC}_FOR_TARGET and using TARGET_FLAGS_TO_PASS.
9321
9322Tue Sep 7 14:11:52 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9323
9324 * gdb.t15/{return.c,return.exp,Makefile.in}:
9325 New test, currently commented out.
9326
9327Tue Aug 31 16:51:29 1993 Rob Savoye (rob@darkstar.cygnus.com)
9328
9329 * config/udi-gdb.exp: gdb_exit now kills any isstip processes
9330 still running and removes the leftover named socket so GDb can do
9331 clean restarts.
9332
9333Mon Aug 30 17:55:16 1993 Rob Savoye (rob@darkstar.cygnus.com)
9334
9335 * gdb.t01/run.exp: Add match for VxWorks, cause I/O comes out the
9336 console, not GDB.
9337 * config/mt-*: Added default values for RUNTEST and RUNTESTFLAGS so
9338 cross testing works better with "make check"
9339 * config/unix-gdb: Use default procedures for exit and version.
9340 * config/vx-gdb.exp: Cleaned up and massaged back to working order
9341 with the newest VxWorks.
9342
9343Thu Aug 26 17:50:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9344
9345 * gdb.t20/classes.exp: For "ptype class Base1", continue to accept
9346 old form.
9347
9348 * gdb.t22/virtfunc.exp: If it prints `struct' (not `class') with a
9349 name (e.g. devo gdb with gcc 2.4.5), it is still a pass.
9350
9351 * gdb.t10/crossload.exp: Skip whole file (for now, until we fix it).
9352
9353 * config/unix-gdb.exp: Remove this version of gdb_exit
9354 * lib/gdb.exp: Merge in all the crap from config/unix-gdb.exp.
9355 Rob says he'll look at it when he gets back to testing boards.
9356
9357Thu Aug 26 07:20:00 1993 Fred Fish (fnf@deneb.cygnus.com)
9358
9359 * gdb.t22/virtfunc.exp: Accept missing struct/class names as
9360 an expected fail for certain ptype commands.
9361
9362 * gdb.t20/classes.exp: Update expected results of "ptype class
9363 Base1" to account for the constructor that now appears in the type.
9364
9365Wed Aug 25 16:48:05 1993 Fred Fish (fnf@deneb.cygnus.com)
9366
9367 * configure.in (configdirs): Restore gdb.t04, which mysteriously
9368 disappeared from list.
9369 * config/{udi-gdb.exp, gdb-unix.exp}: Replace calls to obsolete
9370 "alldone" proc with call to cleanup and exit.
9371 * {gdb.t01/run.exp, gdb.t01/term.exp, gdb.t02/whatis.exp,
9372 gdb.t03/ptype.exp, gdb.t04/setvar.exp, gdb.t05/expr.exp,
9373 gdb.t06/break.exp, gdb.t07/watchpoint.exp, gdb.t08/opaque.exp,
9374 gdb.t09/corefile.exp, gdb.t10/crossload.exp, gdb.t11/list.exp,
9375 gdb.t12/scope.exp, gdb.t13/bitfields.exp}: Replace calls to
9376 "alldone" proc with simple returns that suppress remaining
9377 tests. The alldone proc went away many months ago.
9378
9379Tue Aug 24 11:04:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9380
9381 * gdb.t10/nodebug.exp: Comment out "maint print msymbols" tests.
9382
9383 * gdb.t12/gdbme0.c (localscopes, autovars): Modify to foil gcc -O.
9384
9385Thu Aug 19 22:08:41 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9386
9387 * gdb.t15/funcargs.exp: Allow arguments for main in backtraces
9388 as vax gdb will display them.
9389
9390Thu Aug 19 18:18:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9391
9392 * gdb.t20/gdbme.cc: Do some calculation with v.x, to confound
9393 optimizers.
9394
9395 * scope.exp: Change "bad value for localval" messages so each one
9396 is unique.
9397
9398 * config/unix-gdb.exp (gdb_exit): Move info on this vs.
9399 lib/gdb.exp (gdb_exit) from ChangeLog to comments.
9400
9401 * gdb.t06/signals.exp: Skip the whole file with xfail for delta68.
9402
9403Tue Aug 17 00:05:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9404
9405 * gdb.t00/teststrategy.exp: Deal with it if cmdsize = 1 line
9406 doesn't exist (due to optimization).
9407
9408Mon Aug 16 21:05:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9409
9410 * gdb.stabs/wierd.exp: Deal with it if echo of "file" command
9411 contains \r because the filename is long.
9412
9413 * gdb.t06/signals.exp: Revise comments regarding "'next' behaved as
9414 'continue'" bug, and change xfail back to i*86-univel-sysv4*.
9415
9416Mon Aug 16 03:05:17 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9417
9418 * gdb.t00/help.exp, gdb.t02/whatis.exp, gdb.t07/watchpoint.exp,
9419 gdb.t08/opaque.exp, gdb.t17/interrupt.exp: Update for vax running
9420 Ultrix.
9421 * gdb.t02/whatis.exp: Use procedure to setup xfails on long versus
9422 int tests.
9423 * gdb.t08/opaque.exp: Use procedure to setup xfails for opaque tests.
9424
9425Thu Aug 12 15:24:28 1993 Fred Fish (fnf@deneb.cygnus.com)
9426
9427 * Makefile.in (distclean): Remove *.log *.plog *.sum *.psum site.*.
9428
9429 * gdb.t17/interrupt.exp: Fix 'missing Continuing' case so pattern
beb998c6 9430 to match does not match the passing case but still matches the
c906108c
SS
9431 failing case.
9432
9433Thu Aug 12 16:58:59 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9434
9435 * Makefile.in (distclean): Remove *.plog *.sum *.psum site.*.
9436
9437Wed Aug 11 19:47:27 1993 John Gilmore (gnu@rtl.cygnus.com)
9438
9439 * lib/gdb.exp (gdb_exit): Move the best version of gdb_exit
9440 to here. Fix 'Quit anyway.*?' bug (? is a regexp metacharacter).
9441 * config/{mips-gdb.exp, nind-gdb.exp, udi-gdb.exp, vx-gdb.exp}:
9442 Remove various versions of gdb_exit.
9443 * config/vx-gdb.exp: Remove quit_vxgdb, change a caller to call
9444 gdb_exit.
9445 * config/unix-gdb.exp: gdb_exit remains here, and should override
9446 the generic version, since it's doing a lot of wierd stuff that
9447 the other versions aren't. FIXME, fold it in, or abandon this
9448 version.
9449
9450Wed Aug 11 12:09:32 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9451
9452 * gdb.t24/demangle.exp: Add tests for PR 3220.
9453
9454Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9455
9456 * gdb.t24/demangle.exp: Add lucid test for __vtbl__3foo__vt_cc_main_.
9457
9458Tue Aug 10 15:45:25 1993 Fred Fish (fnf@deneb.cygnus.com)
9459
9460 * gdb.t07/watchpoint.exp: Clear xfail with "i*86-*-*", not just
9461 "i386-*-*". Works for i486 as well.
9462
9463 * gdb.t06/signals.exp: Rework code that recognizes known SVR4
9464 bug, and expand domain of xfail to all SVR4 systems, since the
9465 actual problem is likely to be in generic SVR4 /proc support.
9466
9467Tue Aug 10 15:49:35 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9468
9469 * config/unix-gdb.exp (gdb_load): Add eof to expect statement.
9470
9471Tue Aug 10 09:56:56 1993 Fred Fish (fnf@deneb.cygnus.com)
9472
9473 * gdb.t17/interrupt.exp: Set up xfail for *-*-sysv4*, in chain of
9474 xfails for other systems. Match a missing 'Continuing.' as an
9475 explicit fail for i*86-*-sysv4*, so it doesn't hose other tests.
9476
9477 * gdb.t20 {classes.exp, inherit.exp, misc.exp}, gdb.t21/cplusfuncs.exp,
9478 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t31/chillvars.exp:
9479 Only issue warning for missing executables if -all option is used.
9480
9481 * gdb.stabs/wierd.exp: Only issue warning for missing wierd.o
9482 file if -all option is used. It's like an unpredictable XFAIL.
9483
9484Mon Aug 9 10:13:34 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9485
9486 * gdb.t15/funcargs.exp: Add comments that hppa xfails are only
9487 for dynamically linked binaries.
9488
9489 * gdb.t10/crossload.exp: Add `set gnutarget auto' at end of tests.
9490
9491Sun Aug 8 14:21:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9492
9493 * gdb.t20/inherit.exp: Change message for "print tagless struct"
9494 to state that this is a known bug in old versions of g++.
9495
9496Fri Aug 6 21:40:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9497
9498 * gdb.t17/interrupt.exp: Add xfail for 386 bsd. Accept echoed newline
9499 while waiting for `Continuing'.
9500
9501Fri Aug 6 13:38:08 1993 Fred Fish (fnf@deneb.cygnus.com)
9502
9503 * gdb.t10/nodebug.exp: Expect to find local/global minimal symbols
9504 in text, data, and bss.
9505 * gdb.t10/nodebug.c: Add local and global test variables for
9506 initialized and uninitialized data.
9507
9508Thu Aug 5 12:18:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9509
9510 * config/unix-gdb.exp (gdb_exit): Add "wait".
9511
9512Thu Aug 5 18:14:06 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9513
9514 * gdb.t06/signals.exp: xfail the continue from the handler for all
9515 targets.
9516
9517 * gdb.t07/watchpoint.exp: clear_xfail for i386 when calling a
9518 function with watchpoints enabled, the i386 call dummy starts with
9519 a call.
9520
9521 * gdb.t00/teststrategy.exp, gdb.t09/Makefile.in: Handle the way
9522 386 bsd names its corefiles.
9523
9524Wed Aug 4 08:53:41 1993 Fred Fish (fnf@cygnus.com)
9525
9526 * gdb.t10/Makefile.in (nodebug.o): Don't use "-c -o", many
9527 compilers don't grok it.
9528 * gdb.t16/gdbme.c (ctable1): Initialize unsigned char array
9529 with small octal ints rather than character constants, which
9530 are signed and might not fit if first promoted to int.
9531
9532Tue Aug 3 18:28:25 1993 Fred Fish (fnf@cygnus.com)
9533
9534 * gdb.t09/Makefile.in (clean): Remove corefile.
9535
9536Mon Aug 2 12:47:44 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9537
9538 * gdb.t07/watchpoint.exp: Add missing `$prompt $'.
9539
9540Mon Aug 2 12:30:14 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9541 and Jim Kingdon (kingdon@cygnus.com)
9542
9543 * gdb.t06/signals.exp: Change xfail from "*-*-*" to be only for
9544 NO_SINGLE_STEP machines. Fix comment about its cause. Uncomment
9545 the `continue' test right after it (also xfailed if NO_SINGLE_STEP).
9546
9547Fri Jul 30 19:46:55 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9548
9549 * gdb.t17/interrupt.exp: Add xfail for hppa.
9550
9551Fri Jul 30 12:54:11 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9552
9553 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t08/opaque.exp,
9554 gdb.t09/corefile.exp: Cleanup xfails for fixed mips bugs.
9555 * gdb.t13/bitfields.exp, gdbme.c: Examine a variable in the inferior
9556 to determine signed-ness of bitfields and use the result to setup
9557 the xfail.
9558 * gdb.t15/gdbme.c: Add comments to the two indirect call0a lines.
9559 * gdb.t15/funcargs.exp: Use them to step until the second indirect
9560 call line is reached if necessary.
9561
9562Thu Jul 29 20:33:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9563
9564 * gdb.stabs/wierd.exp: New test, for nameless baseclasses.
9565
9566Mon Jul 26 00:15:02 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9567
9568 * gdb.t06/break.exp: Also test `clear' command.
9569
9570Wed Jul 21 18:03:38 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9571
9572 * gdb.t00/teststrategy.exp: Remove extra quote.
9573
9574 * gdb.t07/watchpoint.exp: Change xfail for calling function with
9575 watchpoint enabled to be for all non-68k machines.
9576
9577 * gdb.t15/{mips_pro.{c,exp},Makefile.in}: New test.
9578
9579Mon Jul 19 23:59:26 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9580
9581 * gdb.stabs/configure.in: If configured -with-gnu-as for mips-*-*
9582 targets use aout.mt instead of ecoff.mt as gas understands
9583 standard aout format.
9584
9585Mon Jul 19 18:14:06 1993 Jim Kingdon (kingdon@deneb.cygnus.com)
9586
9587 * lib/gdb.exp (runto): Don't insist that function we are running to
9588 was compiled with -g.
9589
9590 * gdb.t10/{nodebug.{c,exp},Makefile.in}: New test.
9591
9592 * gdb.t17/interrupt.exp: Before sending ^C, give the inferior time
9593 to get back into the read system call.
9594 Accept leading newline in case where we woke it up.
9595
9596Sun Jul 18 08:40:45 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9597
9598 * gdb.stabs/{ecoff.mt,wierd-ecoff.S,wierd-ecoff.sed}: New files
9599 to make the stabs test work on ecoff systems using gcc and -with-stabs.
9600 * gdb.stabs/{Makefile.in,configure.in,aout.mt,xcoff.mt}: Modify to
9601 enable ecoff configuration.
9602
9603Thu Jul 15 11:54:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9604
9605 * gdb.t15/funcargs.exp (localvars_in_indirect_call): New test.
9606
9607Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9608
9609 * gdb.t16/printcmds.exp: Add another printf test.
9610
9611Wed Jul 14 15:37:13 1993 Ian Lance Taylor (ian@cygnus.com)
9612
9613 * configure.in: If configured -with-stabs on any target, add
9614 stabsdirs to configdirs.
9615
9616Wed Jul 14 09:36:42 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9617
9618 * gdb.t16/printcmds.exp: Change printf "%f\n" to printf "%f is
9619 fun" so pattern does not match the command itself.
9620
9621Mon Jul 12 11:22:06 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9622
9623 * gdb.t15/{gdbme.c,funcargs.exp}: Test for alloca-influenced frames.
9624
9625Sun Jul 11 12:03:24 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9626
9627 * gdb.t17/interrupt.exp: Test for more things.
9628
9629Fri Jul 9 14:11:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9630
9631 * gdb.t07/watchpoint.exp: In until test, deal with the way the DEC
9632 compiler arranges the code and line numbers.
9633
9634 * gdb.t17/interrupt.exp: Don't send \n after ^C.
9635
9636Fri Jul 9 09:47:02 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9637
9638 * gdb.t00/help.exp: Increase expect input buffer size.
9639
9640Thu Jul 8 14:26:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9641
9642 * gdb.t06/signals.exp: Remove sparc xfail; bug fixed.
9643
9644 * gdb.t07/watchpoint.exp: Add xfail for hppa.
9645
9646 * gdb.t17/{gdbme.c,callfuncs.exp}: Add sum10 function, to test pa bug.
9647
9648 * gdb.t06/signals.exp: At "p func1 ()" test, check for breakpoint
9649 [0-9]*, not just [0-9].
9650
9651Wed Jul 7 17:52:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9652
9653 * gdb.t20/{gdbme.cc,classes.exp}: Add xfail for gdb/2972.
9654
9655 * gdb.t2*: Set CXXFLAGS, not CFLAGS, since that's what we use.
9656
9657Tue Jul 6 13:54:49 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9658
9659 * gdb.t00/help.exp: Replace most of docstring for "continue" with .*.
9660
9661Mon Jul 5 22:03:45 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9662
9663 * gdb.t06/signals.c: Add xfails for sun3.
9664
9665 * gdb.t07/watchpoint.exp: Comment out xfail for fixed bug 1836.
9666
9667 * gdb.t07/{gdbme.c,watchpoint.exp}: Add test for 2597. Also add
9668 test_stepping tests.
9669
9670Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9671
9672 * gdb.t{06,17}/Makefile.in (clean): Remove all executables.
9673
9674 * gdb.t17/{interrupt.{c,exp},Makefile.in}: New test for solaris bug.
9675
9676 * gdb.t06/twice.exp, Makefile.in: Just use an include of twice.c
9677 rather than actually putting it through cpp twice.
9678
9679 * gdb.t06/signals.exp: Add xfails for unixware and rs6000.
9680
9681Fri Jul 2 10:48:03 1993 Ian Lance Taylor (ian@cygnus.com)
9682
9683 * config/mips-gdb.exp (gdb_exit): Removed close statement which is
9684 no longer needed.
9685
9686Fri Jul 2 09:08:10 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9687
9688 * gdb.t06/signals.exp: Add test for sparc bug with do_save_insn.
9689
9690 * gdb.t20/{classes,inherit}.exp: If a class which doesn't use any
9691 C++ features prints as "struct", make it a pass, not an xfail.
9692
9693Thu Jul 1 22:03:33 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9694
9695 * gdb.t22/virtfunc.exp: Remove a bunch of xfails.
9696 Don't require VA to print as "class" rather than "struct".
9697
9698Thu Jul 1 18:27:40 1993 Jim Kingdon (kingdon@cygnus.com)
9699
9700 * gdb.t06/twice.exp: Don't care about the file name GDB prints.
9701
9702Wed Jun 30 18:01:00 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9703
9704 * gdb.t{02,13}/comp-info.c, gdb.t06/twice.exp: Add "return 0" to end.
9705
9706Tue Jun 29 13:15:42 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9707
9708 * gdb.t12/scope.exp: Remove xfail for parameter printing in wrong
9709 order.
9710
9711Tue Jun 29 09:22:29 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9712
9713 * gdb.t16/printcmds.exp: Add printf tests.
9714
9715 * gdb.t06/{twice.{c,exp},Makefile.in}: New test.
9716
9717 * gdb.t10/Makefile.in (clean): Remove $(EXECUTABLES) too.
9718
9719Mon Jun 28 11:25:59 1993 Fred Fish (fnf@cygnus.com)
9720
9721 * gdb.t20/classes.exp: Add clear_xfail's before printing summary
9722 pass counts, to counteract any existing or future setup_xfails.
9723
9724Mon Jun 28 09:15:17 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9725
9726 * gdb.stabs/wierd{.def,-aout.S,-xcoff.S}: Use new macros
9727 {BEGIN,END}_COMMON for common block instead of STAB.
9728 * gdb.stabs/wierd.exp: Add xfail for rs6000.
9729
9730 * gdb.stabs/wierd.def: Make value of N_GSYM's 0.
9731 intp_var should be N_GSYM not N_LSYM.
9732 wierd-aout.S: Use a label for the value of the N_SO.
9733 wierd.def: Remove all backslashes.
9734 wierd-{aout,xcoff}.S: Put a few tests with backslashes here.
9735
9736Mon Jun 28 07:21:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9737
9738 * gdb.t20/gdbme.cc (main): Move variable initialization for AIX to
9739 get the expected next to inheritance3.
9740
9741Sun Jun 27 12:29:53 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
9742
9743 * gdb.t00/teststrategy.exp: Remove expected failure for mips-*-*
9744 now that gcc-2.4 gets it right.
9745
9746Fri Jun 25 12:00:46 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9747
9748 * gdb.stabs/wierd{.def,.exp,-aout.S,-xcoff.S}: Add common block test.
9749
9750 * gdb.t{02,13}/{Makefile.in,gdbme.c,comp-info.c}: New way of
9751 generating comp-info.exp which works for cross-compilation.
9752
9753Thu Jun 24 16:55:05 1993 Fred Fish (fnf@cygnus.com)
9754
9755 * gdb.t11/list.exp: For SVR4 xfails, match "*-*-sysv4*", not
9756 "*-*-sysv4.*".
9757
9758Tue Jun 22 21:17:26 1993 Fred Fish (fnf@cygnus.com)
9759
9760 * gdb.t01/run.exp: Start with a fresh gdb.
9761 * gdb.t11/list.exp: For SVR4 xfails, match on all versions of
9762 SVR4.x.
9763
9764Mon Jun 21 15:23:22 1993 Fred Fish (fnf@cygnus.com)
9765
9766 * {gdb.t01, gdb.t02, gdb.t03, gdb.t04, gdb.t05, gdb.t06, gdb.t07,
9767 gdb.t08, gdb.t09, gdb.t10, gdb.t11, gdb.t12, gdb.t13, gdb.t15,
9768 gdb.t16, gdb.t17, gdb.t20, gdb.t21, gdb.t22, gdb.t23, gdb.t30}/
9769 Makefile.in (distclean, realclean): Remove gdbme.c from list of
9770 things to remove.
9771
9772Sat Jun 19 07:49:10 1993 Fred Fish (fnf@cygnus.com)
9773
9774 * gdb.t24/demangle.exp (test_gnu_style_demangling): Add some new
9775 test cases from bug reports.
9776
9777Fri Jun 18 10:38:49 1993 Fred Fish (fnf@cygnus.com)
9778
9779 * gdb.t06/break.exp: Add xfails for sparc-sun-solaris2.*.
9780 * gdb.t12/scope.exp: Add clear_xfails at appropriate places to
9781 avoid spurious xfails.
9782 * gdb.t20/classes.exp: Add xfails for longstanding C++ problems.
9783 * gdb.t21/cplusfuncs.exp: Add xfails for sparc-sun-solaris2.*.
9784 * gdb.t22/virtfunc.exp: Add xfails for longstanding C++ problems.
9785
9786Wed Jun 16 10:11:57 1993 Fred Fish (fnf@cygnus.com)
9787
9788 * gdb.t00/teststrategy.exp: Rework to provide more useful
9789 description of each test, fix problem with systems that define
9790 ALIGN_STACK_ON_STARTUP code, other misc cleanups.
9791 * gdb.t06/break.exp (test_next_with_recursion): Fix expected
9792 results for "next over recursive call" so timeouts aren't taken
9793 by error.
9794
9795Mon Jun 14 09:09:04 1993 Jim Kingdon (kingdon@cygnus.com)
9796
9797 * gdb.t12/scope.exp: Test printing of variables before run.
9798
9799 * gdb.t12/{gdbme0.c,scope.exp}: Test for bug where parameters are
9800 printed in wrong order due to sorting.
9801
9802Sat Jun 12 15:03:58 1993 Fred Fish (fnf@cygnus.com)
9803
9804 * gdb.t00/teststrategy.exp: Fix expected results for printing
9805 user entered string constant. Is array of char, prints with no
9806 address.
9807
9808 * gdb.t00/{default.exp, help.exp}: Account for changes to radix
9809 commands.
9810 * gdb.t16/gdbme.c: Add and use struct containing arrays of char.
9811 * gdb.t16/printcmds.exp: Fix all lines that match "unsigned char *".
9812 * gdb.t16/printcmds.exp (test_print_char_arrays): Test printing
9813 of struct of char arrays.
9814 * gdb.t00/radix.exp: New tests for radix commands.
9815
9816Fri Jun 11 13:12:27 1993 Jim Kingdon (kingdon@cygnus.com)
9817
9818 * gdb.t16/printcmd.exp: Print a variable before running program
9819 (with xfail for AIX).
9820
9821Thu Jun 10 11:04:04 1993 Jim Kingdon (kingdon@cygnus.com)
9822
9823 * gdb.t06/{signals.exp,signals.c,Makefile.in}: New test.
9824
9825 * gdb.t16/printcmd.exp: Don't print variables before running program.
9826
9827 * gdb.t06/break.exp: Don't require envp argument to main.
9828
9829 * gdb.t0{2,3,4,5}/gdbme.c [_AIX]: Use signed keyword.
9830
9831 * gdb.t02/whatis.exp, gdb.t11/list.exp:
9832 Add xfails for rs6000.
9833
9834 * gdb.t02/whatis.exp: Change other tests not to re-test something
9835 we already tested.
9836
9837 * gdb.t{03,15,16}/gdbme.c: Reference all variables and make sure
9838 each type used has a variable of that type.
9839
9840Tue Jun 8 16:45:20 1993 Jim Kingdon (kingdon@rtl.cygnus.com)
9841
9842 * gdb.t20/{inherit.exp,gdbme.cc}: Test tagless structure.
9843
9844Fri Jun 4 11:07:19 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9845
9846 * configure.in: change srctrigger to be a file, not a directory
9847
9848Fri Jun 4 08:23:57 1993 Ian Lance Taylor (ian@cygnus.com)
9849
9850 * configure.in (mips-idt-ecoff*): Added trailing '*'.
9851
9852 * gdb.t11/list.exp: Fixed a couple of typos.
9853
9854Tue Jun 1 21:28:06 1993 Fred Fish (fnf@cygnus.com)
9855
9856 * gdb.t00 (teststrategy.exp): Remove notice about PR 1823. Bug
9857 is fixed and PR is closed.
9858 * gdb.t16 (gdbme.c): Add simple test string variable.
9859 * gdb.t16 (printcmds.exp): Add tests with simple test string
9860 variable, primarily for boundaries on "set print elements".
9861
9862Mon May 31 11:36:08 1993 Jim Kingdon (kingdon@cygnus.com)
9863
9864 * gdb.stabs/wierd.exp: Remove xfail for printing big integer.
9865 Make leading 0's optional and don't expect a tab in the middle
9866 of the number.
9867
9868 * gdb.t00/teststrategy.exp: Remove xgdb before trying the copy.
9869
9870 * gdb.stabs/wierd.def: Type attributes must be preceded by number=.
9871 * gdb.stabs/wierd.exp: Remove xfails for type attributes. Also
9872 don't end command passed to gdb_test with newline.
9873
9874 * gdb.t13/{Makefile.in,gdbme.c,bitfields.exp}: If we #defined the
9875 signed keyword away, don't expect signed bitfields to be signed.
9876
9877 * gdb.t13/bitfields.exp (bitfield containment): Accept the fields
9878 printing with only as many 1's as are in the field as well as printing
9879 with 32 1's (see comment).
9880
9881Sat May 29 17:57:01 1993 Fred Fish (fnf@cygnus.com)
9882
9883 * gdb.t00/default.exp: Start with a fresh gdb.
9884 * configure.in (configdirs): Remove gdb.t31 until the chill
9885 compiler works again. It no longer is able to find chillrt0
9886 since it isn't in libchill.a anymore.
9887 * gdb.stabs/wierd.exp: Rewrite to properly handling a missing
9888 wierd.o, make more modular.
9889 * gdb.stabs/wierd.def (bad_neg0type, bad_neg0const): Remove
9890 spurious newlines that caused problems.
9891
9892Wed May 26 09:57:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9893
9894 * Move test with enums and partial symbols from gdb.t03/ptype.exp
9895 to gdb.stabs/wierd.exp since GCC has worked around the bug.
9896 gdb.stabs/wierd.{exp,def}: Many new tests.
9897
9898 * gdb.t00/default.exp: update info line for new message.
9899
9900 * gdb.t02/{whatis.exp,gdbme.c}:
9901 Test that "char *" doesn't print as "caddr_t".
9902
9903Tue May 25 13:28:27 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9904
9905 * gdb.t00/help.exp: Use .* in place of some help messages which
9906 just changed.
9907 gdb.t00/default.exp: Update "info frame" test for new message.
9908 * gdb.stabs/wierd.exp: Check for eof, directly or via gdb_test.
9909 Remove some xfails
9910
9911Mon May 24 00:24:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9912
9913 * gdb.t03/{gdbme.c,ptype.exp}:
9914 Add tests for typedef'd struct and union without tags.
9915 Also check "whatis" on a variable of a typedef'd enum without a tag.
9916
9917 * gdb.t00/teststrategy.exp: For p "foo", remove sun4 XFAIL (see
9918 PRMS 1823; the bug still exists but isn't reproduced by this test
9919 anymore), and remove rs6000 XFAIL (the bug is fixed).
9920
9921 * gdb.t03/ptype.exp: Comment out a lot of tests which are basically
9922 duplicated from whatis.exp. For those that are left, accept
9923 "long", "long int", or "int" for long variables (whatis.exp already
9924 has an XFAIL for "int", so no need to fail it here).
9925
9926 * gdb.t02/whatis.exp, gdb.t10/crossload.exp:
9927 Deal with GCC's names for types now that GDB uses the compiler's names.
9928
9929 * gdb.t02/{Makefile.in,gdbme.c,whatis.exp}: If not GCC, do some
9930 setup_xfail's for sunos4. If we #defined the signed keyword away,
9931 don't expect GDB to know that char it is signed.
9932
9933 * gdb.t00/teststrategy.exp: Update for symbolic signal names.
9934
9935Sun May 23 08:44:55 1993 Fred Fish (fnf@cygnus.com)
9936
9937 * configure.in (configdirs): Add gdb.t24 for C++ tests that
9938 should work on any system, regardless of debugging format.
9939 * gdb.t21/demangle.exp: Move to gdb.t24.
9940 * gdb.t24/demangle.exp: Move from gdb.t21.
9941 * gdb.t24/{Makefile.in, configure.in}: New files.
9942
9943Thu May 20 19:39:03 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9944
9945 * configure.in: Do gdb.stabs and C++ tests only for stabs.
9946 * gdb.stabs: New directory.
9947
9948Tue May 18 21:12:09 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
9949
9950 * config/{mips,nind,udi,unix,vx}-gdb.exp: Look for "Quit anyway.*?"
9951 not just "Quit anyway?".
9952
9953Tue May 18 17:13:20 1993 Fred Fish (fnf@cygnus.com)
9954
9955 * gdb.t21/demangle.exp: Add a couple of new patterns. Ensure
9956 that all setup_xfails are immediately followed by clear_xfails.
9957
9958Tue May 11 09:10:47 1993 Fred Fish (fnf@cygnus.com)
9959
9960 * config/unix-gdb.exp, gdb.t00/echo.exp, gdb.t00/help.exp,
9961 gdb.t00/teststrategy.exp, gdb.t00/gdbvars.exp, gdb.t01/run.exp,
9962 gdb.t01/term.exp, gdb.t02/whatis.exp, gdb.t03/ptype.exp,
9963 gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t06/break.exp,
9964 gdb.t07/watchpoint.exp, gdb.t08/opaque.exp, gdb.t09/corefile.exp,
9965 gdb.t10/crossload.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
9966 gdb.t13/bitfields.exp, gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
9967 gdb.t17/callfuncs.exp, gdb.t20/misc.exp, gdb.t20/inherit.exp,
9968 gdb.t20/classes.exp, gdb.t21/demangle.exp, gdb.t21/cplusfuncs.exp,
9969 gdb.t22/virtfunc.exp, gdb.t23/templates.exp, gdb.t30/chexp.exp,
9970 gdb.t31/chillvars.exp, lib/gdb.exp:
9971 Change place to report bugs from bug-dejagnu@prep.ai.mit.edu to
9972 bug-gdb@prep.ai.mit.edu.
9973
9974Fri May 7 09:15:35 1993 Fred Fish (fnf@cygnus.com)
9975
9976 * gdb.t17/callfuncs.exp (do_function_calls): Call t_double_values
9977 with 0.0, not integer 0.
9978
9979Fri Apr 30 13:17:24 1993 Jim Kingdon (kingdon@cygnus.com)
9980
9981 * gdb.t06/break.exp: Update for "Kill the program" message change.
9982
9983Fri Apr 30 09:42:57 1993 Fred Fish (fnf@cygnus.com)
9984
9985 * Makefile.in (GDBFLAGS): Set to -nx.
9986 * Makefile.in (site.exp): Use GDBFLAGS.
9987
9988Wed Apr 28 13:19:07 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9989
9990 * */Makefile.in (CFLAGS): add CFLAGS = -g to all subdirectory
9991 Makefiles.
9992 (check): depend on just-check.
9993 (just-check): added so that tests can be run without a noop
9994 build pass.
9995
9996Fri Apr 23 18:13:28 1993 K. Richard Pixley (rich@rtl.cygnus.com)
9997
9998 Switch to using configure's configdirs.
9999 * Makefile.in (Makefile): add configure.in dependency.
10000 (SUBDIRS): removed redundant assignment.
10001 * configure.in: switch subdirs assignment to configdirs.
10002 * gdb.t*/configure.in: new files.
10003
10004Thu Apr 22 08:27:53 1993 Ian Lance Taylor (ian@cygnus.com)
10005
10006 * gdb.t07/watchpoint.exp: Removed a29k expected failure which now
10007 works.
10008
10009Tue Apr 20 13:38:40 1993 Fred Fish (fnf@cygnus.com)
10010
10011 * gdb.{t20,t21,t22,t23}/Makefile.in: Use $(srcdir) to avoid $<
10012 in explicit rules. Apparently this is not supported by some makes.
10013
10014Mon Apr 19 01:54:53 1993 John Gilmore (gnu@cygnus.com)
10015
10016 * gdb.t31/Makefile.in: Use $(srcdir) when avoiding $<, sigh.
10017
10018Fri Apr 16 09:33:46 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10019
10020 * config/unix-gdb.exp: Add back missing return 0 which mysteriously
10021 disappeared.
10022
10023Thu Apr 15 02:28:24 1993 John Gilmore (gnu@cacophony.cygnus.com)
10024
10025 * gdb.t31/Makefile.in: Avoid $< in explicit rule.
10026
10027Wed Apr 14 16:38:47 1993 Fred Fish (fnf@cygnus.com)
10028
10029 * gdb.t07/watchpoint.exp: Remove setup_xfail for i486
10030 watchpoint problem that is now fixed.
10031 * gdb.t30/chexp.exp: Remove setup_xfail for printing
10032 uninitialized convenience variables.
10033 * gdb.t31/chillvars.exp: Fix expected patterns for printing
10034 structures.
10035
10036Wed Apr 14 12:55:58 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10037
10038 * gdb.t00/help.exp: Compensate for bug in mips-*-ultrix* OS
10039 which causes expect to get out of sync with gdb on long output
10040 from help set.
10041 * gdb.t09/corefile.exp: Make expected pattern for core file
10042 failing signal and frame output format less sun specific.
10043
10044Tue Apr 13 23:18:07 1993 Per Bothner (bothner@cygnus.com)
10045
10046 * gdb.t31/chillvars.exp: Add and remove initial dummy
10047 breakpoint, so that symbol table is forced in.
10048 (Needed at least on Sunos4, though it seems not SVR4.)
10049 * gdb.t31/chillvars.exp: Update for changed output format.
10050
10051Sun Apr 11 17:21:45 1993 Rob Savoye (rob at darkstar.cygnus.com)
10052
10053 * config/unix-gdb.exp: Gracefully exits if $GDB is a bogus path.
10054
10055Wed Apr 7 21:28:21 1993 Rob Savoye (rob@cygnus.com)
10056
10057 * Makefile.in: Added --srcdir when invoking runtest, removed the
10058 need for a local config file. (optional now)
10059
10060Wed Apr 7 14:13:41 1993 Fred Fish (fnf@cygnus.com)
10061
10062 * gdb.t21/demangle.exp: Only count real fails (not xfails) for
10063 failure count used to force early termination. Add some more
10064 expected failures for gnu style demangling.
10065
10066Thu Apr 1 09:50:30 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10067
10068 * Makefile.in (CXXFLAGS): Remove -O. It caused the debug info for the
10069 pmi variable from gdb.t20/gdbme to get optimized away.
10070 * gdb.t00/teststrategy.exp: Added expected failure for mips-*-*.
10071 Check for written corefile upon timeout _and_ eof.
10072
10073Tue Mar 30 09:58:16 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10074
10075 * config/unix-gdb.exp: Add missing return 0.
10076
10077Tue Mar 30 08:34:25 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
10078
10079 * gdb.t16/printcmds.exp: Remove misplaced xfail that caused an early
10080 test termination.
10081
10082Mon Mar 29 17:37:25 1993 Fred Fish (fnf@cygnus.com)
10083
10084 * configure.in (subdirs): Put back gdb.t17 which mysteriously
10085 disappeared.
10086
10087Thu Mar 25 21:05:16 1993 Fred Fish (fnf@cygnus.com)
10088
10089 * gdb.t10/crossload.exp: Disable the i860-elf test until such
10090 time as i860 support works.
10091
beb998c6 10092 * gdb.t15/funcargs.exp: Fix expected outputs to include
c906108c
SS
10093 "backtrace 100\r" rather than just "backtrace\r", to match last
10094 change.
10095
10096Thu Mar 25 12:14:28 1993 Ian Lance Taylor (ian@cygnus.com)
10097
10098 * config/udi-gdb.exp (gdb_exit): Remove close command.
10099 (gdb_target_udi): New procedure to set the UDI target.
10100 (gdb_start): Don't remove *_soc files. Use gdb_target_udi.
10101 * gdb.t00/default.exp: Added expected failures for a29k-*-udi.
10102 Added waits for prompts after several question responses. Added
10103 some more responses used by a29k-amd-udi-gdb.
10104 * gdb.t01/run.exp, gdb.t06/break.exp: Added a29k-*-udi support:
10105 pass different arguments, restart UDI connection after program
10106 completion.
10107 * gdb.t02/whatis.exp, gdb.t03/ptype.exp, gdb.t07/watchpoint.exp,
10108 gdb.t08/opaque.exp, gdb.t11/list.exp, gdb.t12/scope.exp,
10109 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp, gdb.t20/misc.exp,
10110 gdb.t21/cplusfuncs.exp: Added expected failures for a29k-*-*.
10111 * gdb.t04/setvar.exp, gdb.t05/expr.exp, gdb.t07/watchpoint.exp,
10112 gdb.t08/opaque.exp, gdb.t12/scope.exp, gdb.t13/bitfields.exp,
10113 gdb.t15/funcargs.exp, gdb.t16/printcmds.exp,
10114 gdb.t17/callfuncs.exp, gdb.t20/classes.exp, gdb.t20/inherit.exp,
10115 gdb.t20/misc.exp, gdb.t22/virtfuncs.exp: Restart UDI connection
10116 after program completion.
10117 * gdb.t10/crossload.exp: Does not work for a29k-*-*, since BFD is
10118 compiled with a SELECT_VECS setting.
10119 * gdb.t15/funcargs.exp: Use argument to backtrace to prevent
10120 infinite recursion.
10121
10122 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t22/virtfuncs.exp:
10123 Added checks for COFF results, and made them expected failures for
10124 all targets. It would be better to make them expected failures
10125 for COFF targets only.
10126
10127Wed Mar 24 14:43:38 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
10128
10129 * Makefile.in: add null dvi target, don't bother to recurse
10130 through test directories for info and install-info; rename
10131 $(datadir) to be dejagnu instead of deja-gnu
10132
10133Wed Mar 24 09:48:03 1993 Fred Fish (fnf@cygnus.com)
10134
10135 * gdb.t31/gdbme.ch: Re-enable code that previously caused
10136 compiler to coredump.
10137 * gdb.t31/chillvars.exp: Re-enable tests that depend on that
10138 code.
10139
10140Tue Mar 23 08:53:42 1993 Fred Fish (fnf@cygnus.com)
10141
10142 * gdb.t31/gdbme.ch: Comment out code that causes chill compiler
10143 coredump.
10144 * gdb.t31/chillvars.exp: Comment out tests that depend on that
10145 code.
10146
10147Sun Mar 21 17:56:47 1993 Rob Savoye (rob at darkstar.cygnus.com)
10148
10149 * gdb.t03/ptype.exp: tests for return code from gdb_test.
10150 * gdb.t00/teststrategy.exp: Uses which proc rather than spawning
10151 which in a shell. Deletes xgdb when done.
10152 * config/unix-gdb.exp: Won't try to spawn $GDB unless it exists.
10153 Tests the return from the "set height" or "set width" commands.
10154 Added a few return codes where needed.
10155
10156Wed Mar 17 11:31:01 1993 Fred Fish (fnf@cygnus.com)
10157
10158 * Makefile.in (SUBDIRS): Add gdb.t17.
10159 * configure.in (subdirs): Add gdb.t17.
10160 * gdb.t17/{Makefile.in, callfuncs.exp, gdbme.c}: New test
10161 files to test gdb's calling of functions in the inferior with
10162 the correct arguments and gdb's ability to retrieve any
10163 result returned.
10164
10165Tue Mar 16 15:37:11 1993 Fred Fish (fnf@cygnus.com)
10166
10167 * config/unix-gdb.exp (gdb_exit): Remove close commands that
10168 may be called after gdb goes away. Previous versions of expect
10169 needed these to avoid file descriptor leaks, but they cause
10170 errors with the current revision of expect.
10171 * gdb.t00/gdbvars.exp: Use -re on expected output after
10172 setting sevenbit-strings.
10173 * gdb.t04/setvar.exp, gdb.t13/bitfields.exp: Make commands
10174 to set sevenbit-strings consistent across tests.
10175 gdb.t30/chexp.exp, gdb.t31/chillvars.exp: Make commands to
10176 set sevenbit-strings consistent across tests.
10177
10178Fri Mar 12 08:47:20 1993 Fred Fish (fnf@cygnus.com)
10179
10180 * gdb.t21/demangle.exp (proc demangle): Adjust quotes in an
10181 expected output to match current "expect" expectations.
10182
10183Wed Mar 10 18:01:49 1993 Fred Fish (fnf@cygnus.com)
10184
10185 * gdb.t00/default.exp: Change expected output for default "source"
10186 command, to match new gdb behavior which requires a filename to
10187 source.
10188
10189Tue Mar 9 11:00:56 1993 Fred Fish (fnf@cygnus.com)
10190
10191 * gdb.t07/watchpoint.exp (test_simple_watchpoint): Set up
10192 expected fail for i486-*-* that misses the marker2 function.
10193 * gdb.t10/crossload.exp (bfddefault): Allow successful
10194 recognition of a format to pass even if no symbols are found.
10195 Explicitly catch failures where the format is not recognized
10196 or is ambiguous, and add the reason to the fail message.
10197 * gdb.t10/crossload.exp (bfdexplicit): Catch failure where
10198 the cause is and invalid target and add reason to failure message.
10199 * gdb.t10/crossload.exp: Fix bfd target names for elf32-m68k,
10200 elf32-i386, elf32-sparc, and elf32-i860.
10201 * gdb.t12/scope.exp (test_at_main, test_at_foo, test_at_bar):
10202 Set up expected failure for 'filename'::variable scope resolution,
10203 which is now apparently broken on all targets.
10204 * gdb.t20/classes.exp, gdb.t20/inherit.exp, gdb.t20/misc.exp,
10205 gdb.t21/cplusfuncs.exp, gdb.t22/virtfunc.exp,
10206 gdb.t23/templates.exp: Change failure for missing binfile into
10207 just a warning.
10208 gdb.t21/demangle.exp: Change all cfront references to 'arm'
10209 references.
10210
10211Mon Mar 8 19:20:28 1993 Fred Fish (fnf@cygnus.com)
10212
10213 * gdb.t00/default.exp: Add expected output for default "source"
10214 command, to match new gdb behavior.
10215 * gdb.t09/corefile.exp: Use GDBFLAGS when spawning GDB.
10216
10217Sun Mar 7 15:14:09 1993 Rob Savoye (rob@cygnus.com)
10218
10219 * config/*-gdb.exp: returns an error, rather than exiting on
10220 internal errors.
10221
10222Tue Mar 2 18:09:32 1993 Fred Fish (fnf@cygnus.com)
10223
10224 * gdb.t03/gdbme.c: Add pointer to struct variable.
10225 * gdb.t03/ptype.exp: Test equivalence of '.' and '->' for
10226 referencing struct members.
10227
10228Thu Feb 25 10:39:06 1993 Ian Lance Taylor (ian@cygnus.com)
10229
10230 * configure.in (mips-idt-ecoff): New target.
10231 * config/mips-gdb.exp: New file for remote board using MIPS remote
10232 debugging protocol.
10233
10234 * Redid configuration scheme. Removed gdb.t*/configure.in.
10235 Renamed gdb.t*/in-gdbme* to gdb.t*/gdbme*. Changed to use CC, CXX
10236 instead of CC_FOR_TARGET, CXX_FOR_TARGET. Added mostlyclean and
10237 distclean targets. Built executables via .o files. Adjusted
10238 tests to account for source files in $(srcdir) rather than
10239 $(objdir).
10240 * lib/gdb.exp (runto): Don't expect () after the function name,
10241 because it may have arguments.
10242
10243Wed Feb 24 08:05:38 1993 Ian Lance Taylor (ian@cygnus.com)
10244
10245 * gdb.t00/default.exp, gdb.t01/run.exp, gdb.t02/whatis.exp,
10246 gdb.t03/ptype.exp, gdb.t06/break.exp, gdb.t12/scope.exp: Added
10247 expected failures for mips-idt-* and mips-sgi-*.
10248 * gdb.t00/default.exp (attach): Kill process if requested.
10249 * gdb.t00/help.exp (help target core, help target): Accept a gdb
10250 that does not read core files.
10251 * gdb.t01/run.exp: Removed checks for exit status code.
10252 * gdb.t03/in-gdbme.c: Make explicit call to malloc to ensure that
10253 it is linked in.
10254 * gdb.t03/ptype.exp: Increase timeout when calling malloc.
10255 * gdb.t04/setvar.exp, gdb.t05/expr.exp: Use runto function where
10256 appropriate, rather than doing it by hand.
10257 * gdb.t07/watchpoint.exp: If mips-idt-*, reload file after first
10258 execution.
10259 * gdb.t10/crossload.exp: Kill existing program if needed.
10260 * gdb.t15/funcargs.exp: Use delete_breakpoints function where
10261 appropriate, rather than doing it by hand. Always increase
10262 timeout for this test, not just for VxWorks.
10263
10264Wed Feb 24 08:03:38 1993 Fred Fish (fnf@cygnus.com)
10265
10266 * gdb.t31/chillvars.exp (test_structs): New proc to test printing
10267 of Chill STRUCT types and STRUCT values.
10268 * gdb.t31/chillvars.exp (test_strings): Expect "CHAR" now, rather
10269 than "char".
10270 * gdb.t31/in-gdbme.ch (simple_struct, nested_struct, struct1,
beb998c6 10271 struct2): New struct definitions and initializations to test
c906108c
SS
10272 simple Chill STRUCT types.
10273
10274Tue Feb 23 11:55:06 1993 Fred Fish (fnf@cygnus.com)
10275
10276 * gdb.t00/teststrategy.exp: Track reversion in gdb to not print
10277 the null byte at the end of strings.
10278 * gdb.t00/default.exp: Make show version insensitive to copyright
10279 date.
10280 * gdb.t16/in-gdbme.c (ctable1, ctable2): Make explicitly unsigned
10281 to avoid dependencies on target char signedness.
10282 * gdb.t16/printcmds.exp: Update expected results for explicitly
10283 unsigned char.
10284 * gdb.t16/printcmds.exp: Remove setup_xfails for i960 that should
10285 now work.
10286 * gdb.t21/demangle.exp: Add many more patterns for template
10287 demangling, most of them being expected failures.
10288 * gdb.t21/demangle.exp (proc demangle): Quote the demangled
10289 string we are matching for, to match on the whole string.
10290 * gdb.t21/demangle.exp: Add many new test strings to demangle,
10291 and fix a whole bunch that had incorrect expected output but were
10292 passing anyway because of the bug in "proc demangle".
10293 * gdb.t31/chillvars.exp: Remove setup_xfail for printing string
10294 type.
10295 * gdb.t31/in-gdbme.ch: Uncomment string4, now compiles.
10296
10297Mon Feb 22 07:54:03 1993 Mike Werner (mtw@poseidon.cygnus.com)
10298
10299 * gdb/testsuite: made modifications to testcases, etc., to allow
10300 them to work properly given the reorganization of deja-gnu and the
10301 relocation of the testcases from deja-gnu to a "tool" subdirectory.
10302
10303Sun Feb 21 10:55:55 1993 Mike Werner (mtw@poseidon.cygnus.com)
10304
10305 * gdb/testsuite: Initial creation of gdb/testsuite.
10306 Migrated dejagnu testcases and support files for testing nm to
10307 gdb/testsuite from deja-gnu. These files were moved "as is"
10308 with no modifications. This migration is part of a major overhaul
10309 of dejagnu. The modifications to these testcases, etc., which
10310 will allow them to work with the new version of dejagnu will be
10311 made in a future update.
10312\f
10313Local Variables:
10314mode: indented-text
10315left-margin: 8
10316fill-column: 74
10317version-control: never
10318End:
This page took 0.790816 seconds and 4 git commands to generate.